=10.13.0"},C={"@angular/compiler":"9.0.5","@babel/code-frame":"7.8.0","@babel/parser":"7.9.4","@glimmer/syntax":"0.50.0","@iarna/toml":"2.2.3","@typescript-eslint/typescript-estree":"2.26.0","angular-estree-parser":"1.3.0","angular-html-parser":"1.4.0",camelcase:"5.3.1",chalk:"4.0.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"6.0.0",dashify:"2.0.0",dedent:"0.7.0",diff:"4.0.2",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"2.0.0",esutils:"2.0.3","fast-glob":"3.2.2","find-parent-dir":"0.3.0","find-project-root":"1.1.1","flow-parser":"0.122.0","get-stream":"5.1.0",globby:"11.0.0",graphql:"15.0.0","html-element-attributes":"2.2.1","html-styles":"1.0.0","html-tag-names":"1.1.5",ignore:"4.0.6","jest-docblock":"25.2.6","json-stable-stringify":"1.0.1",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.9.0",lodash:"4.17.15",mem:"6.0.1",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.0","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.0.0","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-math":"1.0.6","remark-parse":"5.0.0",semver:"7.1.3",srcset:"2.0.1","string-width":"4.2.0",typescript:"3.8.3","unicode-regex":"3.0.0",unified:"9.0.0",vnopts:"1.0.2","yaml-unist-parser":"1.1.1"},T={"@babel/core":"7.9.0","@babel/preset-env":"7.9.0","@rollup/plugin-alias":"3.0.1","@rollup/plugin-commonjs":"11.0.2","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.1","@rollup/plugin-replace":"2.3.1","babel-loader":"8.1.0",benchmark:"2.1.4","builtin-modules":"3.1.0",codecov:"3.6.5","cross-env":"7.0.2",cspell:"4.0.55",eslint:"6.8.0","eslint-config-prettier":"6.10.1","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.20.2","eslint-plugin-prettier":"3.1.2","eslint-plugin-react":"7.19.0","eslint-plugin-unicorn":"18.0.1",execa:"4.0.0",jest:"25.2.7","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.5.0",prettier:"2.0.3",rimraf:"3.0.2",rollup:"2.3.2","rollup-plugin-babel":"4.4.0","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"5.3.0",shelljs:"0.8.3","snapshot-diff":"0.7.0","strip-ansi":"6.0.0","synchronous-promise":"2.0.10",tempy:"0.5.0","terser-webpack-plugin":"2.3.5",webpack:"4.42.1"},P={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dist":"node ./scripts/test-dist.js","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier "**/*.{md,json,yml,html,css}" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":"cspell {bin,scripts,src,website}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md","lint:deps":"node ./scripts/check-deps.js",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"},N={name:"prettier",version:"2.0.4",description:o,bin:h,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:E,dependencies:C,devDependencies:T,scripts:P},ae=Object.freeze({__proto__:null,name:"prettier",version:"2.0.4",description:o,bin:h,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:E,dependencies:C,devDependencies:T,scripts:P,default:N});function Diff(){}function buildValues(o,h,E,x,C){for(var T=0,P=h.length,N=0,R=0;To.length?E:o})),j.value=o.join(re)}else j.value=o.join(E.slice(N,N+j.count));N+=j.count,j.added||(R+=j.count)}}var ne=h[P-1];return P>1&&"string"==typeof ne.value&&(ne.added||ne.removed)&&o.equals("",ne.value)&&(h[P-2].value+=ne.value,h.pop()),h}function clonePath(o){return{newPos:o.newPos,components:o.components.slice(0)}}Diff.prototype={diff:function diff(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},x=E.callback;"function"==typeof E&&(x=E,E={}),this.options=E;var C=this;function done(o){return x?(setTimeout((function(){x(void 0,o)}),0),!0):o}o=this.castInput(o),h=this.castInput(h),o=this.removeEmpty(this.tokenize(o));var T=(h=this.removeEmpty(this.tokenize(h))).length,P=o.length,N=1,R=T+P,j=[{newPos:-1,components:[]}],ee=this.extractCommon(j[0],h,o,0);if(j[0].newPos+1>=T&&ee+1>=P)return done([{value:this.join(h),count:h.length}]);function execEditLength(){for(var E=-1*N;E<=N;E+=2){var x=void 0,R=j[E-1],ee=j[E+1],re=(ee?ee.newPos:0)-E;R&&(j[E-1]=void 0);var ne=R&&R.newPos+1=T&&re+1>=P)return done(buildValues(C,x.components,h,o,C.useLongestToken));j[E]=x}else j[E]=void 0}N++}if(x)!function exec(){setTimeout((function(){if(N>R)return x();execEditLength()||exec()}),0)}();else for(;N<=R;){var re=execEditLength();if(re)return re}},pushComponent:function pushComponent(o,h,E){var x=o[o.length-1];x&&x.added===h&&x.removed===E?o[o.length-1]={count:x.count+1,added:h,removed:E}:o.push({count:1,added:h,removed:E})},extractCommon:function extractCommon(o,h,E,x){for(var C=h.length,T=E.length,P=o.newPos,N=P-x,R=0;P+11&&void 0!==arguments[1]?arguments[1]:{},E=o.split(/\r\n|[\n\v\f\r\x85]/),x=o.match(/\r\n|[\n\v\f\r\x85]/g)||[],C=[],T=0;function parseIndex(){var o={};for(C.push(o);T2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof h&&(h=parsePatch(h)),Array.isArray(h)){if(h.length>1)throw new Error("applyPatch only works with a single input.");h=h[0]}var x,C,T=o.split(/\r\n|[\n\v\f\r\x85]/),P=o.match(/\r\n|[\n\v\f\r\x85]/g)||[],N=h.hunks,R=E.compareLine||function(o,h,E,x){return h===x},j=0,ee=E.fuzzFactor||0,re=0,ne=0;function hunkFits(o,h){for(var E=0;E0?x[0]:" ",P=x.length>0?x.substr(1):x;if(" "===C||"-"===C){if(!R(h+1,T[h],C,P)&&++j>ee)return!1;h++}}return!0}for(var ie=0;ie0?me[0]:" ",ge=me.length>0?me.substr(1):me,ve=fe.linedelimiters[de];if(" "===ye)he++;else if("-"===ye)T.splice(he,1),P.splice(he,1);else if("+"===ye)T.splice(he,0,ge),P.splice(he,0,ve),he++;else if("\\"===ye){var De=fe.lines[de-1]?fe.lines[de-1][0]:null;"+"===De?x=!0:"-"===De&&(C=!0)}}}if(x)for(;!T[T.length-1];)T.pop(),P.pop();else C&&(T.push(""),P.push("\n"));for(var Ee=0;Ee0?contextLines(ae.lines.slice(-P.context)):[],j-=re.length,ee-=re.length)}(T=re).push.apply(T,_toConsumableArray(C.map((function(o){return(h.added?"+":"-")+o})))),h.added?ie+=C.length:ne+=C.length}else{if(j)if(C.length<=2*P.context&&o=N.length-2&&C.length<=P.context){var ce=/\n$/.test(E),pe=/\n$/.test(x),fe=0==C.length&&re.length>le.oldLines;!ce&&fe&&re.splice(le.oldLines,0,"\\ No newline at end of file"),(ce||fe)&&pe||re.push("\\ No newline at end of file")}R.push(le),j=0,ee=0,re=[]}ne+=C.length,ie+=C.length}},se=0;seo.length)return!1;for(var E=0;E"):x.removed&&h.push(""),h.push((C=x.value,void 0,C.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),x.added?h.push(""):x.removed&&h.push("")}var C;return h.join("")},canonicalize:canonicalize}),be=Object.freeze({__proto__:null,default:{}}),Ce=/[\\/]/;function basename(o){return o.split(Ce).pop()}var Ae=Object.freeze({__proto__:null,extname:function extname(o){var h=basename(o),E=h.lastIndexOf(".");return-1===E?"":h.slice(E)},basename:basename,isAbsolute:function isAbsolute(){return!0}}),Se=void 0!==x?x:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},we=[],ke=[],Te="undefined"!=typeof Uint8Array?Uint8Array:Array,_e=!1;function init(){_e=!0;for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,E=o.length;h>18&63]+we[C>>12&63]+we[C>>6&63]+we[63&C]);return T.join("")}function fromByteArray(o){var h;_e||init();for(var E=o.length,x=E%3,C="",T=[],P=0,N=E-x;PN?N:P+16383));return 1===x?(h=o[E-1],C+=we[h>>2],C+=we[h<<4&63],C+="=="):2===x&&(h=(o[E-2]<<8)+o[E-1],C+=we[h>>10],C+=we[h>>4&63],C+=we[h<<2&63],C+="="),T.push(C),T.join("")}function read(o,h,E,x,C){var T,P,N=8*C-x-1,R=(1<>1,ee=-7,re=E?C-1:0,ne=E?-1:1,ie=o[h+re];for(re+=ne,T=ie&(1<<-ee)-1,ie>>=-ee,ee+=N;ee>0;T=256*T+o[h+re],re+=ne,ee-=8);for(P=T&(1<<-ee)-1,T>>=-ee,ee+=x;ee>0;P=256*P+o[h+re],re+=ne,ee-=8);if(0===T)T=1-j;else{if(T===R)return P?NaN:1/0*(ie?-1:1);P+=Math.pow(2,x),T-=j}return(ie?-1:1)*P*Math.pow(2,T-x)}function write(o,h,E,x,C,T){var P,N,R,j=8*T-C-1,ee=(1<>1,ne=23===C?Math.pow(2,-24)-Math.pow(2,-77):0,ie=x?0:T-1,ae=x?1:-1,se=h<0||0===h&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(N=isNaN(h)?1:0,P=ee):(P=Math.floor(Math.log(h)/Math.LN2),h*(R=Math.pow(2,-P))<1&&(P--,R*=2),(h+=P+re>=1?ne/R:ne*Math.pow(2,1-re))*R>=2&&(P++,R/=2),P+re>=ee?(N=0,P=ee):P+re>=1?(N=(h*R-1)*Math.pow(2,C),P+=re):(N=h*Math.pow(2,re-1)*Math.pow(2,C),P=0));C>=8;o[E+ie]=255&N,ie+=ae,N/=256,C-=8);for(P=P<0;o[E+ie]=255&P,ie+=ae,P/=256,j-=8);o[E+ie-ae]|=128*se}var Fe={}.toString,Pe=Array.isArray||function(o){return"[object Array]"==Fe.call(o)};function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(o,h){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|o}function internalIsBuffer(o){return!(null==o||!o._isBuffer)}function byteLength(o,h){if(internalIsBuffer(o))return o.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(o)||o instanceof ArrayBuffer))return o.byteLength;"string"!=typeof o&&(o=""+o);var E=o.length;if(0===E)return 0;for(var x=!1;;)switch(h){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":case void 0:return utf8ToBytes(o).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*E;case"hex":return E>>>1;case"base64":return base64ToBytes(o).length;default:if(x)return utf8ToBytes(o).length;h=(""+h).toLowerCase(),x=!0}}function slowToString(o,h,E){var x=!1;if((void 0===h||h<0)&&(h=0),h>this.length)return"";if((void 0===E||E>this.length)&&(E=this.length),E<=0)return"";if((E>>>=0)<=(h>>>=0))return"";for(o||(o="utf8");;)switch(o){case"hex":return hexSlice(this,h,E);case"utf8":case"utf-8":return utf8Slice(this,h,E);case"ascii":return asciiSlice(this,h,E);case"latin1":case"binary":return latin1Slice(this,h,E);case"base64":return base64Slice(this,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,h,E);default:if(x)throw new TypeError("Unknown encoding: "+o);o=(o+"").toLowerCase(),x=!0}}function swap(o,h,E){var x=o[h];o[h]=o[E],o[E]=x}function bidirectionalIndexOf(o,h,E,x,C){if(0===o.length)return-1;if("string"==typeof E?(x=E,E=0):E>2147483647?E=2147483647:E<-2147483648&&(E=-2147483648),E=+E,isNaN(E)&&(E=C?0:o.length-1),E<0&&(E=o.length+E),E>=o.length){if(C)return-1;E=o.length-1}else if(E<0){if(!C)return-1;E=0}if("string"==typeof h&&(h=Buffer.from(h,x)),internalIsBuffer(h))return 0===h.length?-1:arrayIndexOf(o,h,E,x,C);if("number"==typeof h)return h&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?C?Uint8Array.prototype.indexOf.call(o,h,E):Uint8Array.prototype.lastIndexOf.call(o,h,E):arrayIndexOf(o,[h],E,x,C);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(o,h,E,x,C){var T,P=1,N=o.length,R=h.length;if(void 0!==x&&("ucs2"===(x=String(x).toLowerCase())||"ucs-2"===x||"utf16le"===x||"utf-16le"===x)){if(o.length<2||h.length<2)return-1;P=2,N/=2,R/=2,E/=2}function read(o,h){return 1===P?o[h]:o.readUInt16BE(h*P)}if(C){var j=-1;for(T=E;TN&&(E=N-R),T=E;T>=0;T--){for(var ee=!0,re=0;reC&&(x=C):x=C;var T=h.length;if(T%2!=0)throw new TypeError("Invalid hex string");x>T/2&&(x=T/2);for(var P=0;P>8,C=E%256,T.push(C),T.push(x);return T}(h,o.length-E),o,E,x)}function base64Slice(o,h,E){return 0===h&&E===o.length?fromByteArray(o):fromByteArray(o.slice(h,E))}function utf8Slice(o,h,E){E=Math.min(o.length,E);for(var x=[],C=h;C239?4:j>223?3:j>191?2:1;if(C+re<=E)switch(re){case 1:j<128&&(ee=j);break;case 2:128==(192&(T=o[C+1]))&&(R=(31&j)<<6|63&T)>127&&(ee=R);break;case 3:T=o[C+1],P=o[C+2],128==(192&T)&&128==(192&P)&&(R=(15&j)<<12|(63&T)<<6|63&P)>2047&&(R<55296||R>57343)&&(ee=R);break;case 4:T=o[C+1],P=o[C+2],N=o[C+3],128==(192&T)&&128==(192&P)&&128==(192&N)&&(R=(15&j)<<18|(63&T)<<12|(63&P)<<6|63&N)>65535&&R<1114112&&(ee=R)}null===ee?(ee=65533,re=1):ee>65535&&(ee-=65536,x.push(ee>>>10&1023|55296),ee=56320|1023&ee),x.push(ee),C+=re}return function decodeCodePointsArray(o){var h=o.length;if(h<=4096)return String.fromCharCode.apply(String,o);for(var E="",x=0;xC)&&(E=C);for(var T="",P=h;PE)throw new RangeError("Trying to access beyond buffer length")}function checkInt(o,h,E,x,C,T){if(!internalIsBuffer(o))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>C||ho.length)throw new RangeError("Index out of range")}function objectWriteUInt16(o,h,E,x){h<0&&(h=65535+h+1);for(var C=0,T=Math.min(o.length-E,2);C>>8*(x?C:1-C)}function objectWriteUInt32(o,h,E,x){h<0&&(h=4294967295+h+1);for(var C=0,T=Math.min(o.length-E,4);C>>8*(x?C:3-C)&255}function checkIEEE754(o,h,E,x,C,T){if(E+x>o.length)throw new RangeError("Index out of range");if(E<0)throw new RangeError("Index out of range")}function writeFloat(o,h,E,x,C){return C||checkIEEE754(o,0,E,4),write(o,h,E,x,23,4),E+4}function writeDouble(o,h,E,x,C){return C||checkIEEE754(o,0,E,8),write(o,h,E,x,52,8),E+8}Buffer.TYPED_ARRAY_SUPPORT=void 0===Se.TYPED_ARRAY_SUPPORT||Se.TYPED_ARRAY_SUPPORT,Buffer.poolSize=8192,Buffer._augment=function(o){return o.__proto__=Buffer.prototype,o},Buffer.from=function(o,h,E){return from(null,o,h,E)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array),Buffer.alloc=function(o,h,E){return function alloc(o,h,E,x){return assertSize(h),h<=0?createBuffer(o,h):void 0!==E?"string"==typeof x?createBuffer(o,h).fill(E,x):createBuffer(o,h).fill(E):createBuffer(o,h)}(null,o,h,E)},Buffer.allocUnsafe=function(o){return allocUnsafe(null,o)},Buffer.allocUnsafeSlow=function(o){return allocUnsafe(null,o)},Buffer.isBuffer=function isBuffer(o){return null!=o&&(!!o._isBuffer||isFastBuffer(o)||function isSlowBuffer(o){return"function"==typeof o.readFloatLE&&"function"==typeof o.slice&&isFastBuffer(o.slice(0,0))}(o))},Buffer.compare=function compare(o,h){if(!internalIsBuffer(o)||!internalIsBuffer(h))throw new TypeError("Arguments must be Buffers");if(o===h)return 0;for(var E=o.length,x=h.length,C=0,T=Math.min(E,x);C0&&(o=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(o+=" ... ")),""},Buffer.prototype.compare=function compare(o,h,E,x,C){if(!internalIsBuffer(o))throw new TypeError("Argument must be a Buffer");if(void 0===h&&(h=0),void 0===E&&(E=o?o.length:0),void 0===x&&(x=0),void 0===C&&(C=this.length),h<0||E>o.length||x<0||C>this.length)throw new RangeError("out of range index");if(x>=C&&h>=E)return 0;if(x>=C)return-1;if(h>=E)return 1;if(this===o)return 0;for(var T=(C>>>=0)-(x>>>=0),P=(E>>>=0)-(h>>>=0),N=Math.min(T,P),R=this.slice(x,C),j=o.slice(h,E),ee=0;eeC)&&(E=C),o.length>0&&(E<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");x||(x="utf8");for(var T=!1;;)switch(x){case"hex":return hexWrite(this,o,h,E);case"utf8":case"utf-8":return utf8Write(this,o,h,E);case"ascii":return asciiWrite(this,o,h,E);case"latin1":case"binary":return latin1Write(this,o,h,E);case"base64":return base64Write(this,o,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,o,h,E);default:if(T)throw new TypeError("Unknown encoding: "+x);x=(""+x).toLowerCase(),T=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function slice(o,h){var E,x=this.length;if((o=~~o)<0?(o+=x)<0&&(o=0):o>x&&(o=x),(h=void 0===h?x:~~h)<0?(h+=x)<0&&(h=0):h>x&&(h=x),h0&&(C*=256);)x+=this[o+--h]*C;return x},Buffer.prototype.readUInt8=function readUInt8(o,h){return h||checkOffset(o,1,this.length),this[o]},Buffer.prototype.readUInt16LE=function readUInt16LE(o,h){return h||checkOffset(o,2,this.length),this[o]|this[o+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(o,h){return h||checkOffset(o,2,this.length),this[o]<<8|this[o+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(o,h){return h||checkOffset(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+16777216*this[o+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(o,h){return h||checkOffset(o,4,this.length),16777216*this[o]+(this[o+1]<<16|this[o+2]<<8|this[o+3])},Buffer.prototype.readIntLE=function readIntLE(o,h,E){o|=0,h|=0,E||checkOffset(o,h,this.length);for(var x=this[o],C=1,T=0;++T=(C*=128)&&(x-=Math.pow(2,8*h)),x},Buffer.prototype.readIntBE=function readIntBE(o,h,E){o|=0,h|=0,E||checkOffset(o,h,this.length);for(var x=h,C=1,T=this[o+--x];x>0&&(C*=256);)T+=this[o+--x]*C;return T>=(C*=128)&&(T-=Math.pow(2,8*h)),T},Buffer.prototype.readInt8=function readInt8(o,h){return h||checkOffset(o,1,this.length),128&this[o]?-1*(255-this[o]+1):this[o]},Buffer.prototype.readInt16LE=function readInt16LE(o,h){h||checkOffset(o,2,this.length);var E=this[o]|this[o+1]<<8;return 32768&E?4294901760|E:E},Buffer.prototype.readInt16BE=function readInt16BE(o,h){h||checkOffset(o,2,this.length);var E=this[o+1]|this[o]<<8;return 32768&E?4294901760|E:E},Buffer.prototype.readInt32LE=function readInt32LE(o,h){return h||checkOffset(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(o,h){return h||checkOffset(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]},Buffer.prototype.readFloatLE=function readFloatLE(o,h){return h||checkOffset(o,4,this.length),read(this,o,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(o,h){return h||checkOffset(o,4,this.length),read(this,o,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(o,h){return h||checkOffset(o,8,this.length),read(this,o,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(o,h){return h||checkOffset(o,8,this.length),read(this,o,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(o,h,E,x){o=+o,h|=0,E|=0,x||checkInt(this,o,h,E,Math.pow(2,8*E)-1,0);var C=1,T=0;for(this[h]=255&o;++T=0&&(T*=256);)this[h+C]=o/T&255;return h+E},Buffer.prototype.writeUInt8=function writeUInt8(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(o=Math.floor(o)),this[h]=255&o,h+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8):objectWriteUInt16(this,o,h,!0),h+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>8,this[h+1]=255&o):objectWriteUInt16(this,o,h,!1),h+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h+3]=o>>>24,this[h+2]=o>>>16,this[h+1]=o>>>8,this[h]=255&o):objectWriteUInt32(this,o,h,!0),h+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>24,this[h+1]=o>>>16,this[h+2]=o>>>8,this[h+3]=255&o):objectWriteUInt32(this,o,h,!1),h+4},Buffer.prototype.writeIntLE=function writeIntLE(o,h,E,x){if(o=+o,h|=0,!x){var C=Math.pow(2,8*E-1);checkInt(this,o,h,E,C-1,-C)}var T=0,P=1,N=0;for(this[h]=255&o;++T>0)-N&255;return h+E},Buffer.prototype.writeIntBE=function writeIntBE(o,h,E,x){if(o=+o,h|=0,!x){var C=Math.pow(2,8*E-1);checkInt(this,o,h,E,C-1,-C)}var T=E-1,P=1,N=0;for(this[h+T]=255&o;--T>=0&&(P*=256);)o<0&&0===N&&0!==this[h+T+1]&&(N=1),this[h+T]=(o/P>>0)-N&255;return h+E},Buffer.prototype.writeInt8=function writeInt8(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(o=Math.floor(o)),o<0&&(o=255+o+1),this[h]=255&o,h+1},Buffer.prototype.writeInt16LE=function writeInt16LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8):objectWriteUInt16(this,o,h,!0),h+2},Buffer.prototype.writeInt16BE=function writeInt16BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>8,this[h+1]=255&o):objectWriteUInt16(this,o,h,!1),h+2},Buffer.prototype.writeInt32LE=function writeInt32LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8,this[h+2]=o>>>16,this[h+3]=o>>>24):objectWriteUInt32(this,o,h,!0),h+4},Buffer.prototype.writeInt32BE=function writeInt32BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>24,this[h+1]=o>>>16,this[h+2]=o>>>8,this[h+3]=255&o):objectWriteUInt32(this,o,h,!1),h+4},Buffer.prototype.writeFloatLE=function writeFloatLE(o,h,E){return writeFloat(this,o,h,!0,E)},Buffer.prototype.writeFloatBE=function writeFloatBE(o,h,E){return writeFloat(this,o,h,!1,E)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(o,h,E){return writeDouble(this,o,h,!0,E)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(o,h,E){return writeDouble(this,o,h,!1,E)},Buffer.prototype.copy=function copy(o,h,E,x){if(E||(E=0),x||0===x||(x=this.length),h>=o.length&&(h=o.length),h||(h=0),x>0&&x=this.length)throw new RangeError("sourceStart out of bounds");if(x<0)throw new RangeError("sourceEnd out of bounds");x>this.length&&(x=this.length),o.length-h=0;--C)o[C+h]=this[C+E];else if(T<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(C=0;C>>=0,E=void 0===E?this.length:E>>>0,o||(o=0),"number"==typeof o)for(T=h;T55295&&E<57344){if(!C){if(E>56319){(h-=3)>-1&&T.push(239,191,189);continue}if(P+1===x){(h-=3)>-1&&T.push(239,191,189);continue}C=E;continue}if(E<56320){(h-=3)>-1&&T.push(239,191,189),C=E;continue}E=65536+(C-55296<<10|E-56320)}else C&&(h-=3)>-1&&T.push(239,191,189);if(C=null,E<128){if((h-=1)<0)break;T.push(E)}else if(E<2048){if((h-=2)<0)break;T.push(E>>6|192,63&E|128)}else if(E<65536){if((h-=3)<0)break;T.push(E>>12|224,E>>6&63|128,63&E|128)}else{if(!(E<1114112))throw new Error("Invalid code point");if((h-=4)<0)break;T.push(E>>18|240,E>>12&63|128,E>>6&63|128,63&E|128)}}return T}function base64ToBytes(o){return function toByteArray(o){var h,E,x,C,T,P;_e||init();var N=o.length;if(N%4>0)throw new Error("Invalid string. Length must be a multiple of 4");T="="===o[N-2]?2:"="===o[N-1]?1:0,P=new Te(3*N/4-T),x=T>0?N-4:N;var R=0;for(h=0,E=0;h>16&255,P[R++]=C>>8&255,P[R++]=255&C;return 2===T?(C=ke[o.charCodeAt(h)]<<2|ke[o.charCodeAt(h+1)]>>4,P[R++]=255&C):1===T&&(C=ke[o.charCodeAt(h)]<<10|ke[o.charCodeAt(h+1)]<<4|ke[o.charCodeAt(h+2)]>>2,P[R++]=C>>8&255,P[R++]=255&C),P}(function base64clean(o){if((o=function stringtrim(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}(o).replace(Be,"")).length<2)return"";for(;o.length%4!=0;)o+="=";return o}(o))}function blitBuffer(o,h,E,x){for(var C=0;C=h.length||C>=o.length);++C)h[C+E]=o[C];return C}function isFastBuffer(o){return!!o.constructor&&"function"==typeof o.constructor.isBuffer&&o.constructor.isBuffer(o)}var Ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==x?x:"undefined"!=typeof self?self:{};function unwrapExports(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function createCommonjsModule(o,h){return o(h={exports:{}},h.exports),h.exports}function getCjsExportFromNamespace(o){return o&&o.default||o}var Ie=getCjsExportFromNamespace(be),Oe=function(){function LineByLine(o,h){(0,ue.default)(this,LineByLine),(h=h||{}).readChunk||(h.readChunk=1024),h.newLineCharacter?h.newLineCharacter=h.newLineCharacter.charCodeAt(0):h.newLineCharacter=10,this.fd="number"==typeof o?o:Ie.openSync(o,"r"),this.options=h,this.newLineCharacter=h.newLineCharacter,this.reset()}return(0,le.default)(LineByLine,[{key:"_searchInBuffer",value:function _searchInBuffer(o,h){for(var E=-1,x=0;x<=o.length;x++)if(o[x]===h){E=x;break}return E}},{key:"reset",value:function reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function close(){Ie.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function _extractLines(o){for(var h,E=[],x=0,C=0;;){var T=o[x++];if(T===this.newLineCharacter)h=o.slice(C,x),E.push(h),C=x;else if(!T)break}var P=o.slice(C,x);return P.length&&E.push(P),E}},{key:"_readChunk",value:function _readChunk(o){var h,E=0,x=[];do{var C=new Buffer(this.options.readChunk);E+=h=Ie.readSync(this.fd,C,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+h,x.push(C)}while(h&&-1===this._searchInBuffer(x[x.length-1],this.options.newLineCharacter));var T=Buffer.concat(x);return h=0||(C[E]=o[E]);return C}function _taggedTemplateLiteral(o,h){return h||(h=o.slice(0)),Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(h)}}))}function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}var Le=defaultSetTimout,je=defaultClearTimeout;function runTimeout(o){if(Le===setTimeout)return setTimeout(o,0);if((Le===defaultSetTimout||!Le)&&setTimeout)return Le=setTimeout,setTimeout(o,0);try{return Le(o,0)}catch(h){try{return Le.call(null,o,0)}catch(h){return Le.call(this,o,0)}}}"function"==typeof Se.setTimeout&&(Le=setTimeout),"function"==typeof Se.clearTimeout&&(je=clearTimeout);var qe,Ve=[],Ue=!1,We=-1;function cleanUpNextTick(){Ue&&qe&&(Ue=!1,qe.length?Ve=qe.concat(Ve):We=-1,Ve.length&&drainQueue())}function drainQueue(){if(!Ue){var o=runTimeout(cleanUpNextTick);Ue=!0;for(var h=Ve.length;h;){for(qe=Ve,Ve=[];++We1)for(var E=1;E)?=?)"),N("XRANGEIDENTIFIERLOOSE","".concat(C[T.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),N("XRANGEIDENTIFIER","".concat(C[T.NUMERICIDENTIFIER],"|x|X|\\*")),N("XRANGEPLAIN","[v=\\s]*(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:".concat(C[T.PRERELEASE],")?").concat(C[T.BUILD],"?")+")?)?"),N("XRANGEPLAINLOOSE","[v=\\s]*(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(C[T.PRERELEASELOOSE],")?").concat(C[T.BUILD],"?")+")?)?"),N("XRANGE","^".concat(C[T.GTLT],"\\s*").concat(C[T.XRANGEPLAIN],"$")),N("XRANGELOOSE","^".concat(C[T.GTLT],"\\s*").concat(C[T.XRANGEPLAINLOOSE],"$")),N("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(E,"})")+"(?:\\.(\\d{1,".concat(E,"}))?")+"(?:\\.(\\d{1,".concat(E,"}))?")+"(?:$|[^\\d])"),N("COERCERTL",C[T.COERCE],!0),N("LONETILDE","(?:~>?)"),N("TILDETRIM","(\\s*)".concat(C[T.LONETILDE],"\\s+"),!0),h.tildeTrimReplace="$1~",N("TILDE","^".concat(C[T.LONETILDE]).concat(C[T.XRANGEPLAIN],"$")),N("TILDELOOSE","^".concat(C[T.LONETILDE]).concat(C[T.XRANGEPLAINLOOSE],"$")),N("LONECARET","(?:\\^)"),N("CARETTRIM","(\\s*)".concat(C[T.LONECARET],"\\s+"),!0),h.caretTrimReplace="$1^",N("CARET","^".concat(C[T.LONECARET]).concat(C[T.XRANGEPLAIN],"$")),N("CARETLOOSE","^".concat(C[T.LONECARET]).concat(C[T.XRANGEPLAINLOOSE],"$")),N("COMPARATORLOOSE","^".concat(C[T.GTLT],"\\s*(").concat(C[T.LOOSEPLAIN],")$|^$")),N("COMPARATOR","^".concat(C[T.GTLT],"\\s*(").concat(C[T.FULLPLAIN],")$|^$")),N("COMPARATORTRIM","(\\s*)".concat(C[T.GTLT],"\\s*(").concat(C[T.LOOSEPLAIN],"|").concat(C[T.XRANGEPLAIN],")"),!0),h.comparatorTrimReplace="$1$2$3",N("HYPHENRANGE","^\\s*(".concat(C[T.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(C[T.XRANGEPLAIN],")")+"\\s*$"),N("HYPHENRANGELOOSE","^\\s*(".concat(C[T.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(C[T.XRANGEPLAINLOOSE],")")+"\\s*$"),N("STAR","(<|>)?=?\\s*\\*")})),pt=(ct.re,ct.src,ct.t,ct.tildeTrimReplace,ct.caretTrimReplace,ct.comparatorTrimReplace,/^[0-9]+$/),ft=function compareIdentifiers(o,h){var E=pt.test(o),x=pt.test(h);return E&&x&&(o=+o,h=+h),o===h?0:E&&!x?-1:x&&!E?1:omt)throw new TypeError("version is longer than ".concat(mt," characters"));ot("SemVer",o,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;var E=o.trim().match(h.loose?Dt[Et.LOOSE]:Dt[Et.FULL]);if(!E)throw new TypeError("Invalid Version: ".concat(o));if(this.raw=o,this.major=+E[1],this.minor=+E[2],this.patch=+E[3],this.major>vt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>vt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>vt||this.patch<0)throw new TypeError("Invalid patch version");E[4]?this.prerelease=E[4].split(".").map((function(o){if(/^[0-9]+$/.test(o)){var h=+o;if(h>=0&&h=0;)"number"==typeof this.prerelease[E]&&(this.prerelease[E]++,E=-2);-1===E&&this.prerelease.push(0)}h&&(this.prerelease[0]===h?isNaN(this.prerelease[1])&&(this.prerelease=[h,0]):this.prerelease=[h,0]);break;default:throw new Error("invalid increment argument: ".concat(o))}return this.format(),this.raw=this.version,this}}]),SemVer}(),kt=function compare(o,h,E){return new St(o,E).compare(new St(h,E))},_t=function lt(o,h,E){return kt(o,h,E)<0},Ft=function gte(o,h,E){return kt(o,h,E)>=0},Nt=function arrayify(o,h){return Object.entries(o).map((function(o){var E=(0,ne.default)(o,2),x=E[0],C=E[1];return Object.assign((0,re.default)({},h,x),C)}))},It=createCommonjsModule((function(o){o.exports=function dedent(o){var h=void 0;h="string"==typeof o?[o]:o.raw;for(var E="",x=0;x0&&void 0!==arguments[0]?arguments[0]:{},h=o.plugins,E=void 0===h?[]:h,x=o.showUnreleased,C=void 0!==x&&x,T=o.showDeprecated,P=void 0!==T&&T,N=o.showInternal,R=void 0!==N&&N,j=jt.split("-",1)[0],re=Nt(Object.assign.apply(Object,[{}].concat((0,ee.default)(E.map((function(o){return o.options}))),[qt])),"name").filter((function(o){return filterSince(o)&&filterDeprecated(o)})).sort((function(o,h){return o.name===h.name?0:o.name=o.length&&(o=void 0),{value:o&&o[E++],done:!o}}}}function __read(o,h){var E="function"==typeof Symbol&&o[Symbol.iterator];if(!E)return o;var x,C,T=E.call(o),P=[];try{for(;(void 0===h||h-- >0)&&!(x=T.next()).done;)P.push(x.value)}catch(o){C={error:o}}finally{try{x&&!x.done&&(E=T.return)&&E.call(T)}finally{if(C)throw C.error}}return P}function __await(o){return this instanceof __await?(this.v=o,this):new __await(o)}var Yt=Object.freeze({__proto__:null,__extends:function __extends(o,h){function __(){this.constructor=o}Ut(o,h),o.prototype=null===h?Object.create(h):(__.prototype=h.prototype,new __)},get __assign(){return Kt},__rest:function __rest(o,h){var E={};for(var x in o)Object.prototype.hasOwnProperty.call(o,x)&&h.indexOf(x)<0&&(E[x]=o[x]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols){var C=0;for(x=Object.getOwnPropertySymbols(o);C=0;N--)(C=o[N])&&(P=(T<3?C(P):T>3?C(h,E,P):C(h,E))||P);return T>3&&P&&Object.defineProperty(h,E,P),P},__param:function __param(o,h){return function(E,x){h(E,x,o)}},__metadata:function __metadata(o,h){if("object"===("undefined"==typeof Reflect?"undefined":(0,ce.default)(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(o,h)},__awaiter:function __awaiter(o,h,E,x){return new(E||(E=Promise))((function(C,T){function fulfilled(o){try{step(x.next(o))}catch(o){T(o)}}function rejected(o){try{step(x.throw(o))}catch(o){T(o)}}function step(o){o.done?C(o.value):new E((function(h){h(o.value)})).then(fulfilled,rejected)}step((x=x.apply(o,h||[])).next())}))},__generator:function __generator(o,h){var E,x,C,T,P={label:0,sent:function sent(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return T={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(T[Symbol.iterator]=function(){return this}),T;function verb(T){return function(N){return function step(T){if(E)throw new TypeError("Generator is already executing.");for(;P;)try{if(E=1,x&&(C=2&T[0]?x.return:T[0]?x.throw||((C=x.return)&&C.call(x),0):x.next)&&!(C=C.call(x,T[1])).done)return C;switch(x=0,C&&(T=[2&T[0],C.value]),T[0]){case 0:case 1:C=T;break;case 4:return P.label++,{value:T[1],done:!1};case 5:P.label++,x=T[1],T=[0];continue;case 7:T=P.ops.pop(),P.trys.pop();continue;default:if(!((C=(C=P.trys).length>0&&C[C.length-1])||6!==T[0]&&2!==T[0])){P=0;continue}if(3===T[0]&&(!C||T[1]>C[0]&&T[1]1||resume(o,h)}))})}function resume(o,h){try{!function step(o){o.value instanceof __await?Promise.resolve(o.value.v).then(fulfill,reject):settle(T[0][2],o)}(C[o](h))}catch(o){settle(T[0][3],o)}}function fulfill(o){resume("next",o)}function reject(o){resume("throw",o)}function settle(o,h){o(h),T.shift(),T.length&&resume(T[0][0],T[0][1])}},__asyncDelegator:function __asyncDelegator(o){var h,E;return h={},verb("next"),verb("throw",(function(o){throw o})),verb("return"),h[Symbol.iterator]=function(){return this},h;function verb(x,C){h[x]=o[x]?function(h){return(E=!E)?{value:__await(o[x](h)),done:"return"===x}:C?C(h):h}:C}},__asyncValues:function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h,E=o[Symbol.asyncIterator];return E?E.call(o):(o=__values(o),h={},verb("next"),verb("throw"),verb("return"),h[Symbol.asyncIterator]=function(){return this},h);function verb(E){h[E]=o[E]&&function(h){return new Promise((function(x,C){!function settle(o,h,E,x){Promise.resolve(x).then((function(h){o({value:h,done:E})}),h)}(x,C,(h=o[E](h)).done,h.value)}))}}},__makeTemplateObject:function __makeTemplateObject(o,h){return Object.defineProperty?Object.defineProperty(o,"raw",{value:h}):o.raw=h,o},__importStar:function __importStar(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h},__importDefault:function __importDefault(o){return o&&o.__esModule?o:{default:o}}}),$t=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),h.apiDescriptor={key:function key(o){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(o)?o:JSON.stringify(o)},value:function value(o){if(null===o||"object"!==(0,ce.default)(o))return JSON.stringify(o);if(Array.isArray(o))return"[".concat(o.map((function(o){return h.apiDescriptor.value(o)})).join(", "),"]");var E=Object.keys(o);return 0===E.length?"{}":"{ ".concat(E.map((function(E){return"".concat(h.apiDescriptor.key(E),": ").concat(h.apiDescriptor.value(o[E]))})).join(", ")," }")},pair:function pair(o){var E=o.key,x=o.value;return h.apiDescriptor.value((0,re.default)({},E,x))}}}));unwrapExports($t),$t.apiDescriptor;var Jt=getCjsExportFromNamespace(Yt),Qt=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),Jt.__exportStar($t,h)}));unwrapExports(Qt);var Zt=/[|\\{}()[\]^$+*?.]/g,er=function escapeStringRegexp(o){if("string"!=typeof o)throw new TypeError("Expected a string");return o.replace(Zt,"\\$&")},tr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},rr=createCommonjsModule((function(o){var h={};for(var E in tr)tr.hasOwnProperty(E)&&(h[tr[E]]=E);var x=o.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var C in x)if(x.hasOwnProperty(C)){if(!("channels"in x[C]))throw new Error("missing channels property: "+C);if(!("labels"in x[C]))throw new Error("missing channel labels property: "+C);if(x[C].labels.length!==x[C].channels)throw new Error("channel and label counts mismatch: "+C);var T=x[C].channels,P=x[C].labels;delete x[C].channels,delete x[C].labels,Object.defineProperty(x[C],"channels",{value:T}),Object.defineProperty(x[C],"labels",{value:P})}x.rgb.hsl=function(o){var h,E,x=o[0]/255,C=o[1]/255,T=o[2]/255,P=Math.min(x,C,T),N=Math.max(x,C,T),R=N-P;return N===P?h=0:x===N?h=(C-T)/R:C===N?h=2+(T-x)/R:T===N&&(h=4+(x-C)/R),(h=Math.min(60*h,360))<0&&(h+=360),E=(P+N)/2,[h,100*(N===P?0:E<=.5?R/(N+P):R/(2-N-P)),100*E]},x.rgb.hsv=function(o){var h,E,x,C,T,P=o[0]/255,N=o[1]/255,R=o[2]/255,j=Math.max(P,N,R),ee=j-Math.min(P,N,R),re=function diffc(o){return(j-o)/6/ee+.5};return 0===ee?C=T=0:(T=ee/j,h=re(P),E=re(N),x=re(R),P===j?C=x-E:N===j?C=1/3+h-x:R===j&&(C=2/3+E-h),C<0?C+=1:C>1&&(C-=1)),[360*C,100*T,100*j]},x.rgb.hwb=function(o){var h=o[0],E=o[1],C=o[2];return[x.rgb.hsl(o)[0],1/255*Math.min(h,Math.min(E,C))*100,100*(C=1-1/255*Math.max(h,Math.max(E,C)))]},x.rgb.cmyk=function(o){var h,E=o[0]/255,x=o[1]/255,C=o[2]/255;return[100*((1-E-(h=Math.min(1-E,1-x,1-C)))/(1-h)||0),100*((1-x-h)/(1-h)||0),100*((1-C-h)/(1-h)||0),100*h]},x.rgb.keyword=function(o){var E=h[o];if(E)return E;var x,C,T,P=1/0;for(var N in tr)if(tr.hasOwnProperty(N)){var R=tr[N],j=(C=o,T=R,Math.pow(C[0]-T[0],2)+Math.pow(C[1]-T[1],2)+Math.pow(C[2]-T[2],2));j.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.3576*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)+.1805*(x=x>.04045?Math.pow((x+.055)/1.055,2.4):x/12.92)),100*(.2126*h+.7152*E+.0722*x),100*(.0193*h+.1192*E+.9505*x)]},x.rgb.lab=function(o){var h=x.rgb.xyz(o),E=h[0],C=h[1],T=h[2];return C/=100,T/=108.883,E=(E/=95.047)>.008856?Math.pow(E,1/3):7.787*E+16/116,[116*(C=C>.008856?Math.pow(C,1/3):7.787*C+16/116)-16,500*(E-C),200*(C-(T=T>.008856?Math.pow(T,1/3):7.787*T+16/116))]},x.hsl.rgb=function(o){var h,E,x,C,T,P=o[0]/360,N=o[1]/100,R=o[2]/100;if(0===N)return[T=255*R,T,T];h=2*R-(E=R<.5?R*(1+N):R+N-R*N),C=[0,0,0];for(var j=0;j<3;j++)(x=P+1/3*-(j-1))<0&&x++,x>1&&x--,T=6*x<1?h+6*(E-h)*x:2*x<1?E:3*x<2?h+(E-h)*(2/3-x)*6:h,C[j]=255*T;return C},x.hsl.hsv=function(o){var h=o[0],E=o[1]/100,x=o[2]/100,C=E,T=Math.max(x,.01);return E*=(x*=2)<=1?x:2-x,C*=T<=1?T:2-T,[h,100*(0===x?2*C/(T+C):2*E/(x+E)),(x+E)/2*100]},x.hsv.rgb=function(o){var h=o[0]/60,E=o[1]/100,x=o[2]/100,C=Math.floor(h)%6,T=h-Math.floor(h),P=255*x*(1-E),N=255*x*(1-E*T),R=255*x*(1-E*(1-T));switch(x*=255,C){case 0:return[x,R,P];case 1:return[N,x,P];case 2:return[P,x,R];case 3:return[P,N,x];case 4:return[R,P,x];case 5:return[x,P,N]}},x.hsv.hsl=function(o){var h,E,x,C=o[0],T=o[1]/100,P=o[2]/100,N=Math.max(P,.01);return x=(2-T)*P,E=T*N,[C,100*(E=(E/=(h=(2-T)*N)<=1?h:2-h)||0),100*(x/=2)]},x.hwb.rgb=function(o){var h,E,x,C,T,P,N,R=o[0]/360,j=o[1]/100,ee=o[2]/100,re=j+ee;switch(re>1&&(j/=re,ee/=re),x=6*R-(h=Math.floor(6*R)),0!=(1&h)&&(x=1-x),C=j+x*((E=1-ee)-j),h){default:case 6:case 0:T=E,P=C,N=j;break;case 1:T=C,P=E,N=j;break;case 2:T=j,P=E,N=C;break;case 3:T=j,P=C,N=E;break;case 4:T=C,P=j,N=E;break;case 5:T=E,P=j,N=C}return[255*T,255*P,255*N]},x.cmyk.rgb=function(o){var h=o[0]/100,E=o[1]/100,x=o[2]/100,C=o[3]/100;return[255*(1-Math.min(1,h*(1-C)+C)),255*(1-Math.min(1,E*(1-C)+C)),255*(1-Math.min(1,x*(1-C)+C))]},x.xyz.rgb=function(o){var h,E,x,C=o[0]/100,T=o[1]/100,P=o[2]/100;return E=-.9689*C+1.8758*T+.0415*P,x=.0557*C+-.204*T+1.057*P,h=(h=3.2406*C+-1.5372*T+-.4986*P)>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,E=E>.0031308?1.055*Math.pow(E,1/2.4)-.055:12.92*E,x=x>.0031308?1.055*Math.pow(x,1/2.4)-.055:12.92*x,[255*(h=Math.min(Math.max(0,h),1)),255*(E=Math.min(Math.max(0,E),1)),255*(x=Math.min(Math.max(0,x),1))]},x.xyz.lab=function(o){var h=o[0],E=o[1],x=o[2];return E/=100,x/=108.883,h=(h/=95.047)>.008856?Math.pow(h,1/3):7.787*h+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(h-E),200*(E-(x=x>.008856?Math.pow(x,1/3):7.787*x+16/116))]},x.lab.xyz=function(o){var h,E,x,C=o[0];h=o[1]/500+(E=(C+16)/116),x=E-o[2]/200;var T=Math.pow(E,3),P=Math.pow(h,3),N=Math.pow(x,3);return E=T>.008856?T:(E-16/116)/7.787,h=P>.008856?P:(h-16/116)/7.787,x=N>.008856?N:(x-16/116)/7.787,[h*=95.047,E*=100,x*=108.883]},x.lab.lch=function(o){var h,E=o[0],x=o[1],C=o[2];return(h=360*Math.atan2(C,x)/2/Math.PI)<0&&(h+=360),[E,Math.sqrt(x*x+C*C),h]},x.lch.lab=function(o){var h,E=o[0],x=o[1];return h=o[2]/360*2*Math.PI,[E,x*Math.cos(h),x*Math.sin(h)]},x.rgb.ansi16=function(o){var h=o[0],E=o[1],C=o[2],T=1 in arguments?arguments[1]:x.rgb.hsv(o)[2];if(0===(T=Math.round(T/50)))return 30;var P=30+(Math.round(C/255)<<2|Math.round(E/255)<<1|Math.round(h/255));return 2===T&&(P+=60),P},x.hsv.ansi16=function(o){return x.rgb.ansi16(x.hsv.rgb(o),o[2])},x.rgb.ansi256=function(o){var h=o[0],E=o[1],x=o[2];return h===E&&E===x?h<8?16:h>248?231:Math.round((h-8)/247*24)+232:16+36*Math.round(h/255*5)+6*Math.round(E/255*5)+Math.round(x/255*5)},x.ansi16.rgb=function(o){var h=o%10;if(0===h||7===h)return o>50&&(h+=3.5),[h=h/10.5*255,h,h];var E=.5*(1+~~(o>50));return[(1&h)*E*255,(h>>1&1)*E*255,(h>>2&1)*E*255]},x.ansi256.rgb=function(o){if(o>=232){var h=10*(o-232)+8;return[h,h,h]}var E;return o-=16,[Math.floor(o/36)/5*255,Math.floor((E=o%36)/6)/5*255,E%6/5*255]},x.rgb.hex=function(o){var h=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(h.length)+h},x.hex.rgb=function(o){var h=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var E=h[0];3===h[0].length&&(E=E.split("").map((function(o){return o+o})).join(""));var x=parseInt(E,16);return[x>>16&255,x>>8&255,255&x]},x.rgb.hcg=function(o){var h,E=o[0]/255,x=o[1]/255,C=o[2]/255,T=Math.max(Math.max(E,x),C),P=Math.min(Math.min(E,x),C),N=T-P;return h=N<=0?0:T===E?(x-C)/N%6:T===x?2+(C-E)/N:4+(E-x)/N+4,h/=6,[360*(h%=1),100*N,100*(N<1?P/(1-N):0)]},x.hsl.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=1,C=0;return(x=E<.5?2*h*E:2*h*(1-E))<1&&(C=(E-.5*x)/(1-x)),[o[0],100*x,100*C]},x.hsv.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=h*E,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},x.hcg.rgb=function(o){var h=o[0]/360,E=o[1]/100,x=o[2]/100;if(0===E)return[255*x,255*x,255*x];var C,T=[0,0,0],P=h%1*6,N=P%1,R=1-N;switch(Math.floor(P)){case 0:T[0]=1,T[1]=N,T[2]=0;break;case 1:T[0]=R,T[1]=1,T[2]=0;break;case 2:T[0]=0,T[1]=1,T[2]=N;break;case 3:T[0]=0,T[1]=R,T[2]=1;break;case 4:T[0]=N,T[1]=0,T[2]=1;break;default:T[0]=1,T[1]=0,T[2]=R}return C=(1-E)*x,[255*(E*T[0]+C),255*(E*T[1]+C),255*(E*T[2]+C)]},x.hcg.hsv=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h),x=0;return E>0&&(x=h/E),[o[0],100*x,100*E]},x.hcg.hsl=function(o){var h=o[1]/100,E=o[2]/100*(1-h)+.5*h,x=0;return E>0&&E<.5?x=h/(2*E):E>=.5&&E<1&&(x=h/(2*(1-E))),[o[0],100*x,100*E]},x.hcg.hwb=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h);return[o[0],100*(E-h),100*(1-E)]},x.hwb.hcg=function(o){var h=o[1]/100,E=1-o[2]/100,x=E-h,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},x.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},x.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},x.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},x.gray.hsl=x.gray.hsv=function(o){return[0,0,o[0]]},x.gray.hwb=function(o){return[0,100,o[0]]},x.gray.cmyk=function(o){return[0,0,0,o[0]]},x.gray.lab=function(o){return[o[0],0,0]},x.gray.hex=function(o){var h=255&Math.round(o[0]/100*255),E=((h<<16)+(h<<8)+h).toString(16).toUpperCase();return"000000".substring(E.length)+E},x.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}));function deriveBFS(o){var h=function buildGraph(){for(var o={},h=Object.keys(rr),E=h.length,x=0;x1&&(h=Array.prototype.slice.call(arguments));var E=o(h);if("object"===(0,ce.default)(E))for(var x=E.length,C=0;C1&&(h=Array.prototype.slice.call(arguments)),o(h))};return"conversion"in o&&(h.conversion=o.conversion),h}(x)}))}));var ir,ar=nr,sr=createCommonjsModule((function(o){var h=function wrapAnsi16(o,h){return function(){var E=o.apply(ar,arguments);return"[".concat(E+h,"m")}},E=function wrapAnsi256(o,h){return function(){var E=o.apply(ar,arguments);return"[".concat(38+h,";5;").concat(E,"m")}},x=function wrapAnsi16m(o,h){return function(){var E=o.apply(ar,arguments);return"[".concat(38+h,";2;").concat(E[0],";").concat(E[1],";").concat(E[2],"m")}};Object.defineProperty(o,"exports",{enumerable:!0,get:function assembleStyles(){var o=new Map,C={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};C.color.grey=C.color.gray;for(var T=0,P=Object.keys(C);T=2,has16m:o>=3}}(function supportsColor(o){if(!1===ir)return 0;if(ur("color=16m")||ur("color=full")||ur("color=truecolor"))return 3;if(ur("color=256"))return 2;if(o&&!o.isTTY&&!0!==ir)return 0;var h=ir?1:0;if("win32"===rt.platform){var E=or.release().split(".");return Number(rt.versions.node.split(".")[0])>=8&&Number(E[0])>=10&&Number(E[2])>=10586?Number(E[2])>=14931?3:2:1}if("CI"in lr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(o){return o in lr}))||"codeship"===lr.CI_NAME?1:h;if("TEAMCITY_VERSION"in lr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(lr.TEAMCITY_VERSION)?1:0;if("truecolor"===lr.COLORTERM)return 3;if("TERM_PROGRAM"in lr){var x=parseInt((lr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(lr.TERM_PROGRAM){case"iTerm.app":return x>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(lr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(lr.TERM)||"COLORTERM"in lr?1:(lr.TERM,h)}(o))}ur("no-color")||ur("no-colors")||ur("color=false")?ir=!1:(ur("color")||ur("colors")||ur("color=true")||ur("color=always"))&&(ir=!0),"FORCE_COLOR"in lr&&(ir=0===lr.FORCE_COLOR.length||0!==parseInt(lr.FORCE_COLOR,10));var cr={supportsColor:getSupportLevel,stdout:getSupportLevel(rt.stdout),stderr:getSupportLevel(rt.stderr)},pr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,fr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,hr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,dr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,mr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(o){return"u"===o[0]&&5===o.length||"x"===o[0]&&3===o.length?String.fromCharCode(parseInt(o.slice(1),16)):mr.get(o)||o}function parseArguments(o,h){var E,x,C=[],T=_createForOfIteratorHelper(h.trim().split(/\s*,\s*/g));try{for(T.s();!(x=T.n()).done;){var P=x.value;if(isNaN(P)){if(!(E=P.match(hr)))throw new Error("Invalid Chalk template style argument: ".concat(P," (in style '").concat(o,"')"));C.push(E[2].replace(dr,(function(o,h,E){return h?unescape(h):E})))}else C.push(Number(P))}}catch(o){T.e(o)}finally{T.f()}return C}function parseStyle(o){fr.lastIndex=0;for(var h,E=[];null!==(h=fr.exec(o));){var x=h[1];if(h[2]){var C=parseArguments(x,h[2]);E.push([x].concat(C))}else E.push([x])}return E}function buildStyle(o,h){var E,x={},C=_createForOfIteratorHelper(h);try{for(C.s();!(E=C.n()).done;){var T,P=E.value,N=_createForOfIteratorHelper(P.styles);try{for(N.s();!(T=N.n()).done;){var R=T.value;x[R[0]]=P.inverse?null:R.slice(1)}}catch(o){N.e(o)}finally{N.f()}}}catch(o){C.e(o)}finally{C.f()}for(var j=o,ee=0,re=Object.keys(x);ee0?j[ne].apply(j,x[ne]):j[ne]}}return j}var yr=function templates(o,h){var E=[],x=[],C=[];if(h.replace(pr,(function(h,T,P,N,R,j){if(T)C.push(unescape(T));else if(N){var ee=C.join("");C=[],x.push(0===E.length?ee:buildStyle(o,E)(ee)),E.push({inverse:P,styles:parseStyle(N)})}else if(R){if(0===E.length)throw new Error("Found extraneous } in Chalk template literal");x.push(buildStyle(o,E)(C.join(""))),C=[],E.pop()}else C.push(j)})),x.push(C.join("")),E.length>0){var T="Chalk template literal is missing ".concat(E.length," closing bracket").concat(1===E.length?"":"s"," (`}`)");throw new Error(T)}return x.join("")},gr=createCommonjsModule((function(o){var h=cr.stdout,E="win32"===rt.platform&&!(rt.env.TERM||"").toLowerCase().startsWith("xterm"),x=["ansi","ansi","ansi256","ansi16m"],C=new Set(["gray"]),T=Object.create(null);function applyOptions(o,E){E=E||{};var x=h?h.level:0;o.level=void 0===E.level?x:E.level,o.enabled="enabled"in E?E.enabled:o.level>0}function Chalk(o){if(!this||!(this instanceof Chalk)||this.template){var h={};return applyOptions(h,o),h.template=function(){var o=[].slice.call(arguments);return chalkTag.apply(null,[h.template].concat(o))},Object.setPrototypeOf(h,Chalk.prototype),Object.setPrototypeOf(h.template,h),h.template.constructor=Chalk,h.template}applyOptions(this,o)}E&&(sr.blue.open="[94m");for(var P=function _loop2(){var o=R[N];sr[o].closeRe=new RegExp(er(sr[o].close),"g"),T[o]={get:function get(){var h=sr[o];return build.call(this,this._styles?this._styles.concat(h):[h],this._empty,o)}}},N=0,R=Object.keys(sr);N1)for(var C=1;Ch.length&&(o=h,h=E);var x=o.length,C=h.length;if(0===x)return C;if(0===C)return x;for(;x>0&&o.charCodeAt(~-x)===h.charCodeAt(~-C);)x--,C--;if(0===x)return C;for(var T,P,N,R,j=0;jP?R>P?P+1:R:R>N?N+1:R;return P}(o,h)<3}));N&&P.push("Did you mean ".concat(gr.default.blue(x.key(N)),"?")),C.warn(P.join(" "))}}));unwrapExports(Ar),Ar.levenUnknownHandler;var Sr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),Jt.__exportStar(Ar,h)}));unwrapExports(Sr);var wr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),Jt.__exportStar(Dr,h),Jt.__exportStar(xr,h),Jt.__exportStar(Sr,h)}));unwrapExports(wr);var kr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function createSchema(o,h){var C,T=new o(h),P=Object.create(T),N=_createForOfIteratorHelper(E);try{for(N.s();!(C=N.n()).done;){var R=C.value;R in h&&(P[R]=normalizeHandler(h[R],T,x.prototype[R].length))}}catch(o){N.e(o)}finally{N.f()}return P}h.createSchema=createSchema;var x=function(){function Schema(o){(0,ue.default)(this,Schema),this.name=o.name}return(0,le.default)(Schema,[{key:"default",value:function _default(o){}},{key:"expected",value:function expected(o){return"nothing"}},{key:"validate",value:function validate(o,h){return!1}},{key:"deprecated",value:function deprecated(o,h){return!1}},{key:"forward",value:function forward(o,h){}},{key:"redirect",value:function redirect(o,h){}},{key:"overlap",value:function overlap(o,h,E){return o}},{key:"preprocess",value:function preprocess(o,h){return o}},{key:"postprocess",value:function postprocess(o,h){return o}}],[{key:"create",value:function create(o){return createSchema(this,o)}}]),Schema}();function normalizeHandler(o,h,E){return"function"==typeof o?function(){for(var x=arguments.length,C=new Array(x),T=0;T2&&void 0!==arguments[2]&&arguments[2];return!1!==o&&(!0===o?!!E||[{value:h}]:"value"in o?[o]:0!==o.length&&o)},h.normalizeTransferResult=normalizeTransferResult,h.normalizeForwardResult=normalizeForwardResult,h.normalizeRedirectResult=function normalizeRedirectResult(o,h){var E=normalizeForwardResult("object"===(0,ce.default)(o)&&"redirect"in o?o.redirect:o,h);return 0===E.length?{remain:h,redirect:E}:"object"===(0,ce.default)(o)&&"remain"in o?{remain:o.remain,redirect:E}:{redirect:E}}}));unwrapExports(Br),Br.recordFromArray,Br.mapFromArray,Br.createAutoChecklist,Br.partition,Br.isInt,Br.comparePrimitive,Br.normalizeDefaultResult,Br.normalizeValidateResult,Br.normalizeDeprecatedResult,Br.normalizeTransferResult,Br.normalizeForwardResult,Br.normalizeRedirectResult;var Nr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=function(o){(0,ie.default)(ChoiceSchema,o);var h=_createSuper(ChoiceSchema);function ChoiceSchema(o){var E;return(0,ue.default)(this,ChoiceSchema),(E=h.call(this,o))._choices=Br.mapFromArray(o.choices.map((function(o){return o&&"object"===(0,ce.default)(o)?o:{value:o}})),"value"),E}return(0,le.default)(ChoiceSchema,[{key:"expected",value:function expected(o){var h=this,E=o.descriptor,x=Array.from(this._choices.keys()).map((function(o){return h._choices.get(o)})).filter((function(o){return!o.deprecated})).map((function(o){return o.value})).sort(Br.comparePrimitive).map(E.value),C=x.slice(0,-2),T=x.slice(-2);return C.concat(T.join(" or ")).join(", ")}},{key:"validate",value:function validate(o){return this._choices.has(o)}},{key:"deprecated",value:function deprecated(o){var h=this._choices.get(o);return!(!h||!h.deprecated)&&{value:o}}},{key:"forward",value:function forward(o){var h=this._choices.get(o);return h?h.forward:void 0}},{key:"redirect",value:function redirect(o){var h=this._choices.get(o);return h?h.redirect:void 0}}]),ChoiceSchema}(kr.Schema);h.ChoiceSchema=E}));unwrapExports(Nr),Nr.ChoiceSchema;var Ir=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=function(o){(0,ie.default)(NumberSchema,o);var h=_createSuper(NumberSchema);function NumberSchema(){return(0,ue.default)(this,NumberSchema),h.apply(this,arguments)}return(0,le.default)(NumberSchema,[{key:"expected",value:function expected(){return"a number"}},{key:"validate",value:function validate(o,h){return"number"==typeof o}}]),NumberSchema}(kr.Schema);h.NumberSchema=E}));unwrapExports(Ir),Ir.NumberSchema;var Or=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=function(o){(0,ie.default)(IntegerSchema,o);var h=_createSuper(IntegerSchema);function IntegerSchema(){return(0,ue.default)(this,IntegerSchema),h.apply(this,arguments)}return(0,le.default)(IntegerSchema,[{key:"expected",value:function expected(){return"an integer"}},{key:"validate",value:function validate(o,h){return!0===h.normalizeValidateResult((0,j.default)((0,se.default)(IntegerSchema.prototype),"validate",this).call(this,o,h),o)&&Br.isInt(o)}}]),IntegerSchema}(Ir.NumberSchema);h.IntegerSchema=E}));unwrapExports(Or),Or.IntegerSchema;var Rr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=function(o){(0,ie.default)(StringSchema,o);var h=_createSuper(StringSchema);function StringSchema(){return(0,ue.default)(this,StringSchema),h.apply(this,arguments)}return(0,le.default)(StringSchema,[{key:"expected",value:function expected(){return"a string"}},{key:"validate",value:function validate(o){return"string"==typeof o}}]),StringSchema}(kr.Schema);h.StringSchema=E}));unwrapExports(Rr),Rr.StringSchema;var Mr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),Jt.__exportStar(Tr,h),Jt.__exportStar(_r,h),Jt.__exportStar(Fr,h),Jt.__exportStar(Pr,h),Jt.__exportStar(Nr,h),Jt.__exportStar(Or,h),Jt.__exportStar(Ir,h),Jt.__exportStar(Rr,h)}));unwrapExports(Mr);var Lr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),h.defaultDescriptor=$t.apiDescriptor,h.defaultUnknownHandler=Ar.levenUnknownHandler,h.defaultInvalidHandler=xr.commonInvalidHandler,h.defaultDeprecatedHandler=vr.commonDeprecatedHandler}));unwrapExports(Lr),Lr.defaultDescriptor,Lr.defaultUnknownHandler,Lr.defaultInvalidHandler,Lr.defaultDeprecatedHandler;var jr=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),h.normalize=function(o,h,x){return new E(h,x).normalize(o)};var E=function(){function Normalizer(o,h){(0,ue.default)(this,Normalizer);var E=h||{},x=E.logger,C=void 0===x?console:x,T=E.descriptor,P=void 0===T?Lr.defaultDescriptor:T,N=E.unknown,R=void 0===N?Lr.defaultUnknownHandler:N,j=E.invalid,ee=void 0===j?Lr.defaultInvalidHandler:j,re=E.deprecated,ne=void 0===re?Lr.defaultDeprecatedHandler:re;this._utils={descriptor:P,logger:C||{warn:function warn(){}},schemas:Br.recordFromArray(o,"name"),normalizeDefaultResult:Br.normalizeDefaultResult,normalizeDeprecatedResult:Br.normalizeDeprecatedResult,normalizeForwardResult:Br.normalizeForwardResult,normalizeRedirectResult:Br.normalizeRedirectResult,normalizeValidateResult:Br.normalizeValidateResult},this._unknownHandler=R,this._invalidHandler=ee,this._deprecatedHandler=ne,this.cleanHistory()}return(0,le.default)(Normalizer,[{key:"cleanHistory",value:function cleanHistory(){this._hasDeprecationWarned=Br.createAutoChecklist()}},{key:"normalize",value:function normalize(o){var h=this,E={},x=[o],C=function applyNormalization(){for(;0!==x.length;){var o=x.shift(),C=h._applyNormalization(o,E);x.push.apply(x,(0,ee.default)(C))}};C();for(var T=0,P=Object.keys(this._utils.schemas);Th.length&&(o=h,h=E);for(var x=o.length,C=h.length;x>0&&o.charCodeAt(~-x)===h.charCodeAt(~-C);)x--,C--;for(var T,P,N,R,j=0;jP?R>P?P+1:R:R>N?N+1:R;return P},Gr=Wr,Hr=Wr;Gr.default=Hr;for(var zr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Kr={},Yr=0,$r=Object.keys(zr);Yr<$r.length;Yr++){var Jr=$r[Yr];Kr[zr[Jr]]=Jr}for(var Xr={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Qr=Xr,Zr=0,en=Object.keys(Xr);Zr1&&(C-=1)),[360*C,100*T,100*j]},Xr.rgb.hwb=function(o){var h=o[0],E=o[1],x=o[2];return[Xr.rgb.hsl(o)[0],1/255*Math.min(h,Math.min(E,x))*100,100*(x=1-1/255*Math.max(h,Math.max(E,x)))]},Xr.rgb.cmyk=function(o){var h=o[0]/255,E=o[1]/255,x=o[2]/255,C=Math.min(1-h,1-E,1-x);return[100*((1-h-C)/(1-C)||0),100*((1-E-C)/(1-C)||0),100*((1-x-C)/(1-C)||0),100*C]},Xr.rgb.keyword=function(o){var h=Kr[o];if(h)return h;for(var E,x,C,T=1/0,P=0,N=Object.keys(zr);P.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.3576*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)+.1805*(x=x>.04045?Math.pow((x+.055)/1.055,2.4):x/12.92)),100*(.2126*h+.7152*E+.0722*x),100*(.0193*h+.1192*E+.9505*x)]},Xr.rgb.lab=function(o){var h=Xr.rgb.xyz(o),E=h[0],x=h[1],C=h[2];return x/=100,C/=108.883,E=(E/=95.047)>.008856?Math.pow(E,1/3):7.787*E+16/116,[116*(x=x>.008856?Math.pow(x,1/3):7.787*x+16/116)-16,500*(E-x),200*(x-(C=C>.008856?Math.pow(C,1/3):7.787*C+16/116))]},Xr.hsl.rgb=function(o){var h,E,x,C=o[0]/360,T=o[1]/100,P=o[2]/100;if(0===T)return[x=255*P,x,x];for(var N=2*P-(h=P<.5?P*(1+T):P+T-P*T),R=[0,0,0],j=0;j<3;j++)(E=C+1/3*-(j-1))<0&&E++,E>1&&E--,x=6*E<1?N+6*(h-N)*E:2*E<1?h:3*E<2?N+(h-N)*(2/3-E)*6:N,R[j]=255*x;return R},Xr.hsl.hsv=function(o){var h=o[0],E=o[1]/100,x=o[2]/100,C=E,T=Math.max(x,.01);return E*=(x*=2)<=1?x:2-x,C*=T<=1?T:2-T,[h,100*(0===x?2*C/(T+C):2*E/(x+E)),(x+E)/2*100]},Xr.hsv.rgb=function(o){var h=o[0]/60,E=o[1]/100,x=o[2]/100,C=Math.floor(h)%6,T=h-Math.floor(h),P=255*x*(1-E),N=255*x*(1-E*T),R=255*x*(1-E*(1-T));switch(x*=255,C){case 0:return[x,R,P];case 1:return[N,x,P];case 2:return[P,x,R];case 3:return[P,N,x];case 4:return[R,P,x];case 5:return[x,P,N]}},Xr.hsv.hsl=function(o){var h,E,x=o[0],C=o[1]/100,T=o[2]/100,P=Math.max(T,.01);E=(2-C)*T;var N=(2-C)*P;return h=C*P,[x,100*(h=(h/=N<=1?N:2-N)||0),100*(E/=2)]},Xr.hwb.rgb=function(o){var h,E=o[0]/360,x=o[1]/100,C=o[2]/100,T=x+C;T>1&&(x/=T,C/=T);var P=Math.floor(6*E),N=1-C;h=6*E-P,0!=(1&P)&&(h=1-h);var R,j,ee,re=x+h*(N-x);switch(P){default:case 6:case 0:R=N,j=re,ee=x;break;case 1:R=re,j=N,ee=x;break;case 2:R=x,j=N,ee=re;break;case 3:R=x,j=re,ee=N;break;case 4:R=re,j=x,ee=N;break;case 5:R=N,j=x,ee=re}return[255*R,255*j,255*ee]},Xr.cmyk.rgb=function(o){var h=o[0]/100,E=o[1]/100,x=o[2]/100,C=o[3]/100;return[255*(1-Math.min(1,h*(1-C)+C)),255*(1-Math.min(1,E*(1-C)+C)),255*(1-Math.min(1,x*(1-C)+C))]},Xr.xyz.rgb=function(o){var h,E,x,C=o[0]/100,T=o[1]/100,P=o[2]/100;return E=-.9689*C+1.8758*T+.0415*P,x=.0557*C+-.204*T+1.057*P,h=(h=3.2406*C+-1.5372*T+-.4986*P)>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,E=E>.0031308?1.055*Math.pow(E,1/2.4)-.055:12.92*E,x=x>.0031308?1.055*Math.pow(x,1/2.4)-.055:12.92*x,[255*(h=Math.min(Math.max(0,h),1)),255*(E=Math.min(Math.max(0,E),1)),255*(x=Math.min(Math.max(0,x),1))]},Xr.xyz.lab=function(o){var h=o[0],E=o[1],x=o[2];return E/=100,x/=108.883,h=(h/=95.047)>.008856?Math.pow(h,1/3):7.787*h+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(h-E),200*(E-(x=x>.008856?Math.pow(x,1/3):7.787*x+16/116))]},Xr.lab.xyz=function(o){var h,E,x,C=o[0];h=o[1]/500+(E=(C+16)/116),x=E-o[2]/200;var T=Math.pow(E,3),P=Math.pow(h,3),N=Math.pow(x,3);return E=T>.008856?T:(E-16/116)/7.787,h=P>.008856?P:(h-16/116)/7.787,x=N>.008856?N:(x-16/116)/7.787,[h*=95.047,E*=100,x*=108.883]},Xr.lab.lch=function(o){var h,E=o[0],x=o[1],C=o[2];return(h=360*Math.atan2(C,x)/2/Math.PI)<0&&(h+=360),[E,Math.sqrt(x*x+C*C),h]},Xr.lch.lab=function(o){var h=o[0],E=o[1],x=o[2]/360*2*Math.PI;return[h,E*Math.cos(x),E*Math.sin(x)]},Xr.rgb.ansi16=function(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,E=(0,ne.default)(o,3),x=E[0],C=E[1],T=E[2],P=null===h?Xr.rgb.hsv(o)[2]:h;if(0===(P=Math.round(P/50)))return 30;var N=30+(Math.round(T/255)<<2|Math.round(C/255)<<1|Math.round(x/255));return 2===P&&(N+=60),N},Xr.hsv.ansi16=function(o){return Xr.rgb.ansi16(Xr.hsv.rgb(o),o[2])},Xr.rgb.ansi256=function(o){var h=o[0],E=o[1],x=o[2];return h===E&&E===x?h<8?16:h>248?231:Math.round((h-8)/247*24)+232:16+36*Math.round(h/255*5)+6*Math.round(E/255*5)+Math.round(x/255*5)},Xr.ansi16.rgb=function(o){var h=o%10;if(0===h||7===h)return o>50&&(h+=3.5),[h=h/10.5*255,h,h];var E=.5*(1+~~(o>50));return[(1&h)*E*255,(h>>1&1)*E*255,(h>>2&1)*E*255]},Xr.ansi256.rgb=function(o){if(o>=232){var h=10*(o-232)+8;return[h,h,h]}var E;return o-=16,[Math.floor(o/36)/5*255,Math.floor((E=o%36)/6)/5*255,E%6/5*255]},Xr.rgb.hex=function(o){var h=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(h.length)+h},Xr.hex.rgb=function(o){var h=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var E=h[0];3===h[0].length&&(E=E.split("").map((function(o){return o+o})).join(""));var x=parseInt(E,16);return[x>>16&255,x>>8&255,255&x]},Xr.rgb.hcg=function(o){var h,E=o[0]/255,x=o[1]/255,C=o[2]/255,T=Math.max(Math.max(E,x),C),P=Math.min(Math.min(E,x),C),N=T-P;return h=N<=0?0:T===E?(x-C)/N%6:T===x?2+(C-E)/N:4+(E-x)/N,h/=6,[360*(h%=1),100*N,100*(N<1?P/(1-N):0)]},Xr.hsl.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=E<.5?2*h*E:2*h*(1-E),C=0;return x<1&&(C=(E-.5*x)/(1-x)),[o[0],100*x,100*C]},Xr.hsv.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=h*E,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},Xr.hcg.rgb=function(o){var h=o[0]/360,E=o[1]/100,x=o[2]/100;if(0===E)return[255*x,255*x,255*x];var C,T=[0,0,0],P=h%1*6,N=P%1,R=1-N;switch(Math.floor(P)){case 0:T[0]=1,T[1]=N,T[2]=0;break;case 1:T[0]=R,T[1]=1,T[2]=0;break;case 2:T[0]=0,T[1]=1,T[2]=N;break;case 3:T[0]=0,T[1]=R,T[2]=1;break;case 4:T[0]=N,T[1]=0,T[2]=1;break;default:T[0]=1,T[1]=0,T[2]=R}return C=(1-E)*x,[255*(E*T[0]+C),255*(E*T[1]+C),255*(E*T[2]+C)]},Xr.hcg.hsv=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h),x=0;return E>0&&(x=h/E),[o[0],100*x,100*E]},Xr.hcg.hsl=function(o){var h=o[1]/100,E=o[2]/100*(1-h)+.5*h,x=0;return E>0&&E<.5?x=h/(2*E):E>=.5&&E<1&&(x=h/(2*(1-E))),[o[0],100*x,100*E]},Xr.hcg.hwb=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h);return[o[0],100*(E-h),100*(1-E)]},Xr.hwb.hcg=function(o){var h=o[1]/100,E=1-o[2]/100,x=E-h,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},Xr.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},Xr.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},Xr.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},Xr.gray.hsl=function(o){return[0,0,o[0]]},Xr.gray.hsv=Xr.gray.hsl,Xr.gray.hwb=function(o){return[0,100,o[0]]},Xr.gray.cmyk=function(o){return[0,0,0,o[0]]},Xr.gray.lab=function(o){return[o[0],0,0]},Xr.gray.hex=function(o){var h=255&Math.round(o[0]/100*255),E=((h<<16)+(h<<8)+h).toString(16).toUpperCase();return"000000".substring(E.length)+E},Xr.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]};var sn={};Object.keys(Qr).forEach((function(o){sn[o]={},Object.defineProperty(sn[o],"channels",{value:Qr[o].channels}),Object.defineProperty(sn[o],"labels",{value:Qr[o].labels});var h=function route(o){for(var h=deriveBFS$1(o),E={},x=Object.keys(h),C=x.length,T=0;T1&&(E=C);var T=o(E);if("object"===(0,ce.default)(T))for(var P=T.length,N=0;N1&&(E=C),o(E))};return"conversion"in o&&(h.conversion=o.conversion),h}(x)}))}));var on,un=sn,ln=createCommonjsModule((function(o){var h,E=function wrapAnsi16(o,h){return function(){var E=o.apply(void 0,arguments);return"[".concat(E+h,"m")}},x=function wrapAnsi256(o,h){return function(){var E=o.apply(void 0,arguments);return"[".concat(38+h,";5;").concat(E,"m")}},C=function wrapAnsi16m(o,h){return function(){var E=o.apply(void 0,arguments);return"[".concat(38+h,";2;").concat(E[0],";").concat(E[1],";").concat(E[2],"m")}},T=function ansi2ansi(o){return o},P=function rgb2rgb(o,h,E){return[o,h,E]},N=function setLazyProperty(o,h,E){Object.defineProperty(o,h,{get:function get(){var x=E();return Object.defineProperty(o,h,{value:x,enumerable:!0,configurable:!0}),x},enumerable:!0,configurable:!0})},R=function makeDynamicStyles(o,E,x,C){void 0===h&&(h=un);for(var T=C?10:0,P={},N=0,R=Object.entries(h);N1&&void 0!==arguments[1]?arguments[1]:rt.argv,E=o.startsWith("-")?"":1===o.length?"-":"--",x=h.indexOf(E+o),C=h.indexOf("--");return-1!==x&&(-1===C||x=2,has16m:o>=3}}function supportsColor$1(o,h){if(0===on)return 0;if(pn("color=16m")||pn("color=full")||pn("color=truecolor"))return 3;if(pn("color=256"))return 2;if(o&&!h&&void 0===on)return 0;var E=on||0;if("dumb"===fn.TERM)return E;if("win32"===rt.platform){var x=or.release().split(".");return Number(x[0])>=10&&Number(x[2])>=10586?Number(x[2])>=14931?3:2:1}if("CI"in fn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(o){return o in fn}))||"codeship"===fn.CI_NAME?1:E;if("TEAMCITY_VERSION"in fn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fn.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in fn)return 1;if("truecolor"===fn.COLORTERM)return 3;if("TERM_PROGRAM"in fn){var C=parseInt((fn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fn.TERM_PROGRAM){case"iTerm.app":return C>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(fn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fn.TERM)||"COLORTERM"in fn?1:E}pn("no-color")||pn("no-colors")||pn("color=false")||pn("color=never")?on=0:(pn("color")||pn("colors")||pn("color=true")||pn("color=always"))&&(on=1),"FORCE_COLOR"in fn&&(on="true"===fn.FORCE_COLOR?1:"false"===fn.FORCE_COLOR?0:0===fn.FORCE_COLOR.length?1:Math.min(parseInt(fn.FORCE_COLOR,10),3));var hn={supportsColor:function getSupportLevel$1(o){return translateLevel$1(supportsColor$1(o,o&&o.isTTY))},stdout:translateLevel$1(supportsColor$1(!0,cn(1))),stderr:translateLevel$1(supportsColor$1(!0,cn(2)))},dn=function stringReplaceAll(o,h,E){var x=o.indexOf(h);if(-1===x)return o;var C=h.length,T=0,P="";do{P+=o.substr(T,x-T)+h+E,T=x+C,x=o.indexOf(h,T)}while(-1!==x);return P+=o.substr(T)},mn=function stringEncaseCRLFWithFirstIndex(o,h,E,x){var C=0,T="";do{var P="\r"===o[x-1];T+=o.substr(C,(P?x-1:x)-C)+h+(P?"\r\n":"\n")+E,C=x+1,x=o.indexOf("\n",C)}while(-1!==x);return T+=o.substr(C)},yn=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,gn=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,vn=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Dn=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,En=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape$1(o){var h="u"===o[0],E="{"===o[1];return h&&!E&&5===o.length||"x"===o[0]&&3===o.length?String.fromCharCode(parseInt(o.slice(1),16)):h&&E?String.fromCodePoint(parseInt(o.slice(2,-1),16)):En.get(o)||o}function parseArguments$1(o,h){var E,x,C=[],T=_createForOfIteratorHelper(h.trim().split(/\s*,\s*/g));try{for(T.s();!(x=T.n()).done;){var P=x.value,N=Number(P);if(Number.isNaN(N)){if(!(E=P.match(vn)))throw new Error("Invalid Chalk template style argument: ".concat(P," (in style '").concat(o,"')"));C.push(E[2].replace(Dn,(function(o,h,E){return h?unescape$1(h):E})))}else C.push(N)}}catch(o){T.e(o)}finally{T.f()}return C}function parseStyle$1(o){gn.lastIndex=0;for(var h,E=[];null!==(h=gn.exec(o));){var x=h[1];if(h[2]){var C=parseArguments$1(x,h[2]);E.push([x].concat(C))}else E.push([x])}return E}function buildStyle$1(o,h){var E,x={},C=_createForOfIteratorHelper(h);try{for(C.s();!(E=C.n()).done;){var T,P=E.value,N=_createForOfIteratorHelper(P.styles);try{for(N.s();!(T=N.n()).done;){var R=T.value;x[R[0]]=P.inverse?null:R.slice(1)}}catch(o){N.e(o)}finally{N.f()}}}catch(o){C.e(o)}finally{C.f()}for(var j=o,re=0,ie=Object.entries(x);re0?(ae=j)[oe].apply(ae,(0,ee.default)(ue)):j[oe]}}return j}var xn=function templates$1(o,h){var E=[],x=[],C=[];if(h.replace(yn,(function(h,T,P,N,R,j){if(T)C.push(unescape$1(T));else if(N){var ee=C.join("");C=[],x.push(0===E.length?ee:buildStyle$1(o,E)(ee)),E.push({inverse:P,styles:parseStyle$1(N)})}else if(R){if(0===E.length)throw new Error("Found extraneous } in Chalk template literal");x.push(buildStyle$1(o,E)(C.join(""))),C=[],E.pop()}else C.push(j)})),x.push(C.join("")),E.length>0){var T="Chalk template literal is missing ".concat(E.length," closing bracket").concat(1===E.length?"":"s"," (`}`)");throw new Error(T)}return x.join("")},bn=hn.stdout,Cn=hn.stderr,An=dn,Sn=mn,wn=["ansi","ansi","ansi256","ansi16m"],kn=Object.create(null),Tn=(0,le.default)((function ChalkClass(o){return(0,ue.default)(this,ChalkClass),_n(o)})),_n=function chalkFactory(o){var h={};return function applyOptions(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(h.level&&!(Number.isInteger(h.level)&&h.level>=0&&h.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var E=bn?bn.level:0;o.level=void 0===h.level?E:h.level}(h,o),h.template=function(){for(var o=arguments.length,E=new Array(o),x=0;x1?h-1:0),x=1;x2&&void 0!==arguments[2]?arguments[2]:{},x=E.logger,C=E.isCLI,T=void 0!==C&&C,P=E.passThrough,N=void 0!==P&&P,R=N?Array.isArray(N)?function(o,h){return N.includes(o)?(0,re.default)({},o,h):void 0}:function(o,h){return(0,re.default)({},o,h)}:qr.levenUnknownHandler,j=T?$n:qr.apiDescriptor,ee=optionInfosToSchemas(h,{isCLI:T}),ne=new qr.Normalizer(ee,{logger:x,unknown:R,descriptor:j}),ie=!1!==x;ie&&Kn&&(ne._hasDeprecationWarned=Kn);var ae=ne.normalize(o);return ie&&(Kn=ne._hasDeprecationWarned),ae}function optionInfosToSchemas(o,h){var E=h.isCLI,x=[];E&&x.push(qr.AnySchema.create({name:"_"}));var C,T=_createForOfIteratorHelper(o);try{for(T.s();!(C=T.n()).done;){var P=C.value;x.push(optionInfoToSchema(P,{isCLI:E,optionInfos:o})),P.alias&&E&&x.push(qr.AliasSchema.create({name:P.alias,sourceName:P.name}))}}catch(o){T.e(o)}finally{T.f()}return x}function optionInfoToSchema(o,h){var E,x=h.isCLI,C=h.optionInfos,T={name:o.name},P={};switch(o.type){case"int":E=qr.IntegerSchema,x&&(T.preprocess=function(o){return Number(o)});break;case"string":E=qr.StringSchema;break;case"choice":E=qr.ChoiceSchema,T.choices=o.choices.map((function(h){return"object"===(0,ce.default)(h)&&h.redirect?Object.assign({},h,{redirect:{to:{key:o.name,value:h.redirect}}}):h}));break;case"boolean":E=qr.BooleanSchema;break;case"flag":E=Jn,T.flags=C.map((function(o){return[].concat(o.alias||[],o.description?o.name:[],o.oppositeDescription?"no-".concat(o.name):[])})).reduce((function(o,h){return o.concat(h)}),[]);break;case"path":E=qr.StringSchema;break;default:throw new Error("Unexpected type ".concat(o.type))}if(o.exception?T.validate=function(h,E,x){return o.exception(h)||E.validate(h,x)}:T.validate=function(o,h,E){return void 0===o||h.validate(o,E)},o.redirect&&(P.redirect=function(h){return h?{to:{key:o.redirect.option,value:o.redirect.value}}:void 0}),o.deprecated&&(P.deprecated=!0),x&&!o.array){var N=T.preprocess||function(o){return o};T.preprocess=function(o,h,E){return h.preprocess(N(Array.isArray(o)?o[o.length-1]:o),E)}}return o.array?qr.ArraySchema.create(Object.assign({},x?{preprocess:function preprocess(o){return[].concat(o)}}:{},{},P,{valueSchema:E.create(T)})):E.create(Object.assign({},T,{},P))}var Xn={normalizeApiOptions:function normalizeApiOptions(o,h,E){return normalizeOptions(o,h,E)},normalizeCliOptions:function normalizeCliOptions(o,h,E){return normalizeOptions(o,h,Object.assign({isCLI:!0},E))}},Qn=function getLast(o){return o[o.length-1]};function locStart(o,h){return!(h=h||{}).ignoreDecorators&&o.declaration&&o.declaration.decorators&&o.declaration.decorators.length>0?locStart(o.declaration.decorators[0]):!h.ignoreDecorators&&o.decorators&&o.decorators.length>0?locStart(o.decorators[0]):o.__location?o.__location.startOffset:o.range?o.range[0]:"number"==typeof o.start?o.start:o.loc?o.loc.start:null}function locEnd(o){var h=o.nodes&&Qn(o.nodes);if(h&&o.source&&!o.source.end&&(o=h),o.__location)return o.__location.endOffset;var E=o.range?o.range[1]:"number"==typeof o.end?o.end:null;return o.typeAnnotation?Math.max(E,locEnd(o.typeAnnotation)):o.loc&&!E?o.loc.end:E}var Zn=locStart,ei=locEnd,ti=createCommonjsModule((function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),h.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,h.matchToToken=function(o){var h={type:"invalid",value:o[0],closed:void 0};return o[1]?(h.type="string",h.closed=!(!o[3]&&!o[4])):o[5]?h.type="comment":o[6]?(h.type="comment",h.closed=!!o[7]):o[8]?h.type="regex":o[9]?h.type="number":o[10]?h.type="name":o[11]?h.type="punctuator":o[12]&&(h.type="whitespace"),h}}));unwrapExports(ti),ti.matchToToken;var ri=createCommonjsModule((function(o){!function(){function isStatement(o){if(null==o)return!1;switch(o.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(o){switch(o.type){case"IfStatement":return null!=o.alternate?o.alternate:o.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return o.body}return null}o.exports={isExpression:function isExpression(o){if(null==o)return!1;switch(o.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:isStatement,isIterationStatement:function isIterationStatement(o){if(null==o)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(o){return isStatement(o)||null!=o&&"FunctionDeclaration"===o.type},isProblematicIfStatement:function isProblematicIfStatement(o){var h;if("IfStatement"!==o.type)return!1;if(null==o.alternate)return!1;h=o.consequent;do{if("IfStatement"===h.type&&null==h.alternate)return!0;h=trailingStatement(h)}while(h);return!1},trailingStatement:trailingStatement}}()})),ni=(ri.isExpression,ri.isStatement,ri.isIterationStatement,ri.isSourceElement,ri.isProblematicIfStatement,ri.trailingStatement,createCommonjsModule((function(o){!function(){var h,E,x,C,T,P;function fromCodePoint(o){return o<=65535?String.fromCharCode(o):String.fromCharCode(Math.floor((o-65536)/1024)+55296)+String.fromCharCode((o-65536)%1024+56320)}for(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-\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]/},h={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]/},x=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],C=new Array(128),P=0;P<128;++P)C[P]=P>=97&&P<=122||P>=65&&P<=90||36===P||95===P;for(T=new Array(128),P=0;P<128;++P)T[P]=P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||36===P||95===P;o.exports={isDecimalDigit:function isDecimalDigit(o){return 48<=o&&o<=57},isHexDigit:function isHexDigit(o){return 48<=o&&o<=57||97<=o&&o<=102||65<=o&&o<=70},isOctalDigit:function isOctalDigit(o){return o>=48&&o<=55},isWhiteSpace:function isWhiteSpace(o){return 32===o||9===o||11===o||12===o||160===o||o>=5760&&x.indexOf(o)>=0},isLineTerminator:function isLineTerminator(o){return 10===o||13===o||8232===o||8233===o},isIdentifierStartES5:function isIdentifierStartES5(o){return o<128?C[o]:E.NonAsciiIdentifierStart.test(fromCodePoint(o))},isIdentifierPartES5:function isIdentifierPartES5(o){return o<128?T[o]:E.NonAsciiIdentifierPart.test(fromCodePoint(o))},isIdentifierStartES6:function isIdentifierStartES6(o){return o<128?C[o]:h.NonAsciiIdentifierStart.test(fromCodePoint(o))},isIdentifierPartES6:function isIdentifierPartES6(o){return o<128?T[o]:h.NonAsciiIdentifierPart.test(fromCodePoint(o))}}}()}))),ii=(ni.isDecimalDigit,ni.isHexDigit,ni.isOctalDigit,ni.isWhiteSpace,ni.isLineTerminator,ni.isIdentifierStartES5,ni.isIdentifierPartES5,ni.isIdentifierStartES6,ni.isIdentifierPartES6,createCommonjsModule((function(o){!function(){var h=ni;function isKeywordES5(o,h){return!(!h&&"yield"===o)&&isKeywordES6(o,h)}function isKeywordES6(o,h){if(h&&function isStrictModeReservedWordES6(o){switch(o){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(o))return!0;switch(o.length){case 2:return"if"===o||"in"===o||"do"===o;case 3:return"var"===o||"for"===o||"new"===o||"try"===o;case 4:return"this"===o||"else"===o||"case"===o||"void"===o||"with"===o||"enum"===o;case 5:return"while"===o||"break"===o||"catch"===o||"throw"===o||"const"===o||"yield"===o||"class"===o||"super"===o;case 6:return"return"===o||"typeof"===o||"delete"===o||"switch"===o||"export"===o||"import"===o;case 7:return"default"===o||"finally"===o||"extends"===o;case 8:return"function"===o||"continue"===o||"debugger"===o;case 10:return"instanceof"===o;default:return!1}}function isReservedWordES5(o,h){return"null"===o||"true"===o||"false"===o||isKeywordES5(o,h)}function isReservedWordES6(o,h){return"null"===o||"true"===o||"false"===o||isKeywordES6(o,h)}function isIdentifierNameES5(o){var E,x,C;if(0===o.length)return!1;if(C=o.charCodeAt(0),!h.isIdentifierStartES5(C))return!1;for(E=1,x=o.length;E=x)return!1;if(!(56320<=(T=o.charCodeAt(E))&&T<=57343))return!1;C=1024*(C-55296)+(T-56320)+65536}if(!P(C))return!1;P=h.isIdentifierPartES6}return!0}o.exports={isKeywordES5:isKeywordES5,isKeywordES6:isKeywordES6,isReservedWordES5:isReservedWordES5,isReservedWordES6:isReservedWordES6,isRestrictedWord:function isRestrictedWord(o){return"eval"===o||"arguments"===o},isIdentifierNameES5:isIdentifierNameES5,isIdentifierNameES6:isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(o,h){return isIdentifierNameES5(o)&&!isReservedWordES5(o,h)},isIdentifierES6:function isIdentifierES6(o,h){return isIdentifierNameES6(o)&&!isReservedWordES6(o,h)}}}()}))),ai=(ii.isKeywordES5,ii.isKeywordES6,ii.isReservedWordES5,ii.isReservedWordES6,ii.isRestrictedWord,ii.isIdentifierNameES5,ii.isIdentifierNameES6,ii.isIdentifierES5,ii.isIdentifierES6,createCommonjsModule((function(o,h){h.ast=ri,h.code=ni,h.keyword=ii}))),si=(ai.ast,ai.code,ai.keyword,/[|\\{}()[\]^$+*?.]/g),oi=function escapeStringRegexp(o){if("string"!=typeof o)throw new TypeError("Expected a string");return o.replace(si,"\\$&")},ui={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},li=createCommonjsModule((function(o){var h={};for(var E in ui)ui.hasOwnProperty(E)&&(h[ui[E]]=E);var x=o.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var C in x)if(x.hasOwnProperty(C)){if(!("channels"in x[C]))throw new Error("missing channels property: "+C);if(!("labels"in x[C]))throw new Error("missing channel labels property: "+C);if(x[C].labels.length!==x[C].channels)throw new Error("channel and label counts mismatch: "+C);var T=x[C].channels,P=x[C].labels;delete x[C].channels,delete x[C].labels,Object.defineProperty(x[C],"channels",{value:T}),Object.defineProperty(x[C],"labels",{value:P})}x.rgb.hsl=function(o){var h,E,x=o[0]/255,C=o[1]/255,T=o[2]/255,P=Math.min(x,C,T),N=Math.max(x,C,T),R=N-P;return N===P?h=0:x===N?h=(C-T)/R:C===N?h=2+(T-x)/R:T===N&&(h=4+(x-C)/R),(h=Math.min(60*h,360))<0&&(h+=360),E=(P+N)/2,[h,100*(N===P?0:E<=.5?R/(N+P):R/(2-N-P)),100*E]},x.rgb.hsv=function(o){var h,E,x,C,T,P=o[0]/255,N=o[1]/255,R=o[2]/255,j=Math.max(P,N,R),ee=j-Math.min(P,N,R),re=function diffc(o){return(j-o)/6/ee+.5};return 0===ee?C=T=0:(T=ee/j,h=re(P),E=re(N),x=re(R),P===j?C=x-E:N===j?C=1/3+h-x:R===j&&(C=2/3+E-h),C<0?C+=1:C>1&&(C-=1)),[360*C,100*T,100*j]},x.rgb.hwb=function(o){var h=o[0],E=o[1],C=o[2];return[x.rgb.hsl(o)[0],1/255*Math.min(h,Math.min(E,C))*100,100*(C=1-1/255*Math.max(h,Math.max(E,C)))]},x.rgb.cmyk=function(o){var h,E=o[0]/255,x=o[1]/255,C=o[2]/255;return[100*((1-E-(h=Math.min(1-E,1-x,1-C)))/(1-h)||0),100*((1-x-h)/(1-h)||0),100*((1-C-h)/(1-h)||0),100*h]},x.rgb.keyword=function(o){var E=h[o];if(E)return E;var x,C,T,P=1/0;for(var N in ui)if(ui.hasOwnProperty(N)){var R=ui[N],j=(C=o,T=R,Math.pow(C[0]-T[0],2)+Math.pow(C[1]-T[1],2)+Math.pow(C[2]-T[2],2));j.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.3576*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)+.1805*(x=x>.04045?Math.pow((x+.055)/1.055,2.4):x/12.92)),100*(.2126*h+.7152*E+.0722*x),100*(.0193*h+.1192*E+.9505*x)]},x.rgb.lab=function(o){var h=x.rgb.xyz(o),E=h[0],C=h[1],T=h[2];return C/=100,T/=108.883,E=(E/=95.047)>.008856?Math.pow(E,1/3):7.787*E+16/116,[116*(C=C>.008856?Math.pow(C,1/3):7.787*C+16/116)-16,500*(E-C),200*(C-(T=T>.008856?Math.pow(T,1/3):7.787*T+16/116))]},x.hsl.rgb=function(o){var h,E,x,C,T,P=o[0]/360,N=o[1]/100,R=o[2]/100;if(0===N)return[T=255*R,T,T];h=2*R-(E=R<.5?R*(1+N):R+N-R*N),C=[0,0,0];for(var j=0;j<3;j++)(x=P+1/3*-(j-1))<0&&x++,x>1&&x--,T=6*x<1?h+6*(E-h)*x:2*x<1?E:3*x<2?h+(E-h)*(2/3-x)*6:h,C[j]=255*T;return C},x.hsl.hsv=function(o){var h=o[0],E=o[1]/100,x=o[2]/100,C=E,T=Math.max(x,.01);return E*=(x*=2)<=1?x:2-x,C*=T<=1?T:2-T,[h,100*(0===x?2*C/(T+C):2*E/(x+E)),(x+E)/2*100]},x.hsv.rgb=function(o){var h=o[0]/60,E=o[1]/100,x=o[2]/100,C=Math.floor(h)%6,T=h-Math.floor(h),P=255*x*(1-E),N=255*x*(1-E*T),R=255*x*(1-E*(1-T));switch(x*=255,C){case 0:return[x,R,P];case 1:return[N,x,P];case 2:return[P,x,R];case 3:return[P,N,x];case 4:return[R,P,x];case 5:return[x,P,N]}},x.hsv.hsl=function(o){var h,E,x,C=o[0],T=o[1]/100,P=o[2]/100,N=Math.max(P,.01);return x=(2-T)*P,E=T*N,[C,100*(E=(E/=(h=(2-T)*N)<=1?h:2-h)||0),100*(x/=2)]},x.hwb.rgb=function(o){var h,E,x,C,T,P,N,R=o[0]/360,j=o[1]/100,ee=o[2]/100,re=j+ee;switch(re>1&&(j/=re,ee/=re),x=6*R-(h=Math.floor(6*R)),0!=(1&h)&&(x=1-x),C=j+x*((E=1-ee)-j),h){default:case 6:case 0:T=E,P=C,N=j;break;case 1:T=C,P=E,N=j;break;case 2:T=j,P=E,N=C;break;case 3:T=j,P=C,N=E;break;case 4:T=C,P=j,N=E;break;case 5:T=E,P=j,N=C}return[255*T,255*P,255*N]},x.cmyk.rgb=function(o){var h=o[0]/100,E=o[1]/100,x=o[2]/100,C=o[3]/100;return[255*(1-Math.min(1,h*(1-C)+C)),255*(1-Math.min(1,E*(1-C)+C)),255*(1-Math.min(1,x*(1-C)+C))]},x.xyz.rgb=function(o){var h,E,x,C=o[0]/100,T=o[1]/100,P=o[2]/100;return E=-.9689*C+1.8758*T+.0415*P,x=.0557*C+-.204*T+1.057*P,h=(h=3.2406*C+-1.5372*T+-.4986*P)>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,E=E>.0031308?1.055*Math.pow(E,1/2.4)-.055:12.92*E,x=x>.0031308?1.055*Math.pow(x,1/2.4)-.055:12.92*x,[255*(h=Math.min(Math.max(0,h),1)),255*(E=Math.min(Math.max(0,E),1)),255*(x=Math.min(Math.max(0,x),1))]},x.xyz.lab=function(o){var h=o[0],E=o[1],x=o[2];return E/=100,x/=108.883,h=(h/=95.047)>.008856?Math.pow(h,1/3):7.787*h+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(h-E),200*(E-(x=x>.008856?Math.pow(x,1/3):7.787*x+16/116))]},x.lab.xyz=function(o){var h,E,x,C=o[0];h=o[1]/500+(E=(C+16)/116),x=E-o[2]/200;var T=Math.pow(E,3),P=Math.pow(h,3),N=Math.pow(x,3);return E=T>.008856?T:(E-16/116)/7.787,h=P>.008856?P:(h-16/116)/7.787,x=N>.008856?N:(x-16/116)/7.787,[h*=95.047,E*=100,x*=108.883]},x.lab.lch=function(o){var h,E=o[0],x=o[1],C=o[2];return(h=360*Math.atan2(C,x)/2/Math.PI)<0&&(h+=360),[E,Math.sqrt(x*x+C*C),h]},x.lch.lab=function(o){var h,E=o[0],x=o[1];return h=o[2]/360*2*Math.PI,[E,x*Math.cos(h),x*Math.sin(h)]},x.rgb.ansi16=function(o){var h=o[0],E=o[1],C=o[2],T=1 in arguments?arguments[1]:x.rgb.hsv(o)[2];if(0===(T=Math.round(T/50)))return 30;var P=30+(Math.round(C/255)<<2|Math.round(E/255)<<1|Math.round(h/255));return 2===T&&(P+=60),P},x.hsv.ansi16=function(o){return x.rgb.ansi16(x.hsv.rgb(o),o[2])},x.rgb.ansi256=function(o){var h=o[0],E=o[1],x=o[2];return h===E&&E===x?h<8?16:h>248?231:Math.round((h-8)/247*24)+232:16+36*Math.round(h/255*5)+6*Math.round(E/255*5)+Math.round(x/255*5)},x.ansi16.rgb=function(o){var h=o%10;if(0===h||7===h)return o>50&&(h+=3.5),[h=h/10.5*255,h,h];var E=.5*(1+~~(o>50));return[(1&h)*E*255,(h>>1&1)*E*255,(h>>2&1)*E*255]},x.ansi256.rgb=function(o){if(o>=232){var h=10*(o-232)+8;return[h,h,h]}var E;return o-=16,[Math.floor(o/36)/5*255,Math.floor((E=o%36)/6)/5*255,E%6/5*255]},x.rgb.hex=function(o){var h=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(h.length)+h},x.hex.rgb=function(o){var h=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var E=h[0];3===h[0].length&&(E=E.split("").map((function(o){return o+o})).join(""));var x=parseInt(E,16);return[x>>16&255,x>>8&255,255&x]},x.rgb.hcg=function(o){var h,E=o[0]/255,x=o[1]/255,C=o[2]/255,T=Math.max(Math.max(E,x),C),P=Math.min(Math.min(E,x),C),N=T-P;return h=N<=0?0:T===E?(x-C)/N%6:T===x?2+(C-E)/N:4+(E-x)/N+4,h/=6,[360*(h%=1),100*N,100*(N<1?P/(1-N):0)]},x.hsl.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=1,C=0;return(x=E<.5?2*h*E:2*h*(1-E))<1&&(C=(E-.5*x)/(1-x)),[o[0],100*x,100*C]},x.hsv.hcg=function(o){var h=o[1]/100,E=o[2]/100,x=h*E,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},x.hcg.rgb=function(o){var h=o[0]/360,E=o[1]/100,x=o[2]/100;if(0===E)return[255*x,255*x,255*x];var C,T=[0,0,0],P=h%1*6,N=P%1,R=1-N;switch(Math.floor(P)){case 0:T[0]=1,T[1]=N,T[2]=0;break;case 1:T[0]=R,T[1]=1,T[2]=0;break;case 2:T[0]=0,T[1]=1,T[2]=N;break;case 3:T[0]=0,T[1]=R,T[2]=1;break;case 4:T[0]=N,T[1]=0,T[2]=1;break;default:T[0]=1,T[1]=0,T[2]=R}return C=(1-E)*x,[255*(E*T[0]+C),255*(E*T[1]+C),255*(E*T[2]+C)]},x.hcg.hsv=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h),x=0;return E>0&&(x=h/E),[o[0],100*x,100*E]},x.hcg.hsl=function(o){var h=o[1]/100,E=o[2]/100*(1-h)+.5*h,x=0;return E>0&&E<.5?x=h/(2*E):E>=.5&&E<1&&(x=h/(2*(1-E))),[o[0],100*x,100*E]},x.hcg.hwb=function(o){var h=o[1]/100,E=h+o[2]/100*(1-h);return[o[0],100*(E-h),100*(1-E)]},x.hwb.hcg=function(o){var h=o[1]/100,E=1-o[2]/100,x=E-h,C=0;return x<1&&(C=(E-x)/(1-x)),[o[0],100*x,100*C]},x.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},x.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},x.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},x.gray.hsl=x.gray.hsv=function(o){return[0,0,o[0]]},x.gray.hwb=function(o){return[0,100,o[0]]},x.gray.cmyk=function(o){return[0,0,0,o[0]]},x.gray.lab=function(o){return[o[0],0,0]},x.gray.hex=function(o){var h=255&Math.round(o[0]/100*255),E=((h<<16)+(h<<8)+h).toString(16).toUpperCase();return"000000".substring(E.length)+E},x.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}));function deriveBFS$2(o){var h=function buildGraph$2(){for(var o={},h=Object.keys(li),E=h.length,x=0;x1&&(h=Array.prototype.slice.call(arguments));var E=o(h);if("object"===(0,ce.default)(E))for(var x=E.length,C=0;C1&&(h=Array.prototype.slice.call(arguments)),o(h))};return"conversion"in o&&(h.conversion=o.conversion),h}(x)}))}));var pi,fi=ci,hi=createCommonjsModule((function(o){var h=function wrapAnsi16(o,h){return function(){var E=o.apply(fi,arguments);return"[".concat(E+h,"m")}},E=function wrapAnsi256(o,h){return function(){var E=o.apply(fi,arguments);return"[".concat(38+h,";5;").concat(E,"m")}},x=function wrapAnsi16m(o,h){return function(){var E=o.apply(fi,arguments);return"[".concat(38+h,";2;").concat(E[0],";").concat(E[1],";").concat(E[2],"m")}};Object.defineProperty(o,"exports",{enumerable:!0,get:function assembleStyles(){var o=new Map,C={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};C.color.grey=C.color.gray;for(var T=0,P=Object.keys(C);T=2,has16m:o>=3}}(function supportsColor$2(o){if(!1===pi)return 0;if(ur("color=16m")||ur("color=full")||ur("color=truecolor"))return 3;if(ur("color=256"))return 2;if(o&&!o.isTTY&&!0!==pi)return 0;var h=pi?1:0;if("win32"===rt.platform){var E=or.release().split(".");return Number(rt.versions.node.split(".")[0])>=8&&Number(E[0])>=10&&Number(E[2])>=10586?Number(E[2])>=14931?3:2:1}if("CI"in di)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(o){return o in di}))||"codeship"===di.CI_NAME?1:h;if("TEAMCITY_VERSION"in di)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(di.TEAMCITY_VERSION)?1:0;if("truecolor"===di.COLORTERM)return 3;if("TERM_PROGRAM"in di){var x=parseInt((di.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(di.TERM_PROGRAM){case"iTerm.app":return x>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(di.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(di.TERM)||"COLORTERM"in di?1:(di.TERM,h)}(o))}ur("no-color")||ur("no-colors")||ur("color=false")?pi=!1:(ur("color")||ur("colors")||ur("color=true")||ur("color=always"))&&(pi=!0),"FORCE_COLOR"in di&&(pi=0===di.FORCE_COLOR.length||0!==parseInt(di.FORCE_COLOR,10));var mi={supportsColor:getSupportLevel$2,stdout:getSupportLevel$2(rt.stdout),stderr:getSupportLevel$2(rt.stderr)},yi=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,gi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,vi=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Di=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ei=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape$2(o){return"u"===o[0]&&5===o.length||"x"===o[0]&&3===o.length?String.fromCharCode(parseInt(o.slice(1),16)):Ei.get(o)||o}function parseArguments$2(o,h){var E,x,C=[],T=_createForOfIteratorHelper(h.trim().split(/\s*,\s*/g));try{for(T.s();!(x=T.n()).done;){var P=x.value;if(isNaN(P)){if(!(E=P.match(vi)))throw new Error("Invalid Chalk template style argument: ".concat(P," (in style '").concat(o,"')"));C.push(E[2].replace(Di,(function(o,h,E){return h?unescape$2(h):E})))}else C.push(Number(P))}}catch(o){T.e(o)}finally{T.f()}return C}function parseStyle$2(o){gi.lastIndex=0;for(var h,E=[];null!==(h=gi.exec(o));){var x=h[1];if(h[2]){var C=parseArguments$2(x,h[2]);E.push([x].concat(C))}else E.push([x])}return E}function buildStyle$2(o,h){var E,x={},C=_createForOfIteratorHelper(h);try{for(C.s();!(E=C.n()).done;){var T,P=E.value,N=_createForOfIteratorHelper(P.styles);try{for(N.s();!(T=N.n()).done;){var R=T.value;x[R[0]]=P.inverse?null:R.slice(1)}}catch(o){N.e(o)}finally{N.f()}}}catch(o){C.e(o)}finally{C.f()}for(var j=o,ee=0,re=Object.keys(x);ee0?j[ne].apply(j,x[ne]):j[ne]}}return j}var xi=function templates$2(o,h){var E=[],x=[],C=[];if(h.replace(yi,(function(h,T,P,N,R,j){if(T)C.push(unescape$2(T));else if(N){var ee=C.join("");C=[],x.push(0===E.length?ee:buildStyle$2(o,E)(ee)),E.push({inverse:P,styles:parseStyle$2(N)})}else if(R){if(0===E.length)throw new Error("Found extraneous } in Chalk template literal");x.push(buildStyle$2(o,E)(C.join(""))),C=[],E.pop()}else C.push(j)})),x.push(C.join("")),E.length>0){var T="Chalk template literal is missing ".concat(E.length," closing bracket").concat(1===E.length?"":"s"," (`}`)");throw new Error(T)}return x.join("")},bi=createCommonjsModule((function(o){var h=mi.stdout,E="win32"===rt.platform&&!(rt.env.TERM||"").toLowerCase().startsWith("xterm"),x=["ansi","ansi","ansi256","ansi16m"],C=new Set(["gray"]),T=Object.create(null);function applyOptions(o,E){E=E||{};var x=h?h.level:0;o.level=void 0===E.level?x:E.level,o.enabled="enabled"in E?E.enabled:o.level>0}function Chalk(o){if(!this||!(this instanceof Chalk)||this.template){var h={};return applyOptions(h,o),h.template=function(){var o=[].slice.call(arguments);return chalkTag.apply(null,[h.template].concat(o))},Object.setPrototypeOf(h,Chalk.prototype),Object.setPrototypeOf(h.template,h),h.template.constructor=Chalk,h.template}applyOptions(this,o)}E&&(hi.blue.open="[94m");for(var P=function _loop9(){var o=R[N];hi[o].closeRe=new RegExp(oi(hi[o].close),"g"),T[o]={get:function get(){var h=hi[o];return build.call(this,this._styles?this._styles.concat(h):[h],this._empty,o)}}},N=0,R=Object.keys(hi);N1)for(var C=1;C1&&void 0!==arguments[1]?arguments[1]:{};if(shouldHighlight(h)){var E=getChalk(h),x=getDefs(E);return highlightTokens(x,o)}return o};var E=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;if(null===o||"object"!==(0,ce.default)(o)&&"function"!=typeof o)return{default:o};var h=_getRequireWildcardCache();if(h&&h.has(o))return h.get(o);var E={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in o)if(Object.prototype.hasOwnProperty.call(o,C)){var T=x?Object.getOwnPropertyDescriptor(o,C):null;T&&(T.get||T.set)?Object.defineProperty(E,C,T):E[C]=o[C]}return E.default=o,h&&h.set(o,E),E}(ti),x=_interopRequireDefault(ai),C=_interopRequireDefault(bi);function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var o=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return o},o}function getDefs(o){return{keyword:o.cyan,capitalized:o.yellow,jsx_tag:o.yellow,punctuator:o.yellow,number:o.magenta,string:o.green,regex:o.magenta,comment:o.grey,invalid:o.white.bgRed.bold}}var T=/\r\n|[\n\r\u2028\u2029]/,P=/^[a-z][\w-]*$/i,N=/^[()[\]{}]$/;function getTokenType(o){var h=o.slice(-2),C=(0,ne.default)(h,2),T=C[0],R=C[1],j=(0,E.matchToToken)(o);if("name"===j.type){if(x.default.keyword.isReservedWordES6(j.value))return"keyword";if(P.test(j.value)&&("<"===R[T-1]||""==R.substr(T-2,2)))return"jsx_tag";if(j.value[0]!==j.value[0].toLowerCase())return"capitalized"}return"punctuator"===j.type&&N.test(j.value)?"bracket":"invalid"!==j.type||"@"!==j.value&&"#"!==j.value?j.type:"punctuator"}function highlightTokens(o,h){return h.replace(E.default,(function(){for(var h=arguments.length,E=new Array(h),x=0;x3&&void 0!==arguments[3]?arguments[3]:{};if(!x){x=!0;var T="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(rt.emitWarning)rt.emitWarning(T,"DeprecationWarning");else{var P=new Error(T);P.name="DeprecationWarning",console.warn(new Error(T))}}var N={start:{column:E=Math.max(E,0),line:h}};return codeFrameColumns(o,N,C)};var E=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;if(null===o||"object"!==(0,ce.default)(o)&&"function"!=typeof o)return{default:o};var h=_getRequireWildcardCache();if(h&&h.has(o))return h.get(o);var E={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in o)if(Object.prototype.hasOwnProperty.call(o,C)){var T=x?Object.getOwnPropertyDescriptor(o,C):null;T&&(T.get||T.set)?Object.defineProperty(E,C,T):E[C]=o[C]}return E.default=o,h&&h.set(o,E),E}(Ci);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var o=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return o},o}var x=!1;function getDefs(o){return{gutter:o.grey,marker:o.red.bold,message:o.red.bold}}var C=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(o,h,E){var x=Object.assign({column:0,line:-1},o.start),C=Object.assign({},x,{},o.end),T=E||{},P=T.linesAbove,N=void 0===P?2:P,R=T.linesBelow,j=void 0===R?3:R,ee=x.line,re=x.column,ne=C.line,ie=C.column,ae=Math.max(ee-(N+1),0),se=Math.min(h.length,ne+j);-1===ee&&(ae=0),-1===ne&&(se=h.length);var oe=ne-ee,ue={};if(oe)for(var le=0;le<=oe;le++){var ce=le+ee;if(re)if(0===le){var pe=h[ce-1].length;ue[ce]=[re,pe-re+1]}else if(le===oe)ue[ce]=[0,ie];else{var fe=h[ce-le].length;ue[ce]=[0,fe]}else ue[ce]=!0}else ue[ee]=re===ie?!re||[re,0]:[re,ie-re];return{start:ae,end:se,markerLines:ue}}function codeFrameColumns(o,h){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T=(x.highlightCode||x.forceColor)&&(0,E.shouldHighlight)(x),P=(0,E.getChalk)(x),N=getDefs(P),R=function maybeHighlight(o,h){return T?o(h):h},j=o.split(C),ee=getMarkerLines(h,j,x),re=ee.start,ne=ee.end,ie=ee.markerLines,ae=h.start&&"number"==typeof h.start.column,se=String(ne).length,oe=T?(0,E.default)(o,x):o,ue=oe.split(C).slice(re,ne).map((function(o,h){var E=re+1+h,C=" ".concat(E).slice(-se),T=" ".concat(C," | "),P=ie[E],j=!ie[E+1];if(P){var ee="";if(Array.isArray(P)){var ne=o.slice(0,Math.max(P[0]-1,0)).replace(/[^\t]/g," "),ae=P[1]||1;ee=["\n ",R(N.gutter,T.replace(/\d/g," ")),ne,R(N.marker,"^").repeat(ae)].join(""),j&&x.message&&(ee+=" "+R(N.message,x.message))}return[R(N.marker,">"),R(N.gutter,T),o,ee].join("")}return" ".concat(R(N.gutter,T)).concat(o)})).join("\n");return x.message&&!ae&&(ue="".concat(" ".repeat(se+1)).concat(x.message,"\n").concat(ue)),T?P.reset(ue):ue}}));unwrapExports(Ai),Ai.codeFrameColumns;var Si=Me.ConfigError,wi=Zn,ki=ei,Ti=Object.getOwnPropertyNames,_i=Object.getOwnPropertyDescriptor;function getParsers(o){var h,E={},x=_createForOfIteratorHelper(o.plugins);try{for(x.s();!(h=x.n()).done;){var C=h.value;if(C.parsers){var T,P=_createForOfIteratorHelper(Ti(C.parsers));try{for(P.s();!(T=P.n()).done;){var N=T.value;Object.defineProperty(E,N,_i(C.parsers,N))}}catch(o){P.e(o)}finally{P.f()}}}}catch(o){x.e(o)}finally{x.f()}return E}function resolveParser(o,h){if(h=h||getParsers(o),"function"==typeof o.parser)return{parse:o.parser,astFormat:"estree",locStart:wi,locEnd:ki};if("string"==typeof o.parser){if(Object.prototype.hasOwnProperty.call(h,o.parser))return h[o.parser];throw new Si("Couldn't resolve parser \"".concat(o.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Fi={parse:function parse(o,h){var E=getParsers(h),x=Object.keys(E).reduce((function(o,h){return Object.defineProperty(o,h,{enumerable:!0,get:function get(){return E[h].parse}})}),{}),C=resolveParser(h,E);try{return C.preprocess&&(o=C.preprocess(o,h)),{text:o,ast:C.parse(o,x,h)}}catch(h){var T=h.loc;if(T){var P=Ai;throw h.codeFrame=P.codeFrameColumns(o,T,{highlightCode:!0}),h.message+="\n"+h.codeFrame,h}throw h.stack}},resolveParser:resolveParser},Pi=Me.UndefinedParserError,Bi=Vt.getSupportInfo,Ni=Fi.resolveParser,Ii={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function inferParser(o,h){var E=Ae.basename(o).toLowerCase(),x=Bi({plugins:h}).languages.filter((function(o){return null!==o.since})),C=x.find((function(o){return o.extensions&&o.extensions.some((function(o){return E.endsWith(o)}))||o.filenames&&o.filenames.find((function(o){return o.toLowerCase()===E}))}));if(!C&&!E.includes(".")){var T=function getInterpreter(o){if("string"!=typeof o)return"";var h;try{h=Ie.openSync(o,"r")}catch(o){return""}try{var E=new Oe(h).next().toString("utf8"),x=E.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(x)return x[1];var C=E.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return C?C[1]:""}catch(o){return""}finally{try{Ie.closeSync(h)}catch(o){}}}(o);C=x.find((function(o){return o.interpreters&&o.interpreters.includes(T)}))}return C&&C.parsers[0]}var Oi=function normalize$1(o,h){h=h||{};var E=Object.assign({},o),x=Bi({plugins:o.plugins,showUnreleased:!0,showDeprecated:!0}).options,C=Object.assign({},Ii,{},Re(x.filter((function(o){return void 0!==o.default})).map((function(o){return[o.name,o.default]}))));if(!E.parser)if(E.filepath){if(E.parser=inferParser(E.filepath,E.plugins),!E.parser)throw new Pi("No parser could be inferred for file: ".concat(E.filepath))}else(h.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."),E.parser="babel";var T=Ni(Xn.normalizeApiOptions(E,[x.find((function(o){return"parser"===o.name}))],{passThrough:!0,logger:!1}));E.astFormat=T.astFormat,E.locEnd=T.locEnd,E.locStart=T.locStart;var P=function getPlugin(o){var h=o.astFormat;if(!h)throw new Error("getPlugin() requires astFormat to be set");var E=o.plugins.find((function(o){return o.printers&&o.printers[h]}));if(!E)throw new Error("Couldn't find plugin for AST format \"".concat(h,'"'));return E}(E);E.printer=P.printers[E.astFormat];var N=x.filter((function(o){return o.pluginDefaults&&void 0!==o.pluginDefaults[P.name]})).reduce((function(o,h){return Object.assign(o,(0,re.default)({},h.name,h.pluginDefaults[P.name]))}),{}),R=Object.assign({},C,{},N);return Object.keys(R).forEach((function(o){null==E[o]&&(E[o]=R[o])})),"json"===E.parser&&(E.trailingComma="none"),Xn.normalizeApiOptions(E,x,Object.assign({passThrough:Object.keys(Ii)},h))},Ri=function massageAST(o,h,E){if(Array.isArray(o))return o.map((function(o){return massageAST(o,h,E)})).filter(Boolean);if(!o||"object"!==(0,ce.default)(o))return o;for(var x={},C=0,T=Object.keys(o);C0){for(var C=0;C0&&void 0!==arguments[0]?arguments[0]:{},h=o.onlyFirst,E=void 0!==h&&h,x=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(x,E?void 0:"g")}(),""):o},Ui=function isFullwidthCodePoint(o){return!Number.isNaN(o)&&o>=4352&&(o<=4447||9001===o||9002===o||11904<=o&&o<=12871&&12351!==o||12880<=o&&o<=19903||19968<=o&&o<=42182||43360<=o&&o<=43388||44032<=o&&o<=55203||63744<=o&&o<=64255||65040<=o&&o<=65049||65072<=o&&o<=65131||65281<=o&&o<=65376||65504<=o&&o<=65510||110592<=o&&o<=110593||127488<=o&&o<=127569||131072<=o&&o<=262141)},Wi=Ui,Gi=Ui;Wi.default=Gi;var Hi=function stringWidth(o){if("string"!=typeof(o=o.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===o.length)return 0;o=Vi(o);for(var h=0,E=0;E=127&&x<=159||x>=768&&x<=879||(x>65535&&E++,h+=Wi(x)?2:1)}return h},zi=Hi,Ki=Hi;zi.default=Ki;var Yi=/[|\\{}()[\]^$+*?.-]/g,$i=function escapeStringRegexp$2(o){if("string"!=typeof o)throw new TypeError("Expected a string");return o.replace(Yi,"\\$&")},Ji=/[^\x20-\x7F]/;function skip(o){return function(h,E,x){var C=x&&x.backwards;if(!1===E)return!1;for(var T=h.length,P=E;P>=0&&P"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(o,h){o.forEach((function(o){ta[o]=h}))}));var ra={"==":!0,"!=":!0,"===":!0,"!==":!0},na={"*":!0,"/":!0,"%":!0},ia={">>":!0,">>>":!0,"<<":!0};function getAlignmentSize(o,h,E){for(var x=0,C=E=E||0;C(E.match(P.regex)||[]).length?P.quote:T.quote),N}function makeString(o,h,E){var x='"'===h?"'":'"',C=o.replace(/\\([\s\S])|(['"])/g,(function(o,C,T){return C===x?C:T===h?"\\"+T:T||(E&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(C)?C:"\\"+C)}));return h+C+h}function hasNodeIgnoreComment(o){return o&&(o.comments&&o.comments.length>0&&o.comments.some((function(o){return isNodeIgnoreComment(o)&&!o.unignore}))||o.prettierIgnore)}function isNodeIgnoreComment(o){return"prettier-ignore"===o.value.trim()}function addCommentHelper(o,h){(o.comments||(o.comments=[])).push(h),h.printed=!1,"JSXText"===o.type&&(h.printed=!0)}var aa,sa={replaceEndOfLineWith:function replaceEndOfLineWith(o,h){var E,x=[],C=_createForOfIteratorHelper(o.split("\n"));try{for(C.s();!(E=C.n()).done;){var T=E.value;0!==x.length&&x.push(h),x.push(T)}}catch(o){C.e(o)}finally{C.f()}return x},getStringWidth:function getStringWidth(o){return o?Ji.test(o)?zi(o):o.length:0},getMaxContinuousCount:function getMaxContinuousCount(o,h){var E=o.match(new RegExp("(".concat($i(h),")+"),"g"));return null===E?0:E.reduce((function(o,E){return Math.max(o,E.length/h.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(o,h){var E=o.match(new RegExp("(".concat($i(h),")+"),"g"));if(null===E)return 0;var x,C=new Map,T=0,P=_createForOfIteratorHelper(E);try{for(P.s();!(x=P.n()).done;){var N=x.value.length/h.length;C.set(N,!0),N>T&&(T=N)}}catch(o){P.e(o)}finally{P.f()}for(var R=1;R1?o[o.length-2]:null},getLast:Qn,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:getNextNonSpaceNonCommentCharacterIndexWithStartIndex,getNextNonSpaceNonCommentCharacterIndex:getNextNonSpaceNonCommentCharacterIndex,getNextNonSpaceNonCommentCharacter:function getNextNonSpaceNonCommentCharacter(o,h,E){return o.charAt(getNextNonSpaceNonCommentCharacterIndex(o,h,E))},skip:skip,skipWhitespace:Xi,skipSpaces:Qi,skipToLineEnd:Zi,skipEverythingButNewLine:ea,skipInlineComment:skipInlineComment,skipTrailingComment:skipTrailingComment,skipNewline:skipNewline,isNextLineEmptyAfterIndex:isNextLineEmptyAfterIndex,isNextLineEmpty:function isNextLineEmpty(o,h,E){return isNextLineEmptyAfterIndex(o,E(h))},isPreviousLineEmpty:function isPreviousLineEmpty(o,h,E){var x=E(h)-1;return x=skipNewline(o,x=Qi(o,x,{backwards:!0}),{backwards:!0}),(x=Qi(o,x,{backwards:!0}))!==skipNewline(o,x,{backwards:!0})},hasNewline:hasNewline,hasNewlineInRange:function hasNewlineInRange(o,h,E){for(var x=h;x=0?"\n"===o.charAt(h+1)?"crlf":"cr":"lf"},ua=function convertEndOfLineToChars(o){switch(o){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},la=sa.getStringWidth,ca=ua,pa=qi.concat,fa=qi.fill,ha=qi.cursor;function makeIndent(o,h){return generateInd(o,{type:"indent"},h)}function makeAlign(o,h,E){return h===-1/0?o.root||{value:"",length:0,queue:[]}:h<0?generateInd(o,{type:"dedent"},E):h?"root"===h.type?Object.assign({},o,{root:o}):generateInd(o,"string"==typeof h?{type:"stringAlign",n:h}:{type:"numberAlign",n:h},E):o}function generateInd(o,h,E){var x,C="dedent"===h.type?o.queue.slice(0,-1):o.queue.concat(h),T="",P=0,N=0,R=0,j=_createForOfIteratorHelper(C);try{for(j.s();!(x=j.n()).done;){var ee=x.value;switch(ee.type){case"indent":flush(),E.useTabs?addTabs(1):addSpaces(E.tabWidth);break;case"stringAlign":flush(),T+=ee.n,P+=ee.n.length;break;case"numberAlign":N+=1,R+=ee.n;break;default:throw new Error("Unexpected type '".concat(ee.type,"'"))}}}catch(o){j.e(o)}finally{j.f()}return flushSpaces(),Object.assign({},o,{value:T,length:P,queue:C});function addTabs(o){T+="\t".repeat(o),P+=E.tabWidth*o}function addSpaces(o){T+=" ".repeat(o),P+=o}function flush(){E.useTabs?function flushTabs(){N>0&&addTabs(N),resetLast()}():flushSpaces()}function flushSpaces(){R>0&&addSpaces(R),resetLast()}function resetLast(){N=0,R=0}}function trim$1(o){if(0===o.length)return 0;for(var h=0;o.length>0&&"string"==typeof o[o.length-1]&&o[o.length-1].match(/^[ \t]*$/);)h+=o.pop().length;if(o.length&&"string"==typeof o[o.length-1]){var E=o[o.length-1].replace(/[ \t]*$/,"");h+=o[o.length-1].length-E.length,o[o.length-1]=E}return h}function fits(o,h,E,x,C){for(var T=h.length,P=[o],N=[];E>=0;)if(0!==P.length){var R=P.pop(),j=(0,ne.default)(R,3),ee=j[0],re=j[1],ie=j[2];if("string"==typeof ie)N.push(ie),E-=la(ie);else switch(ie.type){case"concat":for(var ae=ie.parts.length-1;ae>=0;ae--)P.push([ee,re,ie.parts[ae]]);break;case"indent":P.push([makeIndent(ee,x),re,ie.contents]);break;case"align":P.push([makeAlign(ee,ie.n,x),re,ie.contents]);break;case"trim":E+=trim$1(N);break;case"group":if(C&&ie.break)return!1;P.push([ee,ie.break?1:re,ie.contents]),ie.id&&(aa[ie.id]=P[P.length-1][1]);break;case"fill":for(var se=ie.parts.length-1;se>=0;se--)P.push([ee,re,ie.parts[se]]);break;case"if-break":var oe=ie.groupId?aa[ie.groupId]:re;1===oe&&ie.breakContents&&P.push([ee,re,ie.breakContents]),2===oe&&ie.flatContents&&P.push([ee,re,ie.flatContents]);break;case"line":switch(re){case 2:if(!ie.hard){ie.soft||(N.push(" "),E-=1);break}return!0;case 1:return!0}}}else{if(0===T)return!0;P.push(h[T-1]),T--}return!1}var da={};function traverseDoc(o,h,E,x){for(var C=[o];0!==C.length;){var T=C.pop();if(T!==da){var P=!0;if(h&&!1===h(T)&&(P=!1),E&&(C.push(T),C.push(da)),P)if("concat"===T.type||"fill"===T.type)for(var N=T.parts.length-1;N>=0;--N)C.push(T.parts[N]);else if("if-break"===T.type)T.flatContents&&C.push(T.flatContents),T.breakContents&&C.push(T.breakContents);else if("group"===T.type&&T.expandedStates)if(x)for(var R=T.expandedStates.length-1;R>=0;--R)C.push(T.expandedStates[R]);else C.push(T.contents);else T.contents&&C.push(T.contents)}else E(C.pop())}}function mapDoc(o,h){if("concat"===o.type||"fill"===o.type){var E=o.parts.map((function(o){return mapDoc(o,h)}));return h(Object.assign({},o,{parts:E}))}if("if-break"===o.type){var x=o.breakContents&&mapDoc(o.breakContents,h),C=o.flatContents&&mapDoc(o.flatContents,h);return h(Object.assign({},o,{breakContents:x,flatContents:C}))}if(o.contents){var T=mapDoc(o.contents,h);return h(Object.assign({},o,{contents:T}))}return h(o)}function findInDoc(o,h,E){var x=E,C=!1;return traverseDoc(o,(function findInDocOnEnterFn(o){var E=h(o);if(void 0!==E&&(C=!0,x=E),C)return!1})),x}function isLineNextFn(o){return"string"!=typeof o&&("line"===o.type||void 0)}function willBreakFn(o){return!("group"!==o.type||!o.break)||!("line"!==o.type||!o.hard)||"break-parent"===o.type||void 0}function breakParentGroup(o){if(o.length>0){var h=o[o.length-1];h.expandedStates||(h.break=!0)}return null}function removeLinesFn(o){return"line"!==o.type||o.hard?"if-break"===o.type?o.flatContents||"":o:o.soft?"":" "}function flattenDoc(o){if("concat"===o.type){for(var h=[],E=0;E=0;ue--)T.push([ie,ae,se.parts[ue]]);break;case"indent":T.push([makeIndent(ie,h),ae,se.contents]);break;case"align":T.push([makeAlign(ie,se.n,h),ae,se.contents]);break;case"trim":C-=trim$1(P);break;case"group":switch(ae){case 2:if(!N){T.push([ie,se.break?1:2,se.contents]);break}case 1:N=!1;var le=[ie,2,se.contents],ce=E-C;if(!se.break&&fits(le,T,ce,h))T.push(le);else if(se.expandedStates){var pe=se.expandedStates[se.expandedStates.length-1];if(se.break){T.push([ie,1,pe]);break}for(var fe=1;fe=se.expandedStates.length){T.push([ie,1,pe]);break}var he=[ie,2,se.expandedStates[fe]];if(fits(he,T,ce,h)){T.push(he);break}}}else T.push([ie,1,se.contents])}se.id&&(aa[se.id]=T[T.length-1][1]);break;case"fill":var de=E-C,me=se.parts;if(0===me.length)break;var ye=(0,ne.default)(me,2),ge=ye[0],ve=ye[1],De=[ie,2,ge],Ee=[ie,1,ge],xe=fits(De,[],de,h,!0);if(1===me.length){xe?T.push(De):T.push(Ee);break}var be=[ie,2,ve],Ce=[ie,1,ve];if(2===me.length){xe?(T.push(be),T.push(De)):(T.push(Ce),T.push(Ee));break}me.splice(0,2);var Ae=[ie,ae,fa(me)],Se=me[0];fits([ie,2,pa([ge,ve,Se])],[],de,h,!0)?(T.push(Ae),T.push(be),T.push(De)):xe?(T.push(Ae),T.push(Ce),T.push(De)):(T.push(Ae),T.push(Ce),T.push(Ee));break;case"if-break":var we=se.groupId?aa[se.groupId]:ae;1===we&&se.breakContents&&T.push([ie,ae,se.breakContents]),2===we&&se.flatContents&&T.push([ie,ae,se.flatContents]);break;case"line-suffix":R.push([ie,ae,se.contents]);break;case"line-suffix-boundary":R.length>0&&T.push([ie,ae,{type:"line",hard:!0}]);break;case"line":switch(ae){case 2:if(!se.hard){se.soft||(P.push(" "),C+=1);break}N=!0;case 1:if(R.length){T.push([ie,ae,se]),T.push.apply(T,(0,ee.default)(R.reverse())),R=[];break}se.literal?ie.root?(P.push(x,ie.root.value),C=ie.root.length):(P.push(x),C=0):(C-=trim$1(P),P.push(x+ie.value),C=ie.length)}}}var ke=P.indexOf(ha.placeholder);if(-1!==ke){var Te=P.indexOf(ha.placeholder,ke+1),_e=P.slice(0,ke).join(""),Fe=P.slice(ke+1,Te).join("");return{formatted:_e+Fe+P.slice(Te+1).join(""),cursorNodeStart:_e.length,cursorNodeText:Fe}}return{formatted:P.join("")}}},utils:{isEmpty:function isEmpty(o){return"string"==typeof o&&0===o.length},willBreak:function willBreak(o){return findInDoc(o,willBreakFn,!1)},isLineNext:function isLineNext(o){return findInDoc(o,isLineNextFn,!1)},traverseDoc:traverseDoc,findInDoc:findInDoc,mapDoc:mapDoc,propagateBreaks:function propagateBreaks(o){var h=new Set,E=[];traverseDoc(o,(function propagateBreaksOnEnterFn(o){if("break-parent"===o.type&&breakParentGroup(E),"group"===o.type){if(E.push(o),h.has(o))return!1;h.add(o)}}),(function propagateBreaksOnExitFn(o){"group"===o.type&&E.pop().break&&breakParentGroup(E)}),!0)},removeLines:function removeLines(o){return mapDoc(o,removeLinesFn)},stripTrailingHardline:function stripTrailingHardline(o){if("concat"===o.type&&0!==o.parts.length){var h=o.parts[o.parts.length-1];if("concat"===h.type)return 2===h.parts.length&&h.parts[0].hard&&"break-parent"===h.parts[1].type?{type:"concat",parts:o.parts.slice(0,-1)}:{type:"concat",parts:o.parts.slice(0,-1).concat(stripTrailingHardline(h))}}return o}},debug:{printDocToDebug:function printDocToDebug(o){return printDoc(flattenDoc(o))}}},ya={getMaxContinuousCount:sa.getMaxContinuousCount,getStringWidth:sa.getStringWidth,getAlignmentSize:sa.getAlignmentSize,getIndentSize:sa.getIndentSize,skip:sa.skip,skipWhitespace:sa.skipWhitespace,skipSpaces:sa.skipSpaces,skipNewline:sa.skipNewline,skipToLineEnd:sa.skipToLineEnd,skipEverythingButNewLine:sa.skipEverythingButNewLine,skipInlineComment:sa.skipInlineComment,skipTrailingComment:sa.skipTrailingComment,hasNewline:sa.hasNewline,hasNewlineInRange:sa.hasNewlineInRange,hasSpaces:sa.hasSpaces,isNextLineEmpty:sa.isNextLineEmpty,isNextLineEmptyAfterIndex:sa.isNextLineEmptyAfterIndex,isPreviousLineEmpty:sa.isPreviousLineEmpty,getNextNonSpaceNonCommentCharacterIndex:sa.getNextNonSpaceNonCommentCharacterIndex,makeString:sa.makeString,addLeadingComment:sa.addLeadingComment,addDanglingComment:sa.addDanglingComment,addTrailingComment:sa.addTrailingComment},ga=ma.builders,va=ga.concat,Da=ga.line,Ea=ga.hardline,xa=ga.breakParent,ba=ga.indent,Ca=ga.lineSuffix,Aa=ga.join,Sa=ga.cursor,wa=sa.hasNewline,ka=sa.skipNewline,Ta=sa.isPreviousLineEmpty,_a=ya.addLeadingComment,Fa=ya.addDanglingComment,Pa=ya.addTrailingComment,Ba=Symbol("child-nodes");function getSortedChildNodes(o,h,E){if(o){var x=h.printer,C=h.locStart,T=h.locEnd;if(E){if(x.canAttachComment&&x.canAttachComment(o)){var P;for(P=E.length-1;P>=0&&!(C(E[P])<=C(o)&&T(E[P])<=T(o));--P);return void E.splice(P+1,0,o)}}else if(o[Ba])return o[Ba];var N=x.getCommentChildNodes&&x.getCommentChildNodes(o,h)||"object"===(0,ce.default)(o)&&Object.keys(o).filter((function(o){return"enclosingNode"!==o&&"precedingNode"!==o&&"followingNode"!==o})).map((function(h){return o[h]}));if(N)return E||Object.defineProperty(o,Ba,{value:E=[],enumerable:!1}),N.forEach((function(o){getSortedChildNodes(o,h,E)})),E}}function breakTies(o,h,E){var x=o.length;if(0!==x){var C,T=o[0],P=T.precedingNode,N=T.followingNode,R=T.enclosingNode,j=E.printer.getGapRegex&&E.printer.getGapRegex(R)||/^[\s(]*$/,ee=E.locStart(N);for(C=x;C>0;--C){var re=o[C-1];assert.strictEqual(re.precedingNode,P),assert.strictEqual(re.followingNode,N);var ne=h.slice(E.locEnd(re),ee);if(!j.test(ne))break;ee=E.locStart(re)}o.forEach((function(o,h){h=0)return void Pa(h,N)}!function decorateComment(o,h,E){for(var x,C,T=E.locStart,P=E.locEnd,N=getSortedChildNodes(o,E),R=0,j=N.length;R>1,re=N[ee];if(T(re)-T(h)<=0&&P(h)-P(re)<=0)return h.enclosingNode=re,void decorateComment(re,h,E);if(P(re)-T(h)<=0)x=re,R=ee+1;else{if(!(P(h)-T(re)<=0))throw new Error("Comment location overlaps with node location");C=re,j=ee}}if(h.enclosingNode&&"TemplateLiteral"===h.enclosingNode.type){var ne=h.enclosingNode.quasis,ie=findExpressionIndexForComment(ne,h,E);x&&findExpressionIndexForComment(ne,x,E)!==ie&&(x=null),C&&findExpressionIndexForComment(ne,C,E)!==ie&&(C=null)}x&&(h.precedingNode=x),C&&(h.followingNode=C)}(h,N,x);var j=N.precedingNode,ee=N.enclosingNode,re=N.followingNode,ne=x.printer.handleComments&&x.printer.handleComments.ownLine?x.printer.handleComments.ownLine:function(){return!1},ie=x.printer.handleComments&&x.printer.handleComments.endOfLine?x.printer.handleComments.endOfLine:function(){return!1},ae=x.printer.handleComments&&x.printer.handleComments.remaining?x.printer.handleComments.remaining:function(){return!1},se=o.length-1===R;if(wa(E,T(N),{backwards:!0}))ne(N,E,x,h,se)||(re?_a(re,N):j?Pa(j,N):Fa(ee||h,N));else if(wa(E,P(N)))ie(N,E,x,h,se)||(j?Pa(j,N):re?_a(re,N):Fa(ee||h,N));else if(ae(N,E,x,h,se));else if(j&&re){var oe=C.length;oe>0&&C[oe-1].followingNode!==N.followingNode&&breakTies(C,E,x),C.push(N)}else j?Pa(j,N):re?_a(re,N):Fa(ee||h,N)})),breakTies(C,E,x),o.forEach((function(o){delete o.precedingNode,delete o.enclosingNode,delete o.followingNode}))}},printComments:function printComments(o,h,E,x){var C=o.getValue(),T=h(o),P=C&&C.comments;if(!P||0===P.length)return prependCursorPlaceholder(o,E,T);var N=[],R=[x?";":"",T];return o.each((function(o){var h=o.getValue(),x=h.leading,C=h.trailing;if(x){var T=function printLeadingComment(o,h,E){var x=o.getValue(),C=printComment(o,E);if(!C)return"";if(E.printer.isBlockComment&&E.printer.isBlockComment(x)){var T=wa(E.originalText,E.locEnd(x))?wa(E.originalText,E.locStart(x),{backwards:!0})?Ea:Da:" ";return va([C,T])}return va([C,Ea])}(o,0,E);if(!T)return;N.push(T);var P=E.originalText,j=ka(P,E.locEnd(h));!1!==j&&wa(P,j)&&N.push(Ea)}else C&&R.push(function printTrailingComment(o,h,E){var x=o.getValue(),C=printComment(o,E);if(!C)return"";var T=E.printer.isBlockComment&&E.printer.isBlockComment(x),P=o.getNode(1),N=o.getNode(2),R=N&&("ClassDeclaration"===N.type||"ClassExpression"===N.type)&&N.superClass===P;if(wa(E.originalText,E.locStart(x),{backwards:!0})){var j=Ta(E.originalText,x,E.locStart);return Ca(va([Ea,j?Ea:"",C]))}return va(T||R?[" ",C]:[Ca(va([" ",C])),T?"":xa])}(o,0,E))}),"comments"),prependCursorPlaceholder(o,E,va(N.concat(R)))},printDanglingComments:function printDanglingComments(o,h,E,x){var C=[],T=o.getValue();return T&&T.comments?(o.each((function(o){var E=o.getValue();!E||E.leading||E.trailing||x&&!x(E)||C.push(printComment(o,h))}),"comments"),0===C.length?"":E?Aa(Ea,C):ba(va([Ea,Aa(Ea,C)]))):""},getSortedChildNodes:getSortedChildNodes};function getNodeHelper(o,h){var E=getNodeStackIndexHelper(o.stack,h);return-1===E?null:o.stack[E]}function getNodeStackIndexHelper(o,h){for(var E=o.length-1;E>=0;E-=2){var x=o[E];if(x&&!Array.isArray(x)&&--h<0)return E}return-1}var Ia=function(){function FastPath(o){(0,ue.default)(this,FastPath),this.stack=[o]}return(0,le.default)(FastPath,[{key:"getName",value:function getName(){var o=this.stack,h=o.length;return h>1?o[h-2]:null}},{key:"getValue",value:function getValue(){return Qn(this.stack)}},{key:"getNode",value:function getNode(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return getNodeHelper(this,o)}},{key:"getParentNode",value:function getParentNode(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return getNodeHelper(this,o+1)}},{key:"call",value:function call(o){for(var h=this.stack,E=h.length,x=Qn(h),C=arguments.length,T=new Array(C>1?C-1:0),P=1;P1&&void 0!==arguments[1]?arguments[1]:0,x=getNodeStackIndexHelper(this.stack,E+1),C=this.stack.splice(x+1),T=o(this);return(h=this.stack).push.apply(h,(0,ee.default)(C)),T}},{key:"each",value:function each(o){for(var h=this.stack,E=h.length,x=Qn(h),C=arguments.length,T=new Array(C>1?C-1:0),P=1;P1?C-1:0),P=1;P2&&void 0!==arguments[2]?arguments[2]:0,x=h.printer;x.preprocess&&(o=x.preprocess(o,h));var C=new Map;function printGenerically(o,E){var T,P=o.getValue(),N=P&&"object"===(0,ce.default)(P)&&void 0===E;return N&&C.has(P)?C.get(P):(T=x.willPrintOwnComments&&x.willPrintOwnComments(o,h)?callPluginPrintFunction(o,h,printGenerically,E):Na.printComments(o,(function(o){return callPluginPrintFunction(o,h,printGenerically,E)}),h,E&&E.needsSemi),N&&C.set(P,T),T)}var T=printGenerically(new Ia(o));return E>0&&(T=Va(ja([qa,T]),E,h.tabWidth)),Ua.propagateBreaks(T),T}function callPluginPrintFunction(o,h,E,x){assert.ok(o instanceof Ia);var C=o.getValue(),T=h.printer;if(T.hasPrettierIgnore&&T.hasPrettierIgnore(o))return h.originalText.slice(h.locStart(C),h.locEnd(C));if(C)try{var P=Ra.printSubtree(o,E,h,printAstToDoc);if(P)return P}catch(o){if(Ne.PRETTIER_DEBUG)throw o}return T.print(o,h,E,x)}var Wa=printAstToDoc;function findNodeAtOffset(o,h,E,x,C){x=x||function(){return!0},C=C||[];var T=E.locStart(o,E.locStart),P=E.locEnd(o,E.locEnd);if(T<=h&&h<=P){var N,R=_createForOfIteratorHelper(Na.getSortedChildNodes(o,E));try{for(R.s();!(N=R.n()).done;){var j=findNodeAtOffset(N.value,h,E,x,[o].concat(C));if(j)return j}}catch(o){R.e(o)}finally{R.f()}if(x(o))return{node:o,parentNodes:C}}}function isSourceElement(o,h){if(null==h)return!1;switch(o.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":return["FunctionDeclaration","BlockStatement","BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","EmptyStatement","ExpressionStatement","ForInStatement","ForStatement","IfStatement","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ClassDeclaration","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TypeAlias","InterfaceDeclaration","TypeAliasDeclaration","ExportAssignment","ExportDeclaration"].includes(h.type);case"json":return["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"].includes(h.type);case"graphql":return["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"].includes(h.kind);case"vue":return"root"!==h.tag}return!1}var Ga={calculateRange:function calculateRange(o,h,E){var x,C=o.slice(h.rangeStart,h.rangeEnd),T=Math.max(h.rangeStart+C.search(/\S/),h.rangeStart);for(x=h.rangeEnd;x>h.rangeStart&&!o[x-1].match(/\S/);--x);var P=findNodeAtOffset(E,T,h,(function(o){return isSourceElement(h,o)})),N=findNodeAtOffset(E,x,h,(function(o){return isSourceElement(h,o)}));if(!P||!N)return{rangeStart:0,rangeEnd:0};var R=function findSiblingAncestors(o,h,E){var x=o.node,C=h.node;if(x===C)return{startNode:x,endNode:C};var T,P=_createForOfIteratorHelper(h.parentNodes);try{for(P.s();!(T=P.n()).done;){var N=T.value;if(!("Program"!==N.type&&"File"!==N.type&&E.locStart(N)>=E.locStart(o.node)))break;C=N}}catch(o){P.e(o)}finally{P.f()}var R,j=_createForOfIteratorHelper(o.parentNodes);try{for(j.s();!(R=j.n()).done;){var ee=R.value;if(!("Program"!==ee.type&&"File"!==ee.type&&E.locEnd(ee)<=E.locEnd(h.node)))break;x=ee}}catch(o){j.e(o)}finally{j.f()}return{startNode:x,endNode:C}}(P,N,h),j=R.startNode,ee=R.endNode;return{rangeStart:Math.min(h.locStart(j,h.locStart),h.locStart(ee,h.locStart)),rangeEnd:Math.max(h.locEnd(j,h.locEnd),h.locEnd(ee,h.locEnd))}},findNodeAtOffset:findNodeAtOffset},Ha=getCjsExportFromNamespace(xe),za=Oi,Ka=oa,Ya=ua,$a=ma.printer.printDocToString,Ja=ma.debug.printDocToDebug,Xa=Symbol("cursor"),Qa={cursorOffset:"<<>>",rangeStart:"<<>>",rangeEnd:"<<>>"};function attachComments(o,h,E){var x=h.comments;return x&&(delete h.comments,Na.attach(x,h,o,E)),h.tokens=[],E.originalText="yaml"===E.parser?o:o.trimEnd(),x}function coreFormat(o,h,E){if(!o||!o.trim().length)return{formatted:"",cursorOffset:0};E=E||0;var x=Fi.parse(o,h),C=x.ast;if(o=x.text,h.cursorOffset>=0){var T=Ga.findNodeAtOffset(C,h.cursorOffset,h);T&&T.node&&(h.cursorNode=T.node)}var P=attachComments(o,C,h),N=Wa(C,h,E),R=$a(N,h);if(function ensureAllCommentsPrinted(o){if(o){for(var h=0;h0){var j=R.formatted.trim();void 0!==R.cursorNodeStart&&(R.cursorNodeStart-=R.formatted.indexOf(j)),R.formatted=j+Ya(h.endOfLine)}if(h.cursorOffset>=0){var ee,re,ne,ie,ae;if(h.cursorNode&&R.cursorNodeText?(ee=h.locStart(h.cursorNode),re=o.slice(ee,h.locEnd(h.cursorNode)),ne=h.cursorOffset-ee,ie=R.cursorNodeStart,ae=R.cursorNodeText):(ee=0,re=o,ne=h.cursorOffset,ie=0,ae=R.formatted),re===ae)return{formatted:R.formatted,cursorOffset:ie+ne};var se=re.split("");se.splice(ne,0,Xa);var oe,ue=ae.split(""),le=ie,ce=_createForOfIteratorHelper(Ha.diffArrays(se,ue));try{for(ce.s();!(oe=ce.n()).done;){var pe=oe.value;if(pe.removed){if(pe.value.includes(Xa))break}else le+=pe.count}}catch(o){ce.e(o)}finally{ce.f()}return{formatted:R.formatted,cursorOffset:le}}return{formatted:R.formatted}}function format(o,h){var E=Fi.resolveParser(h),x=!E.hasPragma||E.hasPragma(o);if(h.requirePragma&&!x)return{formatted:o};"auto"===h.endOfLine&&(h.endOfLine=Ka(o));var C=h.cursorOffset>=0,T=h.rangeStart>0,P=h.rangeEnd=0;R--){var j=N[R];o=o.slice(0,h[j])+Qa[j]+o.slice(h[j])}o=o.replace(/\r\n?/g,"\n");for(var ee=function _loop12(E){var x=N[E];o=o.replace(Qa[x],(function(o,E){return h[x]=E,""}))},re=0;reo.length&&(h.rangeEnd=o.length);var ie=T||P?function formatRange(o,h){var E=Fi.parse(o,h),x=E.ast;o=E.text;var C,T=Ga.calculateRange(o,h,x),P=T.rangeStart,N=T.rangeEnd,R=o.slice(P,N),j=Math.min(P,o.lastIndexOf("\n",P)+1),ee=o.slice(j,P),re=sa.getAlignmentSize(ee,h.tabWidth),ne=coreFormat(R,Object.assign({},h,{rangeStart:0,rangeEnd:1/0,cursorOffset:h.cursorOffset>=P&&h.cursorOffset=N?oe=h.cursorOffset-N+(P+ie.length):void 0!==ne.cursorOffset&&(oe=ne.cursorOffset+P),"lf"===h.endOfLine)C=ae+ie+se;else{var ue=Ya(h.endOfLine);if(oe>=0){for(var le=[ae,ie,se],ce=0,pe=oe;ceh.length-E?"\r\n":"\n"}},ms=ds;ms.graceful=function graceful(o){return"string"==typeof o&&ds(o)||"\n"};var ys=createCommonjsModule((function(o,h){function _os(){var o=or;return _os=function _os(){return o},o}function _detectNewline(){var o=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(ms);return _detectNewline=function _detectNewline(){return o},o}Object.defineProperty(h,"__esModule",{value:!0}),h.extract=function extract(o){var h=o.match(C);return h?h[0].trimLeft():""},h.strip=function strip(o){var h=o.match(C);return h&&h[0]?o.substring(h[0].length):o},h.parse=function parse(o){return parseWithComments(o).pragmas},h.parseWithComments=parseWithComments,h.print=function print(o){var h=o.comments,E=void 0===h?"":h,x=o.pragmas,C=void 0===x?{}:x,T=(0,_detectNewline().default)(E)||_os().EOL,P=Object.keys(C),N=P.map((function(o){return printKeyValues(o,C[o])})).reduce((function(o,h){return o.concat(h)}),[]).map((function(o){return" * "+o+T})).join("");if(!E){if(0===P.length)return"";if(1===P.length&&!Array.isArray(C[P[0]])){var R=C[P[0]];return"".concat("/**"," ").concat(printKeyValues(P[0],R)[0]).concat(" */")}}var j=E.split(T).map((function(o){return"".concat(" *"," ").concat(o)})).join(T)+T;return"/**"+T+(E?j:"")+(E&&P.length?" *"+T:"")+N+" */"};var E=/\*\/$/,x=/^\/\*\*/,C=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,T=/(^|\s+)\/\/([^\r\n]*)/g,P=/^(\r?\n)+/,N=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,R=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,j=/(\r?\n|^) *\* ?/g;function parseWithComments(o){var h=(0,_detectNewline().default)(o)||_os().EOL;o=o.replace(x,"").replace(E,"").replace(j,"$1");for(var C="";C!==o;)C=o,o=o.replace(N,"".concat(h,"$1 $2").concat(h));o=o.replace(P,"").trimRight();for(var ee,re=Object.create(null),ne=o.replace(R,"").replace(P,"").trimRight();ee=R.exec(o);){var ie=ee[2].replace(T,"");"string"==typeof re[ee[1]]||Array.isArray(re[ee[1]])?re[ee[1]]=[].concat(re[ee[1]],ie):re[ee[1]]=ie}return{comments:ne,pragmas:re}}function printKeyValues(o,h){return[].concat(h).map((function(h){return"@".concat(o," ").concat(h).trim()}))}}));unwrapExports(ys),ys.extract,ys.strip,ys.parse,ys.parseWithComments,ys.print;var gs={hasPragma:function hasPragma(o){var h=Object.keys(ys.parse(ys.extract(o)));return h.includes("prettier")||h.includes("format")},insertPragma:function insertPragma(o){var h=ys.parseWithComments(ys.extract(o)),E=Object.assign({format:""},h.pragmas),x=ys.print({pragmas:E,comments:h.comments.replace(/^(\s+?\r?\n)+/,"")}).replace(/(\r\n|\r)/g,"\n"),C=ys.strip(o);return x+(C.startsWith("\n")?"\n":"\n\n")+C}},vs={"---":"yaml","+++":"toml"},Ds=function parse$1(o){var h=Object.keys(vs).map($i).join("|"),E=o.match(new RegExp("^(".concat(h,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===E)return{frontMatter:null,content:o};var x=(0,ne.default)(E,3),C=x[0],T=x[1],P=x[2];return{frontMatter:{type:vs[T],value:P,raw:C.replace(/\n$/,"")},content:C.replace(/[^\n]/g," ")+o.slice(C.length)}},Es=function insertPragma$1(o){var h=Ds(o),E=h.frontMatter,x=h.content;return(E?E.raw+"\n\n":"")+gs.insertPragma(x)};sa.getLast,sa.skipEverythingButNewLine;var xs=function restoreQuotesInInlineComments(o){return o.replace(/\ufffe/g,"'").replace(/\uffff/g,'"')},bs=["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 getAncestorCounter(o,h){for(var E,x=[].concat(h),C=-1;E=o.getParentNode(++C);)if(x.includes(E.type))return C;return-1}function getAncestorNode(o,h){var E=getAncestorCounter(o,h);return-1===E?null:o.getParentNode(E)}function isMultiplicationNode(o){return"value-operator"===o.type&&"*"===o.value}function isDivisionNode(o){return"value-operator"===o.type&&"/"===o.value}function isAdditionNode(o){return"value-operator"===o.type&&"+"===o.value}function isSubtractionNode(o){return"value-operator"===o.type&&"-"===o.value}function isModuloNode(o){return"value-operator"===o.type&&"%"===o.value}function isKeyValuePairNode(o){return"value-comma_group"===o.type&&o.groups&&o.groups[1]&&"value-colon"===o.groups[1].type}function isKeyValuePairInParenGroupNode(o){return"value-paren_group"===o.type&&o.groups&&o.groups[0]&&isKeyValuePairNode(o.groups[0])}var Cs=getAncestorNode,As=function getPropOfDeclNode(o){var h=getAncestorNode(o,"css-decl");return h&&h.prop&&h.prop.toLowerCase()},Ss=function maybeToLowerCase(o){return o.includes("$")||o.includes("@")||o.includes("#")||o.startsWith("%")||o.startsWith("--")||o.startsWith(":--")||o.includes("(")&&o.includes(")")?o:o.toLowerCase()},ws=function insideValueFunctionNode(o,h){var E=getAncestorNode(o,"value-func");return E&&E.value&&E.value.toLowerCase()===h},ks=function insideICSSRuleNode(o){var h=getAncestorNode(o,"css-rule");return h&&h.raws&&h.raws.selector&&(h.raws.selector.startsWith(":import")||h.raws.selector.startsWith(":export"))},Ts=function insideAtRuleNode(o,h){var E=[].concat(h),x=getAncestorNode(o,"css-atrule");return x&&E.includes(x.name.toLowerCase())},_s=function insideURLFunctionInImportAtRuleNode(o){var h=o.getValue(),E=getAncestorNode(o,"css-atrule");return E&&"import"===E.name&&"url"===h.groups[0].value&&2===h.groups.length},Fs=function isKeyframeAtRuleKeywords(o,h){var E=getAncestorNode(o,"css-atrule");return E&&E.name&&E.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(h.toLowerCase())},Ps=function isWideKeywords(o){return["initial","inherit","unset","revert"].includes(o.toLowerCase())},Bs=function isSCSS(o,h){return"less"===o||"scss"===o?"scss"===o:/(\w\s*:\s*[^}:]+|#){|@import[^\n]+(?:url|,)/.test(h)},Ns=function isLastNode(o,h){var E=o.getParentNode();if(!E)return!1;var x=E.nodes;return x&&x.indexOf(h)===x.length-1},Is=function isLessParser(o){return"css"===o.parser||"less"===o.parser},Os=function isSCSSControlDirectiveNode(o){return"css-atrule"===o.type&&["if","else","for","each","while"].includes(o.name)},Rs=function isDetachedRulesetDeclarationNode(o){return!!o.selector&&("string"==typeof o.selector&&/^@.+:.*$/.test(o.selector)||o.selector.value&&/^@.+:.*$/.test(o.selector.value))},Ms=function isRelationalOperatorNode(o){return"value-word"===o.type&&["<",">","<=",">="].includes(o.value)},Ls=function isEqualityOperatorNode(o){return"value-word"===o.type&&["==","!="].includes(o.value)},js=isMultiplicationNode,qs=isDivisionNode,Vs=isAdditionNode,Us=isSubtractionNode,Ws=function isMathOperatorNode(o){return isMultiplicationNode(o)||isDivisionNode(o)||isAdditionNode(o)||isSubtractionNode(o)||isModuloNode(o)},Gs=function isEachKeywordNode(o){return"value-word"===o.type&&"in"===o.value},Hs=function isForKeywordNode(o){return"value-word"===o.type&&["from","through","end"].includes(o.value)},zs=function isURLFunctionNode(o){return"value-func"===o.type&&"url"===o.value.toLowerCase()},Ks=function isIfElseKeywordNode(o){return"value-word"===o.type&&["and","or","not"].includes(o.value)},Ys=function hasComposesNode(o){return o.value&&"value-root"===o.value.type&&o.value.group&&"value-value"===o.value.group.type&&"composes"===o.prop.toLowerCase()},$s=function hasParensAroundNode(o){return o.value&&o.value.group&&o.value.group.group&&"value-paren_group"===o.value.group.group.type&&null!==o.value.group.group.open&&null!==o.value.group.group.close},Js=function hasEmptyRawBefore(o){return o.raws&&""===o.raws.before},Xs=function isDetachedRulesetCallNode(o){return o.raws&&o.raws.params&&/^\(\s*\)$/.test(o.raws.params)},Qs=function isTemplatePlaceholderNode(o){return o.name.startsWith("prettier-placeholder")},Zs=function isTemplatePropNode(o){return o.prop.startsWith("@prettier-placeholder")},eo=function isPostcssSimpleVarNode(o,h){return"$$"===o.value&&"value-func"===o.type&&h&&"value-word"===h.type&&!h.raws.before},to=isKeyValuePairNode,ro=function isSCSSMapItemNode(o){var h=o.getValue();if(0===h.groups.length)return!1;var E=o.getParentNode(1);if(!(isKeyValuePairInParenGroupNode(h)||E&&isKeyValuePairInParenGroupNode(E)))return!1;var x=getAncestorNode(o,"css-decl");return!!(x&&x.prop&&x.prop.startsWith("$"))||!!isKeyValuePairInParenGroupNode(E)||"value-func"===E.type},no=function isInlineValueCommentNode(o){return"value-comment"===o.type&&o.inline},io=function isHashNode(o){return"value-word"===o.type&&"#"===o.value},ao=function isLeftCurlyBraceNode(o){return"value-word"===o.type&&"{"===o.value},so=function isRightCurlyBraceNode(o){return"value-word"===o.type&&"}"===o.value},oo=function isWordNode(o){return["value-word","value-atword"].includes(o.type)},uo=function isColonNode(o){return"value-colon"===o.type},lo=function isMediaAndSupportsKeywords(o){return o.value&&["not","and","or"].includes(o.value.toLowerCase())},co=function isColorAdjusterFuncNode(o){return"value-func"===o.type&&bs.includes(o.value.toLowerCase())},po=function lastLineHasInlineComment(o){return/\/\//.test(o.split(/[\r\n]/).pop())},fo=Es,ho=sa.printNumber,mo=sa.printString,yo=sa.hasIgnoreComment,go=sa.hasNewline,vo=ya.isNextLineEmpty,Do=xs,Eo=ma.builders,xo=Eo.concat,bo=Eo.join,Co=Eo.line,Ao=Eo.hardline,So=Eo.softline,wo=Eo.group,ko=Eo.fill,To=Eo.indent,_o=Eo.dedent,Fo=Eo.ifBreak,Po=ma.utils.removeLines,Bo=Cs,No=As,Io=Ss,Oo=ws,Ro=ks,Mo=Ts,Lo=_s,jo=Fs,qo=Ps,Vo=Bs,Uo=Ns,Wo=Is,Go=Os,Ho=Rs,zo=Ms,Ko=Ls,Yo=js,$o=qs,Jo=Vs,Xo=Us,Qo=Ws,Zo=Gs,eu=Hs,tu=zs,ru=Ks,nu=Ys,iu=$s,au=Js,su=to,ou=Xs,uu=Qs,lu=Zs,cu=eo,pu=ro,fu=no,hu=io,du=ao,mu=so,yu=oo,gu=uo,vu=lo,Du=co,Eu=po;function shouldPrintComma(o){switch(o.trailingComma){case"all":case"es5":return!0;case"none":default:return!1}}function printNodeSequence(o,h,E){var x=o.getValue(),C=[],T=0;return o.map((function(o){var P=x.nodes[T-1];if(P&&"css-comment"===P.type&&"prettier-ignore"===P.text.trim()){var N=o.getValue();C.push(h.originalText.slice(h.locStart(N),h.locEnd(N)))}else C.push(o.call(E));T!==x.nodes.length-1&&("css-comment"===x.nodes[T+1].type&&!go(h.originalText,h.locStart(x.nodes[T+1]),{backwards:!0})&&"yaml"!==x.nodes[T].type&&"toml"!==x.nodes[T].type||"css-atrule"===x.nodes[T+1].type&&"else"===x.nodes[T+1].name&&"css-comment"!==x.nodes[T].type?C.push(" "):(C.push(h.__isHTMLStyleAttribute?Co:Ao),vo(h.originalText,o.getValue(),h.locEnd)&&"yaml"!==x.nodes[T].type&&"toml"!==x.nodes[T].type&&C.push(Ao))),T++}),"nodes"),xo(C)}var xu=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,bu=new RegExp(xu.source+"|"+"(".concat(/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g.source,")")+"(".concat(/[a-zA-Z]+/g.source,")?"),"g");function adjustStrings(o,h){return o.replace(xu,(function(o){return mo(o,h)}))}function quoteAttributeValue(o,h){var E=h.singleQuote?"'":'"';return o.includes('"')||o.includes("'")?o:E+o+E}function adjustNumbers(o){return o.replace(bu,(function(o,h,E,x,C){return!E&&x?printCssNumber(x)+Io(C||""):o}))}function printCssNumber(o){return ho(o).replace(/\.0(?=$|e)/,"")}var Cu={print:function genericPrint(o,h,E){var x=o.getValue();if(!x)return"";if("string"==typeof x)return x;switch(x.type){case"yaml":case"toml":return xo([x.raw,Ao]);case"css-root":var C=printNodeSequence(o,h,E);return C.parts.length?xo([C,h.__isHTMLStyleAttribute?"":Ao]):C;case"css-comment":var T=x.inline||x.raws.inline,P=h.originalText.slice(h.locStart(x),h.locEnd(x));return T?P.trimEnd():P;case"css-rule":return xo([o.call(E,"selector"),x.important?" !important":"",x.nodes?xo([x.selector&&"selector-unknown"===x.selector.type&&Eu(x.selector.value)?Co:" ","{",x.nodes.length>0?To(xo([Ao,printNodeSequence(o,h,E)])):"",Ao,"}",Ho(x)?";":""]):";"]);case"css-decl":var N=o.getParentNode();return xo([x.raws.before.replace(/[\s;]/g,""),Ro(o)?x.prop:Io(x.prop),":"===x.raws.between.trim()?":":x.raws.between.trim(),x.extend?"":" ",nu(x)?Po(o.call(E,"value")):o.call(E,"value"),x.raws.important?x.raws.important.replace(/\s*!\s*important/i," !important"):x.important?" !important":"",x.raws.scssDefault?x.raws.scssDefault.replace(/\s*!default/i," !default"):x.scssDefault?" !default":"",x.raws.scssGlobal?x.raws.scssGlobal.replace(/\s*!global/i," !global"):x.scssGlobal?" !global":"",x.nodes?xo([" {",To(xo([So,printNodeSequence(o,h,E)])),So,"}"]):lu(x)&&!N.raws.semicolon&&";"!==h.originalText[h.locEnd(x)-1]?"":";"]);case"css-atrule":var R=o.getParentNode(),j=uu(x)&&!R.raws.semicolon&&";"!==h.originalText[h.locEnd(x)-1];if(Wo(h)){if(x.mixin)return xo([o.call(E,"selector"),x.important?" !important":"",j?"":";"]);if(x.function)return xo([x.name,xo([o.call(E,"params")]),j?"":";"]);if(x.variable)return xo(["@",x.name,": ",x.value?xo([o.call(E,"value")]):"",x.raws.between.trim()?x.raws.between.trim()+" ":"",x.nodes?xo(["{",To(xo([x.nodes.length>0?So:"",printNodeSequence(o,h,E)])),So,"}"]):"",j?"":";"])}return xo(["@",ou(x)||x.name.endsWith(":")?x.name:Io(x.name),x.params?xo([ou(x)?"":uu(x)?""===x.raws.afterName?"":x.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(x.raws.afterName)?xo([Ao,Ao]):/^\s*\n/.test(x.raws.afterName)?Ao:" ":" ",o.call(E,"params")]):"",x.selector?To(xo([" ",o.call(E,"selector")])):"",x.value?wo(xo([" ",o.call(E,"value"),Go(x)?iu(x)?" ":Co:""])):"else"===x.name?" ":"",x.nodes?xo([Go(x)?"":" ","{",To(xo([x.nodes.length>0?So:"",printNodeSequence(o,h,E)])),So,"}"]):j?"":";"]);case"media-query-list":var ee=[];return o.each((function(o){var h=o.getValue();"media-query"===h.type&&""===h.value||ee.push(o.call(E))}),"nodes"),wo(To(bo(Co,ee)));case"media-query":return xo([bo(" ",o.map(E,"nodes")),Uo(o,x)?"":","]);case"media-type":return adjustNumbers(adjustStrings(x.value,h));case"media-feature-expression":return x.nodes?xo(["(",xo(o.map(E,"nodes")),")"]):x.value;case"media-feature":return Io(adjustStrings(x.value.replace(/ +/g," "),h));case"media-colon":return xo([x.value," "]);case"media-value":return adjustNumbers(adjustStrings(x.value,h));case"media-keyword":return adjustStrings(x.value,h);case"media-url":return adjustStrings(x.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),h);case"media-unknown":return x.value;case"selector-root":return wo(xo([Mo(o,"custom-selector")?xo([Bo(o,"css-atrule").customSelector,Co]):"",bo(xo([",",Mo(o,["extend","custom-selector","nest"])?Co:Ao]),o.map(E,"nodes"))]));case"selector-selector":return wo(To(xo(o.map(E,"nodes"))));case"selector-comment":return x.value;case"selector-string":return adjustStrings(x.value,h);case"selector-tag":var re=o.getParentNode(),ne=re&&re.nodes.indexOf(x),ie=ne&&re.nodes[ne-1];return xo([x.namespace?xo([!0===x.namespace?"":x.namespace.trim(),"|"]):"","selector-nesting"===ie.type?x.value:adjustNumbers(jo(o,x.value)?x.value.toLowerCase():x.value)]);case"selector-id":return xo(["#",x.value]);case"selector-class":return xo([".",adjustNumbers(adjustStrings(x.value,h))]);case"selector-attribute":return xo(["[",x.namespace?xo([!0===x.namespace?"":x.namespace.trim(),"|"]):"",x.attribute.trim(),x.operator?x.operator:"",x.value?quoteAttributeValue(adjustStrings(x.value.trim(),h),h):"",x.insensitive?" i":"","]"]);case"selector-combinator":if("+"===x.value||">"===x.value||"~"===x.value||">>>"===x.value){var ae=o.getParentNode(),se="selector-selector"===ae.type&&ae.nodes[0]===x?"":Co;return xo([se,x.value,Uo(o,x)?"":" "])}var oe=x.value.trim().startsWith("(")?Co:"",ue=adjustNumbers(adjustStrings(x.value.trim(),h))||Co;return xo([oe,ue]);case"selector-universal":return xo([x.namespace?xo([!0===x.namespace?"":x.namespace.trim(),"|"]):"",x.value]);case"selector-pseudo":return xo([Io(x.value),x.nodes&&x.nodes.length>0?xo(["(",bo(", ",o.map(E,"nodes")),")"]):""]);case"selector-nesting":return x.value;case"selector-unknown":var le=Bo(o,"css-rule");if(le&&le.isSCSSNesterProperty)return adjustNumbers(adjustStrings(Io(x.value),h));var ce=o.getParentNode();if(ce.raws&&ce.raws.selector){var pe=h.locStart(ce),fe=pe+ce.raws.selector.length;return h.originalText.slice(pe,fe).trim()}return x.value;case"value-value":case"value-root":return o.call(E,"group");case"value-comment":return xo([x.inline?"//":"/*",Do(x.value),x.inline?"":"*/"]);case"value-comma_group":for(var he=o.getParentNode(),de=o.getParentNode(1),me=No(o),ye=me&&"value-value"===he.type&&("grid"===me||me.startsWith("grid-template")),ge=Bo(o,"css-atrule"),ve=ge&&Go(ge),De=o.map(E,"groups"),Ee=[],xe=Oo(o,"url"),be=!1,Ce=!1,Ae=0;Ae0&&"value-comma_group"===x.groups[0].type&&x.groups[0].groups.length>0&&"value-word"===x.groups[0].groups[0].type&&x.groups[0].groups[0].value.startsWith("data:")))return xo([x.open?o.call(E,"open"):"",bo(",",o.map(E,"groups")),x.close?o.call(E,"close"):""]);if(!x.open){for(var Me=o.map(E,"groups"),Le=[],je=0;je0&&x.push(determineInterfaceSeparatorBetween(C[P-1],N,h)),x.push(T[P])}return x}var rl={print:function genericPrint$1(o,h,E){var x=o.getValue();if(!x)return"";if("string"==typeof x)return x;switch(x.kind){case"Document":var C=[];return o.map((function(o,T){C.push(zu([o.call(E)])),T!==x.definitions.length-1&&(C.push(Yu),tl(h.originalText,o.getValue(),h.locEnd)&&C.push(Yu))}),"definitions"),zu([zu(C),Yu]);case"OperationDefinition":var T="{"!==h.originalText[h.locStart(x)],P=!!x.name;return zu([T?x.operation:"",T&&P?zu([" ",o.call(E,"name")]):"",x.variableDefinitions&&x.variableDefinitions.length?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.map(E,"variableDefinitions"))])),Ju,")"])):"",printDirectives(o,E,x),x.selectionSet&&(T||P)?" ":"",o.call(E,"selectionSet")]);case"FragmentDefinition":return zu(["fragment ",o.call(E,"name"),x.variableDefinitions&&x.variableDefinitions.length?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.map(E,"variableDefinitions"))])),Ju,")"])):""," on ",o.call(E,"typeCondition"),printDirectives(o,E,x)," ",o.call(E,"selectionSet")]);case"SelectionSet":return zu(["{",Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"selections"))])),Yu,"}"]);case"Field":return Xu(zu([x.alias?zu([o.call(E,"alias"),": "]):"",o.call(E,"name"),x.arguments.length>0?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.call((function(o){return printSequence(o,h,E)}),"arguments"))])),Ju,")"])):"",printDirectives(o,E,x),x.selectionSet?" ":"",o.call(E,"selectionSet")]));case"Name":return x.value;case"StringValue":return x.block?zu(['"""',Yu,Ku(Yu,x.value.replace(/"""/g,"\\$&").split("\n")),Yu,'"""']):zu(['"',x.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return x.value;case"BooleanValue":return x.value?"true":"false";case"NullValue":return"null";case"Variable":return zu(["$",o.call(E,"name")]);case"ListValue":return Xu(zu(["[",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.map(E,"values"))])),Ju,"]"]));case"ObjectValue":return Xu(zu(["{",h.bracketSpacing&&x.fields.length>0?" ":"",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.map(E,"fields"))])),Ju,Zu("",h.bracketSpacing&&x.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return zu([o.call(E,"name"),": ",o.call(E,"value")]);case"Directive":return zu(["@",o.call(E,"name"),x.arguments.length>0?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.call((function(o){return printSequence(o,h,E)}),"arguments"))])),Ju,")"])):""]);case"NamedType":return o.call(E,"name");case"VariableDefinition":return zu([o.call(E,"variable"),": ",o.call(E,"type"),x.defaultValue?zu([" = ",o.call(E,"defaultValue")]):"",printDirectives(o,E,x)]);case"TypeExtensionDefinition":return zu(["extend ",o.call(E,"definition")]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return zu([o.call(E,"description"),x.description?Yu:"","ObjectTypeExtension"===x.kind?"extend ":"","type ",o.call(E,"name"),x.interfaces.length>0?zu([" implements ",zu(printInterfaces(o,h,E))]):"",printDirectives(o,E,x),x.fields.length>0?zu([" {",Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"fields"))])),Yu,"}"]):""]);case"FieldDefinition":return zu([o.call(E,"description"),x.description?Yu:"",o.call(E,"name"),x.arguments.length>0?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.call((function(o){return printSequence(o,h,E)}),"arguments"))])),Ju,")"])):"",": ",o.call(E,"type"),printDirectives(o,E,x)]);case"DirectiveDefinition":return zu([o.call(E,"description"),x.description?Yu:"","directive ","@",o.call(E,"name"),x.arguments.length>0?Xu(zu(["(",Qu(zu([Ju,Ku(zu([Zu("",", "),Ju]),o.call((function(o){return printSequence(o,h,E)}),"arguments"))])),Ju,")"])):"",x.repeatable?" repeatable":"",zu([" on ",Ku(" | ",o.map(E,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return zu([o.call(E,"description"),x.description?Yu:"","EnumTypeExtension"===x.kind?"extend ":"","enum ",o.call(E,"name"),printDirectives(o,E,x),x.values.length>0?zu([" {",Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"values"))])),Yu,"}"]):""]);case"EnumValueDefinition":return zu([o.call(E,"description"),x.description?Yu:"",o.call(E,"name"),printDirectives(o,E,x)]);case"InputValueDefinition":return zu([o.call(E,"description"),x.description?x.description.block?Yu:$u:"",o.call(E,"name"),": ",o.call(E,"type"),x.defaultValue?zu([" = ",o.call(E,"defaultValue")]):"",printDirectives(o,E,x)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return zu([o.call(E,"description"),x.description?Yu:"","InputObjectTypeExtension"===x.kind?"extend ":"","input ",o.call(E,"name"),printDirectives(o,E,x),x.fields.length>0?zu([" {",Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"fields"))])),Yu,"}"]):""]);case"SchemaDefinition":return zu(["schema",printDirectives(o,E,x)," {",x.operationTypes.length>0?Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"operationTypes"))])):"",Yu,"}"]);case"OperationTypeDefinition":return zu([o.call(E,"operation"),": ",o.call(E,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return zu([o.call(E,"description"),x.description?Yu:"","InterfaceTypeExtension"===x.kind?"extend ":"","interface ",o.call(E,"name"),printDirectives(o,E,x),x.fields.length>0?zu([" {",Qu(zu([Yu,Ku(Yu,o.call((function(o){return printSequence(o,h,E)}),"fields"))])),Yu,"}"]):""]);case"FragmentSpread":return zu(["...",o.call(E,"name"),printDirectives(o,E,x)]);case"InlineFragment":return zu(["...",x.typeCondition?zu([" on ",o.call(E,"typeCondition")]):"",printDirectives(o,E,x)," ",o.call(E,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return Xu(zu([o.call(E,"description"),x.description?Yu:"",Xu(zu(["UnionTypeExtension"===x.kind?"extend ":"","union ",o.call(E,"name"),printDirectives(o,E,x),x.types.length>0?zu([" =",Zu(""," "),Qu(zu([Zu(zu([$u," "])),Ku(zu([$u,"| "]),o.map(E,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return zu([o.call(E,"description"),x.description?Yu:"","ScalarTypeExtension"===x.kind?"extend ":"","scalar ",o.call(E,"name"),printDirectives(o,E,x)]);case"NonNullType":return zu([o.call(E,"type"),"!"]);case"ListType":return zu(["[",o.call(E,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(x.kind))}},massageAstNode:function clean$1(o,h){delete h.loc,delete h.comments},hasPrettierIgnore:el,insertPragma:Gu,printComment:function printComment$1(o){var h=o.getValue();if("Comment"===h.kind)return"#"+h.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(h))},canAttachComment:function canAttachComment(o){return o.kind&&"Comment"!==o.kind}},nl={bracketSpacing:Au.bracketSpacing},il=[".graphql",".gql",".graphqls"],al={name:"GraphQL",type:"data",extensions:il,tmScope:"source.graphql",aceMode:"text",languageId:139},sl={languages:[wu(getCjsExportFromNamespace(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:il,tmScope:"source.graphql",aceMode:"text",languageId:139,default:al})),(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:nl,printers:{graphql:rl}};function isNodeOfSomeType(o,h){return o&&h.some((function(h){return o.type===h}))}function getSiblingNode(o,h){var E=o.getValue(),x=o.getParentNode(0)||{},C=x.children||x.body||[],T=C.indexOf(E);return-1!==T&&C[T+h]}function getPreviousNode(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return getSiblingNode(o,-h)}function getNextNode(o){return getSiblingNode(o,1)}function isPrettierIgnoreNode(o){return isNodeOfSomeType(o,["MustacheCommentStatement"])&&"string"==typeof o.value&&"prettier-ignore"===o.value.trim()}var ol=getNextNode,ul=getPreviousNode,ll=function hasPrettierIgnore(o){var h=o.getValue(),E=getPreviousNode(o,2);return isPrettierIgnoreNode(h)||isPrettierIgnoreNode(E)},cl=function isGlimmerComponent(o){return isNodeOfSomeType(o,["ElementNode"])&&"string"==typeof o.tag&&(function isUppercase(o){return o.toUpperCase()===o}(o.tag[0])||o.tag.includes("."))},pl=function isNextNodeOfSomeType(o,h){return isNodeOfSomeType(getNextNode(o),h)},fl=function isParentOfSomeType(o,h){return isNodeOfSomeType(o.getParentNode(0),h)},hl=function isPreviousNodeOfSomeType(o,h){return isNodeOfSomeType(getPreviousNode(o),h)},dl=function isWhitespaceNode(o){return isNodeOfSomeType(o,["TextNode"])&&!/\S/.test(o.chars)},ml=ma.builders,yl=ml.concat,gl=ml.join,vl=ml.softline,Dl=ml.hardline,El=ml.line,xl=ml.group,bl=ml.indent,Cl=ml.ifBreak,Al=ol,Sl=ul,wl=ll,kl=cl,Tl=pl,_l=fl,Fl=hl,Pl=dl,Bl=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function printChildren(o,h,E){return yl(o.map((function(x,C){var T=o.getValue(),P=0===C,N=C===o.getParentNode(0).children.length-1&&!P;return Pl(T)&&N?E(x,h,E):P?yl([vl,E(x,h,E)]):E(x,h,E)}),"children"))}function printStringLiteral(o,h){var E={quote:'"',regex:/"/g},x={quote:"'",regex:/'/g},C=h.singleQuote?x:E,T=C===x?E:x,P=!1;(o.includes(C.quote)||o.includes(T.quote))&&(P=(o.match(C.regex)||[]).length>(o.match(T.regex)||[]).length);var N=P?T:C,R=o.replace(N.regex,"\\".concat(N.quote));return yl([N.quote,R,N.quote])}function printPath(o,h){return o.call(h,"path")}function printParams(o,h){var E=o.getValue(),x=[];return E.params.length>0&&(x=x.concat(o.map(h,"params"))),E.hash&&E.hash.pairs.length>0&&x.push(o.call(h,"hash")),x}function printPathParams(o,h){var E=printPath(o,h),x=printParams(o,h),C=[E].concat((0,ee.default)(x));return bl(xl(gl(El,C)))}function printBlockParams(o){var h=o.getValue();return h.program&&h.program.blockParams.length?yl([" as |",h.program.blockParams.join(" "),"|"]):""}function printOpenBlock(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},x=E.open,C=void 0!==x&&x,T=E.close,P=void 0!==T&&T;return xl(yl([C?"{{~#":"{{#",printPathParams(o,h),printBlockParams(o),vl,P?"~}}":"}}"]))}function printCloseBlock(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},x=E.open,C=void 0!==x&&x,T=E.close,P=void 0!==T&&T;return yl([C?"{{~/":"{{/",o.call(h,"path"),P?"~}}":"}}"])}function countNewLines(o){return(o="string"==typeof o?o:"").split("\n").length-1}function generateHardlines(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Array(Math.min(o,h)).fill(Dl)}function locationToOffset(o,h,E){for(var x=0,C=0;;){if(C===o.length)return null;var T=o.indexOf("\n",C);if(-1===T&&(T=o.length),x===h)return C+E>T?null:C+E;if(-1===T)return null;x+=1,C=T+1}}var Nl={print:function print(o,h,E){var x=o.getValue();if(!x)return"";if(wl(o)){var C=locationToOffset(h.originalText,x.loc.start.line-1,x.loc.start.column),T=locationToOffset(h.originalText,x.loc.end.line-1,x.loc.end.column);return h.originalText.slice(C,T)}switch(x.type){case"Block":case"Program":case"Template":return xl(yl(o.map(E,"body")));case"ElementNode":var P=x.children.length>0,N=x.children.some((function(o){return!Pl(o)})),R=kl(x)&&(!P||!N)||Bl.includes(x.tag),j=R?yl([" />",vl]):">",re=R?"/>":">",ne=Al(o);return yl([xl(yl(["<",x.tag,function _printParams(o,h){return bl(yl([x.attributes.length?El:"",gl(El,o.map(h,"attributes")),x.modifiers.length?El:"",gl(El,o.map(h,"modifiers")),x.comments.length?El:"",gl(El,o.map(h,"comments"))]))}(o,E),x.blockParams.length?" as |".concat(x.blockParams.join(" "),"|"):"",Cl(vl,""),Cl(re,j)])),R?"":xl(yl([N?bl(printChildren(o,h,E)):"",Cl(P?Dl:"",""),yl(["",x.tag,">"])])),ne&&"ElementNode"===ne.type?Dl:""]);case"BlockStatement":var ie=o.getParentNode(1),ae=ie&&ie.inverse&&1===ie.inverse.body.length&&ie.inverse.body[0]===x&&"if"===ie.inverse.body[0].path.parts[0],se=x.inverse&&1===x.inverse.body.length&&"BlockStatement"===x.inverse.body[0].type&&"if"===x.inverse.body[0].path.parts[0],oe=se?function(o){return o}:bl,ue=(x.inverseStrip.open?"{{~":"{{")+"else"+(x.inverseStrip.close?"~}}":"}}");if(x.inverse)return yl([ae?yl([x.openStrip.open?"{{~else ":"{{else ",printPathParams(o,E),x.openStrip.close?"~}}":"}}"]):printOpenBlock(o,E,x.openStrip),bl(yl([Dl,o.call(E,"program")])),x.inverse&&!se?yl([Dl,ue]):"",x.inverse?oe(yl([Dl,o.call(E,"inverse")])):"",ae?"":yl([Dl,printCloseBlock(o,E,x.closeStrip)])]);if(ae)return yl([yl([x.openStrip.open?"{{~else":"{{else ",printPathParams(o,E),x.openStrip.close?"~}}":"}}"]),bl(yl([Dl,o.call(E,"program")]))]);var le=x.program.body.some((function(o){return!Pl(o)}));return yl([printOpenBlock(o,E,x.openStrip),xl(yl([bl(yl([vl,o.call(E,"program")])),le?Dl:vl,printCloseBlock(o,E,x.closeStrip)]))]);case"ElementModifierStatement":return xl(yl(["{{",printPathParams(o,E),vl,"}}"]));case"MustacheStatement":var ce=!1===x.escaped,pe=x.strip,fe=(ce?"{{{":"{{")+(pe.open?"~":""),he=(pe.close?"~":"")+(ce?"}}}":"}}"),de=_l(o,["AttrNode","ConcatStatement","ElementNode"])?[fe,bl(vl)]:[fe];return xl(yl([].concat(de,[printPathParams(o,E),vl,he])));case"SubExpression":var me=printParams(o,E),ye=me.length>0?bl(yl([El,xl(gl(El,me))])):"";return xl(yl(["(",printPath(o,E),ye,vl,")"]));case"AttrNode":var ge="TextNode"===x.value.type;if(ge&&""===x.value.chars&&x.value.loc.start.column===x.value.loc.end.column)return yl([x.name]);var ve=o.call(E,"value"),De=ge?printStringLiteral(ve.parts.join(),h):ve;return yl([x.name,"=",De]);case"ConcatStatement":return yl(['"',yl(o.map((function(o){return E(o)}),"parts").filter((function(o){return""!==o}))),'"']);case"Hash":return yl([gl(El,o.map(E,"pairs"))]);case"HashPair":return yl([x.key,"=",o.call(E,"value")]);case"TextNode":var Ee=!Sl(o),xe=!Al(o),be=!/\S/.test(x.chars),Ce=countNewLines(x.chars),Ae="Block"===o.getParentNode(0).type,Se="ElementNode"===o.getParentNode(0).type,we="Template"===o.getParentNode(0).type,ke=function countLeadingNewLines(o){return countNewLines(((o="string"==typeof o?o:"").match(/^([^\S\r\n]*[\r\n])+/g)||[])[0]||"")}(x.chars),Te=function countTrailingNewLines(o){return countNewLines(((o="string"==typeof o?o:"").match(/([\r\n][^\S\r\n]*)+$/g)||[])[0]||"")}(x.chars);if((Ee||xe)&&be&&(Ae||Se||we))return"";be&&Ce?(ke=Math.min(Ce,2),Te=0):(Tl(o,["BlockStatement","ElementNode"])&&(Te=Math.max(Te,1)),(Fl(o,["ElementNode"])||Fl(o,["BlockStatement"]))&&(ke=Math.max(ke,1)));var _e="",Fe="";if(o.stack.includes("attributes")){var Pe=o.getParentNode(0);if("ConcatStatement"===Pe.type){var Be=Pe.parts,Ne=Be.indexOf(x);Ne>0&&"MustacheStatement"===Be[Ne-1].type&&(_e=" "),Neo.sourceSpan.end.line:"root"===o.parent.type||o.parent.endSourceSpan&&o.parent.endSourceSpan.start.line>o.sourceSpan.end.line)}function preferHardlineAsSurroundingSpaces(o){switch(o.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(o.name)}return!1}function isBlockLikeCssDisplay(o){return"block"===o||"list-item"===o||o.startsWith("table")}function isPreLikeNode(o){return getNodeCssStyleWhiteSpace(o).startsWith("pre")}function isUnknownNamespace(o){return"element"===o.type&&!o.hasExplicitNamespace&&!["html","svg"].includes(o.namespace)}function getNodeCssStyleWhiteSpace(o){return"element"===o.type&&(!o.namespace||isUnknownNamespace(o))&&xp[o.name]||bp}function getMinIndentation(o){var h,E=1/0,x=_createForOfIteratorHelper(o.split("\n"));try{for(x.s();!(h=x.n()).done;){var C=h.value;if(0!==C.length){if(/\S/.test(C[0]))return 0;var T=C.match(/^\s*/)[0].length;C.length!==T&&T1&&void 0!==arguments[1]?arguments[1]:function(){return!0},E=0,x=o.stack.length-1;x>=0;x--){var C=o.stack[x];C&&"object"===(0,ce.default)(C)&&!Array.isArray(C)&&h(C)&&E++}return E},wp=function dedentString(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:getMinIndentation(o);return 0===h?o:o.split("\n").map((function(o){return o.slice(h)})).join("\n")},kp=forceBreakChildren,Tp=function forceBreakContent(o){return forceBreakChildren(o)||"element"===o.type&&0!==o.children.length&&(["body","script","style"].includes(o.name)||o.children.some((function(o){return function hasNonTextChild(o){return o.children&&o.children.some((function(o){return"text"!==o.type}))}(o)})))||o.firstChild&&o.firstChild===o.lastChild&&hasLeadingLineBreak(o.firstChild)&&(!o.lastChild.isTrailingSpaceSensitive||hasTrailingLineBreak(o.lastChild))},_p=function forceNextEmptyLine(o){return isFrontMatterNode(o)||o.next&&o.sourceSpan.end.line+1")}))},function extractInterpolation(o,h){if("html"===h.parser)return o;var E=/\{\{([\s\S]+?)\}\}/g;return o.map((function(o){if(!Gp(o))return o;var h,x=[],C=_createForOfIteratorHelper(o.children);try{for(C.s();!(h=C.n()).done;){var T=h.value;if("text"===T.type)for(var P=T.sourceSpan.constructor,N=T.sourceSpan.start,R=null,j=T.value.split(E),ee=0;ee$/.test(h.originalText.slice(o.endSourceSpan.start.offset,o.endSourceSpan.end.offset))})}))},function addIsSpaceSensitive(o){return o.map((function(o){return o.children?0===o.children.length?o.clone({isDanglingSpaceSensitive:zp(o)}):o.clone({children:o.children.map((function(o){return Object.assign({},o,{isLeadingSpaceSensitive:Yp(o),isTrailingSpaceSensitive:$p(o)})})).map((function(o,h,E){return Object.assign({},o,{isLeadingSpaceSensitive:(0===h||E[h-1].isTrailingSpaceSensitive)&&o.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(h===E.length-1||E[h+1].isLeadingSpaceSensitive)&&o.isTrailingSpaceSensitive})}))}):o}))},function mergeSimpleElementIntoText(o){var h=function isSimpleElement(o){return"element"===o.type&&0===o.attrs.length&&1===o.children.length&&"text"===o.firstChild.type&&!/[^\S\xA0]/.test(o.children[0].value)&&!o.firstChild.hasLeadingSpaces&&!o.firstChild.hasTrailingSpaces&&o.isLeadingSpaceSensitive&&!o.hasLeadingSpaces&&o.isTrailingSpaceSensitive&&!o.hasTrailingSpaces&&o.prev&&"text"===o.prev.type&&o.next&&"text"===o.next.type};return o.map((function(o){if(o.children){var E=o.children.map(h);if(E.some(Boolean)){for(var x=[],C=0;C")+T.firstChild.value+"".concat(T.rawName,">")+N.value,sourceSpan:new R(P.sourceSpan.start,N.sourceSpan.end),isTrailingSpaceSensitive:j,hasTrailingSpaces:ee}))}else x.push(T)}return o.clone({children:x})}}return o}))}],Qp=function preprocess(o,h){var E,x=_createForOfIteratorHelper(Xp);try{for(x.s();!(E=x.n()).done;)o=(0,E.value)(o,h)}catch(o){x.e(o)}finally{x.f()}return o},Zp=function insertPragma$5(o){return"\x3c!-- @format --\x3e\n\n"+o.replace(/^\s*\n/,"")},ef=ma.builders,tf=ef.concat,rf=ef.group,nf=function isVueEventBindingExpression(o){var h=o.trim();return/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/.test(h)||/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(h)},af=function printVueFor(o,h){var E=function parseVueFor(o){var h=/,([^,}\]]*)(?:,([^,}\]]*))?$/,E=o.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(E){var x={};x.for=E[3].trim();var C=E[1].trim().replace(/^\(|\)$/g,""),T=C.match(h);return T?(x.alias=C.replace(h,""),x.iterator1=T[1].trim(),T[2]&&(x.iterator2=T[2].trim())):x.alias=C,{left:"".concat([x.alias,x.iterator1,x.iterator2].filter(Boolean).join(",")),operator:E[2],right:x.for}}}(o),x=E.left,C=E.operator,T=E.right;return tf([rf(h("function _(".concat(x,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",C," ",h(T,{parser:"__js_expression"})])},sf=function printVueSlotScope(o,h){return h("function _(".concat(o,") {}"),{parser:"babel",__isVueSlotScope:!0})},uf=/^\d+$/,lf=function parse$2(o){return function deepUnique(o){return o.sort().filter((function(h,E){return JSON.stringify(h)!==JSON.stringify(o[E-1])}))}(o.split(",").map((function(o){var h={};return o.trim().split(/\s+/).forEach((function(o,E){if(0!==E){var x=o.slice(0,o.length-1),C=o[o.length-1],T=parseInt(x,10),P=parseFloat(x);if("w"===C&&uf.test(x))h.width=T;else if("h"===C&&uf.test(x))h.height=T;else{if("x"!==C||Number.isNaN(P))throw new Error("Invalid srcset descriptor: ".concat(o));h.density=P}}else h.url=o})),h})))},cf=ma.builders,pf=cf.concat,ff=cf.ifBreak,hf=cf.join,df=cf.line,mf=lf,yf=function printImgSrcset(o){var h=mf(o),E=h.some((function(o){return o.width})),x=h.some((function(o){return o.height}));if(E+x+h.some((function(o){return o.density}))>1)throw new Error("Mixed descriptor in srcset is not supported");var C=E?"width":x?"height":"density",T=E?"w":x?"h":"x",P=function getMax(o){return Math.max.apply(Math,(0,ee.default)(o))},N=h.map((function(o){return o.url})),R=P(N.map((function(o){return o.length}))),j=h.map((function(o){return o[C]})).map((function(o){return o?o.toString():""})),re=j.map((function(o){var h=o.indexOf(".");return-1===h?o.length:h})),ne=P(re);return hf(pf([",",df]),N.map((function(o,h){var E=[o],x=j[h];if(x){var C=R-o.length+1,P=ne-re[h],N=" ".repeat(C+P);E.push(ff(N," "),x+T)}return pf(E)})))},gf=function printClassNames(o){return o.trim().split(/\s+/).join(" ")},vf=ma.builders,Df=ma.utils,Ef=Df.stripTrailingHardline,xf=Df.mapDoc,bf=vf.breakParent,Cf=vf.dedentToRoot,Af=vf.fill,Sf=vf.group,wf=vf.hardline,kf=vf.ifBreak,Tf=vf.indent,_f=vf.join,Ff=vf.line,Pf=vf.literalline,Bf=vf.markAsRoot,Nf=vf.softline,If=Ap,Of=Sp,Rf=wp,Mf=kp,Lf=Tp,jf=_p,qf=Fp,Vf=Bp,Uf=Np,Wf=Ip,Gf=Mp,Hf=Lp,zf=jp,Kf=qp,Yf=Vp,$f=Up,Jf=Wp,Xf=sa.replaceEndOfLineWith,Qf=af,Zf=sf,eh=nf,th=yf,rh=gf;function concat$a(o){var h=zf(o);return 0===h.length?"":1===h.length?h[0]:vf.concat(h)}function printChildren$1(o,h,E){var x=o.getValue();if(Mf(x))return concat$a([bf,concat$a(o.map((function(o){var h=o.getValue(),E=h.prev?printBetweenLine(h.prev,h):"";return concat$a([E?concat$a([E,jf(h.prev)?wf:""]):"",printChild(o)])}),"children"))]);var C=x.children.map((function(){return Symbol("")}));return concat$a(o.map((function(o,h){var E=o.getValue();if(Hf(E)){if(E.prev&&Hf(E.prev)){var x=printBetweenLine(E.prev,E);if(x)return jf(E.prev)?concat$a([wf,wf,printChild(o)]):concat$a([x,printChild(o)])}return printChild(o)}var T=[],P=[],N=[],R=[],j=E.prev?printBetweenLine(E.prev,E):"",ee=E.next?printBetweenLine(E,E.next):"";return j&&(jf(E.prev)?T.push(wf,wf):j===wf?T.push(wf):Hf(E.prev)?P.push(j):P.push(kf("",Nf,{groupId:C[h-1]}))),ee&&(jf(E)?Hf(E.next)&&R.push(wf,wf):ee===wf?Hf(E.next)&&R.push(wf):N.push(ee)),concat$a([].concat(T,Sf(concat$a([concat$a(P),Sf(concat$a([printChild(o),concat$a(N)]),{id:C[h]})])),R))}),"children"));function printChild(o){var x=o.getValue();return Uf(x)?concat$a([].concat(printOpeningTagPrefix(x,h),Xf(h.originalText.slice(h.locStart(x)+(x.prev&&needsToBorrowNextOpeningTagStartMarker(x.prev)?printOpeningTagStartMarker(x).length:0),h.locEnd(x)-(x.next&&needsToBorrowPrevClosingTagEndMarker(x.next)?printClosingTagEndMarker(x,h).length:0)),Pf),printClosingTagSuffix(x,h))):$f(x,h)?concat$a([].concat(printOpeningTagPrefix(x,h),Sf(printOpeningTag(o,h,E)),Xf(h.originalText.slice(x.startSourceSpan.end.offset+(x.firstChild&&needsToBorrowParentOpeningTagEndMarker(x.firstChild)?-printOpeningTagEndMarker(x).length:0),x.endSourceSpan.start.offset+(x.lastChild&&needsToBorrowParentClosingTagStartMarker(x.lastChild)?printClosingTagStartMarker(x,h).length:needsToBorrowLastChildClosingTagEndMarker(x)?-printClosingTagEndMarker(x.lastChild,h).length:0)),Pf),printClosingTag(x,h),printClosingTagSuffix(x,h))):E(o)}function printBetweenLine(o,h){return Hf(o)&&Hf(h)?o.isTrailingSpaceSensitive?o.hasTrailingSpaces?Kf(h)?wf:Ff:"":Kf(h)?wf:Nf:needsToBorrowNextOpeningTagStartMarker(o)&&(Uf(h)||h.firstChild||h.isSelfClosing||"element"===h.type&&0!==h.attrs.length)||"element"===o.type&&o.isSelfClosing&&needsToBorrowPrevClosingTagEndMarker(h)?"":!h.isLeadingSpaceSensitive||Kf(h)||needsToBorrowPrevClosingTagEndMarker(h)&&o.lastChild&&needsToBorrowParentClosingTagStartMarker(o.lastChild)&&o.lastChild.lastChild&&needsToBorrowParentClosingTagStartMarker(o.lastChild.lastChild)?wf:h.hasLeadingSpaces?Ff:Nf}}function printOpeningTag(o,h,E){var x,C,T=o.getValue(),P="element"===T.type&&"script"===T.fullName&&1===T.attrs.length&&"src"===T.attrs[0].fullName&&0===T.children.length;return concat$a([printOpeningTagStart(T,h),T.attrs&&0!==T.attrs.length?concat$a([Tf(concat$a([P?" ":Ff,_f(Ff,(x=T.prev&&"comment"===T.prev.type&&Vf(T.prev.value),C="boolean"==typeof x?function(){return x}:Array.isArray(x)?function(o){return x.includes(o.rawName)}:function(){return!1},o.map((function(o){var x=o.getValue();return C(x)?concat$a(Xf(h.originalText.slice(h.locStart(x),h.locEnd(x)),Pf)):E(o)}),"attrs")))])),T.firstChild&&needsToBorrowParentOpeningTagEndMarker(T.firstChild)||T.isSelfClosing&&needsToBorrowLastChildClosingTagEndMarker(T.parent)?T.isSelfClosing?" ":"":T.isSelfClosing?P?" ":Ff:P?"":Nf]):T.isSelfClosing?" ":"",T.isSelfClosing?"":printOpeningTagEnd(T)])}function printOpeningTagStart(o,h){return o.prev&&needsToBorrowNextOpeningTagStartMarker(o.prev)?"":concat$a([printOpeningTagPrefix(o,h),printOpeningTagStartMarker(o)])}function printOpeningTagEnd(o){return o.firstChild&&needsToBorrowParentOpeningTagEndMarker(o.firstChild)?"":printOpeningTagEndMarker(o)}function printClosingTag(o,h){return concat$a([o.isSelfClosing?"":printClosingTagStart(o,h),printClosingTagEnd(o,h)])}function printClosingTagStart(o,h){return o.lastChild&&needsToBorrowParentClosingTagStartMarker(o.lastChild)?"":concat$a([printClosingTagPrefix(o,h),printClosingTagStartMarker(o,h)])}function printClosingTagEnd(o,h){return(o.next?needsToBorrowPrevClosingTagEndMarker(o.next):needsToBorrowLastChildClosingTagEndMarker(o.parent))?"":concat$a([printClosingTagEndMarker(o,h),printClosingTagSuffix(o,h)])}function needsToBorrowNextOpeningTagStartMarker(o){return o.next&&!Hf(o.next)&&Hf(o)&&o.isTrailingSpaceSensitive&&!o.hasTrailingSpaces}function needsToBorrowParentOpeningTagEndMarker(o){return!o.prev&&o.isLeadingSpaceSensitive&&!o.hasLeadingSpaces}function needsToBorrowPrevClosingTagEndMarker(o){return o.prev&&!Hf(o.prev)&&o.isLeadingSpaceSensitive&&!o.hasLeadingSpaces}function needsToBorrowLastChildClosingTagEndMarker(o){return o.lastChild&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces&&!Hf(qf(o.lastChild))}function needsToBorrowParentClosingTagStartMarker(o){return!o.next&&!o.hasTrailingSpaces&&o.isTrailingSpaceSensitive&&Hf(qf(o))}function printOpeningTagPrefix(o,h){return needsToBorrowParentOpeningTagEndMarker(o)?printOpeningTagEndMarker(o.parent):needsToBorrowPrevClosingTagEndMarker(o)?printClosingTagEndMarker(o.prev,h):""}function printClosingTagPrefix(o,h){return needsToBorrowLastChildClosingTagEndMarker(o)?printClosingTagEndMarker(o.lastChild,h):""}function printClosingTagSuffix(o,h){return needsToBorrowParentClosingTagStartMarker(o)?printClosingTagStartMarker(o.parent,h):needsToBorrowNextOpeningTagStartMarker(o)?printOpeningTagStartMarker(o.next):""}function printOpeningTagStartMarker(o){switch(o.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(o.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(o.rawName);default:return"<".concat(o.rawName)}}function printOpeningTagEndMarker(o){switch(o.isSelfClosing,o.type){case"ieConditionalComment":return"]>";case"element":if(o.condition)return">\x3c!--"}}function printClosingTagStartMarker(o,h){if(o.isSelfClosing,Yf(o,h))return"";switch(o.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(o.isSelfClosing)return"/>";default:return">"}}function getTextValueParts(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.value;return o.parent.isWhitespaceSensitive?o.parent.isIndentationSensitive?Xf(h,Pf):Xf(Rf(h.replace(/^\s*?\n|\n\s*?$/g,"")),wf):_f(Ff,h.split(/[\t\n\f\r ]+/)).parts}var nh={preprocess:Qp,print:function genericPrint$2(o,h,E){var x,C=o.getValue();switch(C.type){case"root":return h.__onHtmlRoot&&h.__onHtmlRoot(C),vf.concat([Sf(printChildren$1(o,h,E)),wf]);case"element":case"ieConditionalComment":var T=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,P=Symbol("element-attr-group-id");return concat$a([Sf(concat$a([Sf(printOpeningTag(o,h,E),{id:P}),0===C.children.length?C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?Ff:"":concat$a([Lf(C)?bf:"",(x=concat$a([T?kf(Nf,"",{groupId:P}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?Ff:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?Cf(Nf):Nf,printChildren$1(o,h,E)]),T?kf(Tf(x),x,{groupId:P}):Gf(C)&&"root"===C.parent.type&&"vue"===h.parser&&!h.vueIndentScriptAndStyle?x:Tf(x)),(C.next?needsToBorrowPrevClosingTagEndMarker(C.next):needsToBorrowLastChildClosingTagEndMarker(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":T?kf(Nf,"",{groupId:P}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?Ff:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp("\\n\\s{".concat(h.tabWidth*Of(o,(function(o){return o.parent&&"root"!==o.parent.type})),"}$")).test(C.lastChild.value)?"":Nf])])),printClosingTag(C,h)]);case"ieConditionalStartComment":case"ieConditionalEndComment":return concat$a([printOpeningTagStart(C),printClosingTagEnd(C)]);case"interpolation":return concat$a([printOpeningTagStart(C,h),concat$a(o.map(E,"children")),printClosingTagEnd(C,h)]);case"text":if("interpolation"===C.parent.type){var N=/\n[^\S\n]*?$/,R=N.test(C.value),j=R?C.value.replace(N,""):C.value;return concat$a([concat$a(Xf(j,Pf)),R?wf:""])}return Af(zf([].concat(printOpeningTagPrefix(C,h),getTextValueParts(C),printClosingTagSuffix(C,h))));case"docType":return concat$a([Sf(concat$a([printOpeningTagStart(C,h)," ",C.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),printClosingTagEnd(C,h)]);case"comment":return concat$a([printOpeningTagPrefix(C,h),concat$a(Xf(h.originalText.slice(h.locStart(C),h.locEnd(C)),Pf)),printClosingTagSuffix(C,h)]);case"attribute":if(null===C.value)return C.rawName;var ee=Jf(C.value),re=If(ee,"'")1&&void 0!==arguments[1])||arguments[1];return Sf(concat$a([Tf(concat$a([Nf,o])),h?Nf:""]))},R=function printMaybeHug(o){return T?function printHug(o){return Sf(o)}(o):N(o)},j=function textToDoc(o,E){return h(o,Object.assign({__onHtmlBindingRoot:P},E))};if("srcset"===o.fullName&&("img"===o.parent.fullName||"source"===o.parent.fullName))return N(th(C()));if("class"===o.fullName&&!E.parentParser){var ee=C();if(!ee.includes("{{"))return rh(ee)}if("style"===o.fullName&&!E.parentParser){var re=C();if(!re.includes("{{"))return N(j(re,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===E.parser){if("v-for"===o.fullName)return Qf(C(),j);if("slot-scope"===o.fullName)return Zf(C(),j);if(x(["^@","^v-on:"])){var ne=C();return R(eh(ne)?j(ne,{parser:"__js_expression"}):Ef(j(ne,{parser:"__vue_event_binding"})))}if(x(["^:","^v-bind:"]))return R(j(C(),{parser:"__vue_expression"}));if(x(["^v-"]))return R(j(C(),{parser:"__js_expression"}))}if("angular"===E.parser){var ie=function ngTextToDoc(o,h){return j(o,Object.assign({},h,{trailingComma:"none"}))};if(x(["^\\(.+\\)$","^on-"]))return R(ie(C(),{parser:"__ng_action"}));if(x(["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"]))return R(ie(C(),{parser:"__ng_binding"}));if(x(["^i18n(-.+)?$"])){var ae=C().trim();return N(Af(getTextValueParts(o,ae)),!ae.includes("@@"))}if(x(["^\\*"]))return R(ie(C(),{parser:"__ng_directive"}));var se=/\{\{([\s\S]+?)\}\}/g,oe=C();if(se.test(oe)){var ue=[];return oe.split(se).forEach((function(o,h){if(h%2==0)ue.push(concat$a(Xf(o,Pf)));else try{ue.push(Sf(concat$a(["{{",Tf(concat$a([Ff,ie(o,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),Ff,"}}"])))}catch(h){ue.push("{{",concat$a(Xf(o,Pf)),"}}")}})),Sf(concat$a(ue))}}return null}(C,(function(o,h){return E(o,Object.assign({__isInHtmlAttribute:!0},h))}),x);if(N)return concat$a([C.rawName,'="',Sf(xf(N,(function(o){return"string"==typeof o?o.replace(/"/g,"""):o}))),'"']);break;case"yaml":return Bf(concat$a(["---",wf,0===C.value.trim().length?"":E(C.value,{parser:"yaml"}),"---"]))}}},ih={htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},ah=["xhtml"],sh=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],oh={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:ah,extensions:sh,languageId:146},uh=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:ah,extensions:sh,languageId:146,default:oh}),lh=[".vue"],ch={name:"Vue",type:"markup",color:"#2c3e50",extensions:lh,tmScope:"text.html.vue",aceMode:"html",languageId:391},ph=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:lh,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:ch}),fh=getCjsExportFromNamespace(uh),hh=getCjsExportFromNamespace(ph),dh={languages:[wu(fh,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),wu(fh,(function(o){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:o.extensions.concat([".mjml"])}})),wu(fh,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),wu(hh,(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],printers:{html:nh},options:ih},mh=ya.addLeadingComment,yh=ya.addTrailingComment,gh=ya.addDanglingComment,vh=ya.getNextNonSpaceNonCommentCharacterIndex;function addBlockStatementFirstComment(o,h){var E=o.body.filter((function(o){return"EmptyStatement"!==o.type}));0===E.length?gh(o,h):mh(E[0],h)}function addBlockOrNotComment(o,h){"BlockStatement"===o.type?addBlockStatementFirstComment(o,h):mh(o,h)}function handleIfStatementComments(o,h,E,x,C,T){return!(!E||"IfStatement"!==E.type||!x||(")"===sa.getNextNonSpaceNonCommentCharacter(o,C,T.locEnd)?(yh(h,C),0):h===E.consequent&&x===E.alternate?("BlockStatement"===h.type?yh(h,C):gh(E,C),0):"BlockStatement"===x.type?(addBlockStatementFirstComment(x,C),0):"IfStatement"===x.type?(addBlockOrNotComment(x.consequent,C),0):E.consequent!==x||(mh(x,C),0)))}function handleWhileComments(o,h,E,x,C,T){return!(!E||"WhileStatement"!==E.type||!x||(")"===sa.getNextNonSpaceNonCommentCharacter(o,C,T.locEnd)?(yh(h,C),0):"BlockStatement"!==x.type||(addBlockStatementFirstComment(x,C),0)))}function handleTryStatementComments(o,h,E,x){return!(!o||"TryStatement"!==o.type&&"CatchClause"!==o.type||!E||("CatchClause"===o.type&&h?(yh(h,x),0):"BlockStatement"===E.type?(addBlockStatementFirstComment(E,x),0):"TryStatement"===E.type?(addBlockOrNotComment(E.finalizer,x),0):"CatchClause"!==E.type||(addBlockOrNotComment(E.body,x),0)))}function handleClassComments(o,h,E,x){return!(!(o&&("ClassDeclaration"===o.type||"ClassExpression"===o.type)&&o.decorators&&o.decorators.length>0)||E&&"Decorator"===E.type||(o.decorators&&0!==o.decorators.length?yh(o.decorators[o.decorators.length-1],x):mh(o,x),0))}function handleMethodNameComments(o,h,E,x,C){return(h&&E&&("Property"===h.type||"TSDeclareMethod"===h.type||"TSAbstractMethodDefinition"===h.type)&&"Identifier"===E.type&&h.key===E&&":"!==sa.getNextNonSpaceNonCommentCharacter(o,E,C.locEnd)||!(!E||!h||"Decorator"!==E.type||"ClassMethod"!==h.type&&"ClassProperty"!==h.type&&"TSAbstractClassProperty"!==h.type&&"TSAbstractMethodDefinition"!==h.type&&"TSDeclareMethod"!==h.type&&"MethodDefinition"!==h.type))&&(yh(E,x),!0)}function handleLastFunctionArgComments(o,h,E,x,C,T){if(h&&"FunctionTypeParam"===h.type&&E&&"FunctionTypeAnnotation"===E.type&&x&&"FunctionTypeParam"!==x.type)return yh(h,C),!0;if(h&&("Identifier"===h.type||"AssignmentPattern"===h.type)&&E&&isRealFunctionLikeNode(E)&&")"===sa.getNextNonSpaceNonCommentCharacter(o,C,T.locEnd))return yh(h,C),!0;if(E&&"FunctionDeclaration"===E.type&&x&&"BlockStatement"===x.type){var P=function(){if(0!==(E.params||E.parameters).length)return sa.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(o,T.locEnd(sa.getLast(E.params||E.parameters)));var h=sa.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(o,T.locEnd(E.id));return sa.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(o,h+1)}();if(T.locStart(C)>P)return addBlockStatementFirstComment(x,C),!0}return!1}function handleImportSpecifierComments(o,h){return!(!o||"ImportSpecifier"!==o.type||(mh(o,h),0))}function handleLabeledStatementComments(o,h){return!(!o||"LabeledStatement"!==o.type||(mh(o,h),0))}function handleOnlyComments(o,h,E,x){return h&&h.body&&0===h.body.length?(x?gh(h,E):mh(h,E),!0):!(!o||"Program"!==o.type||0!==o.body.length||!o.directives||0!==o.directives.length||(x?gh(o,E):mh(o,E),0))}function isBlockComment(o){return"Block"===o.type||"CommentBlock"===o.type}function isRealFunctionLikeNode(o){return"ArrowFunctionExpression"===o.type||"FunctionExpression"===o.type||"FunctionDeclaration"===o.type||"ObjectMethod"===o.type||"ClassMethod"===o.type||"TSDeclareFunction"===o.type||"TSCallSignatureDeclaration"===o.type||"TSConstructSignatureDeclaration"===o.type||"TSConstructSignatureDeclaration"===o.type||"TSMethodSignature"===o.type||"TSConstructorType"===o.type||"TSFunctionType"===o.type||"TSDeclareMethod"===o.type}function isTypeCastComment(o){return isBlockComment(o)&&"*"===o.value[0]&&/@type\b/.test(o.value)}var Dh={handleOwnLineComment:function handleOwnLineComment(o,h,E,x,C){var T=o.precedingNode,P=o.enclosingNode,N=o.followingNode;return handleLastFunctionArgComments(h,T,P,N,o,E)||function handleMemberExpressionComments(o,h,E){return!(!o||"MemberExpression"!==o.type&&"OptionalMemberExpression"!==o.type||!h||"Identifier"!==h.type)&&(mh(o,E),!0)}(P,N,o)||handleIfStatementComments(h,T,P,N,o,E)||handleWhileComments(h,T,P,N,o,E)||handleTryStatementComments(P,T,N,o)||handleClassComments(P,0,N,o)||handleImportSpecifierComments(P,o)||function handleForComments(o,h,E){return!(!o||"ForInStatement"!==o.type&&"ForOfStatement"!==o.type)&&(mh(o,E),!0)}(P,0,o)||function handleUnionTypeComments(o,h,E,x){return!h||"UnionTypeAnnotation"!==h.type&&"TSUnionType"!==h.type?(E&&("UnionTypeAnnotation"===E.type||"TSUnionType"===E.type)&&sa.isNodeIgnoreComment(x)&&(E.types[0].prettierIgnore=!0,x.unignore=!0),!1):(sa.isNodeIgnoreComment(x)&&(E.prettierIgnore=!0,x.unignore=!0),!!o&&(yh(o,x),!0))}(T,P,N,o)||handleOnlyComments(P,x,o,C)||function handleImportDeclarationComments(o,h,E,x,C){return!!(E&&"ImportSpecifier"===E.type&&h&&"ImportDeclaration"===h.type&&sa.hasNewline(o,C.locEnd(x)))&&(yh(E,x),!0)}(h,P,T,o,E)||function handleAssignmentPatternComments(o,h){return!(!o||"AssignmentPattern"!==o.type)&&(mh(o,h),!0)}(P,o)||handleMethodNameComments(h,P,T,o,E)||handleLabeledStatementComments(P,o)},handleEndOfLineComment:function handleEndOfLineComment(o,h,E,x,C){var T=o.precedingNode,P=o.enclosingNode,N=o.followingNode;return function handleClosureTypeCastComments(o,h){return!(!o||!isTypeCastComment(h))&&(mh(o,h),!0)}(N,o)||handleLastFunctionArgComments(h,T,P,N,o,E)||function handleConditionalExpressionComments(o,h,E,x,C,T){var P=h&&!sa.hasNewlineInRange(C,T.locEnd(h),T.locStart(x));return!(h&&P||!o||"ConditionalExpression"!==o.type||!E)&&(mh(E,x),!0)}(P,T,N,o,h,E)||handleImportSpecifierComments(P,o)||handleIfStatementComments(h,T,P,N,o,E)||handleWhileComments(h,T,P,N,o,E)||handleTryStatementComments(P,T,N,o)||handleClassComments(P,0,N,o)||handleLabeledStatementComments(P,o)||function handleCallExpressionComments(o,h,E){return!!(h&&("CallExpression"===h.type||"OptionalCallExpression"===h.type)&&o&&h.callee===o&&h.arguments.length>0)&&(mh(h.arguments[0],E),!0)}(T,P,o)||function handlePropertyComments(o,h){return!(!o||"Property"!==o.type&&"ObjectProperty"!==o.type)&&(mh(o,h),!0)}(P,o)||handleOnlyComments(P,x,o,C)||function handleTypeAliasComments(o,h,E){return!(!o||"TypeAlias"!==o.type)&&(mh(o,E),!0)}(P,0,o)||function handleVariableDeclaratorComments(o,h,E){return!(!o||"VariableDeclarator"!==o.type&&"AssignmentExpression"!==o.type||!h||"ObjectExpression"!==h.type&&"ArrayExpression"!==h.type&&"TemplateLiteral"!==h.type&&"TaggedTemplateExpression"!==h.type&&!isBlockComment(E))&&(mh(h,E),!0)}(P,N,o)},handleRemainingComment:function handleRemainingComment(o,h,E,x,C){var T=o.precedingNode,P=o.enclosingNode,N=o.followingNode;return!!(handleIfStatementComments(h,T,P,N,o,E)||handleWhileComments(h,T,P,N,o,E)||function handleObjectPropertyAssignment(o,h,E){return!(!o||"ObjectProperty"!==o.type&&"Property"!==o.type||!o.shorthand||o.key!==h||"AssignmentPattern"!==o.value.type)&&(yh(o.value.left,E),!0)}(P,T,o)||function handleCommentInEmptyParens(o,h,E,x){return")"===sa.getNextNonSpaceNonCommentCharacter(o,E,x.locEnd)&&(h&&(isRealFunctionLikeNode(h)&&0===(h.params||h.parameters).length||("CallExpression"===h.type||"OptionalCallExpression"===h.type||"NewExpression"===h.type)&&0===h.arguments.length)?(gh(h,E),!0):!(!h||"MethodDefinition"!==h.type||0!==h.value.params.length)&&(gh(h.value,E),!0))}(h,P,o,E)||handleMethodNameComments(h,P,T,o,E)||handleOnlyComments(P,x,o,C)||function handleCommentAfterArrowParams(o,h,E,x){if(!h||"ArrowFunctionExpression"!==h.type)return!1;var C=vh(o,E,x.locEnd);return"=>"===o.slice(C,C+2)&&(gh(h,E),!0)}(h,P,o,E)||function handleFunctionNameComments(o,h,E,x,C){return"("===sa.getNextNonSpaceNonCommentCharacter(o,x,C.locEnd)&&(!(!E||!h||"FunctionDeclaration"!==h.type&&"FunctionExpression"!==h.type&&"ClassMethod"!==h.type&&"MethodDefinition"!==h.type&&"ObjectMethod"!==h.type)&&(yh(E,x),!0))}(h,P,T,o,E)||function handleTSMappedTypeComments(o,h,E,x,C){return!(!h||"TSMappedType"!==h.type)&&(x&&"TSTypeParameter"===x.type&&x.name?(mh(x.name,C),!0):!(!E||"TSTypeParameter"!==E.type||!E.constraint)&&(yh(E.constraint,C),!0))}(0,P,T,N,o)||function handleBreakAndContinueStatementComments(o,h){return!(!o||"ContinueStatement"!==o.type&&"BreakStatement"!==o.type||o.label)&&(yh(o,h),!0)}(P,o)||function handleTSFunctionTrailingComments(o,h,E,x,C){return!(E||!h||"TSMethodSignature"!==h.type&&"TSDeclareFunction"!==h.type&&"TSAbstractMethodDefinition"!==h.type||";"!==sa.getNextNonSpaceNonCommentCharacter(o,x,C.locEnd))&&(yh(h,x),!0)}(h,P,N,o,E))},hasLeadingComment:function hasLeadingComment(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return o.leadingComments?o.leadingComments.some(h):!!o.comments&&o.comments.some((function(o){return o.leading&&h(o)}))},isBlockComment:isBlockComment,isTypeCastComment:isTypeCastComment,getGapRegex:function getGapRegex(o){if(o&&"BinaryExpression"!==o.type&&"LogicalExpression"!==o.type)return/^[\s(&|]*$/},getCommentChildNodes:function getCommentChildNodes(o,h){if(("typescript"===h.parser||"flow"===h.parser)&&"MethodDefinition"===o.type&&o.value&&"FunctionExpression"===o.value.type&&0===o.value.params.length&&!o.value.returnType&&(!o.value.typeParameters||0===o.value.typeParameters.length)&&o.value.body)return[].concat((0,ee.default)(o.decorators||[]),[o.key,o.value.body])}},Eh=Dh.isBlockComment,xh=Dh.hasLeadingComment,bh=ma.builders,Ch=bh.indent,Ah=bh.join,Sh=bh.line,wh=bh.hardline,kh=bh.softline,Th=bh.literalline,_h=bh.concat,Fh=bh.group,Ph=bh.dedentToRoot,Bh=ma.utils,Nh=Bh.mapDoc,Ih=Bh.stripTrailingHardline;function uncook(o){return o.replace(/([\\`]|\$\{)/g,"\\$1")}function escapeTemplateCharacters(o,h){return Nh(o,(function(o){if(!o.parts)return o;var E=[];return o.parts.forEach((function(o){"string"==typeof o?E.push(h?o.replace(/(\\*)`/g,"$1$1\\`"):uncook(o)):E.push(o)})),Object.assign({},o,{parts:E})}))}function printGraphqlComments(o){var h=[],E=!1;return o.map((function(o){return o.trim()})).forEach((function(o,x,C){""!==o&&(""===C[x-1]&&E?h.push(_h([wh,o])):h.push(o),E=!0)})),0===h.length?null:Ah(wh,h)}function isStyledJsx(o){var h=o.getValue(),E=o.getParentNode(),x=o.getParentNode(1);return x&&h.quasis&&"JSXExpressionContainer"===E.type&&"JSXElement"===x.type&&"style"===x.openingElement.name.name&&x.openingElement.attributes.some((function(o){return"jsx"===o.name.name}))||E&&"TaggedTemplateExpression"===E.type&&"Identifier"===E.tag.type&&"css"===E.tag.name||E&&"TaggedTemplateExpression"===E.type&&"MemberExpression"===E.tag.type&&"css"===E.tag.object.name&&("global"===E.tag.property.name||"resolve"===E.tag.property.name)}function isAngularComponentStyles(o){return o.match.apply(o,[function(o){return"TemplateLiteral"===o.type},function(o,h){return"ArrayExpression"===o.type&&"elements"===h},function(o,h){return("Property"===o.type||"ObjectProperty"===o.type)&&"Identifier"===o.key.type&&"styles"===o.key.name&&"value"===h}].concat(Oh))}var Oh=[function(o,h){return"ObjectExpression"===o.type&&"properties"===h},function(o,h){return"CallExpression"===o.type&&"Identifier"===o.callee.type&&"Component"===o.callee.name&&"arguments"===h},function(o,h){return"Decorator"===o.type&&"expression"===h}];function isStyledComponents(o){var h=o.getParentNode();if(!h||"TaggedTemplateExpression"!==h.type)return!1;var E=h.tag;switch(E.type){case"MemberExpression":return isStyledIdentifier(E.object)||isStyledExtend(E);case"CallExpression":return isStyledIdentifier(E.callee)||"MemberExpression"===E.callee.type&&("MemberExpression"===E.callee.object.type&&(isStyledIdentifier(E.callee.object.object)||isStyledExtend(E.callee.object))||"CallExpression"===E.callee.object.type&&isStyledIdentifier(E.callee.object.callee));case"Identifier":return"css"===E.name;default:return!1}}function isCssProp(o){var h=o.getParentNode(),E=o.getParentNode(1);return E&&"JSXExpressionContainer"===h.type&&"JSXAttribute"===E.type&&"JSXIdentifier"===E.name.type&&"css"===E.name.name}function isStyledIdentifier(o){return"Identifier"===o.type&&"styled"===o.name}function isStyledExtend(o){return/^[A-Z]/.test(o.object.name)&&"extend"===o.property.name}function hasLanguageComment(o,h){return xh(o,(function(o){return Eh(o)&&o.value===" ".concat(h," ")}))}var Rh=0,Mh=function embed$3(o,h,E,x){var C=o.getValue(),T=o.getParentNode(),P=o.getParentNode(1);switch(C.type){case"TemplateLiteral":if([isStyledJsx,isStyledComponents,isCssProp,isAngularComponentStyles].some((function(h){return h(o)}))){var N=C.quasis.map((function(o){return o.value.raw})),R=0,j=N.reduce((function(o,h,E){return 0===E?h:o+"@prettier-placeholder-"+R+++"-id"+h}),"");return function transformCssDoc(o,h,E){var x=h.getValue();if(1===x.quasis.length&&!x.quasis[0].value.raw.trim())return"``";var C=x.expressions?h.map(E,"expressions"):[],T=function replacePlaceholders(o,h){if(!h||!h.length)return o;var E=h.slice(),x=0,C=Nh(o,(function(o){if(!o||!o.parts||!o.parts.length)return o;var h=o.parts,C=h.indexOf("@"),T=C+1;if(C>-1&&"string"==typeof h[T]&&h[T].startsWith("prettier-placeholder")){var P=h[C],N=h[T],R=h.slice(T+1);h=h.slice(0,C).concat([P+N]).concat(R)}var j=h.findIndex((function(o){return"string"==typeof o&&o.startsWith("@prettier-placeholder")}));if(j>-1){var ee=h[j],re=h.slice(j+1),ne=ee.match(/@prettier-placeholder-(.+)-id([\s\S]*)/),ie=ne[1],ae=ne[2],se=E[ie];x++,h=h.slice(0,j).concat(["${",se,"}"+ae]).concat(re)}return Object.assign({},o,{parts:h})}));return E.length===x?C:null}(o,C);if(!T)throw new Error("Couldn't insert all the expressions");return _h(["`",Ch(_h([wh,Ih(T)])),kh,"`"])}(E(j,{parser:"scss"}),o,h)}if(function isGraphQL(o){var h=o.getValue(),E=o.getParentNode();return hasLanguageComment(h,"GraphQL")||E&&("TaggedTemplateExpression"===E.type&&("MemberExpression"===E.tag.type&&"graphql"===E.tag.object.name&&"experimental"===E.tag.property.name||"Identifier"===E.tag.type&&("gql"===E.tag.name||"graphql"===E.tag.name))||"CallExpression"===E.type&&"Identifier"===E.callee.type&&"graphql"===E.callee.name)}(o)){var ee=C.expressions?o.map(h,"expressions"):[],re=C.quasis.length;if(1===re&&""===C.quasis[0].value.raw.trim())return"``";for(var ne=[],ie=0;ie2&&""===ue[0].trim()&&""===ue[1].trim(),fe=le>2&&""===ue[le-1].trim()&&""===ue[le-2].trim(),he=ue.every((function(o){return/^\s*(?:#[^\r\n]*)?$/.test(o)}));if(!se&&/#[^\r\n]*$/.test(ue[le-1]))return null;var de=null;(de=he?printGraphqlComments(ue):Ih(E(oe,{parser:"graphql"})))?(de=escapeTemplateCharacters(de,!1),!ae&&pe&&ne.push(""),ne.push(de),!se&&fe&&ne.push("")):ae||se||!pe||ne.push(""),ce&&ne.push(_h(["${",ce,"}"]))}return _h(["`",Ch(_h([wh,Ah(wh,ne)])),wh,"`"])}var me=function isHtml(o){return hasLanguageComment(o.getValue(),"HTML")||o.match((function(o){return"TemplateLiteral"===o.type}),(function(o,h){return"TaggedTemplateExpression"===o.type&&"Identifier"===o.tag.type&&"html"===o.tag.name&&"quasi"===h}))}(o)?"html":function isAngularComponentTemplate(o){return o.match.apply(o,[function(o){return"TemplateLiteral"===o.type},function(o,h){return("Property"===o.type||"ObjectProperty"===o.type)&&"Identifier"===o.key.type&&"template"===o.key.name&&"value"===h}].concat(Oh))}(o)?"angular":void 0;if(me)return function printHtmlTemplateLiteral(o,h,E,x,C){var T=o.getValue(),P=Rh;Rh=Rh+1>>>0;var N=function composePlaceholder(o){return"PRETTIER_HTML_PLACEHOLDER_".concat(o,"_").concat(P,"_IN_JS")},R=T.quasis.map((function(o,h,E){return h===E.length-1?o.value.cooked:o.value.cooked+N(h)})).join(""),j=o.map(h,"expressions");if(0===j.length&&0===R.trim().length)return"``";var ee=new RegExp(N("(\\d+)"),"g"),re=0,ne=Nh(Ih(E(R,{parser:x,__onHtmlRoot:function __onHtmlRoot(o){re=o.children.length}})),(function(o){if("string"!=typeof o)return o;for(var h=[],E=o.split(ee),x=0;x1?Ch(Fh(ne)):Fh(ne),ae,"`"]))}(o,h,E,me,x);break;case"TemplateElement":if(P&&"TaggedTemplateExpression"===P.type&&1===T.quasis.length&&"Identifier"===P.tag.type&&("md"===P.tag.name||"markdown"===P.tag.name)){var ye=T.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(o,h){return"\\".repeat(h.length/2)+"`"})),ge=function getIndentation(o){var h=o.match(/^([^\S\n]*)\S/m);return null===h?"":h[1]}(ye);return _h([""!==ge?Ch(_h([kh,printMarkdown(ye.replace(new RegExp("^".concat(ge),"gm"),""))])):_h([Th,Ph(printMarkdown(ye))]),kh])}}function printMarkdown(o){var h=E(o,{parser:"markdown",__inJsTemplate:!0});return Ih(escapeTemplateCharacters(h,!0))}},Lh=function clean$4(o,h,E){if(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","flags","errors"].forEach((function(o){delete h[o]})),o.loc&&null===o.loc.source&&delete h.loc.source,"BigIntLiteral"===o.type&&(h.value=h.value.toLowerCase()),"EmptyStatement"===o.type)return null;if("JSXText"===o.type)return null;if("JSXExpressionContainer"===o.type&&"Literal"===o.expression.type&&" "===o.expression.value)return null;if("TSParameterProperty"===o.type&&null===o.accessibility&&!o.readonly)return{type:"Identifier",name:o.parameter.name,typeAnnotation:h.parameter.typeAnnotation,decorators:h.decorators};"TSNamespaceExportDeclaration"===o.type&&o.specifiers&&0===o.specifiers.length&&delete h.specifiers,"JSXOpeningElement"===o.type&&delete h.selfClosing,"JSXElement"===o.type&&delete h.closingElement,"Property"!==o.type&&"ObjectProperty"!==o.type&&"MethodDefinition"!==o.type&&"ClassProperty"!==o.type&&"TSPropertySignature"!==o.type&&"ObjectTypeProperty"!==o.type||"object"!==(0,ce.default)(o.key)||!o.key||"Literal"!==o.key.type&&"StringLiteral"!==o.key.type&&"Identifier"!==o.key.type||delete h.key,"OptionalMemberExpression"===o.type&&!1===o.optional&&(h.type="MemberExpression",delete h.optional),"JSXElement"===o.type&&"style"===o.openingElement.name.name&&o.openingElement.attributes.some((function(o){return"jsx"===o.name.name}))&&h.children.filter((function(o){return"JSXExpressionContainer"===o.type&&"TemplateLiteral"===o.expression.type})).map((function(o){return o.expression})).reduce((function(o,h){return o.concat(h.quasis)}),[]).forEach((function(o){return delete o.value})),"JSXAttribute"===o.type&&"css"===o.name.name&&"JSXExpressionContainer"===o.value.type&&"TemplateLiteral"===o.value.expression.type&&h.value.expression.quasis.forEach((function(o){return delete o.value}));var x=o.expression||o.callee;if("Decorator"===o.type&&"CallExpression"===x.type&&"Component"===x.callee.name&&1===x.arguments.length){var C=o.expression.arguments[0].properties;h.expression.arguments[0].properties.forEach((function(o,h){var E=null;switch(C[h].key.name){case"styles":"ArrayExpression"===o.value.type&&(E=o.value.elements[0]);break;case"template":"TemplateLiteral"===o.value.type&&(E=o.value)}E&&E.quasis.forEach((function(o){return delete o.value}))}))}"TaggedTemplateExpression"!==o.type||"MemberExpression"!==o.tag.type&&("Identifier"!==o.tag.type||"gql"!==o.tag.name&&"graphql"!==o.tag.name&&"css"!==o.tag.name&&"md"!==o.tag.name&&"markdown"!==o.tag.name&&"html"!==o.tag.name)&&"CallExpression"!==o.tag.type||h.quasi.quasis.forEach((function(o){return delete o.value})),"TemplateLiteral"===o.type&&(o.leadingComments&&o.leadingComments.some((function(o){return"CommentBlock"===o.type&&["GraphQL","HTML"].some((function(h){return o.value===" ".concat(h," ")}))}))||"CallExpression"===E.type&&"graphql"===E.callee.name)&&h.quasis.forEach((function(o){return delete o.value}))},jh=sa.getLast,qh=sa.hasNewline,Vh=sa.hasNewlineInRange,Uh=sa.hasIgnoreComment,Wh=sa.hasNodeIgnoreComment,Gh=sa.skipWhitespace,Hh=ai.keyword.isIdentifierNameES5,zh=new RegExp("^".concat("(?:(?=.)\\s)","*:")),Kh=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function hasNode(o,h){if(!o||"object"!==(0,ce.default)(o))return!1;if(Array.isArray(o))return o.some((function(o){return hasNode(o,h)}));var E=h(o);return"boolean"==typeof E?E:Object.keys(o).some((function(E){return hasNode(o[E],h)}))}function hasNakedLeftSide(o){return"AssignmentExpression"===o.type||"BinaryExpression"===o.type||"LogicalExpression"===o.type||"NGPipeExpression"===o.type||"ConditionalExpression"===o.type||"CallExpression"===o.type||"OptionalCallExpression"===o.type||"MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"BindExpression"===o.type||"UpdateExpression"===o.type&&!o.prefix||"TSAsExpression"===o.type||"TSNonNullExpression"===o.type}var Yh=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function isExportDeclaration(o){return o&&Yh.has(o.type)}function isLiteral(o){return"BooleanLiteral"===o.type||"DirectiveLiteral"===o.type||"Literal"===o.type||"NullLiteral"===o.type||"NumericLiteral"===o.type||"RegExpLiteral"===o.type||"StringLiteral"===o.type||"TemplateLiteral"===o.type||"TSTypeLiteral"===o.type||"JSXText"===o.type}function isNumericLiteral(o){return"NumericLiteral"===o.type||"Literal"===o.type&&"number"==typeof o.value}function isStringLiteral(o){return"StringLiteral"===o.type||"Literal"===o.type&&"string"==typeof o.value}function isFunctionOrArrowExpression(o){return"FunctionExpression"===o.type||"ArrowFunctionExpression"===o.type}function isAngularTestWrapper(o){return!("CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"Identifier"!==o.callee.type||"async"!==o.callee.name&&"inject"!==o.callee.name&&"fakeAsync"!==o.callee.name)}function isJSXNode(o){return"JSXElement"===o.type||"JSXFragment"===o.type}function isGetterOrSetter(o){return"get"===o.kind||"set"===o.kind}function sameLocStart(o,h,E){return E.locStart(o)===E.locStart(h)}function isFunctionNotation(o,h){return isGetterOrSetter(o)||sameLocStart(o,o.value,h)}var $h=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),Jh=/^(skip|[fx]?(it|describe|test))$/;function isCallOrOptionalCallExpression(o){return"CallExpression"===o.type||"OptionalCallExpression"===o.type}var Xh=new RegExp("([ \n\r\t]+)"),Qh=new RegExp("[^ \n\r\t]");function isMeaningfulJSXText(o){return isLiteral(o)&&(Qh.test(rawText(o))||!/\n/.test(rawText(o)))}function hasLeadingOwnLineComment(o,h,E){return isJSXNode(h)?Wh(h):h.comments&&h.comments.some((function(h){return h.leading&&qh(o,E.locEnd(h))}))}function templateLiteralHasNewLines(o){return o.quasis.some((function(o){return o.value.raw.includes("\n")}))}function rawText(o){return o.extra?o.extra.raw:o.raw}var Zh={classChildNeedsASIProtection:function classChildNeedsASIProtection(o){if(o){if(o.static||o.accessibility)return!1;if(!o.computed){var h=o.key&&o.key.name;if("in"===h||"instanceof"===h)return!0}switch(o.type){case"ClassProperty":case"TSAbstractClassProperty":return o.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":var E=o.value?o.value.async:o.async,x=o.value?o.value.generator:o.generator;return!(E||"get"===o.kind||"set"===o.kind||!o.computed&&!x);case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function classPropMayCauseASIProblems(o){var h=o.getNode();if("ClassProperty"!==h.type)return!1;var E=h.key&&h.key.name;return!("static"!==E&&"get"!==E&&"set"!==E||h.value||h.typeAnnotation)||void 0},conditionalExpressionChainContainsJSX:function conditionalExpressionChainContainsJSX(o){return Boolean(function getConditionalChainContents(o){var h=[];return function recurse(o){"ConditionalExpression"===o.type?(recurse(o.test),recurse(o.consequent),recurse(o.alternate)):h.push(o)}(o),h}(o).find(isJSXNode))},getFlowVariance:function getFlowVariance(o){if(!o.variance)return null;var h=o.variance.kind||o.variance;switch(h){case"plus":return"+";case"minus":return"-";default:return h}},getLeftSidePathName:function getLeftSidePathName(o,h){if(h.expressions)return["expressions",0];if(h.left)return["left"];if(h.test)return["test"];if(h.object)return["object"];if(h.callee)return["callee"];if(h.tag)return["tag"];if(h.argument)return["argument"];if(h.expression)return["expression"];throw new Error("Unexpected node has no left side",h)},getParentExportDeclaration:function getParentExportDeclaration(o){var h=o.getParentNode();return"declaration"===o.getName()&&isExportDeclaration(h)?h:null},getTypeScriptMappedTypeModifier:function getTypeScriptMappedTypeModifier(o,h){return"+"===o?"+"+h:"-"===o?"-"+h:h},hasDanglingComments:function hasDanglingComments(o){return o.comments&&o.comments.some((function(o){return!o.leading&&!o.trailing}))},hasFlowAnnotationComment:function hasFlowAnnotationComment(o){return o&&o[0].value.match(Kh)},hasFlowShorthandAnnotationComment:function hasFlowShorthandAnnotationComment(o){return o.extra&&o.extra.parenthesized&&o.trailingComments&&o.trailingComments[0].value.match(zh)},hasLeadingComment:function hasLeadingComment$2(o){return o.comments&&o.comments.some((function(o){return o.leading}))},hasLeadingOwnLineComment:hasLeadingOwnLineComment,hasNakedLeftSide:hasNakedLeftSide,hasNewlineBetweenOrAfterDecorators:function hasNewlineBetweenOrAfterDecorators(o,h){return Vh(h.originalText,h.locStart(o.decorators[0]),h.locEnd(jh(o.decorators)))||qh(h.originalText,h.locEnd(jh(o.decorators)))},hasNgSideEffect:function hasNgSideEffect(o){return hasNode(o.getValue(),(function(o){switch(o.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))},hasNode:hasNode,hasPrettierIgnore:function hasPrettierIgnore$4(o){return Uh(o)||function hasJsxIgnoreComment(o){var h=o.getValue(),E=o.getParentNode();if(!(E&&h&&isJSXNode(h)&&isJSXNode(E)))return!1;for(var x=null,C=E.children.indexOf(h);C>0;C--){var T=E.children[C-1];if("JSXText"!==T.type||isMeaningfulJSXText(T)){x=T;break}}return x&&"JSXExpressionContainer"===x.type&&"JSXEmptyExpression"===x.expression.type&&x.expression.comments&&x.expression.comments.find((function(o){return"prettier-ignore"===o.value.trim()}))}(o)},hasTrailingComment:function hasTrailingComment(o){return o.comments&&o.comments.some((function(o){return o.trailing}))},identity:function identity$1(o){return o},isBinaryish:function isBinaryish(o){return $h.has(o.type)},isCallOrOptionalCallExpression:isCallOrOptionalCallExpression,isEmptyJSXElement:function isEmptyJSXElement(o){if(0===o.children.length)return!0;if(o.children.length>1)return!1;var h=o.children[0];return isLiteral(h)&&!isMeaningfulJSXText(h)},isExportDeclaration:isExportDeclaration,isFlowAnnotationComment:function isFlowAnnotationComment(o,h,E){var x=E.locStart(h),C=Gh(o,E.locEnd(h));return"/*"===o.slice(x,x+2)&&"*/"===o.slice(C,C+2)},isFunctionCompositionArgs:function isFunctionCompositionArgs(o){if(o.length<=1)return!1;var h,E=0,x=_createForOfIteratorHelper(o);try{for(x.s();!(h=x.n()).done;){var C=h.value;if(isFunctionOrArrowExpression(C)){if((E+=1)>1)return!0}else if(isCallOrOptionalCallExpression(C)){var T,P=_createForOfIteratorHelper(C.arguments);try{for(P.s();!(T=P.n()).done;)if(isFunctionOrArrowExpression(T.value))return!0}catch(o){P.e(o)}finally{P.f()}}}}catch(o){x.e(o)}finally{x.f()}return!1},isFunctionNotation:isFunctionNotation,isFunctionOrArrowExpression:isFunctionOrArrowExpression,isGetterOrSetter:isGetterOrSetter,isJestEachTemplateLiteral:function isJestEachTemplateLiteral(o,h){var E=/^[xf]?(describe|it|test)$/;return"TaggedTemplateExpression"===h.type&&h.quasi===o&&"MemberExpression"===h.tag.type&&"Identifier"===h.tag.property.type&&"each"===h.tag.property.name&&("Identifier"===h.tag.object.type&&E.test(h.tag.object.name)||"MemberExpression"===h.tag.object.type&&"Identifier"===h.tag.object.property.type&&("only"===h.tag.object.property.name||"skip"===h.tag.object.property.name)&&"Identifier"===h.tag.object.object.type&&E.test(h.tag.object.object.name))},isJSXNode:isJSXNode,isJSXWhitespaceExpression:function isJSXWhitespaceExpression(o){return"JSXExpressionContainer"===o.type&&isLiteral(o.expression)&&" "===o.expression.value&&!o.expression.comments},isLastStatement:function isLastStatement(o){var h=o.getParentNode();if(!h)return!0;var E=o.getValue(),x=(h.body||h.consequent).filter((function(o){return"EmptyStatement"!==o.type}));return x&&x[x.length-1]===E},isLiteral:isLiteral,isLongCurriedCallExpression:function isLongCurriedCallExpression(o){var h=o.getValue(),E=o.getParentNode();return isCallOrOptionalCallExpression(h)&&isCallOrOptionalCallExpression(E)&&E.callee===h&&h.arguments.length>E.arguments.length&&E.arguments.length>0},isSimpleCallArgument:function isSimpleCallArgument(o,h){if(h>=2)return!1;var E=function isChildSimple(o){return isSimpleCallArgument(o,h+1)},x="Literal"===o.type&&o.regex&&o.regex.pattern||"RegExpLiteral"===o.type&&o.pattern;return!(x&&x.length>5)&&("Literal"===o.type||"BooleanLiteral"===o.type||"NullLiteral"===o.type||"NumericLiteral"===o.type||"StringLiteral"===o.type||"Identifier"===o.type||"ThisExpression"===o.type||"Super"===o.type||"BigIntLiteral"===o.type||"PrivateName"===o.type||"ArgumentPlaceholder"===o.type||"RegExpLiteral"===o.type||"Import"===o.type||("TemplateLiteral"===o.type?o.expressions.every(E):"ObjectExpression"===o.type?o.properties.every((function(o){return!o.computed&&(o.shorthand||o.value&&E(o.value))})):"ArrayExpression"===o.type?o.elements.every((function(o){return null==o||E(o)})):"CallExpression"===o.type||"OptionalCallExpression"===o.type||"NewExpression"===o.type?isSimpleCallArgument(o.callee,h)&&o.arguments.every(E):"MemberExpression"===o.type||"OptionalMemberExpression"===o.type?isSimpleCallArgument(o.object,h)&&isSimpleCallArgument(o.property,h):"UnaryExpression"!==o.type||"!"!==o.operator&&"-"!==o.operator?"TSNonNullExpression"===o.type&&isSimpleCallArgument(o.expression,h):isSimpleCallArgument(o.argument,h)))},isMeaningfulJSXText:isMeaningfulJSXText,isMemberExpressionChain:function isMemberExpressionChain(o){return("MemberExpression"===o.type||"OptionalMemberExpression"===o.type)&&("Identifier"===o.object.type||isMemberExpressionChain(o.object))},isMemberish:function isMemberish(o){return"MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"BindExpression"===o.type&&o.object},isNgForOf:function isNgForOf(o,h,E){return"NGMicrosyntaxKeyedExpression"===o.type&&"of"===o.key.name&&1===h&&"NGMicrosyntaxLet"===E.body[0].type&&null===E.body[0].value},isNumericLiteral:isNumericLiteral,isObjectType:function isObjectType(o){return"ObjectTypeAnnotation"===o.type||"TSTypeLiteral"===o.type},isObjectTypePropertyAFunction:function isObjectTypePropertyAFunction(o,h){return!("ObjectTypeProperty"!==o.type&&"ObjectTypeInternalSlot"!==o.type||"FunctionTypeAnnotation"!==o.value.type||o.static||isFunctionNotation(o,h))},isSimpleFlowType:function isSimpleFlowType(o){return o&&["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"].includes(o.type)&&!("GenericTypeAnnotation"===o.type&&o.typeParameters)},isSimpleTemplateLiteral:function isSimpleTemplateLiteral(o){return 0!==o.expressions.length&&o.expressions.every((function(o){if(o.comments)return!1;if("Identifier"===o.type||"ThisExpression"===o.type)return!0;if("MemberExpression"===o.type||"OptionalMemberExpression"===o.type){for(var h=o;"MemberExpression"===h.type||"OptionalMemberExpression"===h.type;){if("Identifier"!==h.property.type&&"Literal"!==h.property.type&&"StringLiteral"!==h.property.type&&"NumericLiteral"!==h.property.type)return!1;if((h=h.object).comments)return!1}return"Identifier"===h.type||"ThisExpression"===h.type}return!1}))},isStringLiteral:isStringLiteral,isStringPropSafeToCoerceToIdentifier:function isStringPropSafeToCoerceToIdentifier(o,h){return isStringLiteral(o.key)&&Hh(o.key.value)&&"json"!==h.parser&&!(("typescript"===h.parser||"babel-ts"===h.parser)&&"ClassProperty"===o.type)},isTemplateOnItsOwnLine:function isTemplateOnItsOwnLine(o,h,E){return("TemplateLiteral"===o.type&&templateLiteralHasNewLines(o)||"TaggedTemplateExpression"===o.type&&templateLiteralHasNewLines(o.quasi))&&!qh(h,E.locStart(o),{backwards:!0})},isTestCall:function isTestCall(o,h){if("CallExpression"!==o.type)return!1;if(1===o.arguments.length){if(isAngularTestWrapper(o)&&h&&isTestCall(h))return isFunctionOrArrowExpression(o.arguments[0]);if(function isUnitTestSetUp(o){return"Identifier"===o.callee.type&&/^(before|after)(Each|All)$/.test(o.callee.name)&&1===o.arguments.length}(o))return isAngularTestWrapper(o.arguments[0])}else if((2===o.arguments.length||3===o.arguments.length)&&("Identifier"===o.callee.type&&Jh.test(o.callee.name)||function isSkipOrOnlyBlock(o){return("MemberExpression"===o.callee.type||"OptionalMemberExpression"===o.callee.type)&&"Identifier"===o.callee.object.type&&"Identifier"===o.callee.property.type&&Jh.test(o.callee.object.name)&&("only"===o.callee.property.name||"skip"===o.callee.property.name)}(o))&&(function isTemplateLiteral(o){return"TemplateLiteral"===o.type}(o.arguments[0])||isStringLiteral(o.arguments[0])))return!(o.arguments[2]&&!isNumericLiteral(o.arguments[2]))&&((2===o.arguments.length?isFunctionOrArrowExpression(o.arguments[1]):function isFunctionOrArrowExpressionWithBody(o){return"FunctionExpression"===o.type||"ArrowFunctionExpression"===o.type&&"BlockStatement"===o.body.type}(o.arguments[1])&&o.arguments[1].params.length<=1)||isAngularTestWrapper(o.arguments[1]));return!1},isTheOnlyJSXElementInMarkdown:function isTheOnlyJSXElementInMarkdown(o,h){if("markdown"!==o.parentParser&&"mdx"!==o.parentParser)return!1;var E=h.getNode();if(!E.expression||!isJSXNode(E.expression))return!1;var x=h.getParentNode();return"Program"===x.type&&1===x.body.length},isTSXFile:function isTSXFile(o){return o.filepath&&/\.tsx$/i.test(o.filepath)},isTypeAnnotationAFunction:function isTypeAnnotationAFunction(o,h){return!("TypeAnnotation"!==o.type&&"TSTypeAnnotation"!==o.type||"FunctionTypeAnnotation"!==o.typeAnnotation.type||o.static||sameLocStart(o,o.typeAnnotation,h))},matchJsxWhitespaceRegex:Xh,needsHardlineAfterDanglingComment:function needsHardlineAfterDanglingComment(o){if(!o.comments)return!1;var h=jh(o.comments.filter((function(o){return!o.leading&&!o.trailing})));return h&&!Dh.isBlockComment(h)},rawText:rawText,returnArgumentHasLeadingComment:function returnArgumentHasLeadingComment(o,h){if(hasLeadingOwnLineComment(o.originalText,h,o))return!0;if(hasNakedLeftSide(h))for(var E,x=h;E=(C=x).expressions?C.expressions[0]:C.left||C.test||C.callee||C.object||C.tag||C.argument||C.expression;)if(x=E,hasLeadingOwnLineComment(o.originalText,x,o))return!0;var C;return!1}},ed=Zh.getLeftSidePathName,td=Zh.hasFlowShorthandAnnotationComment,rd=Zh.hasNakedLeftSide,nd=Zh.hasNode;function needsParens(o,h){var E=o.getParentNode();if(!E)return!1;var x=o.getName(),C=o.getNode();if(o.getValue()!==C)return!1;if(h.__isInHtmlInterpolation&&!h.bracketSpacing&&function endsWithRightBracket(o){switch(o.type){case"ObjectExpression":return!0;default:return!1}}(C)&&isFollowedByRightBracket(o))return!0;if(function isStatement(o){return"BlockStatement"===o.type||"BreakStatement"===o.type||"ClassBody"===o.type||"ClassDeclaration"===o.type||"ClassMethod"===o.type||"ClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ContinueStatement"===o.type||"DebuggerStatement"===o.type||"DeclareClass"===o.type||"DeclareExportAllDeclaration"===o.type||"DeclareExportDeclaration"===o.type||"DeclareFunction"===o.type||"DeclareInterface"===o.type||"DeclareModule"===o.type||"DeclareModuleExports"===o.type||"DeclareVariable"===o.type||"DoWhileStatement"===o.type||"EnumDeclaration"===o.type||"ExportAllDeclaration"===o.type||"ExportDefaultDeclaration"===o.type||"ExportNamedDeclaration"===o.type||"ExpressionStatement"===o.type||"ForInStatement"===o.type||"ForOfStatement"===o.type||"ForStatement"===o.type||"FunctionDeclaration"===o.type||"IfStatement"===o.type||"ImportDeclaration"===o.type||"InterfaceDeclaration"===o.type||"LabeledStatement"===o.type||"MethodDefinition"===o.type||"ReturnStatement"===o.type||"SwitchStatement"===o.type||"ThrowStatement"===o.type||"TryStatement"===o.type||"TSDeclareFunction"===o.type||"TSEnumDeclaration"===o.type||"TSImportEqualsDeclaration"===o.type||"TSInterfaceDeclaration"===o.type||"TSModuleDeclaration"===o.type||"TSNamespaceExportDeclaration"===o.type||"TypeAlias"===o.type||"VariableDeclaration"===o.type||"WhileStatement"===o.type||"WithStatement"===o.type}(C))return!1;if("flow"!==h.parser&&td(o.getValue()))return!0;if("Identifier"===C.type)return!!(C.extra&&C.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(C.name));if("ParenthesizedExpression"===E.type)return!1;if(!("ClassDeclaration"!==E.type&&"ClassExpression"!==E.type||E.superClass!==C||"ArrowFunctionExpression"!==C.type&&"AssignmentExpression"!==C.type&&"AwaitExpression"!==C.type&&"BinaryExpression"!==C.type&&"ConditionalExpression"!==C.type&&"LogicalExpression"!==C.type&&"NewExpression"!==C.type&&"ObjectExpression"!==C.type&&"ParenthesizedExpression"!==C.type&&"SequenceExpression"!==C.type&&"TaggedTemplateExpression"!==C.type&&"UnaryExpression"!==C.type&&"UpdateExpression"!==C.type&&"YieldExpression"!==C.type))return!0;if("ExportDefaultDeclaration"===E.type)return function shouldWrapFunctionForExportDefault(o,h){var E=o.getValue(),x=o.getParentNode();return"FunctionExpression"===E.type||"ClassExpression"===E.type?"ExportDefaultDeclaration"===x.type||!needsParens(o,h):!(!rd(E)||"ExportDefaultDeclaration"!==x.type&&needsParens(o,h))&&o.call.apply(o,[function(o){return shouldWrapFunctionForExportDefault(o,h)}].concat((0,ee.default)(ed(o,E))))}(o,h)||"SequenceExpression"===C.type;if("Decorator"===E.type&&E.expression===C){for(var T=!1,P=!1,N=C;N;)switch(N.type){case"MemberExpression":P=!0,N=N.object;break;case"CallExpression":if(P||T)return!0;T=!0,N=N.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===E.type&&E.body===C&&"SequenceExpression"!==C.type&&sa.startsWithNoLookaheadToken(C,!1)||"ExpressionStatement"===E.type&&sa.startsWithNoLookaheadToken(C,!0))return!0;switch(C.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===E.type&&"object"===x&&E.object===C;case"UpdateExpression":if("UnaryExpression"===E.type)return C.prefix&&("++"===C.operator&&"+"===E.operator||"--"===C.operator&&"-"===E.operator);case"UnaryExpression":switch(E.type){case"UnaryExpression":return C.operator===E.operator&&("+"===C.operator||"-"===C.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===x;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===x;case"BinaryExpression":return"**"===E.operator&&"left"===x;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===E.type)return!0;if("in"===C.operator&&function isLeftOfAForStatement(h){for(var E=0;h;){var x=o.getParentNode(E++);if(!x)return!1;if("ForStatement"===x.type&&x.init===h)return!0;h=x}return!1}(C))return!0;case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(E.type){case"ConditionalExpression":return"TSAsExpression"===C.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===x;case"ClassExpression":case"ClassDeclaration":return"superClass"===x&&E.superClass===C;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===x;case"AssignmentExpression":return E.left===C&&("TSTypeAssertion"===C.type||"TSAsExpression"===C.type);case"LogicalExpression":if("LogicalExpression"===C.type)return E.operator!==C.operator;case"BinaryExpression":if(!C.operator&&"TSTypeAssertion"!==C.type)return!0;var R=E.operator,j=sa.getPrecedence(R),re=C.operator,ne=sa.getPrecedence(re);return j>ne||(j===ne&&"right"===x?(assert.strictEqual(E.right,C),!0):j===ne&&!sa.shouldFlatten(R,re)||(j1?"(":"",od(sd([",",ud]),o.map(E,"params")),h.length>1?")":""])}),"program","body",0):h.__isVueSlotScope?o.call((function(o){return od(sd([",",ud]),o.map(E,"params"))}),"program","body",0):void 0},pd=function preprocess$1(o,h){switch(h.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},o,{type:h.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:o,comments:[],rootMarker:h.rootMarker});default:return o}},fd=sa.shouldFlatten,hd=sa.getNextNonSpaceNonCommentCharacter,dd=sa.hasNewline,md=sa.hasNewlineInRange,yd=sa.getLast,gd=sa.getStringWidth,vd=sa.printString,Dd=sa.printNumber,Ed=sa.hasIgnoreComment,xd=sa.hasNodeIgnoreComment,bd=sa.getPenultimate,Cd=sa.startsWithNoLookaheadToken,Ad=sa.getIndentSize,Sd=sa.getPreferredQuote,wd=ya.isNextLineEmpty,kd=ya.isNextLineEmptyAfterIndex,Td=ya.getNextNonSpaceNonCommentCharacterIndex,_d=gs.insertPragma,Fd=cd,Pd=ld,Bd=Zh.classChildNeedsASIProtection,Nd=Zh.classPropMayCauseASIProblems,Id=Zh.conditionalExpressionChainContainsJSX,Od=Zh.getFlowVariance,Rd=Zh.getLeftSidePathName,Md=Zh.getParentExportDeclaration,Ld=Zh.getTypeScriptMappedTypeModifier,jd=Zh.hasDanglingComments,qd=Zh.hasFlowAnnotationComment,Vd=Zh.hasFlowShorthandAnnotationComment,Ud=Zh.hasLeadingComment,Wd=Zh.hasLeadingOwnLineComment,Gd=Zh.hasNakedLeftSide,Hd=Zh.hasNewlineBetweenOrAfterDecorators,zd=Zh.hasNgSideEffect,Kd=Zh.hasPrettierIgnore,Yd=Zh.hasTrailingComment,$d=Zh.identity,Jd=Zh.isBinaryish,Xd=Zh.isCallOrOptionalCallExpression,Qd=Zh.isEmptyJSXElement,Zd=Zh.isExportDeclaration,em=Zh.isFlowAnnotationComment,tm=Zh.isFunctionCompositionArgs,rm=Zh.isFunctionNotation,nm=Zh.isFunctionOrArrowExpression,im=Zh.isGetterOrSetter,am=Zh.isJestEachTemplateLiteral,sm=Zh.isJSXNode,om=Zh.isJSXWhitespaceExpression,um=Zh.isLastStatement,lm=Zh.isLiteral,cm=Zh.isLongCurriedCallExpression,pm=Zh.isMeaningfulJSXText,fm=Zh.isMemberExpressionChain,hm=Zh.isMemberish,dm=Zh.isNgForOf,mm=Zh.isNumericLiteral,ym=Zh.isObjectType,gm=Zh.isObjectTypePropertyAFunction,vm=Zh.isSimpleCallArgument,Dm=Zh.isSimpleFlowType,Em=Zh.isSimpleTemplateLiteral,xm=Zh.isStringLiteral,bm=Zh.isStringPropSafeToCoerceToIdentifier,Cm=Zh.isTemplateOnItsOwnLine,Am=Zh.isTestCall,Sm=Zh.isTheOnlyJSXElementInMarkdown,wm=Zh.isTSXFile,km=Zh.isTypeAnnotationAFunction,Tm=Zh.matchJsxWhitespaceRegex,_m=Zh.needsHardlineAfterDanglingComment,Fm=Zh.rawText,Pm=Zh.returnArgumentHasLeadingComment,Bm=new WeakMap,Nm=ma.builders,Im=Nm.concat,Om=Nm.join,Rm=Nm.line,Mm=Nm.hardline,Lm=Nm.softline,jm=Nm.literalline,qm=Nm.group,Vm=Nm.indent,Um=Nm.align,Wm=Nm.conditionalGroup,Gm=Nm.fill,Hm=Nm.ifBreak,zm=Nm.breakParent,Km=Nm.lineSuffixBoundary,Ym=Nm.addAlignmentToDoc,$m=Nm.dedent,Jm=ma.utils,Xm=Jm.willBreak,Qm=Jm.isLineNext,Zm=Jm.isEmpty,ey=Jm.removeLines,ty=ma.printer.printDocToString,ry=0;function shouldPrintComma$1(o,h){switch(h=h||"es5",o.trailingComma){case"all":if("all"===h)return!0;case"es5":if("es5"===h)return!0;case"none":default:return!1}}function printDecorators(o,h,E){var x=o.getValue();return qm(Im([Om(Rm,o.map(E,"decorators")),Hd(x,h)?Mm:Rm]))}function printTernaryOperator(o,h,E,x){var C,T,P=o.getValue(),N=P[x.consequentNodePropertyName],R=P[x.alternateNodePropertyName],j=[],ee=!1,re=o.getParentNode(),ne=re.type===x.conditionalNodeType&&x.testNodePropertyNames.some((function(o){return re[o]===P})),ie=re.type===x.conditionalNodeType&&!ne,ae=0;do{T=C||P,C=o.getParentNode(ae),ae++}while(C&&C.type===x.conditionalNodeType&&x.testNodePropertyNames.every((function(o){return C[o]!==T})));var se=C||re,oe=T;if(x.shouldCheckJsx&&(sm(P[x.testNodePropertyNames[0]])||sm(N)||sm(R)||Id(oe))){ee=!0,ie=!0;var ue=function _wrap(o){return Im([Hm("(",""),Vm(Im([Lm,o])),Lm,Hm(")","")])},le=function isNil(o){return"NullLiteral"===o.type||"Literal"===o.type&&null===o.value||"Identifier"===o.type&&"undefined"===o.name};j.push(" ? ",le(N)?o.call(E,x.consequentNodePropertyName):ue(o.call(E,x.consequentNodePropertyName))," : ",R.type===x.conditionalNodeType||le(R)?o.call(E,x.alternateNodePropertyName):ue(o.call(E,x.alternateNodePropertyName)))}else{var ce=Im([Rm,"? ",N.type===x.conditionalNodeType?Hm("","("):"",Um(2,o.call(E,x.consequentNodePropertyName)),N.type===x.conditionalNodeType?Hm("",")"):"",Rm,": ",R.type===x.conditionalNodeType?o.call(E,x.alternateNodePropertyName):Um(2,o.call(E,x.alternateNodePropertyName))]);j.push(re.type!==x.conditionalNodeType||re[x.alternateNodePropertyName]===P||ne?ce:h.useTabs?$m(Vm(ce)):Um(Math.max(0,h.tabWidth-2),ce))}var pe,fe=!ee&&("MemberExpression"===re.type||"OptionalMemberExpression"===re.type||"NGPipeExpression"===re.type&&re.left===P)&&!re.computed,he=function maybeGroup(o){return re===se?qm(o):o}(Im([].concat((pe=Im(x.beforeParts()),re.type===x.conditionalNodeType&&re[x.alternateNodePropertyName]===P?Um(2,pe):pe),ie?Im(j):Vm(Im(j)),x.afterParts(fe))));return ne?qm(Im([Vm(Im([Lm,he])),Lm])):he}function printStatementSequence(o,h,E){var x=[],C=o.getNode(),T="ClassBody"===C.type;return o.map((function(o,P){var N=o.getValue();if(N&&"EmptyStatement"!==N.type){var R=E(o),j=h.originalText,re=[];if(h.semi||T||Sm(h,o)||!function stmtNeedsASIProtection(o,h){return"ExpressionStatement"===o.getNode().type&&o.call((function(o){return function exprNeedsASIProtection(o,h){var E=o.getValue();return!!(id(o,h)||"ParenthesizedExpression"===E.type||"TypeCastExpression"===E.type||"ArrowFunctionExpression"===E.type&&!shouldPrintParamsWithoutParens(o,h)||"ArrayExpression"===E.type||"ArrayPattern"===E.type||"UnaryExpression"===E.type&&E.prefix&&("+"===E.operator||"-"===E.operator)||"TemplateLiteral"===E.type||"TemplateElement"===E.type||sm(E)||"BindExpression"===E.type&&!E.object||"RegExpLiteral"===E.type||"Literal"===E.type&&E.pattern||"Literal"===E.type&&E.regex)||!!Gd(E)&&o.call.apply(o,[function(o){return exprNeedsASIProtection(o,h)}].concat((0,ee.default)(Rd(o,E))))}(o,h)}),"expression")}(o,h)?re.push(R):N.comments&&N.comments.some((function(o){return o.leading}))?re.push(E(o,{needsSemi:!0})):re.push(";",R),!h.semi&&T)if(Nd(o))re.push(";");else if("ClassProperty"===N.type){var ne=C.body[P+1];Bd(ne)&&re.push(";")}wd(j,N,h.locEnd)&&!um(o)&&re.push(Mm),x.push(Im(re))}})),Om(Mm,x)}function printPropertyKey(o,h,E){var x=o.getNode();if(x.computed)return Im(["[",o.call(E,"key"),"]"]);var C=o.getParentNode(),T=x.key;if("ClassPrivateProperty"===x.type&&"Identifier"===T.type)return Im(["#",o.call(E,"key")]);if("consistent"===h.quoteProps&&!Bm.has(C)){var P=(C.properties||C.body||C.members).some((function(o){return!o.computed&&o.key&&xm(o.key)&&!bm(o,h)}));Bm.set(C,P)}if("Identifier"===T.type&&("json"===h.parser||"consistent"===h.quoteProps&&Bm.get(C))){var N=vd(JSON.stringify(T.name),h);return o.call((function(o){return Na.printComments(o,(function(){return N}),h)}),"key")}return bm(x,h)&&("as-needed"===h.quoteProps||"consistent"===h.quoteProps&&!Bm.get(C))?o.call((function(o){return Na.printComments(o,(function(){return T.value}),h)}),"key"):o.call(E,"key")}function printMethod(o,h,E){var x=o.getNode(),C=x.kind,T=x.value||x,P=[];return C&&"init"!==C&&"method"!==C&&"constructor"!==C?(assert.ok("get"===C||"set"===C),P.push(C," ")):(T.async&&P.push("async "),T.generator&&P.push("*")),P.push(printPropertyKey(o,h,E),x.optional||x.key.optional?"?":"",x===T?printMethodInternal(o,h,E):o.call((function(o){return printMethodInternal(o,h,E)}),"value")),Im(P)}function printMethodInternal(o,h,E){var x=[printFunctionTypeParameters(o,0,E),qm(Im([printFunctionParams(o,E,h),printReturnType(o,E,h)]))];return o.getNode().body?x.push(" ",o.call(E,"body")):x.push(h.semi?";":""),Im(x)}function couldGroupArg(o){return"ObjectExpression"===o.type&&(o.properties.length>0||o.comments)||"ArrayExpression"===o.type&&(o.elements.length>0||o.comments)||"TSTypeAssertion"===o.type&&couldGroupArg(o.expression)||"TSAsExpression"===o.type&&couldGroupArg(o.expression)||"FunctionExpression"===o.type||"ArrowFunctionExpression"===o.type&&(!o.returnType||!o.returnType.typeAnnotation||"TSTypeReference"!==o.returnType.typeAnnotation.type)&&("BlockStatement"===o.body.type||"ArrowFunctionExpression"===o.body.type||"ObjectExpression"===o.body.type||"ArrayExpression"===o.body.type||"CallExpression"===o.body.type||"OptionalCallExpression"===o.body.type||"ConditionalExpression"===o.body.type||sm(o.body))}function printArgumentsList(o,h,E){var x=o.getValue(),C=x.arguments;if(0===C.length)return Im(["(",Na.printDanglingComments(o,h,!0),")"]);if(2===C.length&&"ArrowFunctionExpression"===C[0].type&&0===C[0].params.length&&"BlockStatement"===C[0].body.type&&"ArrayExpression"===C[1].type&&!C.find((function(o){return o.comments})))return Im(["(",o.call(E,"arguments",0),", ",o.call(E,"arguments",1),")"]);var T=!1,P=!1,N=!1,R=C.length-1,j=o.map((function(o,x){var C=o.getNode(),j=[E(o)];return x===R||(wd(h.originalText,C,h.locEnd)?(0===x&&(N=!0),T=!0,j.push(",",Mm,Mm)):j.push(",",Rm)),P=function shouldBreakForArrowFunctionInArguments(o,h){if(!o||"ArrowFunctionExpression"!==o.type||!o.body||"BlockStatement"!==o.body.type||!o.params||o.params.length<1)return!1;var x=!1;return h.each((function(o){var h=Im([E(o)]);x=x||Xm(h)}),"params"),x}(C,o),Im(j)}),"arguments"),ee=x.callee&&"Import"===x.callee.type||!shouldPrintComma$1(h,"all")?"":",";function allArgsBrokenOut(){return qm(Im(["(",Vm(Im([Rm,Im(j)])),ee,Rm,")"]),{shouldBreak:!0})}if("Decorator"!==o.getParentNode().type&&tm(C))return allArgsBrokenOut();var re=function shouldGroupFirstArg(o){if(2!==o.length)return!1;var h=(0,ne.default)(o,2),E=h[0],x=h[1];return!(E.comments&&E.comments.length||"FunctionExpression"!==E.type&&("ArrowFunctionExpression"!==E.type||"BlockStatement"!==E.body.type)||"FunctionExpression"===x.type||"ArrowFunctionExpression"===x.type||"ConditionalExpression"===x.type||couldGroupArg(x))}(C),ie=function shouldGroupLastArg(o){var h=yd(o),E=bd(o);return!Ud(h)&&!Yd(h)&&couldGroupArg(h)&&(!E||E.type!==h.type)}(C);if(re||ie){var ae,se=(re?j.slice(1).some(Xm):j.slice(0,-1).some(Xm))||T||P,oe=0;o.each((function(o){re&&0===oe&&(ae=[Im([o.call((function(o){return E(o,{expandFirstArg:!0})})),j.length>1?",":"",N?Mm:Rm,N?Mm:""])].concat(j.slice(1))),ie&&oe===C.length-1&&(ae=j.slice(0,-1).concat(o.call((function(o){return E(o,{expandLastArg:!0})})))),oe++}),"arguments");var ue=j.some(Xm),le=Im(["(",Im(ae),")"]);return Im([ue?zm:"",Wm([ue||x.typeArguments||x.typeParameters?Hm(allArgsBrokenOut(),le):le,Im(re?["(",qm(ae[0],{shouldBreak:!0}),Im(ae.slice(1)),")"]:["(",Im(j.slice(0,-1)),qm(yd(ae),{shouldBreak:!0}),")"]),allArgsBrokenOut()],{shouldBreak:se})])}var ce=Im(["(",Vm(Im([Lm,Im(j)])),Hm(ee),Lm,")"]);return cm(o)?ce:qm(ce,{shouldBreak:j.some(Xm)||T})}function printTypeAnnotation(o,h,E){var x=o.getValue();if(!x.typeAnnotation)return"";var C=o.getParentNode(),T=x.definite||C&&"VariableDeclarator"===C.type&&C.definite,P="DeclareFunction"===C.type&&C.id===x;return em(h.originalText,x.typeAnnotation,h)?Im([" /*: ",o.call(E,"typeAnnotation")," */"]):Im([P?"":T?"!: ":": ",o.call(E,"typeAnnotation")])}function printFunctionTypeParameters(o,h,E){var x=o.getValue();return x.typeArguments?o.call(E,"typeArguments"):x.typeParameters?o.call(E,"typeParameters"):""}function printFunctionParams(o,h,E,x,C){var T=o.getValue(),P=o.getParentNode(),N=T.parameters?"parameters":"params",R=Am(P),j=shouldHugArguments(T),ee=x&&!(T[N]&&T[N].some((function(o){return o.comments}))),re=C?printFunctionTypeParameters(o,0,h):"",ne=[];if(T[N]){var ie=T[N].length-1;ne=o.map((function(o,x){var C=[],P=o.getValue();return C.push(h(o)),x===ie?T.rest&&C.push(",",Rm):R||j||ee?C.push(", "):wd(E.originalText,P,E.locEnd)?C.push(",",Mm,Mm):C.push(",",Rm),Im(C)}),N)}if(T.rest&&ne.push(Im(["...",o.call(h,"rest")])),0===ne.length)return Im([re,"(",Na.printDanglingComments(o,E,!0,(function(o){return")"===hd(E.originalText,o,E.locEnd)})),")"]);var ae=yd(T[N]);if(ee)return qm(Im([ey(re),"(",Im(ne.map(ey)),")"]));var se=T[N].every((function(o){return!o.decorators}));if(j&&se)return Im([re,"(",Im(ne),")"]);if(R)return Im([re,"(",Im(ne),")"]);if((gm(P,E)||km(P,E)||"TypeAlias"===P.type||"UnionTypeAnnotation"===P.type||"TSUnionType"===P.type||"IntersectionTypeAnnotation"===P.type||"FunctionTypeAnnotation"===P.type&&P.returnType===T)&&1===T[N].length&&null===T[N][0].name&&T[N][0].typeAnnotation&&null===T.typeParameters&&Dm(T[N][0].typeAnnotation)&&!T.rest)return"always"===E.arrowParens?Im(["(",Im(ne),")"]):Im(ne);var oe=!(ae&&"RestElement"===ae.type||T.rest);return Im([re,"(",Vm(Im([Lm,Im(ne)])),Hm(oe&&shouldPrintComma$1(E,"all")?",":""),Lm,")"])}function shouldPrintParamsWithoutParens(o,h){return"always"!==h.arrowParens&&"avoid"===h.arrowParens&&function canPrintParamsWithoutParens(o){return!(1!==o.params.length||o.rest||o.typeParameters||jd(o)||"Identifier"!==o.params[0].type||o.params[0].typeAnnotation||o.params[0].comments||o.params[0].optional||o.predicate||o.returnType)}(o.getValue())}function printFunctionDeclaration(o,h,E){var x=o.getValue(),C=[];return x.async&&C.push("async "),x.generator?C.push("function* "):C.push("function "),x.id&&C.push(o.call(h,"id")),C.push(printFunctionTypeParameters(o,0,h),qm(Im([printFunctionParams(o,h,E),printReturnType(o,h,E)])),x.body?" ":"",o.call(h,"body")),Im(C)}function printReturnType(o,h,E){var x=o.getValue(),C=o.call(h,"returnType");if(x.returnType&&em(E.originalText,x.returnType,E))return Im([" /*: ",C," */"]);var T=[C];return x.returnType&&x.returnType.typeAnnotation&&T.unshift(": "),x.predicate&&T.push(x.returnType?" ":": ",o.call(h,"predicate")),Im(T)}function printExportDeclaration(o,h,E){var x=o.getValue(),C=h.semi?";":"",T=["export "],P=x.default||"ExportDefaultDeclaration"===x.type;if(P&&T.push("default "),T.push(Na.printDanglingComments(o,h,!0)),_m(x)&&T.push(Mm),x.declaration)T.push(o.call(E,"declaration")),P&&"ClassDeclaration"!==x.declaration.type&&"FunctionDeclaration"!==x.declaration.type&&"TSInterfaceDeclaration"!==x.declaration.type&&"DeclareClass"!==x.declaration.type&&"DeclareFunction"!==x.declaration.type&&"TSDeclareFunction"!==x.declaration.type&&T.push(C);else{if(x.specifiers&&x.specifiers.length>0){var N=[],R=[],j=[];o.each((function(h){var x=o.getValue().type;"ExportSpecifier"===x?N.push(E(h)):"ExportDefaultSpecifier"===x?R.push(E(h)):"ExportNamespaceSpecifier"===x&&j.push(Im(["* as ",E(h)]))}),"specifiers");var ee=0!==j.length&&0!==N.length,re=0!==R.length&&(0!==j.length||0!==N.length),ne=N.length>1||R.length>0||x.specifiers&&x.specifiers.some((function(o){return o.comments})),ie="";0!==N.length&&(ie=ne?qm(Im(["{",Vm(Im([h.bracketSpacing?Rm:Lm,Om(Im([",",Rm]),N)])),Hm(shouldPrintComma$1(h)?",":""),h.bracketSpacing?Rm:Lm,"}"])):Im(["{",h.bracketSpacing?" ":"",Im(N),h.bracketSpacing?" ":"","}"])),T.push("type"===x.exportKind?"type ":"",Im(R),Im([re?", ":""]),Im(j),Im([ee?", ":""]),ie)}else T.push("{}");x.source&&T.push(" from ",o.call(E,"source")),T.push(C)}return Im(T)}function printFlowDeclaration(o,h){var E=Md(o);return E?assert.strictEqual(E.type,"DeclareExportDeclaration"):h.unshift("declare "),Im(h)}function printTypeScriptModifiers(o,h,E){var x=o.getValue();return x.modifiers&&x.modifiers.length?Im([Om(" ",o.map(E,"modifiers"))," "]):""}function printTypeParameters(o,h,E,x){var C=o.getValue();if(!C[x])return"";if(!Array.isArray(C[x]))return o.call(E,x);var T=o.getNode(2),P=o.getNode(3),N=o.getNode(4);return null!=T&&Am(T)||0===C[x].length||1===C[x].length&&(shouldHugType(C[x][0])||"GenericTypeAnnotation"===C[x][0].type&&shouldHugType(C[x][0].id)||"TSTypeReference"===C[x][0].type&&shouldHugType(C[x][0].typeName)||"NullableTypeAnnotation"===C[x][0].type||N&&"VariableDeclarator"===N.type&&"TSTypeAnnotation"===T.type&&"ArrowFunctionExpression"!==P.type&&"TSUnionType"!==C[x][0].type&&"UnionTypeAnnotation"!==C[x][0].type&&"TSIntersectionType"!==C[x][0].type&&"IntersectionTypeAnnotation"!==C[x][0].type&&"TSConditionalType"!==C[x][0].type&&"TSMappedType"!==C[x][0].type&&"TSTypeOperator"!==C[x][0].type&&"TSIndexedAccessType"!==C[x][0].type&&"TSArrayType"!==C[x][0].type)?Im(["<",Om(", ",o.map(E,x)),function printDanglingCommentsForInline(E){if(!jd(E))return"";var x=E.comments.every(Dh.isBlockComment),C=Na.printDanglingComments(o,h,x);return x?C:Im([C,Mm])}(C),">"]):qm(Im(["<",Vm(Im([Lm,Om(Im([",",Rm]),o.map(E,x))])),Hm("typescript"!==h.parser&&"babel-ts"!==h.parser&&shouldPrintComma$1(h,"all")?",":""),Lm,">"]))}function printClass(o,h,E){var x=o.getValue(),C=[];x.abstract&&C.push("abstract "),C.push("class"),x.id&&C.push(" ",o.call(E,"id")),C.push(o.call(E,"typeParameters"));var T=[];if(x.superClass){var P=Im(["extends ",o.call(E,"superClass"),o.call(E,"superTypeParameters")]);x.implements&&0!==x.implements.length||x.superClass.comments&&0!==x.superClass.comments.length?T.push(qm(Im([Rm,o.call((function(o){return Na.printComments(o,(function(){return P}),h)}),"superClass")]))):C.push(Im([" ",o.call((function(o){return Na.printComments(o,(function(){return P}),h)}),"superClass")]))}else x.extends&&x.extends.length>0&&C.push(" extends ",Om(", ",o.map(E,"extends")));return x.mixins&&x.mixins.length>0&&T.push(Rm,"mixins ",qm(Vm(Om(Im([",",Rm]),o.map(E,"mixins"))))),x.implements&&x.implements.length>0&&T.push(Rm,"implements",qm(Vm(Im([Rm,Om(Im([",",Rm]),o.map(E,"implements"))])))),T.length>0&&C.push(qm(Vm(Im(T)))),x.body&&x.body.comments&&Wd(h.originalText,x.body,h)?C.push(Mm):C.push(" "),C.push(o.call(E,"body")),C}function printOptionalToken(o){var h=o.getValue();return!h.optional||"Identifier"===h.type&&h===o.getParentNode().key?"":"OptionalCallExpression"===h.type||"OptionalMemberExpression"===h.type&&h.computed?"?.":"?"}function printMemberLookup(o,h,E){var x=o.call(E,"property"),C=o.getValue(),T=printOptionalToken(o);return C.computed?!C.property||mm(C.property)?Im([T,"[",x,"]"]):qm(Im([T,"[",Vm(Im([Lm,x])),Lm,"]"])):Im([T,".",x])}function printBindExpressionCallee(o,h,E){return Im(["::",o.call(E,"callee")])}function separatorNoWhitespace(o,h,E,x){return o?"":"JSXElement"===E.type&&!E.closingElement||x&&"JSXElement"===x.type&&!x.closingElement?1===h.length?Lm:Mm:Lm}function separatorWithWhitespace(o,h,E,x){return o?Mm:1===h.length?"JSXElement"===E.type&&!E.closingElement||x&&"JSXElement"===x.type&&!x.closingElement?Mm:Lm:Mm}function shouldInlineLogicalExpression(o){return"LogicalExpression"===o.type&&("ObjectExpression"===o.right.type&&0!==o.right.properties.length||"ArrayExpression"===o.right.type&&0!==o.right.elements.length||!!sm(o.right))}function printAssignmentRight(o,h,E,x){return Wd(x.originalText,h,x)?Vm(Im([Rm,E])):Jd(h)&&!shouldInlineLogicalExpression(h)||"ConditionalExpression"===h.type&&Jd(h.test)&&!shouldInlineLogicalExpression(h.test)||"StringLiteralTypeAnnotation"===h.type||"ClassExpression"===h.type&&h.decorators&&h.decorators.length||("Identifier"===o.type||xm(o)||"MemberExpression"===o.type)&&(xm(h)||fm(h))&&"json"!==x.parser&&"json5"!==x.parser||"SequenceExpression"===h.type?qm(Vm(Im([Rm,E]))):Im([" ",E])}function printAssignment(o,h,E,x,C,T){if(!x)return h;var P=printAssignmentRight(o,x,C,T);return qm(Im([h,E,P]))}function adjustClause(o,h,E){return"EmptyStatement"===o.type?";":"BlockStatement"===o.type||E?Im([" ",h]):Vm(Im([Rm,h]))}function nodeStr(o,h,E){var x=Fm(o),C=E||"DirectiveLiteral"===o.type;return vd(x,h,C)}function printRegex(o){var h=o.flags.split("").sort().join("");return"/".concat(o.pattern,"/").concat(h)}function shouldHugType(o){if(Dm(o)||ym(o))return!0;if("UnionTypeAnnotation"===o.type||"TSUnionType"===o.type){var h=o.types.filter((function(o){return"VoidTypeAnnotation"===o.type||"TSVoidKeyword"===o.type||"NullLiteralTypeAnnotation"===o.type||"TSNullKeyword"===o.type})).length,E=o.types.some((function(o){return"ObjectTypeAnnotation"===o.type||"TSTypeLiteral"===o.type||"GenericTypeAnnotation"===o.type||"TSTypeReference"===o.type}));if(o.types.length-1===h&&E)return!0}return!1}function shouldHugArguments(o){if(!o||o.rest)return!1;var h=o.params||o.parameters;if(!h||1!==h.length)return!1;var E=h[0];return!E.comments&&("ObjectPattern"===E.type||"ArrayPattern"===E.type||"Identifier"===E.type&&E.typeAnnotation&&("TypeAnnotation"===E.typeAnnotation.type||"TSTypeAnnotation"===E.typeAnnotation.type)&&ym(E.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===E.type&&ym(E.typeAnnotation)||"AssignmentPattern"===E.type&&("ObjectPattern"===E.left.type||"ArrayPattern"===E.left.type)&&("Identifier"===E.right.type||"ObjectExpression"===E.right.type&&0===E.right.properties.length||"ArrayExpression"===E.right.type&&0===E.right.elements.length))}function printArrayItems(o,h,E,x){var C=[],T=[];return o.each((function(o){C.push(Im(T)),C.push(qm(x(o))),T=[",",Rm],o.getValue()&&wd(h.originalText,o.getValue(),h.locEnd)&&T.push(Lm)}),E),Im(C)}function printReturnAndThrowArgument(o,h,E){var x=o.getValue(),C=h.semi?";":"",T=[];x.argument&&(Pm(h,x.argument)?T.push(Im([" (",Vm(Im([Mm,o.call(E,"argument")])),Mm,")"])):Jd(x.argument)||"SequenceExpression"===x.argument.type?T.push(qm(Im([Hm(" ("," "),Vm(Im([Lm,o.call(E,"argument")])),Lm,Hm(")")]))):T.push(" ",o.call(E,"argument")));var P=Array.isArray(x.comments)&&x.comments[x.comments.length-1],N=P&&("CommentLine"===P.type||"Line"===P.type);return N&&T.push(C),jd(x)&&T.push(" ",Na.printDanglingComments(o,h,!0)),N||T.push(C),Im(T)}var ny={preprocess:pd,print:function genericPrint$3(o,h,E,x){var C=o.getValue(),T=!1,P=function printPathNoParens(o,h,E,x){var C=o.getValue(),T=h.semi?";":"";if(!C)return"";if("string"==typeof C)return C;var P=Fd(o,h,E);if(P)return P;var N=[];switch(C.type){case"JsExpressionRoot":return o.call(E,"node");case"JsonRoot":return Im([o.call(E,"node"),Mm]);case"File":return C.program&&C.program.interpreter&&N.push(o.call((function(o){return o.call(E,"interpreter")}),"program")),N.push(o.call(E,"program")),Im(N);case"Program":return C.directives&&o.each((function(o){N.push(E(o),T,Mm),wd(h.originalText,o.getValue(),h.locEnd)&&N.push(Mm)}),"directives"),N.push(o.call((function(o){return printStatementSequence(o,h,E)}),"body")),N.push(Na.printDanglingComments(o,h,!0)),C.body.every((function(o){return"EmptyStatement"===o.type}))&&!C.comments||N.push(Mm),Im(N);case"EmptyStatement":return"";case"ExpressionStatement":if(C.directive)return Im([nodeStr(C.expression,h,!0),T]);if("__vue_event_binding"===h.parser){var R=o.getParentNode();if("Program"===R.type&&1===R.body.length&&R.body[0]===C)return Im([o.call(E,"expression"),Pd(C.expression)?";":""])}return Im([o.call(E,"expression"),Sm(h,o)?"":T]);case"ParenthesizedExpression":return C.expression.comments?qm(Im(["(",Vm(Im([Lm,o.call(E,"expression")])),Lm,")"])):Im(["(",o.call(E,"expression"),")"]);case"AssignmentExpression":return printAssignment(C.left,o.call(E,"left"),Im([" ",C.operator]),C.right,o.call(E,"right"),h);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":var j=o.getParentNode(),re=o.getParentNode(1),ne=C!==j.body&&("IfStatement"===j.type||"WhileStatement"===j.type||"SwitchStatement"===j.type||"DoWhileStatement"===j.type),ie=function printBinaryishExpressions(o,h,E,x,C){var T=[],P=o.getValue();if(Jd(P)){fd(P.operator,P.left.operator)?T=T.concat(o.call((function(o){return printBinaryishExpressions(o,h,E,!0,C)}),"left")):T.push(o.call(h,"left"));var N=shouldInlineLogicalExpression(P),R=("|>"===P.operator||"NGPipeExpression"===P.type||"|"===P.operator&&"__vue_expression"===E.parser)&&!Wd(E.originalText,P.right,E),j="NGPipeExpression"===P.type?"|":P.operator,ee="NGPipeExpression"===P.type&&0!==P.arguments.length?qm(Vm(Im([Lm,": ",Om(Im([Lm,":",Hm(" ")]),o.map(h,"arguments").map((function(o){return Um(2,qm(o))})))]))):"",re=Im(N?[j," ",o.call(h,"right"),ee]:[R?Lm:"",j,R?" ":Rm,o.call(h,"right"),ee]),ne=o.getParentNode(),ie=!(C&&"LogicalExpression"===P.type)&&ne.type!==P.type&&P.left.type!==P.type&&P.right.type!==P.type;T.push(" ",ie?qm(re):re),x&&P.comments&&(T=Na.printComments(o,(function(){return Im(T)}),E))}else T.push(o.call(h));return T}(o,E,h,!1,ne);if(ne)return Im(ie);if(("CallExpression"===j.type||"OptionalCallExpression"===j.type)&&j.callee===C||"UnaryExpression"===j.type||("MemberExpression"===j.type||"OptionalMemberExpression"===j.type)&&!j.computed)return qm(Im([Vm(Im([Lm,Im(ie)])),Lm]));var ae="ReturnStatement"===j.type||"ThrowStatement"===j.type||"JSXExpressionContainer"===j.type&&"JSXAttribute"===re.type||"|"!==C.operator&&"JsExpressionRoot"===j.type||"NGPipeExpression"!==C.type&&("NGRoot"===j.type&&"__ng_binding"===h.parser||"NGMicrosyntaxExpression"===j.type&&"NGMicrosyntax"===re.type&&1===re.body.length)||C===j.body&&"ArrowFunctionExpression"===j.type||C!==j.body&&"ForStatement"===j.type||"ConditionalExpression"===j.type&&"ReturnStatement"!==re.type&&"ThrowStatement"!==re.type&&"CallExpression"!==re.type&&"OptionalCallExpression"!==re.type||"TemplateLiteral"===j.type,se="AssignmentExpression"===j.type||"VariableDeclarator"===j.type||"ClassProperty"===j.type||"TSAbstractClassProperty"===j.type||"ClassPrivateProperty"===j.type||"ObjectProperty"===j.type||"Property"===j.type,oe=Jd(C.left)&&fd(C.operator,C.left.operator);if(ae||shouldInlineLogicalExpression(C)&&!oe||!shouldInlineLogicalExpression(C)&&se)return qm(Im(ie));if(0===ie.length)return"";var ue=sm(C.right),le=Im(ue?ie.slice(1,-1):ie.slice(1)),pe=Symbol("logicalChain-"+ ++ry),fe=qm(Im([ie.length>0?ie[0]:"",Vm(le)]),{id:pe});if(!ue)return fe;var he=yd(ie);return qm(Im([fe,Hm(Vm(he),he,{groupId:pe})]));case"AssignmentPattern":return Im([o.call(E,"left")," = ",o.call(E,"right")]);case"TSTypeAssertion":var de=!("ArrayExpression"===C.expression.type||"ObjectExpression"===C.expression.type),me=qm(Im(["<",Vm(Im([Lm,o.call(E,"typeAnnotation")])),Lm,">"])),ye=Im([Hm("("),Vm(Im([Lm,o.call(E,"expression")])),Lm,Hm(")")]);return de?Wm([Im([me,o.call(E,"expression")]),Im([me,qm(ye,{shouldBreak:!0})]),Im([me,o.call(E,"expression")])]):qm(Im([me,o.call(E,"expression")]));case"OptionalMemberExpression":case"MemberExpression":var ge,ve=o.getParentNode(),De=0;do{ge=o.getParentNode(De),De++}while(ge&&("MemberExpression"===ge.type||"OptionalMemberExpression"===ge.type||"TSNonNullExpression"===ge.type));var Ee=ge&&("NewExpression"===ge.type||"BindExpression"===ge.type||"VariableDeclarator"===ge.type&&"Identifier"!==ge.id.type||"AssignmentExpression"===ge.type&&"Identifier"!==ge.left.type)||C.computed||"Identifier"===C.object.type&&"Identifier"===C.property.type&&"MemberExpression"!==ve.type&&"OptionalMemberExpression"!==ve.type;return Im([o.call(E,"object"),Ee?printMemberLookup(o,0,E):qm(Vm(Im([Lm,printMemberLookup(o,0,E)])))]);case"MetaProperty":return Im([o.call(E,"meta"),".",o.call(E,"property")]);case"BindExpression":return C.object&&N.push(o.call(E,"object")),N.push(qm(Vm(Im([Lm,printBindExpressionCallee(o,0,E)])))),Im(N);case"Identifier":return Im([C.name,printOptionalToken(o),printTypeAnnotation(o,h,E)]);case"V8IntrinsicIdentifier":return Im(["%",C.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Im(["...",o.call(E,"argument"),printTypeAnnotation(o,h,E)]);case"FunctionDeclaration":case"FunctionExpression":return N.push(printFunctionDeclaration(o,E,h)),C.body||N.push(T),Im(N);case"ArrowFunctionExpression":C.async&&N.push("async "),shouldPrintParamsWithoutParens(o,h)?N.push(o.call(E,"params",0)):N.push(qm(Im([printFunctionParams(o,E,h,x&&(x.expandLastArg||x.expandFirstArg),!0),printReturnType(o,E,h)])));var xe=Na.printDanglingComments(o,h,!0,(function(o){var E=Td(h.originalText,o,h.locEnd);return"=>"===h.originalText.slice(E,E+2)}));xe&&N.push(" ",xe),N.push(" =>");var be=o.call((function(o){return E(o,x)}),"body");if(!Wd(h.originalText,C.body,h)&&("ArrayExpression"===C.body.type||"ObjectExpression"===C.body.type||"BlockStatement"===C.body.type||sm(C.body)||Cm(C.body,h.originalText,h)||"ArrowFunctionExpression"===C.body.type||"DoExpression"===C.body.type))return qm(Im([Im(N)," ",be]));if("SequenceExpression"===C.body.type)return qm(Im([Im(N),qm(Im([" (",Vm(Im([Lm,be])),Lm,")"]))]));var Ce=(x&&x.expandLastArg||"JSXExpressionContainer"===o.getParentNode().type)&&!(C.comments&&C.comments.length),Ae=x&&x.expandLastArg&&shouldPrintComma$1(h,"all"),Se="ConditionalExpression"===C.body.type&&!Cd(C.body,!1);return qm(Im([Im(N),qm(Im([Vm(Im([Rm,Se?Hm("","("):"",be,Se?Hm("",")"):""])),Ce?Im([Hm(Ae?",":""),Lm]):""]))]));case"YieldExpression":return N.push("yield"),C.delegate&&N.push("*"),C.argument&&N.push(" ",o.call(E,"argument")),Im(N);case"AwaitExpression":N.push("await ",o.call(E,"argument"));var we=o.getParentNode();return("CallExpression"===we.type||"OptionalCallExpression"===we.type)&&we.callee===C||("MemberExpression"===we.type||"OptionalMemberExpression"===we.type)&&we.object===C?qm(Im([Vm(Im([Lm,Im(N)])),Lm])):Im(N);case"ImportSpecifier":return C.importKind&&N.push(o.call(E,"importKind")," "),N.push(o.call(E,"imported")),C.local&&C.local.name!==C.imported.name&&N.push(" as ",o.call(E,"local")),Im(N);case"ExportSpecifier":return N.push(o.call(E,"local")),C.exported&&C.exported.name!==C.local.name&&N.push(" as ",o.call(E,"exported")),Im(N);case"ImportNamespaceSpecifier":return N.push("* as "),N.push(o.call(E,"local")),Im(N);case"ImportDefaultSpecifier":return o.call(E,"local");case"TSExportAssignment":return Im(["export = ",o.call(E,"expression"),T]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return printExportDeclaration(o,h,E);case"ExportAllDeclaration":return N.push("export "),"type"===C.exportKind&&N.push("type "),N.push("* "),C.exported&&N.push("as ",o.call(E,"exported")," "),N.push("from ",o.call(E,"source"),T),Im(N);case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return o.call(E,"exported");case"ImportDeclaration":N.push("import "),C.importKind&&"value"!==C.importKind&&N.push(C.importKind+" ");var ke=[],Te=[];return C.specifiers&&C.specifiers.length>0?(o.each((function(o){var h=o.getValue();"ImportDefaultSpecifier"===h.type||"ImportNamespaceSpecifier"===h.type?ke.push(E(o)):Te.push(E(o))}),"specifiers"),ke.length>0&&N.push(Om(", ",ke)),ke.length>0&&Te.length>0&&N.push(", "),1===Te.length&&0===ke.length&&C.specifiers&&!C.specifiers.some((function(o){return o.comments}))?N.push(Im(["{",h.bracketSpacing?" ":"",Im(Te),h.bracketSpacing?" ":"","}"])):Te.length>=1&&N.push(qm(Im(["{",Vm(Im([h.bracketSpacing?Rm:Lm,Om(Im([",",Rm]),Te)])),Hm(shouldPrintComma$1(h)?",":""),h.bracketSpacing?Rm:Lm,"}"]))),N.push(" from ")):(C.importKind&&"type"===C.importKind||/{\s*}/.test(h.originalText.slice(h.locStart(C),h.locStart(C.source))))&&N.push("{} from "),N.push(o.call(E,"source"),T),Im(N);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":var _e=o.call((function(o){return printStatementSequence(o,h,E)}),"body"),Fe=C.body.find((function(o){return"EmptyStatement"!==o.type})),Pe=C.directives&&C.directives.length>0,Be=o.getParentNode(),Ne=o.getParentNode(1);return Fe||Pe||jd(C)||"ArrowFunctionExpression"!==Be.type&&"FunctionExpression"!==Be.type&&"FunctionDeclaration"!==Be.type&&"ObjectMethod"!==Be.type&&"ClassMethod"!==Be.type&&"ClassPrivateMethod"!==Be.type&&"ForStatement"!==Be.type&&"WhileStatement"!==Be.type&&"DoWhileStatement"!==Be.type&&"DoExpression"!==Be.type&&("CatchClause"!==Be.type||Ne.finalizer)&&"TSModuleDeclaration"!==Be.type?(N.push("{"),Pe&&o.each((function(o){N.push(Vm(Im([Mm,E(o),T]))),wd(h.originalText,o.getValue(),h.locEnd)&&N.push(Mm)}),"directives"),Fe&&N.push(Vm(Im([Mm,_e]))),N.push(Na.printDanglingComments(o,h)),N.push(Mm,"}"),Im(N)):"{}";case"ReturnStatement":return Im(["return",printReturnAndThrowArgument(o,h,E)]);case"NewExpression":case"OptionalCallExpression":case"CallExpression":var Ie="NewExpression"===C.type,Oe=printOptionalToken(o);if(!Ie&&"Identifier"===C.callee.type&&("require"===C.callee.name||"define"===C.callee.name)||1===C.arguments.length&&Cm(C.arguments[0],h.originalText,h)||!Ie&&Am(C,o.getParentNode()))return Im([Ie?"new ":"",o.call(E,"callee"),Oe,printFunctionTypeParameters(o,0,E),Im(["(",Om(", ",o.map(E,"arguments")),")"])]);var Re="Identifier"===C.callee.type&&qd(C.callee.trailingComments);if(Re&&(C.callee.trailingComments[0].printed=!0),!Ie&&hm(C.callee)&&!o.call((function(o){return id(o,h)}),"callee"))return function printMemberChain(o,h,E){var x=[];function shouldInsertEmptyLineAfter(o){var E=h.originalText,x=Td(E,o,h.locEnd);return")"===E.charAt(x)?kd(E,x+1,h.locEnd):wd(E,o,h.locEnd)}var C=o.getValue();x.unshift({node:C,printed:Im([printOptionalToken(o),printFunctionTypeParameters(o,0,E),printArgumentsList(o,h,E)])}),o.call((function(o){return function rec(o){var C=o.getValue();"CallExpression"!==C.type&&"OptionalCallExpression"!==C.type||!hm(C.callee)&&"CallExpression"!==C.callee.type&&"OptionalCallExpression"!==C.callee.type?hm(C)?(x.unshift({node:C,needsParens:id(o,h),printed:Na.printComments(o,(function(){return"OptionalMemberExpression"===C.type||"MemberExpression"===C.type?printMemberLookup(o,0,E):printBindExpressionCallee(o,0,E)}),h)}),o.call((function(o){return rec(o)}),"object")):"TSNonNullExpression"===C.type?(x.unshift({node:C,printed:Na.printComments(o,(function(){return"!"}),h)}),o.call((function(o){return rec(o)}),"expression")):x.unshift({node:C,printed:o.call(E)}):(x.unshift({node:C,printed:Im([Na.printComments(o,(function(){return Im([printOptionalToken(o),printFunctionTypeParameters(o,0,E),printArgumentsList(o,h,E)])}),h),shouldInsertEmptyLineAfter(C)?Mm:""])}),o.call((function(o){return rec(o)}),"callee"))}(o)}),"callee");for(var T=[],P=[x[0]],N=1;N0&&T.push(P);var j=T.length>=2&&!T[1][0].node.comments&&function shouldNotWrap(E){var x=o.getParentNode(),C=x&&"ExpressionStatement"===x.type,T=E[1].length&&E[1][0].node.computed;if(1===E[0].length){var P=E[0][0].node;return"ThisExpression"===P.type||"Identifier"===P.type&&(isFactory(P.name)||C&&function isShort(o){return o.length<=h.tabWidth}(P.name)||T)}var N=yd(E[0]).node;return("MemberExpression"===N.type||"OptionalMemberExpression"===N.type)&&"Identifier"===N.property.type&&(isFactory(N.property.name)||T)}(T);function printGroup(o){var h=o.map((function(o){return o.printed}));return o.length>0&&o[o.length-1].needsParens?Im(["("].concat((0,ee.default)(h),[")"])):Im(h)}var re=T.map(printGroup),ne=Im(re),ie=j?3:2,ae=T.reduce((function(o,h){return o.concat(h)}),[]),se=ae.slice(1,-1).some((function(o){return Ud(o.node)}))||ae.slice(0,-1).some((function(o){return Yd(o.node)}))||T[ie]&&Ud(T[ie][0].node);if(T.length<=ie&&!se)return cm(o)?ne:qm(ne);var oe,ue,le=yd(j?T.slice(1,2)[0]:T[0]).node,ce="CallExpression"!==le.type&&"OptionalCallExpression"!==le.type&&shouldInsertEmptyLineAfter(le),pe=Im([printGroup(T[0]),j?Im(T.slice(1,2).map(printGroup)):"",ce?Mm:"",function printIndentedGroup(o){return 0===o.length?"":Vm(qm(Im([Mm,Om(Mm,o.map(printGroup))])))}(T.slice(j?2:1))]),fe=x.map((function(o){return o.node})).filter(Xd);return se||fe.length>2&&fe.some((function(o){return!o.arguments.every((function(o){return vm(o,0)}))}))||re.slice(0,-1).some(Xm)||(oe=yd(re),ue=yd(yd(T)).node,Xd(ue)&&Xm(oe)&&fe.slice(0,-1).some((function(o){return o.arguments.some(nm)})))?qm(pe):Im([Xm(ne)||ce?zm:"",Wm([ne,pe])])}(o,h,E);var Me=Im([Ie?"new ":"",o.call(E,"callee"),Oe,Re?"/*:: ".concat(C.callee.trailingComments[0].value.slice(2).trim()," */"):"",printFunctionTypeParameters(o,0,E),printArgumentsList(o,h,E)]);return Xd(C.callee)?qm(Me):Me;case"TSInterfaceDeclaration":return C.declare&&N.push("declare "),N.push(C.abstract?"abstract ":"",printTypeScriptModifiers(o,0,E),"interface ",o.call(E,"id"),C.typeParameters?o.call(E,"typeParameters"):""," "),C.extends&&C.extends.length&&N.push(qm(Vm(Im([Lm,"extends ",(1===C.extends.length?$d:Vm)(Om(Im([",",Rm]),o.map(E,"extends")))," "])))),N.push(o.call(E,"body")),Im(N);case"ObjectTypeInternalSlot":return Im([C.static?"static ":"","[[",o.call(E,"id"),"]]",printOptionalToken(o),C.method?"":": ",o.call(E,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":var Le;Le="TSTypeLiteral"===C.type?"members":"TSInterfaceBody"===C.type?"body":"properties";var je="ObjectTypeAnnotation"===C.type,qe=[];je&&qe.push("indexers","callProperties","internalSlots"),qe.push(Le);var Ve=qe.map((function(o){return C[o][0]})).sort((function(o,E){return h.locStart(o)-h.locStart(E)}))[0],Ue=o.getParentNode(0),We=je&&Ue&&("InterfaceDeclaration"===Ue.type||"DeclareInterface"===Ue.type||"DeclareClass"===Ue.type)&&"body"===o.getName(),Ge="TSInterfaceBody"===C.type||We||"ObjectPattern"===C.type&&"FunctionDeclaration"!==Ue.type&&"FunctionExpression"!==Ue.type&&"ArrowFunctionExpression"!==Ue.type&&"ObjectMethod"!==Ue.type&&"ClassMethod"!==Ue.type&&"ClassPrivateMethod"!==Ue.type&&"AssignmentPattern"!==Ue.type&&"CatchClause"!==Ue.type&&C.properties.some((function(o){return o.value&&("ObjectPattern"===o.value.type||"ArrayPattern"===o.value.type)}))||"ObjectPattern"!==C.type&&Ve&&md(h.originalText,h.locStart(C),h.locStart(Ve)),He=We?";":"TSInterfaceBody"===C.type||"TSTypeLiteral"===C.type?Hm(T,";"):",",ze=C.exact?"{|":"{",Ke=C.exact?"|}":"}",Ye=[];qe.forEach((function(x){o.each((function(o){var x=o.getValue();Ye.push({node:x,printed:E(o),loc:h.locStart(x)})}),x)}));var $e=[],Je=Ye.sort((function(o,h){return o.loc-h.loc})).map((function(o){var E=Im($e.concat(qm(o.printed)));return $e=[He,Rm],"TSPropertySignature"!==o.node.type&&"TSMethodSignature"!==o.node.type&&"TSConstructSignatureDeclaration"!==o.node.type||!xd(o.node)||$e.shift(),wd(h.originalText,o.node,h.locEnd)&&$e.push(Mm),E}));if(C.inexact){var Xe;if(jd(C)){var Qe=!C.comments.every(Dh.isBlockComment),Ze=Na.printDanglingComments(o,h,!0);Xe=Im([Ze,Qe||dd(h.originalText,h.locEnd(C.comments[C.comments.length-1]))?Mm:Rm,"..."])}else Xe="...";Je.push(Im($e.concat(Xe)))}var rt,ot=yd(C[Le]),ut=!(C.inexact||ot&&("RestElement"===ot.type||xd(ot)));if(0===Je.length){if(!jd(C))return Im([ze,Ke,printTypeAnnotation(o,h,E)]);rt=qm(Im([ze,Na.printDanglingComments(o,h),Lm,Ke,printOptionalToken(o),printTypeAnnotation(o,h,E)]))}else rt=Im([ze,Vm(Im([h.bracketSpacing?Rm:Lm,Im(Je)])),Hm(ut&&(","!==He||shouldPrintComma$1(h))?He:""),Im([h.bracketSpacing?Rm:Lm,Ke]),printOptionalToken(o),printTypeAnnotation(o,h,E)]);return o.match((function(o){return"ObjectPattern"===o.type&&!o.decorators}),(function(o,h,E){return shouldHugArguments(o)&&("params"===h||"parameters"===h)&&0===E}))||o.match(shouldHugType,(function(o,h){return"typeAnnotation"===h}),(function(o,h){return"typeAnnotation"===h}),(function(o,h,E){return shouldHugArguments(o)&&("params"===h||"parameters"===h)&&0===E}))?rt:qm(rt,{shouldBreak:Ge});case"ObjectProperty":case"Property":return C.method||"get"===C.kind||"set"===C.kind?printMethod(o,h,E):(C.shorthand?N.push(o.call(E,"value")):N.push(printAssignment(C.key,printPropertyKey(o,h,E),":",C.value,o.call(E,"value"),h)),Im(N));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return C.decorators&&0!==C.decorators.length&&N.push(printDecorators(o,h,E)),C.accessibility&&N.push(C.accessibility+" "),C.static&&N.push("static "),("TSAbstractMethodDefinition"===C.type||C.abstract)&&N.push("abstract "),N.push(printMethod(o,h,E)),Im(N);case"ObjectMethod":return printMethod(o,h,E);case"Decorator":return Im(["@",o.call(E,"expression"),o.call(E,"callee")]);case"ArrayExpression":case"ArrayPattern":if(0===C.elements.length)jd(C)?N.push(qm(Im(["[",Na.printDanglingComments(o,h),Lm,"]"]))):N.push("[]");else{var ct=yd(C.elements),pt=!(ct&&"RestElement"===ct.type),ft=pt&&null===ct,ht=C.elements.length>1&&C.elements.every((function(o,h,E){var x=o&&o.type;if("ArrayExpression"!==x&&"ObjectExpression"!==x)return!1;var C=E[h+1];if(C&&x!==C.type)return!1;var T="ArrayExpression"===x?"elements":"properties";return o[T]&&o[T].length>1}));N.push(qm(Im(["[",Vm(Im([Lm,printArrayItems(o,h,"elements",E)])),ft?",":"",Hm(pt&&!ft&&shouldPrintComma$1(h)?",":""),Na.printDanglingComments(o,h,!0),Lm,"]"]),{shouldBreak:ht}))}return N.push(printOptionalToken(o),printTypeAnnotation(o,h,E)),Im(N);case"SequenceExpression":var mt=o.getParentNode(0);if("ExpressionStatement"===mt.type||"ForStatement"===mt.type){var vt=[];return o.each((function(o){0===o.getName()?vt.push(E(o)):vt.push(",",Vm(Im([Rm,E(o)])))}),"expressions"),qm(Im(vt))}return qm(Im([Om(Im([",",Rm]),o.map(E,"expressions"))]));case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return printRegex(C);case"NumericLiteral":return Dd(C.extra.raw);case"BigIntLiteral":return(C.bigint||(C.extra?C.extra.raw:C.raw)).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":if(C.regex)return printRegex(C.regex);if("number"==typeof C.value)return Dd(C.raw);if("string"!=typeof C.value)return""+C.value;var Dt=o.getParentNode(1),Et="typescript"===h.parser&&"string"==typeof C.value&&Dt&&("Program"===Dt.type||"BlockStatement"===Dt.type);return nodeStr(C,h,Et);case"Directive":return o.call(E,"value");case"DirectiveLiteral":return nodeStr(C,h);case"UnaryExpression":return N.push(C.operator),/[a-z]$/.test(C.operator)&&N.push(" "),C.argument.comments&&C.argument.comments.length>0?N.push(qm(Im(["(",Vm(Im([Lm,o.call(E,"argument")])),Lm,")"]))):N.push(o.call(E,"argument")),Im(N);case"UpdateExpression":return N.push(o.call(E,"argument"),C.operator),C.prefix&&N.reverse(),Im(N);case"ConditionalExpression":return printTernaryOperator(o,h,E,{beforeParts:function beforeParts(){return[o.call(E,"test")]},afterParts:function afterParts(o){return[o?Lm:""]},shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":var Ct,St=o.map((function(o){return E(o)}),"declarations"),kt=o.getParentNode(),_t="ForStatement"===kt.type||"ForInStatement"===kt.type||"ForOfStatement"===kt.type,Ft=C.declarations.some((function(o){return o.init}));return 1!==St.length||C.declarations[0].comments?St.length>0&&(Ct=Vm(St[0])):Ct=St[0],N=[C.declare?"declare ":"",C.kind,Ct?Im([" ",Ct]):"",Vm(Im(St.slice(1).map((function(o){return Im([",",Ft&&!_t?Mm:Rm,o])}))))],_t&&kt.body!==C||N.push(T),qm(Im(N));case"TSTypeAliasDeclaration":C.declare&&N.push("declare ");var Nt=printAssignmentRight(C.id,C.typeAnnotation,C.typeAnnotation&&o.call(E,"typeAnnotation"),h);return N.push("type ",o.call(E,"id"),o.call(E,"typeParameters")," =",Nt,T),qm(Im(N));case"VariableDeclarator":return printAssignment(C.id,o.call(E,"id")," =",C.init,C.init&&o.call(E,"init"),h);case"WithStatement":return qm(Im(["with (",o.call(E,"object"),")",adjustClause(C.body,o.call(E,"body"))]));case"IfStatement":var It=adjustClause(C.consequent,o.call(E,"consequent")),Rt=qm(Im(["if (",qm(Im([Vm(Im([Lm,o.call(E,"test")])),Lm])),")",It]));if(N.push(Rt),C.alternate){var Mt=Yd(C.consequent)&&C.consequent.comments.some((function(o){return o.trailing&&!Dh.isBlockComment(o)}))||_m(C),Lt="BlockStatement"===C.consequent.type&&!Mt;N.push(Lt?" ":Mm),jd(C)&&N.push(Na.printDanglingComments(o,h,!0),Mt?Mm:" "),N.push("else",qm(adjustClause(C.alternate,o.call(E,"alternate"),"IfStatement"===C.alternate.type)))}return Im(N);case"ForStatement":var jt=adjustClause(C.body,o.call(E,"body")),qt=Na.printDanglingComments(o,h,!0),Vt=qt?Im([qt,Lm]):"";return C.init||C.test||C.update?Im([Vt,qm(Im(["for (",qm(Im([Vm(Im([Lm,o.call(E,"init"),";",Rm,o.call(E,"test"),";",Rm,o.call(E,"update")])),Lm])),")",jt]))]):Im([Vt,qm(Im(["for (;;)",jt]))]);case"WhileStatement":return qm(Im(["while (",qm(Im([Vm(Im([Lm,o.call(E,"test")])),Lm])),")",adjustClause(C.body,o.call(E,"body"))]));case"ForInStatement":return qm(Im([C.each?"for each (":"for (",o.call(E,"left")," in ",o.call(E,"right"),")",adjustClause(C.body,o.call(E,"body"))]));case"ForOfStatement":return qm(Im(["for",C.await?" await":""," (",o.call(E,"left")," of ",o.call(E,"right"),")",adjustClause(C.body,o.call(E,"body"))]));case"DoWhileStatement":var Ut=adjustClause(C.body,o.call(E,"body")),Kt=qm(Im(["do",Ut]));return N=[Kt],"BlockStatement"===C.body.type?N.push(" "):N.push(Mm),N.push("while ("),N.push(qm(Im([Vm(Im([Lm,o.call(E,"test")])),Lm])),")",T),Im(N);case"DoExpression":return Im(["do ",o.call(E,"body")]);case"BreakStatement":return N.push("break"),C.label&&N.push(" ",o.call(E,"label")),N.push(T),Im(N);case"ContinueStatement":return N.push("continue"),C.label&&N.push(" ",o.call(E,"label")),N.push(T),Im(N);case"LabeledStatement":return"EmptyStatement"===C.body.type?Im([o.call(E,"label"),":;"]):Im([o.call(E,"label"),": ",o.call(E,"body")]);case"TryStatement":return Im(["try ",o.call(E,"block"),C.handler?Im([" ",o.call(E,"handler")]):"",C.finalizer?Im([" finally ",o.call(E,"finalizer")]):""]);case"CatchClause":if(C.param){var Yt=C.param.comments&&C.param.comments.some((function(o){return!Dh.isBlockComment(o)||o.leading&&dd(h.originalText,h.locEnd(o))||o.trailing&&dd(h.originalText,h.locStart(o),{backwards:!0})})),$t=o.call(E,"param");return Im(["catch ",Im(Yt?["(",Vm(Im([Lm,$t])),Lm,") "]:["(",$t,") "]),o.call(E,"body")])}return Im(["catch ",o.call(E,"body")]);case"ThrowStatement":return Im(["throw",printReturnAndThrowArgument(o,h,E)]);case"SwitchStatement":return Im([qm(Im(["switch (",Vm(Im([Lm,o.call(E,"discriminant")])),Lm,")"]))," {",C.cases.length>0?Vm(Im([Mm,Om(Mm,o.map((function(o){var x=o.getValue();return Im([o.call(E),C.cases.indexOf(x)!==C.cases.length-1&&wd(h.originalText,x,h.locEnd)?Mm:""])}),"cases"))])):"",Mm,"}"]);case"SwitchCase":C.test?N.push("case ",o.call(E,"test"),":"):N.push("default:");var Jt=C.consequent.filter((function(o){return"EmptyStatement"!==o.type}));if(Jt.length>0){var Qt=o.call((function(o){return printStatementSequence(o,h,E)}),"consequent");N.push(1===Jt.length&&"BlockStatement"===Jt[0].type?Im([" ",Qt]):Vm(Im([Mm,Qt])))}return Im(N);case"DebuggerStatement":return Im(["debugger",T]);case"JSXAttribute":if(N.push(o.call(E,"name")),C.value){var Zt;if(xm(C.value)){var er=Fm(C.value).replace(/'/g,"'").replace(/"/g,'"'),tr=Sd(er,h.jsxSingleQuote?"'":'"'),rr="'"===tr?"'":""";er=er.slice(1,-1).replace(new RegExp(tr,"g"),rr),Zt=Im([tr,er,tr])}else Zt=o.call(E,"value");N.push("=",Zt)}return Im(N);case"JSXIdentifier":return""+C.name;case"JSXNamespacedName":return Om(":",[o.call(E,"namespace"),o.call(E,"name")]);case"JSXMemberExpression":return Om(".",[o.call(E,"object"),o.call(E,"property")]);case"TSQualifiedName":return Om(".",[o.call(E,"left"),o.call(E,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return Im(["{",o.call((function(o){var x=Im(["...",E(o)]),C=o.getValue();return C.comments&&C.comments.length?Im([Vm(Im([Lm,Na.printComments(o,(function(){return x}),h)])),Lm]):x}),"JSXSpreadAttribute"===C.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":var nr=o.getParentNode(0),ir=C.expression.comments&&C.expression.comments.length>0,ar="JSXEmptyExpression"===C.expression.type||!ir&&("ArrayExpression"===C.expression.type||"ObjectExpression"===C.expression.type||"ArrowFunctionExpression"===C.expression.type||"CallExpression"===C.expression.type||"OptionalCallExpression"===C.expression.type||"FunctionExpression"===C.expression.type||"TemplateLiteral"===C.expression.type||"TaggedTemplateExpression"===C.expression.type||"DoExpression"===C.expression.type||sm(nr)&&("ConditionalExpression"===C.expression.type||Jd(C.expression)));return qm(Im(ar?["{",o.call(E,"expression"),Km,"}"]:["{",Vm(Im([Lm,o.call(E,"expression")])),Lm,Km,"}"]));case"JSXFragment":case"JSXElement":var sr=Na.printComments(o,(function(){return function printJSXElement(o,h,E){var x=o.getValue();if("JSXElement"===x.type&&Qd(x))return Im([o.call(E,"openingElement"),o.call(E,"closingElement")]);var C="JSXElement"===x.type?o.call(E,"openingElement"):o.call(E,"openingFragment"),T="JSXElement"===x.type?o.call(E,"closingElement"):o.call(E,"closingFragment");if(1===x.children.length&&"JSXExpressionContainer"===x.children[0].type&&("TemplateLiteral"===x.children[0].expression.type||"TaggedTemplateExpression"===x.children[0].expression.type))return Im([C,Im(o.map(E,"children")),T]);x.children=x.children.map((function(o){return om(o)?{type:"JSXText",value:" ",raw:" "}:o}));for(var P=x.children.filter(sm).length>0,N=x.children.filter((function(o){return"JSXExpressionContainer"===o.type})).length>1,R="JSXElement"===x.type&&x.openingElement.attributes.length>1,j=Xm(C)||P||R||N,ee="mdx"===o.getParentNode().rootMarker,re=h.singleQuote?"{' '}":'{" "}',ne=ee?Im([" "]):Hm(Im([re,Lm])," "),ie=x.openingElement&&x.openingElement.name&&"fbt"===x.openingElement.name.name,ae=function printJSXChildren(o,h,E,x,C){var T=o.getValue(),P=[];return o.map((function(o,h){var N=o.getValue();if(lm(N)){var R=Fm(N);if(pm(N)){var j,ee=R.split(Tm);if(""===ee[0]){if(P.push(""),ee.shift(),/\n/.test(ee[0])){var re=T.children[h+1];P.push(separatorWithWhitespace(C,ee[1],N,re))}else P.push(x);ee.shift()}if(""===yd(ee)&&(ee.pop(),j=ee.pop()),0===ee.length)return;if(ee.forEach((function(o,h){h%2==1?P.push(Rm):P.push(o)})),void 0!==j)if(/\n/.test(j)){var ne=T.children[h+1];P.push(separatorWithWhitespace(C,yd(P),N,ne))}else P.push(x);else{var ie=T.children[h+1];P.push(separatorNoWhitespace(C,yd(P),N,ie))}}else/\n/.test(R)?R.match(/\n/g).length>1&&(P.push(""),P.push(Mm)):(P.push(""),P.push(x))}else{var ae=E(o);P.push(ae);var se=T.children[h+1];if(se&&pm(se)){var oe=Fm(se).trim().split(Tm)[0];P.push(separatorNoWhitespace(C,oe,N,se))}else P.push(Mm)}}),"children"),P}(o,0,E,ne,ie),se=x.children.some((function(o){return pm(o)})),oe=ae.length-2;oe>=0;oe--){var ue=""===ae[oe]&&""===ae[oe+1],le=ae[oe]===Mm&&""===ae[oe+1]&&ae[oe+2]===Mm,ce=(ae[oe]===Lm||ae[oe]===Mm)&&""===ae[oe+1]&&ae[oe+2]===ne,pe=ae[oe]===ne&&""===ae[oe+1]&&(ae[oe+2]===Lm||ae[oe+2]===Mm),fe=ae[oe]===ne&&""===ae[oe+1]&&ae[oe+2]===ne,he=ae[oe]===Lm&&""===ae[oe+1]&&ae[oe+2]===Mm||ae[oe]===Mm&&""===ae[oe+1]&&ae[oe+2]===Lm;le&&se||ue||ce||fe||he?ae.splice(oe,2):pe&&ae.splice(oe+1,2)}for(;ae.length&&(Qm(yd(ae))||Zm(yd(ae)));)ae.pop();for(;ae.length&&(Qm(ae[0])||Zm(ae[0]))&&(Qm(ae[1])||Zm(ae[1]));)ae.shift(),ae.shift();var de=[];ae.forEach((function(o,h){if(o===ne){if(1===h&&""===ae[h-1])return 2===ae.length?void de.push(re):void de.push(Im([re,Mm]));if(h===ae.length-1)return void de.push(re);if(""===ae[h-1]&&ae[h-2]===Mm)return void de.push(re)}de.push(o),Xm(o)&&(j=!0)}));var me=se?Gm(de):qm(Im(de),{shouldBreak:!0});if(ee)return me;var ye=qm(Im([C,Vm(Im([Mm,me])),Mm,T]));return j?ye:Wm([qm(Im([C,Im(ae),T])),ye])}(o,h,E)}),h);return function maybeWrapJSXElementInParens(o,h,E){var x=o.getParentNode();if(!x)return h;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[x.type])return h;var C=o.match(void 0,(function(o){return"ArrowFunctionExpression"===o.type}),Xd,(function(o){return"JSXExpressionContainer"===o.type})),T=id(o,E);return qm(Im([T?"":Hm("("),Vm(Im([Lm,h])),Lm,T?"":Hm(")")]),{shouldBreak:C})}(o,sr,h);case"JSXOpeningElement":var or=o.getValue(),ur=or.name&&or.name.comments&&or.name.comments.length>0||or.typeParameters&&or.typeParameters.comments&&or.typeParameters.comments.length>0;if(or.selfClosing&&!or.attributes.length&&!ur)return Im(["<",o.call(E,"name"),o.call(E,"typeParameters")," />"]);if(or.attributes&&1===or.attributes.length&&or.attributes[0].value&&xm(or.attributes[0].value)&&!or.attributes[0].value.value.includes("\n")&&!ur&&(!or.attributes[0].comments||!or.attributes[0].comments.length))return qm(Im(["<",o.call(E,"name"),o.call(E,"typeParameters")," ",Im(o.map(E,"attributes")),or.selfClosing?" />":">"]));var lr=or.attributes.length&&Yd(yd(or.attributes)),cr=!or.attributes.length&&!ur||h.jsxBracketSameLine&&(!ur||or.attributes.length)&&!lr,pr=or.attributes&&or.attributes.some((function(o){return o.value&&xm(o.value)&&o.value.value.includes("\n")}));return qm(Im(["<",o.call(E,"name"),o.call(E,"typeParameters"),Im([Vm(Im(o.map((function(o){return Im([Rm,E(o)])}),"attributes"))),or.selfClosing?Rm:cr?">":Lm]),or.selfClosing?"/>":cr?"":">"]),{shouldBreak:pr});case"JSXClosingElement":return Im(["",o.call(E,"name"),">"]);case"JSXOpeningFragment":case"JSXClosingFragment":var fr=C.comments&&C.comments.length,hr=fr&&!C.comments.every(Dh.isBlockComment),dr="JSXOpeningFragment"===C.type;return Im([dr?"<":"",Vm(Im([hr?Mm:fr&&!dr?" ":"",Na.printDanglingComments(o,h,!0)])),hr?Mm:"",">"]);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":var mr=C.comments&&!C.comments.every(Dh.isBlockComment);return Im([Na.printDanglingComments(o,h,!mr),mr?Mm:""]);case"ClassBody":return C.comments||0!==C.body.length?Im(["{",C.body.length>0?Vm(Im([Mm,o.call((function(o){return printStatementSequence(o,h,E)}),"body")])):Na.printDanglingComments(o,h),Mm,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":C.decorators&&0!==C.decorators.length&&N.push(printDecorators(o,h,E)),C.accessibility&&N.push(C.accessibility+" "),C.declare&&N.push("declare "),C.static&&N.push("static "),("TSAbstractClassProperty"===C.type||C.abstract)&&N.push("abstract "),C.readonly&&N.push("readonly ");var yr=Od(C);return yr&&N.push(yr),N.push(printPropertyKey(o,h,E),printOptionalToken(o),printTypeAnnotation(o,h,E)),C.value&&N.push(" =",printAssignmentRight(C.key,C.value,o.call(E,"value"),h)),N.push(T),qm(Im(N));case"ClassDeclaration":case"ClassExpression":return C.declare&&N.push("declare "),N.push(Im(printClass(o,h,E))),Im(N);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return N.push(o.call(E,"expression")),C.typeParameters&&N.push(o.call(E,"typeParameters")),Im(N);case"TemplateElement":return Om(jm,C.value.raw.split(/\r?\n/g));case"TemplateLiteral":var gr=o.map(E,"expressions"),vr=o.getParentNode();if(am(C,vr)){var Dr=function printJestEachTemplateLiteral(o,h,E){var x=o.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(x.length>1||x.some((function(o){return 0!==o.length}))){var C=function(){for(var C=[],T=h.map((function(o){return"${"+ty(o,Object.assign({},E,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"})),P=[{hasLineBreak:!1,cells:[]}],N=1;N0&&"TSRestType"===yd(C[xr]).type;return qm(Im(["[",Vm(Im([Lm,printArrayItems(o,h,xr,E)])),Hm(shouldPrintComma$1(h,"all")&&!br?",":""),Na.printDanglingComments(o,h,!0),Lm,"]"]));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Im([o.call(E,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+C.value;case"DeclareClass":return printFlowDeclaration(o,printClass(o,h,E));case"TSDeclareFunction":return Im([C.declare?"declare ":"",printFunctionDeclaration(o,E,h),T]);case"DeclareFunction":return printFlowDeclaration(o,["function ",o.call(E,"id"),C.predicate?" ":"",o.call(E,"predicate"),T]);case"DeclareModule":return printFlowDeclaration(o,["module ",o.call(E,"id")," ",o.call(E,"body")]);case"DeclareModuleExports":return printFlowDeclaration(o,["module.exports",": ",o.call(E,"typeAnnotation"),T]);case"DeclareVariable":return printFlowDeclaration(o,["var ",o.call(E,"id"),T]);case"DeclareExportAllDeclaration":return Im(["declare export * from ",o.call(E,"source")]);case"DeclareExportDeclaration":return Im(["declare ",printExportDeclaration(o,h,E)]);case"DeclareOpaqueType":case"OpaqueType":return N.push("opaque type ",o.call(E,"id"),o.call(E,"typeParameters")),C.supertype&&N.push(": ",o.call(E,"supertype")),C.impltype&&N.push(" = ",o.call(E,"impltype")),N.push(T),"DeclareOpaqueType"===C.type?printFlowDeclaration(o,N):Im(N);case"EnumDeclaration":return Im(["enum ",o.call(E,"id")," ",o.call(E,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===C.type||C.explicitType){var Cr=null;switch(C.type){case"EnumBooleanBody":Cr="boolean";break;case"EnumNumberBody":Cr="number";break;case"EnumStringBody":Cr="string";break;case"EnumSymbolBody":Cr="symbol"}N.push("of ",Cr," ")}return 0===C.members.length?N.push(qm(Im(["{",Na.printDanglingComments(o,h),Lm,"}"]))):N.push(qm(Im(["{",Vm(Im([Mm,printArrayItems(o,h,"members",E),shouldPrintComma$1(h)?",":""])),Na.printDanglingComments(o,h,!0),Mm,"}"]))),Im(N);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Im([o.call(E,"id")," = ","object"===(0,ce.default)(C.init)?o.call(E,"init"):String(C.init)]);case"EnumDefaultedMember":return o.call(E,"id");case"FunctionTypeAnnotation":case"TSFunctionType":var Ar=o.getParentNode(0),Sr=o.getParentNode(1),wr=o.getParentNode(2),kr="TSFunctionType"===C.type||!(("ObjectTypeProperty"===Ar.type||"ObjectTypeInternalSlot"===Ar.type)&&!Od(Ar)&&!Ar.optional&&h.locStart(Ar)===h.locStart(C)||"ObjectTypeCallProperty"===Ar.type||wr&&"DeclareFunction"===wr.type),Tr=kr&&("TypeAnnotation"===Ar.type||"TSTypeAnnotation"===Ar.type),_r=Tr&&kr&&("TypeAnnotation"===Ar.type||"TSTypeAnnotation"===Ar.type)&&"ArrowFunctionExpression"===Sr.type;return gm(Ar,h)&&(kr=!0,Tr=!0),_r&&N.push("("),N.push(printFunctionParams(o,E,h,!1,!0)),(C.returnType||C.predicate||C.typeAnnotation)&&N.push(kr?" => ":": ",o.call(E,"returnType"),o.call(E,"predicate"),o.call(E,"typeAnnotation")),_r&&N.push(")"),qm(Im(N));case"TSRestType":return Im(["...",o.call(E,"typeAnnotation")]);case"TSOptionalType":return Im([o.call(E,"typeAnnotation"),"?"]);case"FunctionTypeParam":return Im([o.call(E,"name"),printOptionalToken(o),C.name?": ":"",o.call(E,"typeAnnotation")]);case"GenericTypeAnnotation":return Im([o.call(E,"id"),o.call(E,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return("DeclareInterface"===C.type||C.declare)&&N.push("declare "),N.push("interface"),"DeclareInterface"!==C.type&&"InterfaceDeclaration"!==C.type||N.push(" ",o.call(E,"id"),o.call(E,"typeParameters")),C.extends.length>0&&N.push(qm(Vm(Im([Rm,"extends ",(1===C.extends.length?$d:Vm)(Om(Im([",",Rm]),o.map(E,"extends")))])))),N.push(" ",o.call(E,"body")),qm(Im(N));case"ClassImplements":case"InterfaceExtends":return Im([o.call(E,"id"),o.call(E,"typeParameters")]);case"TSClassImplements":return Im([o.call(E,"expression"),o.call(E,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":for(var Fr=o.map(E,"types"),Pr=[],Br=!1,Nr=0;Nr1&&(Br=!0),Pr.push(" & ",Nr>1?Vm(Fr[Nr]):Fr[Nr])):Pr.push(Vm(Im([" &",Rm,Fr[Nr]])));return qm(Im(Pr));case"TSUnionType":case"UnionTypeAnnotation":var Ir=o.getParentNode(),Or=!("TypeParameterInstantiation"===Ir.type||"TSTypeParameterInstantiation"===Ir.type||"GenericTypeAnnotation"===Ir.type||"TSTypeReference"===Ir.type||"TSTypeAssertion"===Ir.type||"TupleTypeAnnotation"===Ir.type||"TSTupleType"===Ir.type||"FunctionTypeParam"===Ir.type&&!Ir.name||("TypeAlias"===Ir.type||"VariableDeclarator"===Ir.type||"TSTypeAliasDeclaration"===Ir.type)&&Wd(h.originalText,C,h)),Rr=shouldHugType(C),Mr=o.map((function(o){var x=o.call(E);return Rr||(x=Um(2,x)),Na.printComments(o,(function(){return x}),h)}),"types");if(Rr)return Om(" | ",Mr);var Lr=Or&&!Wd(h.originalText,C,h),jr=Im([Hm(Im([Lr?Rm:"","| "])),Om(Im([Rm,"| "]),Mr)]);return id(o,h)?qm(Im([Vm(jr),Lm])):"TupleTypeAnnotation"===Ir.type&&Ir.types.length>1||"TSTupleType"===Ir.type&&Ir.elementTypes.length>1?qm(Im([Vm(Im([Hm(Im(["(",Lm])),jr])),Lm,Hm(")")])):qm(Or?Vm(jr):jr);case"NullableTypeAnnotation":return Im(["?",o.call(E,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"ObjectTypeCallProperty":return C.static&&N.push("static "),N.push(o.call(E,"value")),Im(N);case"ObjectTypeIndexer":var qr=Od(C);return Im([qr||"","[",o.call(E,"id"),C.id?": ":"",o.call(E,"key"),"]: ",o.call(E,"value")]);case"ObjectTypeProperty":var Vr=Od(C),Ur="";return C.proto?Ur="proto ":C.static&&(Ur="static "),Im([Ur,im(C)?C.kind+" ":"",Vr||"",printPropertyKey(o,h,E),printOptionalToken(o),rm(C,h)?"":": ",o.call(E,"value")]);case"QualifiedTypeIdentifier":return Im([o.call(E,"qualification"),".",o.call(E,"id")]);case"StringLiteralTypeAnnotation":return nodeStr(C,h);case"NumberLiteralTypeAnnotation":return assert.strictEqual((0,ce.default)(C.value),"number"),null!=C.extra?Dd(C.extra.raw):Dd(C.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":("DeclareTypeAlias"===C.type||C.declare)&&N.push("declare ");var Wr=printAssignmentRight(C.id,C.right,o.call(E,"right"),h);return N.push("type ",o.call(E,"id"),o.call(E,"typeParameters")," =",Wr,T),qm(Im(N));case"TypeCastExpression":return Im(["(",o.call(E,"expression"),printTypeAnnotation(o,h,E),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":var Gr=o.getValue(),Hr=Gr.range?h.originalText.slice(0,Gr.range[0]).lastIndexOf("/*"):-1;return Hr>=0&&h.originalText.slice(Hr).match(/^\/\*\s*::/)?Im(["/*:: ",printTypeParameters(o,h,E,"params")," */"]):printTypeParameters(o,h,E,"params");case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return printTypeParameters(o,h,E,"params");case"TSTypeParameter":case"TypeParameter":var zr=o.getParentNode();if("TSMappedType"===zr.type)return N.push("[",o.call(E,"name")),C.constraint&&N.push(" in ",o.call(E,"constraint")),N.push("]"),Im(N);var Kr=Od(C);Kr&&N.push(Kr),N.push(o.call(E,"name")),C.bound&&(N.push(": "),N.push(o.call(E,"bound"))),C.constraint&&N.push(" extends ",o.call(E,"constraint")),C.default&&N.push(" = ",o.call(E,"default"));var Yr=o.getNode(2);return zr.params&&1===zr.params.length&&wm(h)&&!C.constraint&&"ArrowFunctionExpression"===Yr.type&&N.push(","),Im(N);case"TypeofTypeAnnotation":return Im(["typeof ",o.call(E,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Im(["%checks(",o.call(E,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return Im([o.call(E,"expression")," as ",o.call(E,"typeAnnotation")]);case"TSArrayType":return Im([o.call(E,"elementType"),"[]"]);case"TSPropertySignature":return C.export&&N.push("export "),C.accessibility&&N.push(C.accessibility+" "),C.static&&N.push("static "),C.readonly&&N.push("readonly "),N.push(printPropertyKey(o,h,E),printOptionalToken(o)),C.typeAnnotation&&(N.push(": "),N.push(o.call(E,"typeAnnotation"))),C.initializer&&N.push(" = ",o.call(E,"initializer")),Im(N);case"TSParameterProperty":return C.accessibility&&N.push(C.accessibility+" "),C.export&&N.push("export "),C.static&&N.push("static "),C.readonly&&N.push("readonly "),N.push(o.call(E,"parameter")),Im(N);case"TSTypeReference":return Im([o.call(E,"typeName"),printTypeParameters(o,h,E,"typeParameters")]);case"TSTypeQuery":return Im(["typeof ",o.call(E,"exprName")]);case"TSIndexSignature":var $r=o.getParentNode(),Jr=C.parameters.length>1?Hm(shouldPrintComma$1(h)?",":""):"",Xr=qm(Im([Vm(Im([Lm,Om(Im([", ",Lm]),o.map(E,"parameters"))])),Jr,Lm]));return Im([C.export?"export ":"",C.accessibility?Im([C.accessibility," "]):"",C.static?"static ":"",C.readonly?"readonly ":"","[",C.parameters?Xr:"",C.typeAnnotation?"]: ":"]",C.typeAnnotation?o.call(E,"typeAnnotation"):"","ClassBody"===$r.type?T:""]);case"TSTypePredicate":return Im([C.asserts?"asserts ":"",o.call(E,"parameterName"),C.typeAnnotation?Im([" is ",o.call(E,"typeAnnotation")]):""]);case"TSNonNullExpression":return Im([o.call(E,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return Im([C.isTypeOf?"typeof ":"","import(",o.call(E,C.parameter?"parameter":"argument"),")",C.qualifier?Im([".",o.call(E,"qualifier")]):"",printTypeParameters(o,h,E,"typeParameters")]);case"TSLiteralType":return o.call(E,"literal");case"TSIndexedAccessType":return Im([o.call(E,"objectType"),"[",o.call(E,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==C.type&&N.push("new "),N.push(qm(printFunctionParams(o,E,h,!1,!0))),C.returnType||C.typeAnnotation){var Qr="TSConstructorType"===C.type;N.push(Qr?" => ":": ",o.call(E,"returnType"),o.call(E,"typeAnnotation"))}return Im(N);case"TSTypeOperator":return Im([C.operator," ",o.call(E,"typeAnnotation")]);case"TSMappedType":var Zr=md(h.originalText,h.locStart(C),h.locEnd(C));return qm(Im(["{",Vm(Im([h.bracketSpacing?Rm:Lm,C.readonly?Im([Ld(C.readonly,"readonly")," "]):"",printTypeScriptModifiers(o,0,E),o.call(E,"typeParameter"),C.optional?Ld(C.optional,"?"):"",C.typeAnnotation?": ":"",o.call(E,"typeAnnotation"),Hm(T,"")])),Na.printDanglingComments(o,h,!0),h.bracketSpacing?Rm:Lm,"}"]),{shouldBreak:Zr});case"TSMethodSignature":return N.push(C.accessibility?Im([C.accessibility," "]):"",C.export?"export ":"",C.static?"static ":"",C.readonly?"readonly ":"",C.computed?"[":"",o.call(E,"key"),C.computed?"]":"",printOptionalToken(o),printFunctionParams(o,E,h,!1,!0)),(C.returnType||C.typeAnnotation)&&N.push(": ",o.call(E,"returnType"),o.call(E,"typeAnnotation")),qm(Im(N));case"TSNamespaceExportDeclaration":return N.push("export as namespace ",o.call(E,"id")),h.semi&&N.push(";"),qm(Im(N));case"TSEnumDeclaration":return C.declare&&N.push("declare "),C.modifiers&&N.push(printTypeScriptModifiers(o,0,E)),C.const&&N.push("const "),N.push("enum ",o.call(E,"id")," "),0===C.members.length?N.push(qm(Im(["{",Na.printDanglingComments(o,h),Lm,"}"]))):N.push(qm(Im(["{",Vm(Im([Mm,printArrayItems(o,h,"members",E),shouldPrintComma$1(h,"es5")?",":""])),Na.printDanglingComments(o,h,!0),Mm,"}"]))),Im(N);case"TSEnumMember":return N.push(o.call(E,"id")),C.initializer&&N.push(" = ",o.call(E,"initializer")),Im(N);case"TSImportEqualsDeclaration":return C.isExport&&N.push("export "),N.push("import ",o.call(E,"id")," = ",o.call(E,"moduleReference")),h.semi&&N.push(";"),qm(Im(N));case"TSExternalModuleReference":return Im(["require(",o.call(E,"expression"),")"]);case"TSModuleDeclaration":var en=o.getParentNode(),tn=lm(C.id),rn="TSModuleDeclaration"===en.type,nn=C.body&&"TSModuleDeclaration"===C.body.type;if(rn)N.push(".");else{C.declare&&N.push("declare "),N.push(printTypeScriptModifiers(o,0,E));var an=h.originalText.slice(h.locStart(C),h.locStart(C.id));"Identifier"===C.id.type&&"global"===C.id.name&&!/namespace|module/.test(an)||N.push(tn||/(^|\s)module(\s|$)/.test(an)?"module ":"namespace ")}return N.push(o.call(E,"id")),nn?N.push(o.call(E,"body")):C.body?N.push(" ",qm(o.call(E,"body"))):N.push(T),Im(N);case"PrivateName":return Im(["#",o.call(E,"id")]);case"TSPrivateIdentifier":return C.escapedText;case"TSConditionalType":return printTernaryOperator(o,h,E,{beforeParts:function beforeParts(){return[o.call(E,"checkType")," ","extends"," ",o.call(E,"extendsType")]},afterParts:function afterParts(){return[]},shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return Im(["infer"," ",o.call(E,"typeParameter")]);case"InterpreterDirective":return N.push("#!",C.value,Mm),wd(h.originalText,C,h.locEnd)&&N.push(Mm),Im(N);case"NGRoot":return Im([].concat(o.call(E,"node"),C.node.comments&&0!==C.node.comments.length?Im([" //",C.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return qm(Om(Im([";",Rm]),o.map((function(o){return zd(o)?E(o):Im(["(",E(o),")"])}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Im([C.prefix,": ",C.value.trim()]);case"NGMicrosyntax":return Im(o.map((function(o,h){return Im([0===h?"":dm(o.getValue(),h,C)?" ":Im([";",Rm]),E(o)])}),"body"));case"NGMicrosyntaxKey":return/^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(C.name)?C.name:JSON.stringify(C.name);case"NGMicrosyntaxExpression":return Im([o.call(E,"expression"),null===C.alias?"":Im([" as ",o.call(E,"alias")])]);case"NGMicrosyntaxKeyedExpression":var sn=o.getName(),on=o.getParentNode(),un=dm(C,sn,on)||(1===sn&&("then"===C.key.name||"else"===C.key.name)||2===sn&&"else"===C.key.name&&"NGMicrosyntaxKeyedExpression"===on.body[sn-1].type&&"then"===on.body[sn-1].key.name)&&"NGMicrosyntaxExpression"===on.body[0].type;return Im([o.call(E,"key"),un?" ":": ",o.call(E,"expression")]);case"NGMicrosyntaxLet":return Im(["let ",o.call(E,"key"),null===C.value?"":Im([" = ",o.call(E,"value")])]);case"NGMicrosyntaxAs":return Im([o.call(E,"key")," as ",o.call(E,"alias")]);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Im(["?",o.call(E,"typeAnnotation")]);case"TSJSDocNonNullableType":return Im(["!",o.call(E,"typeAnnotation")]);case"TSJSDocFunctionType":return Im(["function(","): ",o.call(E,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}(o,h,E,x);if(!C||Zm(P))return P;var N=Md(o),R=[];if("ClassMethod"===C.type||"ClassPrivateMethod"===C.type||"ClassProperty"===C.type||"TSAbstractClassProperty"===C.type||"ClassPrivateProperty"===C.type||"MethodDefinition"===C.type||"TSAbstractMethodDefinition"===C.type||"TSDeclareMethod"===C.type);else if(C.decorators&&C.decorators.length>0&&!(N&&h.locStart(N,{ignoreDecorators:!0})>h.locStart(C.decorators[0]))){var j="ClassExpression"===C.type||"ClassDeclaration"===C.type||Hd(C,h)?Mm:Rm;o.each((function(o){var h=o.getValue();h=h.expression?h.expression:h.callee,R.push(E(o),j)}),"decorators"),N&&R.unshift(Mm)}else Zd(C)&&C.declaration&&C.declaration.decorators&&C.declaration.decorators.length>0&&h.locStart(C,{ignoreDecorators:!0})>h.locStart(C.declaration.decorators[0])?o.each((function(o){var h="Decorator"===o.getValue().type?"":"@";R.push(h,E(o),Mm)}),"declaration","decorators"):T=id(o,h);var re=[];if(T&&re.unshift("("),re.push(P),T){var ne=o.getValue();Vd(ne)&&(re.push(" /*"),re.push(ne.trailingComments[0].value.trimStart()),re.push("*/"),ne.trailingComments[0].printed=!0),re.push(")")}return R.length>0?qm(Im(R.concat(re))):Im(re)},embed:Mh,insertPragma:_d,massageAstNode:Lh,hasPrettierIgnore:Kd,willPrintOwnComments:function willPrintOwnComments(o){var h=o.getValue(),E=o.getParentNode();return(h&&(sm(h)||Vd(h)||E&&("CallExpression"===E.type||"OptionalCallExpression"===E.type)&&(qd(h.leadingComments)||qd(h.trailingComments)))||E&&("JSXSpreadAttribute"===E.type||"JSXSpreadChild"===E.type||"UnionTypeAnnotation"===E.type||"TSUnionType"===E.type||("ClassDeclaration"===E.type||"ClassExpression"===E.type)&&E.superClass===h))&&(!Ed(o)||"UnionTypeAnnotation"===E.type||"TSUnionType"===E.type)},canAttachComment:function canAttachComment$1(o){return o.type&&"CommentBlock"!==o.type&&"CommentLine"!==o.type&&"Line"!==o.type&&"Block"!==o.type&&"EmptyStatement"!==o.type&&"TemplateElement"!==o.type&&"Import"!==o.type},printComment:function printComment$2(o,h){var E=o.getValue();switch(E.type){case"CommentBlock":case"Block":if(function isIndentableBlockComment(o){var h="*".concat(o.value,"*").split("\n");return h.length>1&&h.every((function(o){return"*"===o.trim()[0]}))}(E)){var x=function printIndentableBlockComment(o){var h=o.value.split("\n");return Im(["/*",Om(Mm,h.map((function(o,E){return 0===E?o.trimEnd():" "+(E x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Au.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Au.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",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:"JavaScript",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)."}]}},py=["js","node"],fy=[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],hy=["Jakefile"],dy=["chakra","d8","gjs","js","node","qjs","rhino","v8","v8-shell"],my={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:py,extensions:fy,filenames:hy,interpreters:dy,languageId:183},yy=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:py,extensions:fy,filenames:hy,interpreters:dy,languageId:183,default:my}),gy=[".jsx"],vy={name:"JSX",type:"programming",group:"JavaScript",extensions:gy,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Dy=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:gy,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:vy}),Ey=["ts"],xy=["deno","ts-node"],by=[".ts"],Cy={name:"TypeScript",type:"programming",color:"#2b7489",aliases:Ey,interpreters:xy,extensions:by,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Ay=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:Ey,interpreters:xy,extensions:by,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:Cy}),Sy=[".tsx"],wy={name:"TSX",type:"programming",group:"TypeScript",extensions:Sy,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},ky=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:Sy,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:wy}),Ty=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],_y=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],Fy={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Ty,filenames:_y,languageId:174},Py=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Ty,filenames:_y,languageId:174,default:Fy}),By=["jsonc"],Ny=[".jsonc",".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"],Iy=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],Oy={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:By,extensions:Ny,filenames:Iy,languageId:423},Ry=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:By,extensions:Ny,filenames:Iy,languageId:423,default:Oy}),My=[".json5"],Ly={name:"JSON5",type:"data",extensions:My,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},jy=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:My,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:Ly}),qy=getCjsExportFromNamespace(yy),Vy=getCjsExportFromNamespace(Dy),Uy=getCjsExportFromNamespace(Ay),Wy=getCjsExportFromNamespace(ky),Gy=getCjsExportFromNamespace(Py),Hy=getCjsExportFromNamespace(Ry),zy=getCjsExportFromNamespace(jy),Ky={languages:[wu(qy,(function(o){return{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:o.interpreters.concat(["nodejs"])}})),wu(qy,(function(){return{name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),wu(Vy,(function(){return{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]}})),wu(Uy,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),wu(Wy,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),wu(Gy,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),wu(Gy,(function(o){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:o.filenames.concat([".prettierrc"])}})),wu(Hy,(function(o){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:o.filenames.concat([".eslintrc"])}})),wu(zy,(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],options:cy,printers:{estree:ny,"estree-json":ly}},Yy="[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\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]",$y="[\\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]",Jy="[\\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]",Xy=sa.getLast,Qy=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Zy=Qy.concat(["tableCell","paragraph","heading"]),eg=new RegExp($y),tg=new RegExp(Jy);function getOrderedListItemInfo(o,h){var E=h.slice(o.position.start.offset,o.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),x=(0,ne.default)(E,4);return{numberText:x[1],marker:x[2],leadingSpaces:x[3]}}var rg={mapAst:function mapAst(o,h){return function preorder(o,E,x){x=x||[];var C=Object.assign({},h(o,E,x));return C.children&&(C.children=C.children.map((function(o,h){return preorder(o,h,[C].concat(x))}))),C}(o,null,null)},splitText:function splitText(o,h){var E=[];return("preserve"===h.proseWrap?o:o.replace(new RegExp("(".concat(Yy,")\n(").concat(Yy,")"),"g"),"$1$2")).split(/([ \t\n]+)/).forEach((function(o,h,x){h%2!=1?(0!==h&&h!==x.length-1||""!==o)&&o.split(new RegExp("(".concat(Yy,")"))).forEach((function(o,h,E){(0!==h&&h!==E.length-1||""!==o)&&(h%2!=0?appendNode(tg.test(o)?{type:"word",value:o,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:o,kind:eg.test(o)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==o&&appendNode({type:"word",value:o,kind:"non-cjk",hasLeadingPunctuation:tg.test(o[0]),hasTrailingPunctuation:tg.test(Xy(o))}))})):E.push({type:"whitespace",value:/\n/.test(o)?"\n":" "})})),E;function appendNode(o){var h=Xy(E);h&&"word"===h.type&&("non-cjk"===h.kind&&"cj-letter"===o.kind&&!h.hasTrailingPunctuation||"cj-letter"===h.kind&&"non-cjk"===o.kind&&!o.hasLeadingPunctuation?E.push({type:"whitespace",value:" "}):function isBetween(E,x){return h.kind===E&&o.kind===x||h.kind===x&&o.kind===E}("non-cjk","cjk-punctuation")||[h.value,o.value].some((function(o){return/\u3000/.test(o)}))||E.push({type:"whitespace",value:""})),E.push(o)}},punctuationPattern:Jy,getFencedCodeBlockValue:function getFencedCodeBlockValue(o,h){var E=h.slice(o.position.start.offset,o.position.end.offset),x=E.match(/^\s*/)[0].length,C=new RegExp("^\\s{0,".concat(x,"}")),T=E.split("\n"),P=E[x],N=E.slice(x).match(new RegExp("^[".concat(P,"]+")))[0],R=new RegExp("^\\s{0,3}".concat(N)).test(T[T.length-1].slice(getIndent(T.length-1)));return T.slice(1,R?-1:void 0).map((function(o,h){return o.slice(getIndent(h+1)).replace(C,"")})).join("\n");function getIndent(h){return o.position.indent[h-1]-1}},getOrderedListItemInfo:getOrderedListItemInfo,hasGitDiffFriendlyOrderedList:function hasGitDiffFriendlyOrderedList(o,h){if(!o.ordered)return!1;if(o.children.length<2)return!1;var E=Number(getOrderedListItemInfo(o.children[0],h.originalText).numberText),x=Number(getOrderedListItemInfo(o.children[1],h.originalText).numberText);if(0===E&&o.children.length>2){var C=Number(getOrderedListItemInfo(o.children[2],h.originalText).numberText);return 1===x&&1===C}return 1===x},INLINE_NODE_TYPES:Qy,INLINE_NODE_WRAPPER_TYPES:Zy},ng=ma.builders,ig=ng.hardline,ag=ng.literalline,sg=ng.concat,og=ng.markAsRoot,ug=ma.utils.mapDoc,lg=rg.getFencedCodeBlockValue,cg=function embed$4(o,h,E,x){var C=o.getValue();if("code"===C.type&&null!==C.lang){var T=C.lang.match(/^[A-Za-z0-9_-]+/),P=function getParserName(o){var h=Vt.getSupportInfo({plugins:x.plugins}).languages.find((function(h){return h.name.toLowerCase()===o||h.aliases&&h.aliases.includes(o)||h.extensions&&h.extensions.find((function(h){return h===".".concat(o)}))}));return h?h.parsers[0]:null}(T?T[0]:"");if(P){var N=x.__inJsTemplate?"~":"`",R=N.repeat(Math.max(3,sa.getMaxContinuousCount(C.value,N)+1)),j=E(lg(C,x.originalText),{parser:P});return og(sg([R,C.lang,ig,replaceNewlinesWithLiterallines(j),R]))}}if("yaml"===C.type)return og(sg(["---",ig,C.value&&C.value.trim()?replaceNewlinesWithLiterallines(E(C.value,{parser:"yaml"})):"","---"]));switch(C.type){case"importExport":return E(C.value,{parser:"babel"});case"jsx":return E("<$>".concat(C.value,"$>"),{parser:"__js_expression",rootMarker:"mdx"})}return null;function replaceNewlinesWithLiterallines(o){return ug(o,(function(o){return"string"==typeof o&&o.includes("\n")?sg(o.split(/(\n)/g).map((function(o,h){return h%2==0?o:ag}))):o}))}},pg=["format","prettier"];function startWithPragma(o){var h="@(".concat(pg.join("|"),")"),E=new RegExp(["\x3c!--\\s*".concat(h,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(h,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),x=o.match(E);return x&&0===x.index}var fg={startWithPragma:startWithPragma,hasPragma:function hasPragma(o){return startWithPragma(Ds(o).content.trimStart())},insertPragma:function insertPragma(o){var h=Ds(o),E="\x3c!-- @".concat(pg[0]," --\x3e");return h.frontMatter?"".concat(h.frontMatter.raw,"\n\n").concat(E,"\n\n").concat(h.content):"".concat(E,"\n\n").concat(h.content)}},hg=rg.getOrderedListItemInfo,dg=rg.mapAst,mg=rg.splitText,yg=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function mergeChildren(o,h,E){return dg(o,(function(o){if(!o.children)return o;var x=o.children.reduce((function(o,x){var C=o[o.length-1];return C&&h(C,x)?o.splice(-1,1,E(C,x)):o.push(x),o}),[]);return Object.assign({},o,{children:x})}))}var gg=function preprocess$2(o,h){return o=function mergeContinuousImportExport(o){return mergeChildren(o,(function(o,h){return"importExport"===o.type&&"importExport"===h.type}),(function(o,h){return{type:"importExport",value:o.value+"\n\n"+h.value,position:{start:o.position.start,end:h.position.end}}}))}(o=function transformImportExport(o){return dg(o,(function(o){return"import"!==o.type&&"export"!==o.type?o:Object.assign({},o,{type:"importExport"})}))}(o=function splitTextIntoSentences(o,h){return dg(o,(function(o,E,x){var C=(0,ne.default)(x,1)[0];if("text"!==o.type)return o;var T=o.value;return"paragraph"===C.type&&(0===E&&(T=T.trimStart()),E===C.children.length-1&&(T=T.trimEnd())),{type:"sentence",position:o.position,children:mg(T,h)}}))}(o=function markAlignedList(o,h){return dg(o,(function(o,E,x){if("list"===o.type&&0!==o.children.length){for(var C=0;C1)return!0;var T=getListItemStart(x);if(-1===T)return!1;if(1===o.children.length)return T%h.tabWidth==0;var P=getListItemStart(C);return T===P&&(T%h.tabWidth==0||hg(C,h.originalText).leadingSpaces.length>1)}(o)}return o}));function getListItemStart(o){return 0===o.children.length?-1:o.children[0].position.start.column-1}}(o=function transformIndentedCodeblockAndMarkItsParentList(o,h){return dg(o,(function(o,E,x){if("code"===o.type){var C=/^\n?( {4,}|\t)/.test(h.originalText.slice(o.position.start.offset,o.position.end.offset));if(o.isIndented=C,C)for(var T=0;TE?E:o}(h.tabWidth-x.length,0,3));return Eg([P,_g(P,o.call(E))])}})])}function getNthListSiblingIndex(o,h){return function getNthSiblingIndex(o,h,E){E=E||function(){return!0};var x,C=-1,T=_createForOfIteratorHelper(h.children);try{for(T.s();!(x=T.n()).done;){var P=x.value;if(P.type===o.type&&E(P)?C++:C=-1,P===o)return C}}catch(o){T.e(o)}finally{T.f()}}(o,h,(function(h){return h.ordered===o.ordered}))}function getAncestorCounter$1(o,h){for(var E,x=[].concat(h),C=-1;E=o.getParentNode(++C);)if(x.includes(E.type))return C;return-1}function getAncestorNode$2(o,h){var E=getAncestorCounter$1(o,h);return-1===E?null:o.getParentNode(E)}function printLine(o,h,E){if("preserve"===E.proseWrap&&"\n"===h)return Sg;var x="always"===E.proseWrap&&!getAncestorNode$2(o,Ug);return""!==h?x?bg:" ":x?wg:""}function printRoot(o,h,E){var x=[],C=null,T=o.getValue().children;return T.forEach((function(o,h){switch(isPrettierIgnore$1(o)){case"start":null===C&&(C={index:h,offset:o.position.end.offset});break;case"end":null!==C&&(x.push({start:C,end:{index:h,offset:o.position.start.offset}}),C=null)}})),printChildren$2(o,h,E,{processor:function processor(o,C){if(0!==x.length){var P=x[0];if(C===P.start.index)return Eg([T[P.start.index].value,h.originalText.slice(P.start.offset,P.end.offset),T[P.end.index].value]);if(P.start.index$/);return null!==h&&(h[1]?h[1]:"next")}function shouldPrePrintTripleHardline(o,h){var E=h.prevNode&&"list"===h.prevNode.type,x="code"===o.type&&o.isIndented;return E&&x}function normalizeDoc(o){return Bg(o,(function(o){if(!o.parts)return o;if("concat"===o.type&&1===o.parts.length)return o.parts[0];var h=o.parts.reduce((function(o,h){return"concat"===h.type?o.push.apply(o,(0,ee.default)(h.parts)):""!==h&&o.push(h),o}),[]);return Object.assign({},o,{parts:normalizeParts$2(h)})}))}function printUrl(o,h){var E=[" "].concat(h||[]);return new RegExp(E.map((function(o){return"\\".concat(o)})).join("|")).test(o)?"<".concat(o,">"):o}function printTitle(o,h,E){if(null==E&&(E=!0),!o)return"";if(E)return" "+printTitle(o,h,!1);if(o.includes('"')&&o.includes("'")&&!o.includes(")"))return"(".concat(o,")");var x=o.split("'").length-1,C=o.split('"').length-1,T=x>C?'"':C>x||h.singleQuote?"'":'"';return o=o.replace(new RegExp("(".concat(T,")"),"g"),"\\$1"),"".concat(T).concat(o).concat(T)}function normalizeParts$2(o){return o.reduce((function(o,h){var E=sa.getLast(o);return"string"==typeof E&&"string"==typeof h?o.splice(-1,1,E+h):o.push(h),o}),[])}var Gg={preprocess:gg,print:function genericPrint$5(o,h,E){var x=o.getValue();if(function shouldRemainTheSameContent(o){var h=getAncestorNode$2(o,["linkReference","imageReference"]);return h&&("linkReference"!==h.type||"full"!==h.referenceType)}(o))return Eg(Rg(h.originalText.slice(x.position.start.offset,x.position.end.offset),h).map((function(E){return"word"===E.type?E.value:""===E.value?"":printLine(o,E.value,h)})));switch(x.type){case"root":return 0===x.children.length?"":Eg([normalizeDoc(printRoot(o,h,E)),Vg.includes(getLastDescendantNode(x).type)?"":Sg]);case"paragraph":return printChildren$2(o,h,E,{postprocessor:Tg});case"sentence":return printChildren$2(o,h,E);case"word":return x.value.replace(/[*$]/g,"\\$&").replace(new RegExp(["(^|".concat(Mg,")(_+)"),"(_+)(".concat(Mg,"|$)")].join("|"),"g"),(function(o,h,E,x,C){return(E?"".concat(h).concat(E):"".concat(x).concat(C)).replace(/_/g,"\\_")}));case"whitespace":var C=o.getParentNode(),T=C.children.indexOf(x),P=C.children[T+1],N=P&&/^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(P.value)?"never":h.proseWrap;return printLine(o,x.value,{proseWrap:N});case"emphasis":var R=o.getParentNode(),j=R.children.indexOf(x),ee=R.children[j-1],re=R.children[j+1],ne=ee&&"sentence"===ee.type&&ee.children.length>0&&"word"===sa.getLast(ee.children).type&&!sa.getLast(ee.children).hasTrailingPunctuation||re&&"sentence"===re.type&&re.children.length>0&&"word"===re.children[0].type&&!re.children[0].hasLeadingPunctuation||getAncestorNode$2(o,"emphasis")?"*":"_";return Eg([ne,printChildren$2(o,h,E),ne]);case"strong":return Eg(["**",printChildren$2(o,h,E),"**"]);case"delete":return Eg(["~~",printChildren$2(o,h,E),"~~"]);case"inlineCode":var ie=sa.getMinNotPresentContinuousCount(x.value,"`"),ae="`".repeat(ie||1),se=ie?" ":"";return Eg([ae,se,x.value,se,ae]);case"link":switch(h.originalText[x.position.start.offset]){case"<":var oe=x.url.startsWith("mailto:")&&"mailto:"!==h.originalText.slice(x.position.start.offset+1,x.position.start.offset+1+"mailto:".length)?x.url.slice("mailto:".length):x.url;return Eg(["<",oe,">"]);case"[":return Eg(["[",printChildren$2(o,h,E),"](",printUrl(x.url,")"),printTitle(x.title,h),")"]);default:return h.originalText.slice(x.position.start.offset,x.position.end.offset)}case"image":return Eg([""),printTitle(x.title,h),")"]);case"blockquote":return Eg(["> ",_g("> ",printChildren$2(o,h,E))]);case"heading":return Eg(["#".repeat(x.depth)+" ",printChildren$2(o,h,E)]);case"code":if(x.isIndented){var ue=" ".repeat(4);return _g(ue,Eg([ue,Eg(qg(x.value,Sg))]))}var le=h.__inJsTemplate?"~":"`",ce=le.repeat(Math.max(3,sa.getMaxContinuousCount(x.value,le)+1));return Eg([ce,x.lang||"",Sg,Eg(qg(Ig(x,h.originalText),Sg)),Sg,ce]);case"yaml":case"toml":return h.originalText.slice(x.position.start.offset,x.position.end.offset);case"html":var pe=o.getParentNode(),fe="root"===pe.type&&sa.getLast(pe.children)===x?x.value.trimEnd():x.value,he=/^$/.test(fe);return Eg(qg(fe,he?Sg:Ag(Cg)));case"list":var de=getNthListSiblingIndex(x,o.getParentNode()),me=Og(x,h);return printChildren$2(o,h,E,{processor:function processor(o,C){var T=function getPrefix(){var o=x.ordered?(0===C?x.start:me?1:x.start+C)+(de%2==0?". ":") "):de%2==0?"- ":"* ";return x.isAligned||x.hasIndentedCodeblock?function alignListPrefix(o,h){var E=function getAdditionalSpaces(){var E=o.length%h.tabWidth;return 0===E?0:h.tabWidth-E}();return o+" ".repeat(E>=4?0:E)}(o,h):o}(),P=o.getValue();return 2===P.children.length&&"html"===P.children[1].type&&P.children[0].position.start.column!==P.children[1].position.start.column?Eg([T,printListItem(o,h,E,T)]):Eg([T,_g(" ".repeat(T.length),printListItem(o,h,E,T))])}});case"thematicBreak":var ye=getAncestorCounter$1(o,"list");return-1===ye?"---":getNthListSiblingIndex(o.getParentNode(ye),o.getParentNode(ye+1))%2==0?"***":"---";case"linkReference":return Eg(["[",printChildren$2(o,h,E),"]","full"===x.referenceType?Eg(["[",x.identifier,"]"]):"collapsed"===x.referenceType?"[]":""]);case"imageReference":switch(x.referenceType){case"full":return Eg(["![",x.alt||"","][",x.identifier,"]"]);default:return Eg(["![",x.alt,"]","collapsed"===x.referenceType?"[]":""])}case"definition":var ge="always"===h.proseWrap?bg:" ";return Pg(Eg([Eg(["[",x.identifier,"]:"]),Fg(Eg([ge,printUrl(x.url),null===x.title?"":Eg([ge,printTitle(x.title,h,!1)])]))]));case"footnote":return Eg(["[^",printChildren$2(o,h,E),"]"]);case"footnoteReference":return Eg(["[^",x.identifier,"]"]);case"footnoteDefinition":var ve=o.getParentNode().children[o.getName()+1],De=1===x.children.length&&"paragraph"===x.children[0].type&&("never"===h.proseWrap||"preserve"===h.proseWrap&&x.children[0].position.start.line===x.children[0].position.end.line);return Eg(["[^",x.identifier,"]: ",De?printChildren$2(o,h,E):Pg(Eg([_g(" ".repeat(h.tabWidth),printChildren$2(o,h,E,{processor:function processor(o,h){return 0===h?Pg(Eg([wg,o.call(E)])):o.call(E)}})),ve&&"footnoteDefinition"===ve.type?wg:""]))]);case"table":return function printTable(o,h,E){var x=Sg.parts[0],C=o.getValue(),T=[];o.map((function(o){var x=[];o.map((function(o){x.push(Ng(o.call(E),h).formatted)}),"children"),T.push(x)}),"children");var P=T.reduce((function(o,h){return o.map((function(o,E){return Math.max(o,sa.getStringWidth(h[E]))}))}),T[0].map((function(){return 3}))),N=xg(x,[printRow(T[0]),printSeparator(),xg(x,T.slice(1).map((function(o){return printRow(o)})))]);if("never"!==h.proseWrap)return Eg([Dg,N]);var R=xg(x,[printRow(T[0],!0),printSeparator(!0),xg(x,T.slice(1).map((function(o){return printRow(o,!0)})))]);return Eg([Dg,Pg(kg(R,N))]);function printSeparator(o){return Eg(["| ",xg(" | ",P.map((function(h,E){var x=o?3:h;switch(C.align[E]){case"left":return":"+"-".repeat(x-1);case"right":return"-".repeat(x-1)+":";case"center":return":"+"-".repeat(x-2)+":";default:return"-".repeat(x)}})))," |"])}function printRow(o,h){return Eg(["| ",xg(" | ",h?o:o.map((function(o,h){switch(C.align[h]){case"right":return function alignRight(o,h){var E=h-sa.getStringWidth(o);return Eg([" ".repeat(E),o])}(o,P[h]);case"center":return function alignCenter(o,h){var E=h-sa.getStringWidth(o),x=Math.floor(E/2),C=E-x;return Eg([" ".repeat(x),o," ".repeat(C)])}(o,P[h]);default:return function alignLeft(o,h){var E=h-sa.getStringWidth(o);return Eg([o," ".repeat(E)])}(o,P[h])}})))," |"])}}(o,h,E);case"tableCell":return printChildren$2(o,h,E);case"break":return/\s/.test(h.originalText[x.position.start.offset])?Eg([" ",Ag(Cg)]):Eg(["\\",Sg]);case"liquidNode":return Eg(qg(x.value,Sg));case"importExport":case"jsx":return x.value;case"math":return Eg(["$$",Sg,x.value?Eg([Eg(qg(x.value,Sg)),Sg]):"","$$"]);case"inlineMath":return h.originalText.slice(h.locStart(x),h.locEnd(x));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(x.type)))}},embed:cg,massageAstNode:function clean$6(o,h,E){return delete h.position,delete h.raw,"code"!==o.type&&"yaml"!==o.type&&"import"!==o.type&&"export"!==o.type&&"jsx"!==o.type||delete h.value,"list"===o.type&&delete h.isAligned,"text"===o.type?null:("inlineCode"===o.type&&(h.value=o.value.replace(/[ \t\n]+/g," ")),E&&"root"===E.type&&E.children.length>0&&(E.children[0]===o||("yaml"===E.children[0].type||"toml"===E.children[0].type)&&E.children[1]===o)&&"html"===o.type&&fg.startWithPragma(o.value)?null:void 0)},hasPrettierIgnore:function hasPrettierIgnore$6(o){var h=+o.getName();return 0!==h&&"next"===isPrettierIgnore$1(o.getParentNode().children[h-1])},insertPragma:fg.insertPragma},Hg={proseWrap:Au.proseWrap,singleQuote:Au.singleQuote},zg=["pandoc"],Kg=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],Yg=["contents.lr"],$g={name:"Markdown",type:"prose",aliases:zg,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Kg,filenames:Yg,tmScope:"source.gfm",languageId:222},Jg=getCjsExportFromNamespace(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:zg,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Kg,filenames:Yg,tmScope:"source.gfm",languageId:222,default:$g})),Xg={languages:[wu(Jg,(function(o){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:o.filenames.concat(["README"]),extensions:o.extensions.filter((function(o){return".mdx"!==o}))}})),wu(Jg,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:Hg,printers:{mdast:Gg}},Qg=function isPragma(o){return/^\s*@(prettier|format)\s*$/.test(o)},Zg=function insertPragma$8(o){return"# @format\n\n".concat(o)},ev=sa.getLast;function isNode(o,h){return o&&"string"==typeof o.type&&(!h||h.includes(o.type))}function isPrettierIgnore$2(o){return"prettier-ignore"===o.value.trim()}function hasLeadingComments(o){return o&&o.leadingComments&&0!==o.leadingComments.length}function hasMiddleComments(o){return o&&o.middleComments&&0!==o.middleComments.length}function hasIndicatorComment(o){return o&&o.indicatorComment}function hasTrailingComment$2(o){return o&&o.trailingComment}function hasEndComments(o){return o&&o.endComments&&0!==o.endComments.length}function splitWithSingleSpace(o){var h,E=[],x=void 0,C=_createForOfIteratorHelper(o.split(/( +)/g));try{for(C.s();!(h=C.n()).done;){var T=h.value;" "!==T?" "===x?E.push(T):E.push((E.pop()||"")+T):void 0===x&&E.unshift(""),x=T}}catch(o){C.e(o)}finally{C.f()}return" "===x&&E.push((E.pop()||"")+" "),""===E[0]&&(E.shift(),E.unshift(" "+(E.shift()||""))),E}var tv={getLast:ev,getAncestorCount:function getAncestorCount(o,h){for(var E=0,x=o.stack.length-1,C=0;C=0&&0===h[x].length;x--)E++;return 0===E?h:E>=2&&!C?h.slice(0,-(E-1)):h.slice(0,-E)}},getFlowScalarLineContents:function getFlowScalarLineContents(o,h,E){var x=h.split("\n").map((function(o,h,E){return 0===h&&h===E.length-1?o:0!==h&&h!==E.length-1?o.trim():0===h?o.trimEnd():o.trimStart()}));return"preserve"===E.proseWrap?x.map((function(o){return 0===o.length?[]:[o]})):x.map((function(o){return 0===o.length?[]:splitWithSingleSpace(o)})).reduce((function(h,E,C){return 0===C||0===x[C-1].length||0===E.length||"quoteDouble"===o&&ev(ev(h)).endsWith("\\")?h.concat([E]):h.concat([h.pop().concat(E)])}),[]).map((function(o){return"never"===E.proseWrap?[o.join(" ")]:o}))},getLastDescendantNode:function getLastDescendantNode$1(o){return"children"in o&&0!==o.children.length?getLastDescendantNode$1(ev(o.children)):o},hasPrettierIgnore:function hasPrettierIgnore$7(o){var h=o.getValue();if("documentBody"===h.type){var E=o.getParentNode();return hasEndComments(E.head)&&isPrettierIgnore$2(ev(E.head.endComments))}return hasLeadingComments(h)&&isPrettierIgnore$2(ev(h.leadingComments))},hasLeadingComments:hasLeadingComments,hasMiddleComments:hasMiddleComments,hasIndicatorComment:hasIndicatorComment,hasTrailingComment:hasTrailingComment$2,hasEndComments:hasEndComments},rv=Zg,nv=Qg,iv=tv.getAncestorCount,av=tv.getBlockValueLineContents,sv=tv.getFlowScalarLineContents,ov=tv.getLast,uv=tv.getLastDescendantNode,lv=tv.hasLeadingComments,cv=tv.hasMiddleComments,pv=tv.hasIndicatorComment,fv=tv.hasTrailingComment,hv=tv.hasEndComments,dv=tv.hasPrettierIgnore,mv=tv.isLastDescendantNode,yv=tv.isNextLineEmpty,gv=tv.isNode,vv=tv.isEmptyNode,Dv=tv.defineShortcut,Ev=tv.mapNode,xv=ma.builders,bv=xv.conditionalGroup,Cv=xv.breakParent,Av=xv.concat,Sv=xv.dedent,wv=xv.dedentToRoot,kv=xv.fill,Tv=xv.group,_v=xv.hardline,Fv=xv.ifBreak,Pv=xv.join,Bv=xv.line,Nv=xv.lineSuffix,Iv=xv.literalline,Ov=xv.markAsRoot,Rv=xv.softline,Mv=sa.replaceEndOfLineWith;function defineShortcuts(o){switch(o.type){case"document":Dv(o,"head",(function(){return o.children[0]})),Dv(o,"body",(function(){return o.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Dv(o,"content",(function(){return o.children[0]}));break;case"mappingItem":case"flowMappingItem":Dv(o,"key",(function(){return o.children[0]})),Dv(o,"value",(function(){return o.children[1]}))}return o}function _print(o,h,E,x,C){switch(o.type){case"root":return Av([Pv(_v,E.map((function(h,x){var T=o.children[x],P=o.children[x+1];return Av([C(h),shouldPrintDocumentEndMarker(T,P)?Av([_v,"...",fv(T)?Av([" ",E.call(C,"trailingComment")]):""]):!P||fv(P.head)?"":Av([_v,"---"])])}),"children")),0===o.children.length||(me=uv(o),gv(me,["blockLiteral","blockFolded"])&&"keep"===me.chomping)?"":_v]);case"document":var T=h.children[E.getName()+1];return Pv(_v,["head"===shouldPrintDocumentHeadEndMarker(o,T,h,x)?Pv(_v,[0===o.head.children.length&&0===o.head.endComments.length?"":E.call(C,"head"),Av(["---",fv(o.head)?Av([" ",E.call(C,"head","trailingComment")]):""])].filter(Boolean)):"",shouldPrintDocumentBody(o)?E.call(C,"body"):""].filter(Boolean));case"documentHead":return Pv(_v,[].concat(E.map(C,"children"),E.map(C,"endComments")));case"documentBody":var P=Pv(_v,E.map(C,"children")).parts,N=Pv(_v,E.map(C,"endComments")).parts,R=0===P.length||0===N.length?"":function(o){return gv(o,["blockFolded","blockLiteral"])?"keep"===o.chomping?"":Av([_v,_v]):_v}(uv(o));return Av([].concat(P,R,N));case"directive":return Av(["%",Pv(" ",[o.name].concat(o.parameters))]);case"comment":return Av(["#",o.value]);case"alias":return Av(["*",o.value]);case"tag":return x.originalText.slice(o.position.start.offset,o.position.end.offset);case"anchor":return Av(["&",o.value]);case"plain":return printFlowScalarContent(o.type,x.originalText.slice(o.position.start.offset,o.position.end.offset),x);case"quoteDouble":case"quoteSingle":var j=x.originalText.slice(o.position.start.offset+1,o.position.end.offset-1);if("quoteSingle"===o.type&&j.includes("\\")||"quoteDouble"===o.type&&/\\[^"]/.test(j)){var ee="quoteDouble"===o.type?'"':"'";return Av([ee,printFlowScalarContent(o.type,j,x),ee])}if(j.includes('"'))return Av(["'",printFlowScalarContent(o.type,"quoteDouble"===o.type?j.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):j,x),"'"]);if(j.includes("'"))return Av(['"',printFlowScalarContent(o.type,"quoteSingle"===o.type?j.replace(/''/g,"'"):j,x),'"']);var re=x.singleQuote?"'":'"';return Av([re,printFlowScalarContent(o.type,j,x),re]);case"blockFolded":case"blockLiteral":var ne=iv(E,(function(o){return gv(o,["sequence","mapping"])})),ie=mv(E);return Av(["blockFolded"===o.type?">":"|",null===o.indent?"":o.indent.toString(),"clip"===o.chomping?"":"keep"===o.chomping?"+":"-",pv(o)?Av([" ",E.call(C,"indicatorComment")]):"",(null===o.indent?Sv:wv)(align$3(null===o.indent?x.tabWidth:o.indent-1+ne,Av(av(o,{parentIndent:ne,isLastDescendant:ie,options:x}).reduce((function(h,E,x,C){return h.concat(0===x?_v:"",kv(Pv(Bv,E).parts),x!==C.length-1?0===E.length?_v:Ov(Iv):"keep"===o.chomping&&ie?0===E.length?wv(_v):wv(Iv):"")}),[]))))]);case"sequence":return Pv(_v,E.map(C,"children"));case"sequenceItem":return Av(["- ",align$3(2,o.content?E.call(C,"content"):"")]);case"mappingKey":case"mappingValue":return o.content?E.call(C,"content"):"";case"mapping":return Pv(_v,E.map(C,"children"));case"mappingItem":case"flowMappingItem":var ae=vv(o.key),se=vv(o.value);if(ae&&se)return Av([": "]);var oe=E.call(C,"key"),ue=E.call(C,"value");if(se)return"flowMappingItem"===o.type&&"flowMapping"===h.type?oe:"mappingItem"!==o.type||!isAbsolutelyPrintedAsSingleLineNode(o.key.content,x)||fv(o.key.content)||h.tag&&"tag:yaml.org,2002:set"===h.tag.value?Av(["? ",align$3(2,oe)]):Av([oe,needsSpaceInFrontOfMappingValue(o)?" ":"",":"]);if(ae)return Av([": ",align$3(2,ue)]);var le=Symbol("mappingKey");return lv(o.value)||!isInlineNode(o.key.content)?Av(["? ",align$3(2,oe),_v,Pv("",E.map(C,"value","leadingComments").map((function(o){return Av([o,_v])}))),": ",align$3(2,ue)]):!function isSingleLineNode(o){if(!o)return!0;switch(o.type){case"plain":case"quoteDouble":case"quoteSingle":return o.position.start.line===o.position.end.line;case"alias":return!0;default:return!1}}(o.key.content)||lv(o.key.content)||cv(o.key.content)||fv(o.key.content)||hv(o.key)||lv(o.value.content)||cv(o.value.content)||hv(o.value)||!isAbsolutelyPrintedAsSingleLineNode(o.value.content,x)?bv([Av([Tv(Av([Fv("? "),Tv(align$3(2,oe),{id:le})])),Fv(Av([_v,": ",align$3(2,ue)]),indent(Av([needsSpaceInFrontOfMappingValue(o)?" ":"",":",lv(o.value.content)||hv(o.value)&&o.value.content&&!gv(o.value.content,["mapping","sequence"])||"mapping"===h.type&&fv(o.key.content)&&isInlineNode(o.value.content)||gv(o.value.content,["mapping","sequence"])&&null===o.value.content.tag&&null===o.value.content.anchor?_v:o.value.content?Bv:"",ue])),{groupId:le})])]):Av([oe,needsSpaceInFrontOfMappingValue(o)?" ":"",": ",ue]);case"flowMapping":case"flowSequence":var ce="flowMapping"===o.type?"{":"[",pe="flowMapping"===o.type?"}":"]",fe="flowMapping"===o.type&&0!==o.children.length&&x.bracketSpacing?Bv:Rv,he=0!==o.children.length&&"flowMappingItem"===(de=ov(o.children)).type&&vv(de.key)&&vv(de.value);return Av([ce,indent(Av([fe,Av(E.map((function(h,E){return Av([C(h),E===o.children.length-1?"":Av([",",Bv,o.children[E].position.start.line!==o.children[E+1].position.start.line?printNextEmptyLine(h,x.originalText):""])])}),"children")),Fv(",","")])),he?"":fe,pe]);case"flowSequenceItem":return E.call(C,"content");default:throw new Error("Unexpected node type ".concat(o.type))}var de,me;function indent(o){return xv.align(" ".repeat(x.tabWidth),o)}}function align$3(o,h){return"number"==typeof o&&o>0?xv.align(" ".repeat(o),h):xv.align(o,h)}function isInlineNode(o){if(!o)return!0;switch(o.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function shouldPrintDocumentBody(o){return 0!==o.body.children.length||hv(o.body)}function shouldPrintDocumentEndMarker(o,h){return fv(o)||h&&(0!==h.head.children.length||hv(h.head))}function shouldPrintDocumentHeadEndMarker(o,h,E,x){return E.children[0]===o&&/---(\s|$)/.test(x.originalText.slice(x.locStart(o),x.locStart(o)+4))||0!==o.head.children.length||hv(o.head)||fv(o.head)?"head":!shouldPrintDocumentEndMarker(o,h)&&!!h&&"root"}function isAbsolutelyPrintedAsSingleLineNode(o,h){if(!o)return!0;switch(o.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===h.proseWrap)return o.position.start.line===o.position.end.line;if(/\\$/m.test(h.originalText.slice(o.position.start.offset,o.position.end.offset)))return!1;switch(h.proseWrap){case"never":return!o.value.includes("\n");case"always":return!/[\n ]/.test(o.value);default:return!1}}function needsSpaceInFrontOfMappingValue(o){return o.key.content&&"alias"===o.key.content.type}function printNextEmptyLine(o,h){var E=o.getValue(),x=o.stack[0];return x.isNextEmptyLinePrintedChecklist=x.isNextEmptyLinePrintedChecklist||[],!x.isNextEmptyLinePrintedChecklist[E.position.end.line]&&yv(E,h)?(x.isNextEmptyLinePrintedChecklist[E.position.end.line]=!0,Rv):""}function printFlowScalarContent(o,h,E){var x=sv(o,h,E);return Pv(_v,x.map((function(o){return kv(Pv(Bv,o).parts)})))}var Lv={preprocess:function preprocess$3(o){return Ev(o,defineShortcuts)},print:function genericPrint$6(o,h,E){var x=o.getValue(),C=o.getParentNode(),T=x.tag?o.call(E,"tag"):"",P=x.anchor?o.call(E,"anchor"):"",N=gv(x,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!mv(o)?printNextEmptyLine(o,h.originalText):"";return Av(["mappingValue"!==x.type&&lv(x)?Av([Pv(_v,o.map(E,"leadingComments")),_v]):"",T,T&&P?" ":"",P,T||P?gv(x,["sequence","mapping"])&&!cv(x)?_v:" ":"",cv(x)?Av([1===x.middleComments.length?"":_v,Pv(_v,o.map(E,"middleComments")),_v]):"",dv(o)?Av(Mv(h.originalText.slice(x.position.start.offset,x.position.end.offset),Iv)):Tv(_print(x,C,o,h,E)),fv(x)&&!gv(x,["document","documentHead"])?Nv(Av(["mappingValue"!==x.type||x.content?" ":"","mappingKey"===C.type&&"mapping"===o.getParentNode(2).type&&isInlineNode(x)?"":Cv,o.call(E,"trailingComment")])):"",N,hv(x)&&!gv(x,["documentHead","documentBody"])?align$3("sequenceItem"===x.type?2:0,Av([_v,Pv(_v,o.map(E,"endComments"))])):""])},massageAstNode:function clean$7(o,h){if(gv(h))switch(delete h.position,h.type){case"comment":if(nv(h.value))return null;break;case"quoteDouble":case"quoteSingle":h.type="quote"}},insertPragma:rv},jv={bracketSpacing:Au.bracketSpacing,singleQuote:Au.singleQuote,proseWrap:Au.proseWrap},qv=["yml"],Vv=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],Uv=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],Wv={name:"YAML",type:"data",tmScope:"source.yaml",aliases:qv,extensions:Vv,filenames:Uv,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},Gv={languages:[wu(getCjsExportFromNamespace(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:qv,extensions:Vv,filenames:Uv,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:Wv})),(function(o){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"],filenames:o.filenames.filter((function(o){return"yarn.lock"!==o}))}}))],printers:{yaml:Lv},options:jv},Hv=Mt.version,zv=Vt.getSupportInfo,Kv=[Wu,sl,Ml,dh,Ky,Xg,Gv];function withPlugins(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var E=arguments.length,x=new Array(E),C=0;C0&&o.column>=0)||h||E||x)&&!(o&&"line"in o&&"column"in o&&h&&"line"in h&&"column"in h&&o.line>0&&o.column>=0&&h.line>0&&h.column>=0&&E))throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:E,original:h,name:x}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var o,h,E,T,P=0,N=1,R=0,j=0,ee=0,re=0,ne="",ie=this._mappings.toArray(),ae=0,se=ie.length;ae0){if(!C.compareByGeneratedPositionsInflated(h,ie[ae-1]))continue;o+=","}o+=x.encode(h.generatedColumn-P),P=h.generatedColumn,null!=h.source&&(T=this._sources.indexOf(h.source),o+=x.encode(T-re),re=T,o+=x.encode(h.originalLine-1-j),j=h.originalLine-1,o+=x.encode(h.originalColumn-R),R=h.originalColumn,null!=h.name&&(E=this._names.indexOf(h.name),o+=x.encode(E-ee),ee=E)),ne+=o}return ne},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(o,h){return o.map((function(o){if(!this._sourcesContents)return null;null!=h&&(o=C.relative(h,o));var E=C.toSetString(o);return Object.prototype.hasOwnProperty.call(this._sourcesContents,E)?this._sourcesContents[E]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(o.file=this._file),null!=this._sourceRoot&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},h.SourceMapGenerator=SourceMapGenerator},MvwC:function(o,h,E){var x=E("5T2Y").document;o.exports=x&&x.documentElement},"N+bD":function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){for(var h=o.params,E=0;E=0;--E){var x=this.entryStack[E],C=x[o];if(C)if(h){if(x.label&&x.label.name===h.name)return C}else if(!(x instanceof LabeledEntry))return C}return null},P.getBreakLoc=function(o){return this._findLeapLocation("breakLoc",o)},P.getContinueLoc=function(o){return this._findLeapLocation("continueLoc",o)}},NKxu:function(o,h,E){var x=E("lSCD"),C=E("E2jh"),T=E("GoyQ"),P=E("3Fdi"),N=/^\[object .+?Constructor\]$/,R=Function.prototype,j=Object.prototype,ee=R.toString,re=j.hasOwnProperty,ne=RegExp("^"+ee.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");o.exports=function baseIsNative(o){return!(!T(o)||C(o))&&(x(o)?ne:N).test(P(o))}},NOtv:function(o,h,E){(function(x){function load(){var o;try{o=h.storage.debug}catch(o){}return!o&&void 0!==x&&"env"in x&&(o=x.env.DEBUG),o}(h=o.exports=E("lv48")).log=function log(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},h.formatArgs=function formatArgs(o){var E=this.useColors;if(o[0]=(E?"%c":"")+this.namespace+(E?" %c":" ")+o[0]+(E?"%c ":" ")+"+"+h.humanize(this.diff),!E)return;var x="color: "+this.color;o.splice(1,0,x,"color: inherit");var C=0,T=0;o[0].replace(/%[a-zA-Z%]/g,(function(o){"%%"!==o&&(C++,"%c"===o&&(T=C))})),o.splice(T,0,x)},h.save=function save(o){try{null==o?h.storage.removeItem("debug"):h.storage.debug=o}catch(o){}},h.load=load,h.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},h.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function localstorage(){try{return window.localStorage}catch(o){}}(),h.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],h.formatters.j=function(o){try{return JSON.stringify(o)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}},h.enable(load())}).call(this,E("8oxB"))},NV0k:function(o,h){h.f={}.propertyIsEnumerable},NVct:function(o,h,E){o.exports={default:E("E9oJ"),__esModule:!0}},NegM:function(o,h,E){var x=E("2faE"),C=E("rr1i");o.exports=E("jmDH")?function(o,h,E){return x.f(o,h,C(1,E))}:function(o,h,E){return o[h]=E,o}},Npjl:function(o,h){o.exports=function getValue(o,h){return null==o?void 0:o[h]}},Nq24:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("AyUB"));h.getBindingIdentifiers=getBindingIdentifiers,h.getOuterBindingIdentifiers=function getOuterBindingIdentifiers(o,h){return getBindingIdentifiers(o,h,!0)};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function getBindingIdentifiers(o,h,E){for(var T=[].concat(o),P=(0,x.default)(null);T.length;){var N=T.shift();if(N){var R=C.getBindingIdentifiers.keys[N.type];if(C.isIdentifier(N))h?(P[N.name]=P[N.name]||[]).push(N):P[N.name]=N;else if(C.isExportDeclaration(N))C.isDeclaration(N.declaration)&&T.push(N.declaration);else{if(E){if(C.isFunctionDeclaration(N)){T.push(N.id);continue}if(C.isFunctionExpression(N))continue}if(R)for(var j=0;j=P.length)break;j=P[R++]}else{if((R=P.next()).done)break;j=R.value}var ee=j;if(ee){var re=ee.apply(this,C);null!=re&&(o=re)}}return o}},Plugin.prototype.maybeInherit=function maybeInherit(o){var h=this.take("inherits");h&&(h=N.default.normalisePlugin(h,o,"inherits"),this.manipulateOptions=this.chain(h,"manipulateOptions"),this.post=this.chain(h,"post"),this.pre=this.chain(h,"pre"),this.visitor=ee.default.visitors.merge([h.visitor,this.visitor]))},Plugin.prototype.init=function init(o,h){if(!this.initialized)for(var E in this.initialized=!0,this.maybeInherit(o),this.raw)throw new Error(R.get("pluginInvalidProperty",o,h,E))},Plugin.prototype.normaliseVisitor=function normaliseVisitor(o){var h=ie,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}if(o[T])throw new Error("Plugins aren't allowed to specify catch-all enter/exit handlers. Please target individual nodes.")}return ee.default.explode(o),o},Plugin}(j.default);h.default=ae,o.exports=h.default},Oc8Q:function(o,h,E){"use strict";var x,C=E("5T2Y"),T=E("V7Et")(0),P=E("kTiW"),N=E("6/1s"),R=E("kwZ1"),j=E("kB4c"),ee=E("93I4"),re=E("n3ko"),ne=E("n3ko"),ie=!C.ActiveXObject&&"ActiveXObject"in C,ae=N.getWeak,se=Object.isExtensible,oe=j.ufstore,wrapper=function(o){return function WeakMap(){return o(this,arguments.length>0?arguments[0]:void 0)}},ue={get:function get(o){if(ee(o)){var h=ae(o);return!0===h?oe(re(this,"WeakMap")).get(o):h?h[this._i]:void 0}},set:function set(o,h){return j.def(re(this,"WeakMap"),o,h)}},le=o.exports=E("raTm")("WeakMap",wrapper,ue,j,!0,!0);ne&&ie&&(R((x=j.getConstructor(wrapper,"WeakMap")).prototype,ue),N.NEED=!0,T(["delete","has","get","set"],(function(o){var h=le.prototype,E=h[o];P(h,o,(function(h,C){if(ee(h)&&!se(h)){this._f||(this._f=new x);var T=this._f[o](h,C);return"set"==o?this:T}return E.call(this,h,C)}))})))},"Of+w":function(o,h,E){var x=E("Cwc5")(E("Kz5y"),"WeakMap");o.exports=x},Ojgd:function(o,h){var E=Math.ceil,x=Math.floor;o.exports=function(o){return isNaN(o=+o)?0:(o>0?x:E)(o)}},OuQW:function(o,h,E){"use strict";h.__esModule=!0,h.ThrowStatement=h.BreakStatement=h.ReturnStatement=h.ContinueStatement=h.ForAwaitStatement=h.ForOfStatement=h.ForInStatement=void 0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.WithStatement=function WithStatement(o){this.word("with"),this.space(),this.token("("),this.print(o.object,o),this.token(")"),this.printBlock(o)},h.IfStatement=function IfStatement(o){this.word("if"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.space();var h=o.alternate&&C.isIfStatement(function getLastStatement(o){return C.isStatement(o.body)?getLastStatement(o.body):o}(o.consequent));h&&(this.token("{"),this.newline(),this.indent());this.printAndIndentOnComments(o.consequent,o),h&&(this.dedent(),this.newline(),this.token("}"));o.alternate&&(this.endsWith("}")&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(o.alternate,o))},h.ForStatement=function ForStatement(o){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(o.init,o),this.inForStatementInitCounter--,this.token(";"),o.test&&(this.space(),this.print(o.test,o));this.token(";"),o.update&&(this.space(),this.print(o.update,o));this.token(")"),this.printBlock(o)},h.WhileStatement=function WhileStatement(o){this.word("while"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.printBlock(o)},h.DoWhileStatement=function DoWhileStatement(o){this.word("do"),this.space(),this.print(o.body,o),this.space(),this.word("while"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.semicolon()},h.LabeledStatement=function LabeledStatement(o){this.print(o.label,o),this.token(":"),this.space(),this.print(o.body,o)},h.TryStatement=function TryStatement(o){this.word("try"),this.space(),this.print(o.block,o),this.space(),o.handlers?this.print(o.handlers[0],o):this.print(o.handler,o);o.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(o.finalizer,o))},h.CatchClause=function CatchClause(o){this.word("catch"),this.space(),this.token("("),this.print(o.param,o),this.token(")"),this.space(),this.print(o.body,o)},h.SwitchStatement=function SwitchStatement(o){this.word("switch"),this.space(),this.token("("),this.print(o.discriminant,o),this.token(")"),this.space(),this.token("{"),this.printSequence(o.cases,o,{indent:!0,addNewlines:function addNewlines(h,E){if(!h&&o.cases[o.cases.length-1]===E)return-1}}),this.token("}")},h.SwitchCase=function SwitchCase(o){o.test?(this.word("case"),this.space(),this.print(o.test,o),this.token(":")):(this.word("default"),this.token(":"));o.consequent.length&&(this.newline(),this.printSequence(o.consequent,o,{indent:!0}))},h.DebuggerStatement=function DebuggerStatement(){this.word("debugger"),this.semicolon()},h.VariableDeclaration=function VariableDeclaration(o,h){this.word(o.kind),this.space();var E=!1;if(!C.isFor(h)){var T=o.declarations,P=Array.isArray(T),N=0;for(T=P?T:(0,x.default)(T);;){var R;if(P){if(N>=T.length)break;R=T[N++]}else{if((N=T.next()).done)break;R=N.value}R.init&&(E=!0)}}var j=void 0;E&&(j="const"===o.kind?constDeclarationIdent:variableDeclarationIdent);if(this.printList(o.declarations,o,{separator:j}),C.isFor(h)&&(h.left===o||h.init===o))return;this.semicolon()},h.VariableDeclarator=function VariableDeclarator(o){this.print(o.id,o),this.print(o.id.typeAnnotation,o),o.init&&(this.space(),this.token("="),this.space(),this.print(o.init,o))};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));var T=function buildForXStatement(o){return function(h){this.word("for"),this.space(),"await"===o&&(this.word("await"),this.space()),this.token("("),this.print(h.left,h),this.space(),this.word("await"===o?"of":o),this.space(),this.print(h.right,h),this.token(")"),this.printBlock(h)}};h.ForInStatement=T("in"),h.ForOfStatement=T("of"),h.ForAwaitStatement=T("await");function buildLabelStatement(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"label";return function(E){this.word(o);var x=E[h];if(x){this.space();var C=this.startTerminatorless();this.print(x,E),this.endTerminatorless(C)}this.semicolon()}}h.ContinueStatement=buildLabelStatement("continue"),h.ReturnStatement=buildLabelStatement("return","argument"),h.BreakStatement=buildLabelStatement("break"),h.ThrowStatement=buildLabelStatement("throw","argument");function variableDeclarationIdent(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var o=0;o<4;o++)this.space(!0)}function constDeclarationIdent(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var o=0;o<6;o++)this.space(!0)}},"P/G1":function(o,h,E){var x=E("JmpY"),C=E("7GkX");o.exports=function values(o){return null==o?[]:x(o,C(o))}},P2sY:function(o,h,E){o.exports={default:E("UbbE"),__esModule:!0}},"P9Q+":function(o,h){h.getArg=function getArg(o,h,E){if(h in o)return o[h];if(3===arguments.length)return E;throw new Error('"'+h+'" is a required argument.')};var E=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,x=/^data:.+\,.+$/;function urlParse(o){var h=o.match(E);return h?{scheme:h[1],auth:h[2],host:h[3],port:h[4],path:h[5]}:null}function urlGenerate(o){var h="";return o.scheme&&(h+=o.scheme+":"),h+="//",o.auth&&(h+=o.auth+"@"),o.host&&(h+=o.host),o.port&&(h+=":"+o.port),o.path&&(h+=o.path),h}function normalize(o){var E=o,x=urlParse(o);if(x){if(!x.path)return o;E=x.path}for(var C,T=h.isAbsolute(E),P=E.split(/\/+/),N=0,R=P.length-1;R>=0;R--)"."===(C=P[R])?P.splice(R,1):".."===C?N++:N>0&&(""===C?(P.splice(R+1,N),N=0):(P.splice(R,2),N--));return""===(E=P.join("/"))&&(E=T?"/":"."),x?(x.path=E,urlGenerate(x)):E}h.urlParse=urlParse,h.urlGenerate=urlGenerate,h.normalize=normalize,h.join=function join(o,h){""===o&&(o="."),""===h&&(h=".");var E=urlParse(h),C=urlParse(o);if(C&&(o=C.path||"/"),E&&!E.scheme)return C&&(E.scheme=C.scheme),urlGenerate(E);if(E||h.match(x))return h;if(C&&!C.host&&!C.path)return C.host=h,urlGenerate(C);var T="/"===h.charAt(0)?h:normalize(o.replace(/\/+$/,"")+"/"+h);return C?(C.path=T,urlGenerate(C)):T},h.isAbsolute=function(o){return"/"===o.charAt(0)||!!o.match(E)},h.relative=function relative(o,h){""===o&&(o="."),o=o.replace(/\/$/,"");for(var E=0;0!==h.indexOf(o+"/");){var x=o.lastIndexOf("/");if(x<0)return h;if((o=o.slice(0,x)).match(/^([^\/]+:\/)?\/*$/))return h;++E}return Array(E+1).join("../")+h.substr(o.length+1)};var C=!("__proto__"in Object.create(null));function identity(o){return o}function isProtoString(o){if(!o)return!1;var h=o.length;if(h<9)return!1;if(95!==o.charCodeAt(h-1)||95!==o.charCodeAt(h-2)||111!==o.charCodeAt(h-3)||116!==o.charCodeAt(h-4)||111!==o.charCodeAt(h-5)||114!==o.charCodeAt(h-6)||112!==o.charCodeAt(h-7)||95!==o.charCodeAt(h-8)||95!==o.charCodeAt(h-9))return!1;for(var E=h-10;E>=0;E--)if(36!==o.charCodeAt(E))return!1;return!0}function strcmp(o,h){return o===h?0:o>h?1:-1}h.toSetString=C?identity:function toSetString(o){return isProtoString(o)?"$"+o:o},h.fromSetString=C?identity:function fromSetString(o){return isProtoString(o)?o.slice(1):o},h.compareByOriginalPositions=function compareByOriginalPositions(o,h,E){var x=o.source-h.source;return 0!==x||0!==(x=o.originalLine-h.originalLine)||0!==(x=o.originalColumn-h.originalColumn)||E||0!==(x=o.generatedColumn-h.generatedColumn)||0!==(x=o.generatedLine-h.generatedLine)?x:o.name-h.name},h.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(o,h,E){var x=o.generatedLine-h.generatedLine;return 0!==x||0!==(x=o.generatedColumn-h.generatedColumn)||E||0!==(x=o.source-h.source)||0!==(x=o.originalLine-h.originalLine)||0!==(x=o.originalColumn-h.originalColumn)?x:o.name-h.name},h.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(o,h){var E=o.generatedLine-h.generatedLine;return 0!==E||0!==(E=o.generatedColumn-h.generatedColumn)||0!==(E=strcmp(o.source,h.source))||0!==(E=o.originalLine-h.originalLine)||0!==(E=o.originalColumn-h.originalColumn)?E:strcmp(o.name,h.name)}},P9SC:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.default=function(o,h){if(o&&h)return(0,C.default)(o,h,(function(o,h){if(h&&Array.isArray(o)){var E=h.slice(0),C=o,T=Array.isArray(C),P=0;for(C=T?C:(0,x.default)(C);;){var N;if(T){if(P>=C.length)break;N=C[P++]}else{if((P=C.next()).done)break;N=P.value}var R=N;E.indexOf(R)<0&&E.push(R)}return E}}))};var C=_interopRequireDefault(E("JBE3"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}o.exports=h.default},PTdM:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("+JPL"));h.default=function(o,h){var E=void 0;try{throw new Error}catch(o){o.stack&&(E=o.stack.split("\n").slice(1).join("\n"))}h=(0,T.default)({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,preserveComments:!1},h);var x=function getAst(){var C=void 0;try{C=R.parse(o,h),C=N.default.removeProperties(C,{preserveComments:h.preserveComments}),N.default.cheap(C,(function(o){o[ee]=!0}))}catch(o){throw o.stack=o.stack+"from\n"+E,o}return x=function getAst(){return C},C};return function(){for(var o=arguments.length,h=Array(o),E=0;E1?E.body:E.body[0]}var ne={noScope:!0,enter:function enter(o,h){var E=o.node;if(E[re])return o.skip();j.isExpressionStatement(E)&&(E=E.expression);var x=void 0;if(j.isIdentifier(E)&&E[ee])if((0,P.default)(h[0],E.name))x=h[0][E.name];else if("$"===E.name[0]){var C=+E.name.slice(1);h[C]&&(x=h[C])}null===x&&o.remove(),x&&(x[re]=!0,o.replaceInline(x))},exit:function exit(o){var h=o.node;h.loc||N.default.clearNode(h)}};o.exports=h.default},Po9p:function(o,h){},Q1l4:function(o,h){o.exports=function copyArray(o,h){var E=-1,x=o.length;for(h||(h=Array(x));++E=0){for(;C&&o.start===x[C-1].start;)--C;h=x[C-1],E=x[C]}return this._getNewlinesBetween(h,E)},Whitespace.prototype.getNewlinesAfter=function getNewlinesAfter(o){var h=void 0,E=void 0,x=this.tokens,C=this._findToken((function(h){return h.end-o.end}),0,x.length);if(C>=0){for(;C&&o.end===x[C-1].end;)--C;h=x[C],(E=x[C+1])&&","===E.type.label&&(E=x[C+2])}return E&&"eof"===E.type.label?1:this._getNewlinesBetween(h,E)},Whitespace.prototype._getNewlinesBetween=function _getNewlinesBetween(o,h){if(!h||!h.loc)return 0;for(var E=o?o.loc.end.line:1,x=h.loc.start.line,C=0,T=E;T=E)return-1;var x=h+E>>>1,C=o(this.tokens[x]);return C<0?this._findToken(o,x+1,E):C>0?this._findToken(o,h,x):0===C?x:-1},Whitespace}();h.default=C,o.exports=h.default},QoRX:function(o,h){o.exports=function arraySome(o,h){for(var E=-1,x=null==o?0:o.length;++Ej;)R.call(o,P=N[j++])&&h.push(P);return h}},"R/W3":function(o,h,E){var x=E("KwMD"),C=E("2ajD"),T=E("CZoQ");o.exports=function baseIndexOf(o,h,E){return h==h?T(o,h,E):x(o,C,E)}},R050:function(o,h,E){"use strict";h.__esModule=!0,h.is=function is(o,h){return C.isRegExpLiteral(o)&&o.flags.indexOf(h)>=0},h.pullFlag=function pullFlag(o,h){var E=o.flags.split("");if(o.flags.indexOf(h)<0)return;(0,x.default)(E,h),o.flags=E.join("")};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("hzCD")),C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"))},RDjL:function(o,h,E){var x=E("dVj6");h.REGULAR={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,65535),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:x(95).addRange(48,57).addRange(65,90).addRange(97,122),W:x(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},h.UNICODE={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,1114111),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:x(95).addRange(48,57).addRange(65,90).addRange(97,122),W:x(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},h.UNICODE_IGNORE_CASE={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,1114111),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:x(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:x(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}},"RRc/":function(o,h,E){var x=E("oioR");o.exports=function(o,h){var E=[];return x(o,!1,E.push,E,h),E}},"RWG+":function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.types,E=(0,o.template)("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");function getValue(o){return h.isObjectProperty(o)?o.value:h.isObjectMethod(o)?h.functionExpression(null,o.params,o.body,o.generator,o.async):void 0}function pushAssign(o,E,x){"get"===E.kind&&"set"===E.kind?pushMutatorDefine(o,E):x.push(h.expressionStatement(h.assignmentExpression("=",h.memberExpression(o,E.key,E.computed||h.isLiteral(E.key)),getValue(E))))}function pushMutatorDefine(o,x){o.objId;var C=o.body,T=o.getMutatorId,P=o.scope,N=!x.computed&&h.isIdentifier(x.key)?h.stringLiteral(x.key.name):x.key,R=P.maybeGenerateMemoised(N);R&&(C.push(h.expressionStatement(h.assignmentExpression("=",R,N))),N=R),C.push.apply(C,E({MUTATOR_MAP_REF:T(),KEY:N,VALUE:getValue(x),KIND:h.identifier(x.kind)}))}function loose(o){var h=o.computedProps,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;"get"===P.kind||"set"===P.kind?pushMutatorDefine(o,P):pushAssign(o.objId,P,o.body)}}function spec(o){var E=o.objId,C=o.body,T=o.computedProps,P=o.state,N=T,R=Array.isArray(N),j=0;for(N=R?N:(0,x.default)(N);;){var ee;if(R){if(j>=N.length)break;ee=N[j++]}else{if((j=N.next()).done)break;ee=j.value}var re=ee,ne=h.toComputedKey(re);if("get"===re.kind||"set"===re.kind)pushMutatorDefine(o,re);else if(h.isStringLiteral(ne,{value:"__proto__"}))pushAssign(E,re,C);else{if(1===T.length)return h.callExpression(P.addHelper("defineProperty"),[o.initPropExpression,ne,getValue(re)]);C.push(h.expressionStatement(h.callExpression(P.addHelper("defineProperty"),[E,ne,getValue(re)])))}}}return{visitor:{ObjectExpression:{exit:function exit(o,E){var C=o.node,T=o.parent,P=o.scope,N=!1,R=C.properties,j=Array.isArray(R),ee=0;for(R=j?R:(0,x.default)(R);;){var re;if(j){if(ee>=R.length)break;re=R[ee++]}else{if((ee=R.next()).done)break;re=ee.value}if(N=!0===re.computed)break}if(N){var ne=[],ie=[],ae=!1,se=C.properties,oe=Array.isArray(se),ue=0;for(se=oe?se:(0,x.default)(se);;){var le;if(oe){if(ue>=se.length)break;le=se[ue++]}else{if((ue=se.next()).done)break;le=ue.value}var ce=le;ce.computed&&(ae=!0),ae?ie.push(ce):ne.push(ce)}var pe=P.generateUidIdentifierBasedOnNode(T),fe=h.objectExpression(ne),he=[];he.push(h.variableDeclaration("var",[h.variableDeclarator(pe,fe)]));var de=spec;E.opts.loose&&(de=loose);var me=void 0,ye=de({scope:P,objId:pe,body:he,computedProps:ie,initPropExpression:fe,getMutatorId:function getMutatorId(){return me||(me=P.generateUidIdentifier("mutatorMap"),he.push(h.variableDeclaration("var",[h.variableDeclarator(me,h.objectExpression([]))]))),me},state:E});me&&he.push(h.expressionStatement(h.callExpression(E.addHelper("defineEnumerableProperties"),[pe,me]))),ye?o.replaceWith(ye):(he.push(h.expressionStatement(pe)),o.replaceWithMultiple(he))}}}}}},o.exports=h.default},RdKH:function(o,h,E){var x=E("Mvlo").SourceMapGenerator,C=E("P9Q+"),T=/(\r?\n)/,P="$$$isSourceNode$$$";function SourceNode(o,h,E,x,C){this.children=[],this.sourceContents={},this.line=null==o?null:o,this.column=null==h?null:h,this.source=null==E?null:E,this.name=null==C?null:C,this[P]=!0,null!=x&&this.add(x)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(o,h,E){var x=new SourceNode,P=o.split(T),N=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return N=0;h--)this.prepend(o[h]);else{if(!o[P]&&"string"!=typeof o)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);this.children.unshift(o)}return this},SourceNode.prototype.walk=function SourceNode_walk(o){for(var h,E=0,x=this.children.length;E0){for(h=[],E=0;E"),this.space(),this.print(o.body,o)};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function FunctionExpression(o){o.async&&(this.word("async"),this.space()),this.word("function"),o.generator&&this.token("*"),o.id?(this.space(),this.print(o.id,o)):this.space(),this._params(o),this.space(),this.print(o.body,o)}h.FunctionDeclaration=FunctionExpression},RnfZ:function(o,h,E){"use strict";var x=E("nu5z")();o.exports=function(o){return"string"==typeof o?o.replace(x,""):o}},Rp86:function(o,h,E){E("bBy9"),E("FlQf"),o.exports=E("fXsU")},RxRL:function(o,h,E){o.exports={default:E("m5qO"),__esModule:!0}},S2LA:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h,E){E||(E={wrapAsync:h},h=null),o.traverse(j,{file:h,wrapAwait:E.wrapAwait}),o.isClassMethod()||o.isObjectMethod()?function classOrObjectMethod(o,h){var E=o.node,x=E.body;E.async=!1;var C=T.functionExpression(null,[],T.blockStatement(x.body),!0);C.shadow=!0,x.body=[T.returnStatement(T.callExpression(T.callExpression(h,[C]),[]))],E.generator=!1}(o,E.wrapAsync):function plainFunction(o,h){var E=o.node,C=o.isFunctionDeclaration(),P=E.id,j=N;o.isArrowFunctionExpression()?o.arrowFunctionToShadowed():!C&&P&&(j=R);E.async=!1,E.generator=!0,E.id=null,C&&(E.type="FunctionExpression");var ee=T.callExpression(h,[E]),re=j({NAME:P,REF:o.scope.generateUidIdentifier("ref"),FUNCTION:ee,PARAMS:E.params.reduce((function(h,E){return h.done=h.done||T.isAssignmentPattern(E)||T.isRestElement(E),h.done||h.params.push(o.scope.generateUidIdentifier("x")),h}),{params:[],done:!1}).params}).expression;if(C){var ne=T.variableDeclaration("let",[T.variableDeclarator(T.identifier(P.name),T.callExpression(re,[]))]);ne._blockHoist=!0,o.replaceWith(ne)}else{var ie=re.body.body[1].argument;P||(0,x.default)({node:ie,parent:o.parent,scope:o.scope}),!ie||ie.id||E.params.length?o.replaceWith(T.callExpression(re,[])):o.replaceWith(ee)}}(o,E.wrapAsync)};var x=_interopRequireDefault(E("v1+0")),C=_interopRequireDefault(E("PTdM")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW")),P=_interopRequireDefault(E("AMC/"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N=(0,C.default)("\n (() => {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"),R=(0,C.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"),j={Function:function Function(o){!o.isArrowFunctionExpression()||o.node.async?o.skip():o.arrowFunctionToShadowed()},AwaitExpression:function AwaitExpression(o,h){var E=o.node,x=h.wrapAwait;E.type="YieldExpression",x&&(E.argument=T.callExpression(x,[E.argument]))},ForAwaitStatement:function ForAwaitStatement(o,h){var E=h.file,x=h.wrapAwait,C=o.node,N=(0,P.default)(o,{getAsyncIterator:E.addHelper("asyncIterator"),wrapAwait:x}),R=N.declar,j=N.loop,ee=j.body;o.ensureBlock(),R&&ee.body.push(R),ee.body=ee.body.concat(C.body.body),T.inherits(j,C),T.inherits(j.body,C.body),N.replaceParent?(o.parentPath.replaceWithMultiple(N.node),o.remove()):o.replaceWithMultiple(N.node)}};o.exports=h.default},"SA+Z":function(o,h,E){var x=E("wTVA"),C=E("EbDI"),T=E("ZhPi"),P=E("wkBT");o.exports=function _toArray(o){return x(o)||C(o)||T(o)||P()},o.exports.__esModule=!0,o.exports.default=o.exports},SBuE:function(o,h){o.exports={}},SKAX:function(o,h,E){var x=E("JC6p"),C=E("lQqw")(x);o.exports=C},SN2W:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.default=function(o){o.assertClass();var h=[];function maybeMemoise(E){if(E.node&&!E.isPure()){var x=o.scope.generateDeclaredUidIdentifier();h.push(T.assignmentExpression("=",x,E.node)),E.replaceWith(x)}}function memoiseDecorators(o){if(Array.isArray(o)&&o.length){o=o.reverse(),(0,C.default)(o);var h=o,E=Array.isArray(h),T=0;for(h=E?h:(0,x.default)(h);;){var P;if(E){if(T>=h.length)break;P=h[T++]}else{if((T=h.next()).done)break;P=T.value}maybeMemoise(P)}}}maybeMemoise(o.get("superClass")),memoiseDecorators(o.get("decorators"));var E=o.get("body.body"),P=Array.isArray(E),N=0;for(E=P?E:(0,x.default)(E);;){var R;if(P){if(N>=E.length)break;R=E[N++]}else{if((N=E.next()).done)break;R=N.value}var j=R;j.is("computed")&&maybeMemoise(j.get("key")),j.has("decorators")&&memoiseDecorators(o.get("decorators"))}h&&o.insertBefore(h.map((function(o){return T.expressionStatement(o)})))};var C=_interopRequireDefault(E("saCS")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}o.exports=h.default},SS4V:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.types;function statementList(o,E){var C=E.get(o),T=Array.isArray(C),P=0;for(C=T?C:(0,x.default)(C);;){var N;if(T){if(P>=C.length)break;N=C[P++]}else{if((P=C.next()).done)break;N=P.value}var R=N,j=R.node;if(R.isFunctionDeclaration()){var ee=h.variableDeclaration("let",[h.variableDeclarator(j.id,h.toExpression(j))]);ee._blockHoist=2,j.id=null,R.replaceWith(ee)}}}return{visitor:{BlockStatement:function BlockStatement(o){var E=o.node,x=o.parent;h.isFunction(x,{body:E})||h.isExportDeclaration(x)||statementList("body",o)},SwitchCase:function SwitchCase(o){statementList("consequent",o)}}}},o.exports=h.default},SeTr:function(o,h,E){"use strict";(function(x){h.__esModule=!0;var C=_interopRequireDefault(E("EJiy"));h.default=function(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.cwd();if("object"===(void 0===T.default?"undefined":(0,C.default)(T.default)))return null;var E=N[h];if(!E){E=new T.default;var R=P.default.join(h,".babelrc");E.id=R,E.filename=R,E.paths=T.default._nodeModulePaths(h),N[h]=E}try{return T.default._resolveFilename(o,E)}catch(o){return null}};var T=_interopRequireDefault(E("Po9p")),P=_interopRequireDefault(E("33yf"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N={};o.exports=h.default}).call(this,E("8oxB"))},SfRM:function(o,h,E){var x=E("YESw");o.exports=function hashClear(){this.__data__=x?x(null):{},this.size=0}},SkRP:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));function spaceSeparator(){this.space()}h.JSXAttribute=function JSXAttribute(o){this.print(o.name,o),o.value&&(this.token("="),this.print(o.value,o))},h.JSXIdentifier=function JSXIdentifier(o){this.word(o.name)},h.JSXNamespacedName=function JSXNamespacedName(o){this.print(o.namespace,o),this.token(":"),this.print(o.name,o)},h.JSXMemberExpression=function JSXMemberExpression(o){this.print(o.object,o),this.token("."),this.print(o.property,o)},h.JSXSpreadAttribute=function JSXSpreadAttribute(o){this.token("{"),this.token("..."),this.print(o.argument,o),this.token("}")},h.JSXExpressionContainer=function JSXExpressionContainer(o){this.token("{"),this.print(o.expression,o),this.token("}")},h.JSXSpreadChild=function JSXSpreadChild(o){this.token("{"),this.token("..."),this.print(o.expression,o),this.token("}")},h.JSXText=function JSXText(o){this.token(o.value)},h.JSXElement=function JSXElement(o){var h=o.openingElement;if(this.print(h,o),h.selfClosing)return;this.indent();var E=o.children,C=Array.isArray(E),T=0;for(E=C?E:(0,x.default)(E);;){var P;if(C){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;this.print(N,o)}this.dedent(),this.print(o.closingElement,o)},h.JSXOpeningElement=function JSXOpeningElement(o){this.token("<"),this.print(o.name,o),o.attributes.length>0&&(this.space(),this.printJoin(o.attributes,o,{separator:spaceSeparator}));o.selfClosing?(this.space(),this.token("/>")):this.token(">")},h.JSXClosingElement=function JSXClosingElement(o){this.token(""),this.print(o.name,o),this.token(">")},h.JSXEmptyExpression=function JSXEmptyExpression(){}},Sxd8:function(o,h,E){var x=E("ZCgT");o.exports=function toInteger(o){var h=x(o),E=h%1;return h==h?E?h-E:h:0}},T1AV:function(o,h,E){var x=E("t2Dn"),C=E("5Tg0"),T=E("yP5f"),P=E("Q1l4"),N=E("+iFO"),R=E("03A+"),j=E("Z0cm"),ee=E("3L66"),re=E("DSRE"),ne=E("lSCD"),ie=E("GoyQ"),ae=E("YO3V"),se=E("c6wG"),oe=E("itsj"),ue=E("jeLo");o.exports=function baseMergeDeep(o,h,E,le,ce,pe,fe){var he=oe(o,E),de=oe(h,E),me=fe.get(de);if(me)x(o,E,me);else{var ye=pe?pe(he,de,E+"",o,h,fe):void 0,ge=void 0===ye;if(ge){var ve=j(de),De=!ve&&re(de),Ee=!ve&&!De&&se(de);ye=de,ve||De||Ee?j(he)?ye=he:ee(he)?ye=P(he):De?(ge=!1,ye=C(de,!0)):Ee?(ge=!1,ye=T(de,!0)):ye=[]:ae(de)||R(de)?(ye=he,R(he)?ye=ue(he):ie(he)&&!ne(he)||(ye=N(de))):ge=!1}ge&&(fe.set(de,ye),ce(ye,de,le,pe,fe),fe.delete(de)),x(o,E,ye)}}},TDbU:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("asyncFunctions")}}},o.exports=h.default},TJWN:function(o,h,E){"use strict";var x=E("5T2Y"),C=E("WEpk"),T=E("2faE"),P=E("jmDH"),N=E("UWiX")("species");o.exports=function(o){var h="function"==typeof C[o]?C[o]:x[o];P&&h&&!h[N]&&T.f(h,N,{configurable:!0,get:function(){return this}})}},TO8r:function(o,h){var E=/\s/;o.exports=function trimmedEndIndex(o){for(var h=o.length;h--&&E.test(o.charAt(h)););return h}},TdmO:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{visitor:{FunctionExpression:{exit:function exit(o){if("value"!==o.key&&!o.parentPath.isObjectProperty()){var h=(0,x.default)(o);h&&o.replaceWith(h)}}},ObjectProperty:function ObjectProperty(o){var h=o.get("value");if(h.isFunction()){var E=(0,x.default)(h);E&&h.replaceWith(E)}}}}};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("v1+0"));o.exports=h.default},TuBq:function(o,h,E){var x=E("icBU"),C=E("kbA8");o.exports=function expandTop(o){if(!o)return[];"{}"===o.substr(0,2)&&(o="\\{\\}"+o.substr(2));return function expand(o,h){var E=[],T=C("{","}",o);if(!T||/\$$/.test(T.pre))return[o];var P,R=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(T.body),j=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(T.body),ee=R||j,re=T.body.indexOf(",")>=0;if(!ee&&!re)return T.post.match(/,.*\}/)?(o=T.pre+"{"+T.body+N+T.post,expand(o)):[o];if(ee)P=T.body.split(/\.\./);else{if(1===(P=function parseCommaParts(o){if(!o)return[""];var h=[],E=C("{","}",o);if(!E)return o.split(",");var x=E.pre,T=E.body,P=E.post,N=x.split(",");N[N.length-1]+="{"+T+"}";var R=parseCommaParts(P);P.length&&(N[N.length-1]+=R.shift(),N.push.apply(N,R));return h.push.apply(h,N),h}(T.body)).length)if(1===(P=expand(P[0],!1).map(embrace)).length)return(ae=T.post.length?expand(T.post,!1):[""]).map((function(o){return T.pre+P[0]+o}))}var ne,ie=T.pre,ae=T.post.length?expand(T.post,!1):[""];if(ee){var se=numeric(P[0]),oe=numeric(P[1]),ue=Math.max(P[0].length,P[1].length),le=3==P.length?Math.abs(numeric(P[2])):1,ce=lte;oe0){var me=new Array(de+1).join("0");he=fe<0?"-"+me+he.slice(1):me+he}}ne.push(he)}}else ne=x(P,(function(o){return expand(o,!1)}));for(var ye=0;ye=h}},TuGD:function(o,h,E){var x=E("UWiX")("iterator"),C=!1;try{var T=[7][x]();T.return=function(){C=!0},Array.from(T,(function(){throw 2}))}catch(o){}o.exports=function(o,h){if(!h&&!C)return!1;var E=!1;try{var T=[7],P=T[x]();P.next=function(){return{done:E=!0}},T[x]=function(){return P},o(T)}catch(o){}return E}},"U+KD":function(o,h,E){var x=E("B+OT"),C=E("JB68"),T=E("VVlx")("IE_PROTO"),P=Object.prototype;o.exports=Object.getPrototypeOf||function(o){return o=C(o),x(o,T)?o[T]:"function"==typeof o.constructor&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?P:null}},U4Pw:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("OSkm")),C=_interopRequireDefault(E("xweI"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}h.default=new x.default({name:"internal.blockHoist",visitor:{Block:{exit:function exit(o){for(var h=o.node,E=!1,x=0;x1?h-1:0),C=1;C=x.length)break;N=x[P++]}else{if((P=x.next()).done)break;N=P.value}var R=N;E="."===R?E.parentPath:Array.isArray(E)?E[R]:E.get(R,h)}return E},h.getBindingIdentifiers=function getBindingIdentifiers(o){return P.getBindingIdentifiers(this.node,o)},h.getOuterBindingIdentifiers=function getOuterBindingIdentifiers(o){return P.getOuterBindingIdentifiers(this.node,o)},h.getBindingIdentifierPaths=function getBindingIdentifierPaths(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],h=arguments.length>1&&void 0!==arguments[1]&&arguments[1],E=this,C=[].concat(E),T=(0,x.default)(null);for(;C.length;){var N=C.shift();if(N&&N.node){var R=P.getBindingIdentifiers.keys[N.node.type];if(N.isIdentifier())if(o){var j=T[N.node.name]=T[N.node.name]||[];j.push(N)}else T[N.node.name]=N;else if(N.isExportDeclaration()){var ee=N.get("declaration");ee.isDeclaration()&&C.push(ee)}else{if(h){if(N.isFunctionDeclaration()){C.push(N.get("id"));continue}if(N.isFunctionExpression())continue}if(R)for(var re=0;re=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;if(h.isPattern(N.id))return!0}return!1}function hasRest(o){var E=o.elements,x=Array.isArray(E),T=0;for(E=x?E:(0,C.default)(E);;){var P;if(x){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;if(h.isRestElement(N))return!0}return!1}var E={ReferencedIdentifier:function ReferencedIdentifier(o,h){h.bindings[o.node.name]&&(h.deopt=!0,o.stop())}},T=function(){function DestructuringTransformer(o){(0,x.default)(this,DestructuringTransformer),this.blockHoist=o.blockHoist,this.operator=o.operator,this.arrays={},this.nodes=o.nodes||[],this.scope=o.scope,this.file=o.file,this.kind=o.kind}return DestructuringTransformer.prototype.buildVariableAssignment=function buildVariableAssignment(o,E){var x=this.operator;h.isMemberExpression(o)&&(x="=");var C=void 0;return(C=x?h.expressionStatement(h.assignmentExpression(x,o,E)):h.variableDeclaration(this.kind,[h.variableDeclarator(o,E)]))._blockHoist=this.blockHoist,C},DestructuringTransformer.prototype.buildVariableDeclaration=function buildVariableDeclaration(o,E){var x=h.variableDeclaration("var",[h.variableDeclarator(o,E)]);return x._blockHoist=this.blockHoist,x},DestructuringTransformer.prototype.push=function push(o,E){h.isObjectPattern(o)?this.pushObjectPattern(o,E):h.isArrayPattern(o)?this.pushArrayPattern(o,E):h.isAssignmentPattern(o)?this.pushAssignmentPattern(o,E):this.nodes.push(this.buildVariableAssignment(o,E))},DestructuringTransformer.prototype.toArray=function toArray(o,E){return this.file.opts.loose||h.isIdentifier(o)&&this.arrays[o.name]?o:this.scope.toArray(o,E)},DestructuringTransformer.prototype.pushAssignmentPattern=function pushAssignmentPattern(o,E){var x=this.scope.generateUidIdentifierBasedOnNode(E),C=h.variableDeclaration("var",[h.variableDeclarator(x,E)]);C._blockHoist=this.blockHoist,this.nodes.push(C);var T=h.conditionalExpression(h.binaryExpression("===",x,h.identifier("undefined")),o.right,x),P=o.left;if(h.isPattern(P)){var N=h.expressionStatement(h.assignmentExpression("=",x,T));N._blockHoist=this.blockHoist,this.nodes.push(N),this.push(P,x)}else this.nodes.push(this.buildVariableAssignment(P,T))},DestructuringTransformer.prototype.pushObjectRest=function pushObjectRest(o,E,x,C){for(var T=[],P=0;P=C)break;if(!h.isRestProperty(N)){var R=N.key;h.isIdentifier(R)&&!N.computed&&(R=h.stringLiteral(N.key.name)),T.push(R)}}T=h.arrayExpression(T);var j=h.callExpression(this.file.addHelper("objectWithoutProperties"),[E,T]);this.nodes.push(this.buildVariableAssignment(x.argument,j))},DestructuringTransformer.prototype.pushObjectProperty=function pushObjectProperty(o,E){h.isLiteral(o.key)&&(o.computed=!0);var x=o.value,C=h.memberExpression(E,o.key,o.computed);h.isPattern(x)?this.push(x,C):this.nodes.push(this.buildVariableAssignment(x,C))},DestructuringTransformer.prototype.pushObjectPattern=function pushObjectPattern(o,E){if(o.properties.length||this.nodes.push(h.expressionStatement(h.callExpression(this.file.addHelper("objectDestructuringEmpty"),[E]))),o.properties.length>1&&!this.scope.isStatic(E)){var x=this.scope.generateUidIdentifierBasedOnNode(E);this.nodes.push(this.buildVariableDeclaration(x,E)),E=x}for(var C=0;Cx.elements.length)){if(o.elements.length=T.length)break;R=T[N++]}else{if((N=T.next()).done)break;R=N.value}var j=R;if(!j)return!1;if(h.isMemberExpression(j))return!1}var ee=x.elements,re=Array.isArray(ee),ne=0;for(ee=re?ee:(0,C.default)(ee);;){var ie;if(re){if(ne>=ee.length)break;ie=ee[ne++]}else{if((ne=ee.next()).done)break;ie=ne.value}var ae=ie;if(h.isSpreadElement(ae))return!1;if(h.isCallExpression(ae))return!1;if(h.isMemberExpression(ae))return!1}var se={deopt:!1,bindings:h.getBindingIdentifiers(o)};return this.scope.traverse(x,E,se),!se.deopt}},DestructuringTransformer.prototype.pushUnpackedArrayPattern=function pushUnpackedArrayPattern(o,E){for(var x=0;x=se.length)break;le=se[ue++]}else{if((ue=se.next()).done)break;le=ue.value}var ce,pe=le,fe=ae[ae.length-1];if(fe&&h.isVariableDeclaration(fe)&&h.isVariableDeclaration(pe)&&fe.kind===pe.kind)(ce=fe.declarations).push.apply(ce,pe.declarations);else ae.push(pe)}var he=ae,de=Array.isArray(he),me=0;for(he=de?he:(0,C.default)(he);;){var ye;if(de){if(me>=he.length)break;ye=he[me++]}else{if((me=he.next()).done)break;ye=me.value}var ge=ye;if(ge.declarations){var ve=ge.declarations,De=Array.isArray(ve),Ee=0;for(ve=De?ve:(0,C.default)(ve);;){var xe;if(De){if(Ee>=ve.length)break;xe=ve[Ee++]}else{if((Ee=ve.next()).done)break;xe=Ee.value}var be=xe.id.name;P.bindings[be]&&(P.bindings[be].kind=ge.kind)}}}1===ae.length?o.replaceWith(ae[0]):o.replaceWithMultiple(ae)}}}}},o.exports=h.default},V4Ze:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS")),C=_interopRequireDefault(E("iCc5")),T=E("dZTf"),P=_interopRequireDefault(E("ZxM+")),N=_interopRequireDefault(E("3Ifc")),R=_interopRequireWildcard(E("2pnV")),j=_interopRequireDefault(E("PTdM")),ee=_interopRequireWildcard(E("KCzW"));function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var re=(0,j.default)("\n (function () {\n super(...arguments);\n })\n"),ne={"FunctionExpression|FunctionDeclaration":function FunctionExpressionFunctionDeclaration(o){o.is("shadow")||o.skip()},Method:function Method(o){o.skip()}},ie=T.visitors.merge([ne,{Super:function Super(o){if(this.isDerived&&!this.hasBareSuper&&!o.parentPath.isCallExpression({callee:o.node}))throw o.buildCodeFrameError("'super.*' is not allowed before super()")},CallExpression:{exit:function exit(o){if(o.get("callee").isSuper()&&(this.hasBareSuper=!0,!this.isDerived))throw o.buildCodeFrameError("super() is only allowed in a derived constructor")}},ThisExpression:function ThisExpression(o){if(this.isDerived&&!this.hasBareSuper&&!o.inShadow("this"))throw o.buildCodeFrameError("'this' is not allowed before super()")}}]),ae=T.visitors.merge([ne,{ThisExpression:function ThisExpression(o){this.superThises.push(o)}}]),se=function(){function ClassTransformer(o,h){(0,C.default)(this,ClassTransformer),this.parent=o.parent,this.scope=o.scope,this.node=o.node,this.path=o,this.file=h,this.clearDescriptors(),this.instancePropBody=[],this.instancePropRefs={},this.staticPropBody=[],this.body=[],this.bareSuperAfter=[],this.bareSupers=[],this.pushedConstructor=!1,this.pushedInherits=!1,this.isLoose=!1,this.superThises=[],this.classId=this.node.id,this.classRef=this.node.id?ee.identifier(this.node.id.name):this.scope.generateUidIdentifier("class"),this.superName=this.node.superClass||ee.identifier("Function"),this.isDerived=!!this.node.superClass}return ClassTransformer.prototype.run=function run(){var o=this,h=this.superName,E=this.file,x=this.body,C=this.constructorBody=ee.blockStatement([]);this.constructor=this.buildConstructor();var T=[],P=[];if(this.isDerived&&(P.push(h),h=this.scope.generateUidIdentifierBasedOnNode(h),T.push(h),this.superName=h),this.buildBody(),C.body.unshift(ee.expressionStatement(ee.callExpression(E.addHelper("classCallCheck"),[ee.thisExpression(),this.classRef]))),x=x.concat(this.staticPropBody.map((function(h){return h(o.classRef)}))),this.classId&&1===x.length)return ee.toExpression(x[0]);x.push(ee.returnStatement(this.classRef));var N=ee.functionExpression(null,T,ee.blockStatement(x));return N.shadow=!0,ee.callExpression(N,P)},ClassTransformer.prototype.buildConstructor=function buildConstructor(){var o=ee.functionDeclaration(this.classRef,[],this.constructorBody);return ee.inherits(o,this.node),o},ClassTransformer.prototype.pushToMap=function pushToMap(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",x=arguments[3],C=void 0;o.static?(this.hasStaticDescriptors=!0,C=this.staticMutatorMap):(this.hasInstanceDescriptors=!0,C=this.instanceMutatorMap);var T=R.push(C,o,E,this.file,x);return h&&(T.enumerable=ee.booleanLiteral(!0)),T},ClassTransformer.prototype.constructorMeMaybe=function constructorMeMaybe(){var o=!1,h=this.path.get("body.body"),E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}if(o=T.equals("kind","constructor"))break}if(!o){var P=void 0,N=void 0;if(this.isDerived){var R=re().expression;P=R.params,N=R.body}else P=[],N=ee.blockStatement([]);this.path.get("body").unshiftContainer("body",ee.classMethod("constructor",ee.identifier("constructor"),P,N))}},ClassTransformer.prototype.buildBody=function buildBody(){if(this.constructorMeMaybe(),this.pushBody(),this.verifyConstructor(),this.userConstructor){var o=this.constructorBody;o.body=o.body.concat(this.userConstructor.body.body),ee.inherits(this.constructor,this.userConstructor),ee.inherits(o,this.userConstructor.body)}this.pushDescriptors()},ClassTransformer.prototype.pushBody=function pushBody(){var o=this.path.get("body.body"),h=Array.isArray(o),E=0;for(o=h?o:(0,x.default)(o);;){var C;if(h){if(E>=o.length)break;C=o[E++]}else{if((E=o.next()).done)break;C=E.value}var T=C,N=T.node;if(T.isClassProperty())throw T.buildCodeFrameError("Missing class properties transform.");if(N.decorators)throw T.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.");if(ee.isClassMethod(N)){var R="constructor"===N.kind;if(R&&(T.traverse(ie,this),!this.hasBareSuper&&this.isDerived))throw T.buildCodeFrameError("missing super() call in constructor");var j=new P.default({forceSuperMemoisation:R,methodPath:T,methodNode:N,objectRef:this.classRef,superRef:this.superName,isStatic:N.static,isLoose:this.isLoose,scope:this.scope,file:this.file},!0);j.replace(),R?this.pushConstructor(j,N,T):this.pushMethod(N,T)}}},ClassTransformer.prototype.clearDescriptors=function clearDescriptors(){this.hasInstanceDescriptors=!1,this.hasStaticDescriptors=!1,this.instanceMutatorMap={},this.staticMutatorMap={}},ClassTransformer.prototype.pushDescriptors=function pushDescriptors(){this.pushInherits();var o=this.body,h=void 0,E=void 0;if(this.hasInstanceDescriptors&&(h=R.toClassObject(this.instanceMutatorMap)),this.hasStaticDescriptors&&(E=R.toClassObject(this.staticMutatorMap)),h||E){h&&(h=R.toComputedObjectFromClass(h)),E&&(E=R.toComputedObjectFromClass(E));var x=ee.nullLiteral(),C=[this.classRef,x,x,x,x];h&&(C[1]=h),E&&(C[2]=E),this.instanceInitializersId&&(C[3]=this.instanceInitializersId,o.unshift(this.buildObjectAssignment(this.instanceInitializersId))),this.staticInitializersId&&(C[4]=this.staticInitializersId,o.unshift(this.buildObjectAssignment(this.staticInitializersId)));for(var T=0,P=0;P=N.length)break;re=N[j++]}else{if((j=N.next()).done)break;re=j.value}var ne=re;this.wrapSuperCall(ne,T,P,E),C&&ne.find((function(o){return o===h||(o.isLoop()||o.isConditional()?(C=!1,!0):void 0)}))}var ie=this.superThises,se=Array.isArray(ie),oe=0;for(ie=se?ie:(0,x.default)(ie);;){var ue;if(se){if(oe>=ie.length)break;ue=ie[oe++]}else{if((oe=ie.next()).done)break;ue=oe.value}ue.replaceWith(P)}var le=function wrapReturn(h){return ee.callExpression(o.file.addHelper("possibleConstructorReturn"),[P].concat(h||[]))},ce=E.get("body");ce.length&&!ce.pop().isReturnStatement()&&E.pushContainer("body",ee.returnStatement(C?P:le()));var pe=this.superReturns,fe=Array.isArray(pe),he=0;for(pe=fe?pe:(0,x.default)(pe);;){var de;if(fe){if(he>=pe.length)break;de=pe[he++]}else{if((he=pe.next()).done)break;de=he.value}var me=de;if(me.node.argument){var ye=me.scope.generateDeclaredUidIdentifier("ret");me.get("argument").replaceWithMultiple([ee.assignmentExpression("=",ye,me.node.argument),le(ye)])}else me.get("argument").replaceWith(le())}}},ClassTransformer.prototype.pushMethod=function pushMethod(o,h){var E=h?h.scope:this.scope;"method"===o.kind&&this._processMethod(o,E)||this.pushToMap(o,!1,null,E)},ClassTransformer.prototype._processMethod=function _processMethod(){return!1},ClassTransformer.prototype.pushConstructor=function pushConstructor(o,h,E){this.bareSupers=o.bareSupers,this.superReturns=o.returns,E.scope.hasOwnBinding(this.classRef.name)&&E.scope.rename(this.classRef.name);var x=this.constructor;this.userConstructorPath=E,this.userConstructor=h,this.hasConstructor=!0,ee.inheritsComments(x,h),x._ignoreUserWhitespace=!0,x.params=h.params,ee.inherits(x.body,h.body),x.body.directives=h.body.directives,this._pushConstructor()},ClassTransformer.prototype._pushConstructor=function _pushConstructor(){this.pushedConstructor||(this.pushedConstructor=!0,(this.hasInstanceDescriptors||this.hasStaticDescriptors)&&this.pushDescriptors(),this.body.push(this.constructor),this.pushInherits())},ClassTransformer.prototype.pushInherits=function pushInherits(){this.isDerived&&!this.pushedInherits&&(this.pushedInherits=!0,this.body.unshift(ee.expressionStatement(ee.callExpression(this.file.addHelper("inherits"),[this.classRef,this.superName]))))},ClassTransformer}();h.default=se,o.exports=h.default},V5v5:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("AyUB")),C=_interopRequireDefault(E("FyfS")),T=_interopRequireDefault(E("+JPL"));h.default=function(o){var h=o.types,E=(0,T.default)(),N={"AssignmentExpression|UpdateExpression":function AssignmentExpressionUpdateExpression(o){if(!o.node[E]){o.node[E]=!0;var x=o.get(o.isAssignmentExpression()?"left":"argument");if(x.isIdentifier()){var T=x.node.name;if(this.scope.getBinding(T)===o.scope.getBinding(T)){var P=this.exports[T];if(P){var N=o.node,R=o.isUpdateExpression()&&!N.prefix;R&&("++"===N.operator?N=h.binaryExpression("+",N.argument,h.numericLiteral(1)):"--"===N.operator?N=h.binaryExpression("-",N.argument,h.numericLiteral(1)):R=!1);var j=P,ee=Array.isArray(j),re=0;for(j=ee?j:(0,C.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}var ie=ne;N=this.buildCall(ie,N).expression}R&&(N=h.sequenceExpression([N,o.node])),o.replaceWith(N)}}}}}};return{visitor:{CallExpression:function CallExpression(o,E){if(o.node.callee.type===ee){var x=E.contextIdent;o.replaceWith(h.callExpression(h.memberExpression(x,h.identifier("import")),o.node.arguments))}},ReferencedIdentifier:function ReferencedIdentifier(o,E){"__moduleName"!=o.node.name||o.scope.hasBinding("__moduleName")||o.replaceWith(h.memberExpression(E.contextIdent,h.identifier("id")))},Program:{enter:function enter(o,h){h.contextIdent=o.scope.generateUidIdentifier("context")},exit:function exit(o,E){var T=o.scope.generateUidIdentifier("export"),ee=E.contextIdent,re=(0,x.default)(null),ne=[],ie=[],ae=[],se=[],oe=[],ue=[];function addExportName(o,h){re[o]=re[o]||[],re[o].push(h)}function pushModule(o,h,E){var x=void 0;ne.forEach((function(h){h.key===o&&(x=h)})),x||ne.push(x={key:o,imports:[],exports:[]}),x[h]=x[h].concat(E)}function buildExportCall(o,E){return h.expressionStatement(h.callExpression(T,[h.stringLiteral(o),E]))}var le=o.get("body"),ce=!0,pe=le,fe=Array.isArray(pe),he=0;for(pe=fe?pe:(0,C.default)(pe);;){var de;if(fe){if(he>=pe.length)break;de=pe[he++]}else{if((he=pe.next()).done)break;de=he.value}var me=de;if(me.isExportDeclaration()&&(me=me.get("declaration")),me.isVariableDeclaration()&&"var"!==me.node.kind){ce=!1;break}}var ye=le,ge=Array.isArray(ye),ve=0;for(ye=ge?ye:(0,C.default)(ye);;){var De;if(ge){if(ve>=ye.length)break;De=ye[ve++]}else{if((ve=ye.next()).done)break;De=ve.value}var Ee=De;if(ce&&Ee.isFunctionDeclaration())ie.push(Ee.node),ue.push(Ee);else if(Ee.isImportDeclaration()){var xe=Ee.node.source.value;for(var be in pushModule(xe,"imports",Ee.node.specifiers),Ee.getBindingIdentifiers())Ee.scope.removeBinding(be),oe.push(h.identifier(be));Ee.remove()}else if(Ee.isExportAllDeclaration())pushModule(Ee.node.source.value,"exports",Ee.node),Ee.remove();else if(Ee.isExportDefaultDeclaration()){var Ce=Ee.get("declaration");if(Ce.isClassDeclaration()||Ce.isFunctionDeclaration()){var Ae=Ce.node.id,Se=[];Ae?(Se.push(Ce.node),Se.push(buildExportCall("default",Ae)),addExportName(Ae.name,"default")):Se.push(buildExportCall("default",h.toExpression(Ce.node))),!ce||Ce.isClassDeclaration()?Ee.replaceWithMultiple(Se):(ie=ie.concat(Se),ue.push(Ee))}else Ee.replaceWith(buildExportCall("default",Ce.node))}else if(Ee.isExportNamedDeclaration()){var we=Ee.get("declaration");if(we.node){Ee.replaceWith(we);var ke=[],Te=void 0;if(Ee.isFunction()){var _e,Fe=we.node,Pe=Fe.id.name;if(ce)addExportName(Pe,Pe),ie.push(Fe),ie.push(buildExportCall(Pe,Fe.id)),ue.push(Ee);else(_e={})[Pe]=Fe.id,Te=_e}else Te=we.getBindingIdentifiers();for(var Be in Te)addExportName(Be,Be),ke.push(buildExportCall(Be,h.identifier(Be)));Ee.insertAfter(ke)}else{var Ne=Ee.node.specifiers;if(Ne&&Ne.length)if(Ee.node.source)pushModule(Ee.node.source.value,"exports",Ne),Ee.remove();else{var Ie=[],Oe=Ne,Re=Array.isArray(Oe),Me=0;for(Oe=Re?Oe:(0,C.default)(Oe);;){var Le;if(Re){if(Me>=Oe.length)break;Le=Oe[Me++]}else{if((Me=Oe.next()).done)break;Le=Me.value}var je=Le;Ie.push(buildExportCall(je.exported.name,je.local)),addExportName(je.local.name,je.exported.name)}Ee.replaceWithMultiple(Ie)}}}}ne.forEach((function(E){var x=[],P=o.scope.generateUidIdentifier(E.key),N=E.imports,R=Array.isArray(N),ee=0;for(N=R?N:(0,C.default)(N);;){var re;if(R){if(ee>=N.length)break;re=N[ee++]}else{if((ee=N.next()).done)break;re=ee.value}var ne=re;h.isImportNamespaceSpecifier(ne)?x.push(h.expressionStatement(h.assignmentExpression("=",ne.local,P))):h.isImportDefaultSpecifier(ne)&&(ne=h.importSpecifier(ne.local,h.identifier("default"))),h.isImportSpecifier(ne)&&x.push(h.expressionStatement(h.assignmentExpression("=",ne.local,h.memberExpression(P,ne.imported))))}if(E.exports.length){var ie=o.scope.generateUidIdentifier("exportObj");x.push(h.variableDeclaration("var",[h.variableDeclarator(ie,h.objectExpression([]))]));var oe=E.exports,ue=Array.isArray(oe),le=0;for(oe=ue?oe:(0,C.default)(oe);;){var ce;if(ue){if(le>=oe.length)break;ce=oe[le++]}else{if((le=oe.next()).done)break;ce=le.value}var pe=ce;h.isExportAllDeclaration(pe)?x.push(j({KEY:o.scope.generateUidIdentifier("key"),EXPORT_OBJ:ie,TARGET:P})):h.isExportSpecifier(pe)&&x.push(h.expressionStatement(h.assignmentExpression("=",h.memberExpression(ie,pe.exported),h.memberExpression(P,pe.local))))}x.push(h.expressionStatement(h.callExpression(T,[ie])))}se.push(h.stringLiteral(E.key)),ae.push(h.functionExpression(null,[P],h.blockStatement(x)))}));var qe=this.getModuleName();qe&&(qe=h.stringLiteral(qe)),ce&&(0,P.default)(o,(function(o){return oe.push(o)})),oe.length&&ie.unshift(h.variableDeclaration("var",oe.map((function(o){return h.variableDeclarator(o)})))),o.traverse(N,{exports:re,buildCall:buildExportCall,scope:o.scope});var Ve=ue,Ue=Array.isArray(Ve),We=0;for(Ve=Ue?Ve:(0,C.default)(Ve);;){var Ge;if(Ue){if(We>=Ve.length)break;Ge=Ve[We++]}else{if((We=Ve.next()).done)break;Ge=We.value}Ge.remove()}o.node.body=[R({SYSTEM_REGISTER:h.memberExpression(h.identifier(E.opts.systemGlobal||"System"),h.identifier("register")),BEFORE_BODY:ie,MODULE_NAME:qe,SETTERS:ae,SOURCES:se,BODY:o.node.body,EXPORT_IDENTIFIER:T,CONTEXT_IDENTIFIER:ee})]}}}}};var P=_interopRequireDefault(E("GarX")),N=_interopRequireDefault(E("PTdM"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var R=(0,N.default)('\n SYSTEM_REGISTER(MODULE_NAME, [SOURCES], function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: [SETTERS],\n execute: function () {\n BODY;\n }\n };\n });\n'),j=(0,N.default)('\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n'),ee="Import";o.exports=h.default},V6Ve:function(o,h,E){var x=E("kekF")(Object.keys,Object);o.exports=x},V7Et:function(o,h,E){var x=E("2GTP"),C=E("M1xp"),T=E("JB68"),P=E("tEej"),N=E("v6xn");o.exports=function(o,h){var E=1==o,R=2==o,j=3==o,ee=4==o,re=6==o,ne=5==o||re,ie=h||N;return function(h,N,ae){for(var se,oe,ue=T(h),le=C(ue),ce=x(N,ae,3),pe=P(le.length),fe=0,he=E?ie(h,pe):R?ie(h,0):void 0;pe>fe;fe++)if((ne||fe in le)&&(oe=ce(se=le[fe],fe,ue),o))if(E)he[fe]=oe;else if(oe)switch(o){case 3:return!0;case 5:return se;case 6:return fe;case 2:he.push(se)}else if(ee)return!1;return re?-1:j||ee?ee:he}}},VCcS:function(o,h,E){(function(o,x){var C;!function(T){var P=h,N=(o&&o.exports,"object"==typeof x&&x);N.global!==N&&N.window;var R={},j=R.hasOwnProperty,forOwn=function(o,h){var E;for(E in o)j.call(o,E)&&h(E,o[E])},ee=R.toString,re={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},ne=/["'\\\b\f\n\r\t]/,ie=/[0-9]/,ae=/[ !#-&\(-\[\]-~]/,jsesc=function(o,h){var E,x,C={escapeEverything:!1,escapeEtago:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",__indent__:"",__inline1__:!1,__inline2__:!1},T=h&&h.json;T&&(C.quotes="double",C.wrap=!0),E=C,"single"!=(h=(x=h)?(forOwn(x,(function(o,h){E[o]=h})),E):E).quotes&&"double"!=h.quotes&&(h.quotes="single");var P,N,R="double"==h.quotes?'"':"'",j=h.compact,se=h.indent,oe=h.lowercaseHex,ue="",le=h.__inline1__,ce=h.__inline2__,pe=j?"":"\n",fe=!0,he="binary"==h.numbers,de="octal"==h.numbers,me="decimal"==h.numbers,ye="hexadecimal"==h.numbers;if(T&&o&&("function"==typeof(N=o.toJSON)||"[object Function]"==ee.call(N))&&(o=o.toJSON()),!function(o){return"string"==typeof o||"[object String]"==ee.call(o)}(o)){if(function(o){return"[object Map]"==ee.call(o)}(o))return 0==o.size?"new Map()":(j||(h.__inline1__=!0),"new Map("+jsesc(Array.from(o),h)+")");if(function(o){return"[object Set]"==ee.call(o)}(o))return 0==o.size?"new Set()":"new Set("+jsesc(Array.from(o),h)+")";if(function(o){return"[object Array]"==ee.call(o)}(o))return P=[],h.wrap=!0,le?(h.__inline1__=!1,h.__inline2__=!0):(ue=h.__indent__,se+=ue,h.__indent__=se),function(o,h){for(var E=o.length,x=-1;++x