massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / prettier / esm / standalone.mjs
index f989e594b5ee22324e4e1a56d4ea9a55161ce732..db5ce7a3511fa2c6671cfd1de77f4de96b57e61d 100644 (file)
@@ -1,18 +1,4 @@
-function e(e,t){if(null==e)return{};var n,r,o={},u=Object.keys(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n={name:"prettier",version:"2.2.1",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"10.2.3","@babel/code-frame":"7.10.4","@babel/parser":"7.12.5","@glimmer/syntax":"0.66.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.8.1","angular-estree-parser":"2.2.1","angular-html-parser":"1.7.1",camelcase:"6.2.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.138.0","get-stdin":"8.0.0",globby:"11.0.1",graphql:"15.4.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.12.1",lodash:"4.17.20",mem:"8.0.0",meriyah:"3.1.6",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.19.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.1.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.12.3","@babel/preset-env":"7.12.1","@babel/types":"7.12.6","@glimmer/reference":"0.66.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.1","@rollup/plugin-commonjs":"16.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"10.0.0","@rollup/plugin-replace":"2.3.4","@types/estree":"0.0.45","@types/node":"14.14.0","@typescript-eslint/types":"4.8.1","babel-jest":"26.6.3","babel-loader":"8.2.1",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.2.2",eslint:"7.13.0","eslint-config-prettier":"6.15.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.1.3","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.21.5","eslint-plugin-unicorn":"23.0.0",execa:"4.1.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.1","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.0",rimraf:"3.0.2",rollup:"2.33.3","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.15",tempy:"1.0.0","terser-webpack-plugin":"5.0.3",webpack:"5.5.1"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","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:"run-p lint:*","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 . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}};function r(){}function o(e,t,n,r,o){for(var u=0,i=t.length,a=0,s=0;u<i;u++){var l=t[u];if(l.removed){if(l.value=e.join(r.slice(s,s+l.count)),s+=l.count,u&&t[u-1].added){var c=t[u-1];t[u-1]=t[u],t[u]=c}}else{if(!l.added&&o){var p=n.slice(a,a+l.count);p=p.map((function(e,t){var n=r[s+t];return n.length>e.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(a,a+l.count));a+=l.count,l.added||(s+=l.count)}}var d=t[i-1];return i>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[i-2].value+=d.value,t.pop()),t}function u(e){return{newPos:e.newPos,components:e.components.slice(0)}}r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=s+l,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=s&&f+1>=l)return a([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*c;n<=c;n+=2){var r=void 0,p=d[n-1],f=d[n+1],h=(f?f.newPos:0)-n;p&&(d[n-1]=void 0);var m=p&&p.newPos+1<s,g=f&&0<=h&&h<l;if(m||g){if(!m||g&&p.newPos<f.newPos?(r=u(f),i.pushComponent(r.components,void 0,!0)):((r=p).newPos++,i.pushComponent(r.components,!0,void 0)),h=i.extractCommon(r,t,e,n),r.newPos+1>=s&&h+1>=l)return a(o(i,r.components,t,e,i.useLongestToken));d[n]=r}else d[n]=void 0}c++}if(r)!function e(){setTimeout((function(){if(c>p)return r();h()||e()}),0)}();else for(;c<=p;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,u=n.length,i=e.newPos,a=i-r,s=0;i+1<o&&a+1<u&&this.equals(t[i+1],n[a+1]);)i++,a++,s++;return s&&e.components.push({count:s}),e.newPos=i,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var i=new r;function a(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,c=new r;c.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},c.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&s.test(t[n])&&s.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var p=new r;function d(e,t,n){return p.diff(e,t,n)}p.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t};var f=new r;f.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var h=new r;function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}h.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var y=Object.prototype.toString,E=new r;function C(e,t,n,r,o){var u,i;for(t=t||[],n=n||[],r&&(e=r(o,e)),u=0;u<t.length;u+=1)if(t[u]===e)return n[u];if("[object Array]"===y.call(e)){for(t.push(e),i=new Array(e.length),n.push(i),u=0;u<e.length;u+=1)i[u]=C(e[u],t,n,r,o);return t.pop(),n.pop(),i}if(e&&e.toJSON&&(e=e.toJSON()),"object"===m(e)&&null!==e){t.push(e),i={},n.push(i);var a,s=[];for(a in e)e.hasOwnProperty(a)&&s.push(a);for(s.sort(),u=0;u<s.length;u+=1)i[a=s[u]]=C(e[a],t,n,r,a);t.pop(),n.pop()}else i=e;return i}E.useLongestToken=!0,E.tokenize=p.tokenize,E.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(C(e,null,null,o),o,"  ")},E.equals=function(e,t){return r.prototype.equals.call(E,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var b=new r;function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],u=0;function i(){var e={};for(o.push(e);u<n.length;){var r=n[u];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var i=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);i&&(e.index=i[1]),u++}for(a(e),a(e),e.hunks=[];u<n.length;){var l=n[u];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(s());else{if(l&&t.strict)throw new Error("Unknown line "+(u+1)+" "+JSON.stringify(l));u++}}}function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[u]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),i=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(i)&&(i=i.substr(1,i.length-2)),e[r+"FileName"]=i,e[r+"Header"]=(o[1]||"").trim(),u++}}function s(){var e=u,o=n[u++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),i={oldStart:+o[1],oldLines:void 0===o[2]?1:+o[2],newStart:+o[3],newLines:void 0===o[4]?1:+o[4],lines:[],linedelimiters:[]};0===i.oldLines&&(i.oldStart+=1),0===i.newLines&&(i.newStart+=1);for(var a=0,s=0;u<n.length&&!(0===n[u].indexOf("--- ")&&u+2<n.length&&0===n[u+1].indexOf("+++ ")&&0===n[u+2].indexOf("@@"));u++){var l=0==n[u].length&&u!=n.length-1?" ":n[u][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;i.lines.push(n[u]),i.linedelimiters.push(r[u]||"\n"),"+"===l?a++:"-"===l?s++:" "===l&&(a++,s++)}if(a||1!==i.newLines||(i.newLines=0),s||1!==i.oldLines||(i.oldLines=0),t.strict){if(a!==i.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(s!==i.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return i}for(;u<n.length;)i();return o}function A(e,t,n){var r=!0,o=!1,u=!1,i=1;return function a(){if(r&&!u){if(o?i++:r=!1,e+i<=n)return i;u=!0}if(!o)return u||(r=!0),t<=e-i?-i++:(o=!0,a())}}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=v(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,o,u=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,s=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,d=0;function f(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],o=r.length>0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!s(t+1,u[t],o,i)&&++l>c)return!1;t++}}return!0}for(var h=0;h<a.length;h++){for(var m=a[h],g=u.length-m.oldLines,D=0,y=d+m.oldStart-1,E=A(y,p,g);void 0!==D;D=E())if(f(m,y+D)){m.offset=d+=D;break}if(void 0===D)return!1;p=m.offset+m.oldStart+m.oldLines}for(var C=0,b=0;b<a.length;b++){var F=a[b],x=F.oldStart+F.offset+C-1;C+=F.newLines-F.oldLines;for(var S=0;S<F.lines.length;S++){var w=F.lines[S],T=w.length>0?w[0]:" ",B=w.length>0?w.substr(1):w,N=F.linedelimiters[S];if(" "===T)x++;else if("-"===T)u.splice(x,1),i.splice(x,1);else if("+"===T)u.splice(x,0,B),i.splice(x,0,N),x++;else if("\\"===T){var k=F.lines[S-1]?F.lines[S-1][0]:null;"+"===k?r=!0:"-"===k&&(o=!0)}}}if(r)for(;!u[u.length-1];)u.pop(),i.pop();else o&&(u.push(""),i.push("\n"));for(var P=0;P<u.length-1;P++)u[P]=u[P]+i[P];return u.join("")}function x(e,t,n,r,o,u,i){i||(i={}),void 0===i.context&&(i.context=4);var a=d(n,r,i);function s(e){return e.map((function(e){return" "+e}))}a.push({value:"",lines:[]});for(var l=[],c=0,p=0,f=[],h=1,m=1,D=function(e){var t=a[e],o=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=o,t.added||t.removed){var u;if(!c){var d=a[e-1];c=h,p=m,d&&(f=i.context>0?s(d.lines.slice(-i.context)):[],c-=f.length,p-=f.length)}(u=f).push.apply(u,g(o.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=o.length:h+=o.length}else{if(c)if(o.length<=2*i.context&&e<a.length-2){var D;(D=f).push.apply(D,g(s(o)))}else{var y,E=Math.min(o.length,i.context);(y=f).push.apply(y,g(s(o.slice(0,E))));var C={oldStart:c,oldLines:h-c+E,newStart:p,newLines:m-p+E,lines:f};if(e>=a.length-2&&o.length<=i.context){var b=/\n$/.test(n),v=/\n$/.test(r),A=0==o.length&&f.length>C.oldLines;!b&&A&&n.length>0&&f.splice(C.oldLines,0,"\\ No newline at end of file"),(b||A)&&v||f.push("\\ No newline at end of file")}l.push(C),c=0,p=0,f=[]}h+=o.length,m+=o.length}},y=0;y<a.length;y++)D(y);return{oldFileName:e,newFileName:t,oldHeader:o,newHeader:u,hunks:l}}function S(e,t,n,r,o,u,i){return function(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines)}return t.join("\n")+"\n"}(x(e,t,n,r,o,u,i))}function w(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function T(e){var t=W(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function B(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return v(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return x(void 0,void 0,t,e)}return e}function N(e){return e.newFileName&&e.newFileName!==e.oldFileName}function k(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function P(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function O(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function I(e,t,n,r,o){var u={offset:t,lines:n,index:0},i={offset:r,lines:o,index:0};for(_(e,u,i),_(e,i,u);u.index<u.lines.length&&i.index<i.lines.length;){var a=u.lines[u.index],s=i.lines[i.index];if("-"!==a[0]&&"+"!==a[0]||"-"!==s[0]&&"+"!==s[0])if("+"===a[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,g(V(u)))}else if("+"===s[0]&&" "===a[0]){var c;(c=e.lines).push.apply(c,g(V(i)))}else"-"===a[0]&&" "===s[0]?M(e,u,i):"-"===s[0]&&" "===a[0]?M(e,i,u,!0):a===s?(e.lines.push(a),u.index++,i.index++):j(e,V(u),V(i));else L(e,u,i)}R(e,u),R(e,i),T(e)}function L(e,t,n){var r=V(t),o=V(n);if($(r)&&$(o)){var u,i;if(w(r,o)&&q(n,r,r.length-o.length))return void(u=e.lines).push.apply(u,g(r));if(w(o,r)&&q(t,o,o.length-r.length))return void(i=e.lines).push.apply(i,g(o))}else if(function(e,t){return e.length===t.length&&w(e,t)}(r,o)){var a;return void(a=e.lines).push.apply(a,g(r))}j(e,r,o)}function M(e,t,n,r){var o,u=V(t),i=function(e,t){var n=[],r=[],o=0,u=!1,i=!1;for(;o<t.length&&e.index<e.lines.length;){var a=e.lines[e.index],s=t[o];if("+"===s[0])break;if(u=u||" "!==a[0],r.push(s),o++,"+"===a[0])for(i=!0;"+"===a[0];)n.push(a),a=e.lines[++e.index];s.substr(1)===a.substr(1)?(n.push(a),e.index++):i=!0}"+"===(t[o]||"")[0]&&u&&(i=!0);if(i)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,u);i.merged?(o=e.lines).push.apply(o,g(i.merged)):j(e,r?i:u,r?u:i)}function j(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function _(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function R(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function V(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function $(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function q(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}function W(e){var t=0,n=0;return e.forEach((function(e){if("string"!=typeof e){var r=W(e.mine),o=W(e.theirs);void 0!==t&&(r.oldLines===o.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===o.newLines?n+=r.newLines:n=void 0)}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:n}}function U(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}b.tokenize=function(e){return e.slice()},b.join=b.removeEmpty=function(e){return e};var J=Object.freeze({__proto__:null,Diff:r,applyPatch:F,applyPatches:function(e,t){"string"==typeof e&&(e=v(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var u=F(n,o,t);t.patched(o,u,(function(e){if(e)return t.complete(e);r()}))}))}()},canonicalize:C,convertChangesToDMP:function(e){for(var t,n,r=[],o=0;o<e.length;o++)n=(t=e[o]).added?1:t.removed?-1:0,r.push([n,t.value]);return r},convertChangesToXML:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(U(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},createPatch:function(e,t,n,r,o,u){return S(e,e,t,n,r,o,u)},createTwoFilesPatch:S,diffArrays:function(e,t,n){return b.diff(e,t,n)},diffChars:function(e,t,n){return i.diff(e,t,n)},diffCss:function(e,t,n){return h.diff(e,t,n)},diffJson:function(e,t,n){return E.diff(e,t,n)},diffLines:d,diffSentences:function(e,t,n){return f.diff(e,t,n)},diffTrimmedLines:function(e,t,n){var r=a(n,{ignoreWhitespace:!0});return p.diff(e,t,r)},diffWords:function(e,t,n){return n=a(n,{ignoreWhitespace:!0}),c.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return c.diff(e,t,n)},merge:function(e,t,n){e=B(e,n),t=B(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(N(e)?N(t)?(r.oldFileName=k(r,e.oldFileName,t.oldFileName),r.newFileName=k(r,e.newFileName,t.newFileName),r.oldHeader=k(r,e.oldHeader,t.oldHeader),r.newHeader=k(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,u=0,i=0,a=0;o<e.hunks.length||u<t.hunks.length;){var s=e.hunks[o]||{oldStart:1/0},l=t.hunks[u]||{oldStart:1/0};if(P(s,l))r.hunks.push(O(s,i)),o++,a+=s.newLines-s.oldLines;else if(P(l,s))r.hunks.push(O(l,a)),u++,i+=l.newLines-l.oldLines;else{var c={oldStart:Math.min(s.oldStart,l.oldStart),oldLines:0,newStart:Math.min(s.newStart+i,l.oldStart+a),newLines:0,lines:[]};I(c,s.oldStart,s.lines,l.oldStart,l.lines),u++,o++,r.hunks.push(c)}}return r},parsePatch:v,structuredPatch:x});function z(e){return{type:"concat",parts:e}}function G(e){return{type:"indent",contents:e}}function H(e,t){return{type:"align",contents:t,n:e}}function X(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const Y={type:"break-parent"},K=z([{type:"line",hard:!0},Y]),Q=z([{type:"line",hard:!0,literal:!0},Y]);var Z={concat:z,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return z(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:K,literalline:Q,group:X,conditionalGroup:function(e,t){return X(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:Y,ifBreak:function(e,t,n){return{type:"if-break",breakContents:e,flatContents:t,groupId:(n=n||{}).groupId}},trim:{type:"trim"},indent:G,align:H,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=G(r);r=H(t%n,r),r=H(-1/0,r)}return r},markAsRoot:function(e){return H({type:"root"},e)},dedentToRoot:function(e){return H(-1/0,e)},dedent:function(e){return H(-1,e)}},ee=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\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(t,e?void 0:"g")})(),""):e;const te=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));var ne=te,re=te;ne.default=re;const oe=e=>{if("string"!=typeof(e=e.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===e.length)return 0;e=ee(e);let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=ne(r)?2:1))}return t};var ue=oe,ie=oe;ue.default=ie;var ae=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},se=e=>e[e.length-1],le="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function ce(){throw new Error("setTimeout has not been defined")}function pe(){throw new Error("clearTimeout has not been defined")}var de=ce,fe=pe;function he(e){if(de===setTimeout)return setTimeout(e,0);if((de===ce||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(t){try{return de.call(null,e,0)}catch(t){return de.call(this,e,0)}}}"function"==typeof le.setTimeout&&(de=setTimeout),"function"==typeof le.clearTimeout&&(fe=clearTimeout);var me,ge=[],De=!1,ye=-1;function Ee(){De&&me&&(De=!1,me.length?ge=me.concat(ge):ye=-1,ge.length&&Ce())}function Ce(){if(!De){var e=he(Ee);De=!0;for(var t=ge.length;t;){for(me=ge,ge=[];++ye<t;)me&&me[ye].run();ye=-1,t=ge.length}me=null,De=!1,function(e){if(fe===clearTimeout)return clearTimeout(e);if((fe===pe||!fe)&&clearTimeout)return fe=clearTimeout,clearTimeout(e);try{fe(e)}catch(t){try{return fe.call(null,e)}catch(t){return fe.call(this,e)}}}(e)}}function be(e,t){this.fun=e,this.array=t}be.prototype.run=function(){this.fun.apply(null,this.array)};function ve(){}var Ae=ve,Fe=ve,xe=ve,Se=ve,we=ve,Te=ve,Be=ve;var Ne=le.performance||{},ke=Ne.now||Ne.mozNow||Ne.msNow||Ne.oNow||Ne.webkitNow||function(){return(new Date).getTime()};var Pe=new Date;var Oe={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ge.push(new be(e,t)),1!==ge.length||De||he(Ce)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ae,addListener:Fe,once:xe,off:Se,removeListener:we,removeAllListeners:Te,emit:Be,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*ke.call(Ne),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Pe)/1e3}};var Ie="object"==typeof Oe&&Oe.env&&Oe.env.NODE_DEBUG&&/\bsemver\b/i.test(Oe.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Le={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Me="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function je(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function _e(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Re=je((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Le,r=(t=e.exports={}).re=[],o=t.src=[],u=t.t={};let i=0;const a=(e,t,n)=>{const a=i++;Ie(a,t),u[e]=a,o[a]=t,r[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(o[u.NUMERICIDENTIFIER],")\\.")+"(".concat(o[u.NUMERICIDENTIFIER],")\\.")+"(".concat(o[u.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(o[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[u.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(o[u.NUMERICIDENTIFIER],"|").concat(o[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[u.NUMERICIDENTIFIERLOOSE],"|").concat(o[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(o[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[u.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(o[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[u.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(o[u.BUILDIDENTIFIER],"(?:\\.").concat(o[u.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(o[u.MAINVERSION]).concat(o[u.PRERELEASE],"?").concat(o[u.BUILD],"?")),a("FULL","^".concat(o[u.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(o[u.MAINVERSIONLOOSE]).concat(o[u.PRERELEASELOOSE],"?").concat(o[u.BUILD],"?")),a("LOOSE","^".concat(o[u.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(o[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(o[u.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(o[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[u.XRANGEIDENTIFIER],")")+"(?:".concat(o[u.PRERELEASE],")?").concat(o[u.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[u.PRERELEASELOOSE],")?").concat(o[u.BUILD],"?")+")?)?"),a("XRANGE","^".concat(o[u.GTLT],"\\s*").concat(o[u.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(o[u.GTLT],"\\s*").concat(o[u.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",o[u.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(o[u.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(o[u.LONETILDE]).concat(o[u.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(o[u.LONETILDE]).concat(o[u.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(o[u.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(o[u.LONECARET]).concat(o[u.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(o[u.LONECARET]).concat(o[u.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(o[u.GTLT],"\\s*(").concat(o[u.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(o[u.GTLT],"\\s*(").concat(o[u.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(o[u.GTLT],"\\s*(").concat(o[u.LOOSEPLAIN],"|").concat(o[u.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(o[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[u.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(o[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[u.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const Ve=/^[0-9]+$/,$e=(e,t)=>{const n=Ve.test(e),r=Ve.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var qe={compareIdentifiers:$e,rcompareIdentifiers:(e,t)=>$e(t,e)};const{MAX_LENGTH:We,MAX_SAFE_INTEGER:Ue}=Le,{re:Je,t:ze}=Re,{compareIdentifiers:Ge}=qe;class He{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof He){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>We)throw new TypeError("version is longer than ".concat(We," characters"));Ie("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Je[ze.LOOSE]:Je[ze.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ue||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ue||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ue||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Ue)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(Ie("SemVer.compare",this.version,this.options,e),!(e instanceof He)){if("string"==typeof e&&e===this.version)return 0;e=new He(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof He||(e=new He(e,this.options)),Ge(this.major,e.major)||Ge(this.minor,e.minor)||Ge(this.patch,e.patch)}comparePre(e){if(e instanceof He||(e=new He(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(Ie("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Ge(n,r)}while(++t)}compareBuild(e){e instanceof He||(e=new He(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(Ie("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Ge(n,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var Xe=He;var Ye=(e,t,n)=>new Xe(e,n).compare(new Xe(t,n));var Ke=(e,t,n)=>Ye(e,t,n)<0;var Qe=(e,t,n)=>Ye(e,t,n)>=0,Ze=je((function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.prototype.hasOwnProperty,u=function(e,t){return o.call(e,t)};function i(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,n){var r=0,o=e[0].match(c);o&&(r=o[1].length);var u=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var i=n.newline,l=n.trimLeadingNewline,p=n.trimTrailingNewline,d="string"==typeof i,f=e.length;return e.map((function(e,t){return e=e.replace(u,"$1"),0===t&&l&&(e=e.replace(a,"")),t===f-1&&p&&(e=e.replace(s,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return i}))),e}))}function f(e,t){for(var n="",r=0,o=e.length;r<o;r++)n+=e[r],r<o-1&&(n+=t[r]);return n}function h(e){return u(e,"raw")&&u(e,"length")}var m=function e(t){var n=r(),o=r();return i((function r(u){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];if(h(u)){var c=u,g=(a[0]===r||a[0]===m)&&p.test(c[0])&&l.test(c[1]),D=g?o:n,y=D.get(c);if(y||(y=d(c,g,t),D.set(c,y)),0===a.length)return y[0];var E=f(y,g?a.slice(1):a);return E}return e(i(i({},t),u||{}))}),{string:function(e){return d([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=m,t.default=m;try{e.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m}catch(e){}}));function et(){const e=t(["\n      Require either '@prettier' or '@format' to be present in the file's first docblock comment\n      in order for it to be formatted.\n    "]);return et=function(){return e},e}function tt(){const e=t(["\n      Format code starting at a given character offset.\n      The range will extend backwards to the start of the first line containing the selected statement.\n      This option cannot be used with --cursor-offset.\n    "]);return tt=function(){return e},e}function nt(){const e=t(["\n      Format code ending at a given character offset (exclusive).\n      The range will extend forwards to the end of the selected statement.\n      This option cannot be used with --cursor-offset.\n    "]);return nt=function(){return e},e}function rt(){const e=t(["\n      Custom directory that contains prettier plugins in node_modules subdirectory.\n      Overrides default behavior when plugins are searched relatively to the location of Prettier.\n      Multiple values are accepted.\n    "]);return rt=function(){return e},e}function ot(){const e=t(["\n          Maintain existing\n          (mixed values within one file are normalised by looking at what's used after the first line)\n        "]);return ot=function(){return e},e}function ut(){const e=t(["\n      Print (to stderr) where a cursor at the given position would move to after formatting.\n      This option cannot be used with --range-start and --range-end.\n    "]);return ut=function(){return e},e}const{outdent:it}=Ze,at={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:it(ut()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:it(ot())}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:it(rt()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:it(nt()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:it(tt()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:it(et()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const st={compare:Ye,lt:Ke,gte:Qe},lt=n.version,ct={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:at}.options;var pt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:o=!1}={}){const u=lt.split("-",1)[0],i=t.reduce(((e,t)=>e.concat(t.languages||[])),[]).filter(s),a=((e,t)=>Object.entries(e).map((([e,n])=>Object.assign({[t]:e},n))))(Object.assign({},...t.map((({options:e})=>e)),ct),"name").filter((e=>s(e)&&l(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(t){if(o)return t;return e(t,["cliName","cliCategory","cliDescription"])})).map((e=>{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(s).sort(((e,t)=>st.compare(t.since,e.since)))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((e=>s(e)&&l(e))),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map((e=>e.value)));for(const o of t)if(o.parsers)for(const t of o.parsers)if(!r.has(t)){r.add(t);const u=n.find((e=>e.parsers&&e.parsers[t]));let i=o.name;u&&u.name&&(i+=" (plugin: ".concat(u.name,")")),e.choices.push({value:t,description:i})}}(e,i,t));const n=t.filter((t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name])).reduce(((t,n)=>(t[n.name]=n.defaultOptions[e.name],t)),{});return Object.assign({},e,{pluginDefaults:n})}));return{languages:i,options:a};function s(e){return n||!("since"in e)||e.since&&st.gte(u,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&st.lt(u,e.deprecated)}}};const{getSupportInfo:dt}=pt,ft=/[^\x20-\x7F]/;function ht(e){return(t,n,r)=>{const o=r&&r.backwards;if(!1===n)return!1;const{length:u}=t;let i=n;for(;i>=0&&i<u;){const n=t.charAt(i);if(e instanceof RegExp){if(!e.test(n))return i}else if(!e.includes(n))return i;o?i--:i++}return(-1===i||i===u)&&i}}const mt=ht(/\s/),gt=ht(" \t"),Dt=ht(",; \t"),yt=ht(/[^\n\r]/);function Et(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function Ct(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?yt(e,t):t)}function bt(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const o=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===o)return t-2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t-1}else{if("\r"===o&&"\n"===e.charAt(t+1))return t+2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t+1}return t}function vt(e,t,n){const r=gt(e,(n=n||{}).backwards?t-1:t,n);return r!==bt(e,r,n)}function At(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Dt(e,r),r=Et(e,r),r=gt(e,r);return r=Ct(e,r),r=bt(e,r),!1!==r&&vt(e,r)}function Ft(e,t){let n=null,r=t;for(;r!==n;)n=r,r=gt(e,r),r=Et(e,r),r=Ct(e,r),r=bt(e,r);return r}function xt(e,t,n){return Ft(e,n(t))}function St(e,t,n){let r=0;for(let o=n=n||0;o<e.length;++o)"\t"===e[o]?r=r+t-r%t:r++;return r}function wt(e,t){const n=e.slice(1,-1),r={quote:'"',regex:/"/g},o={quote:"'",regex:/'/g},u="'"===t?o:r,i=u===o?r:o;let a=u.quote;if(n.includes(u.quote)||n.includes(i.quote)){a=(n.match(u.regex)||[]).length>(n.match(i.regex)||[]).length?i.quote:u.quote}return a}function Tt(e,t,n){const r='"'===t?"'":'"',o=e.replace(/\\([\S\s])|(["'])/g,((e,o,u)=>o===r?o:u===t?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)));return t+o+t}function Bt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Nt={inferParserByLanguage:function(e,t){const{languages:n}=dt({plugins:t.plugins}),r=n.find((({name:t})=>t.toLowerCase()===e))||n.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||n.find((({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e))));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?ft.test(e)?ue(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ae(t),")+"),"g"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ae(t),")+"),"g"));if(null===n)return 0;const r=new Map;let o=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>o&&(o=n)}for(let e=1;e<o;e++)if(!r.get(e))return e;return o+1},getPenultimate:e=>e[e.length-2],getLast:se,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ft,getNextNonSpaceNonCommentCharacterIndex:xt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(xt(e,t,n))},skip:ht,skipWhitespace:mt,skipSpaces:gt,skipToLineEnd:Dt,skipEverythingButNewLine:yt,skipInlineComment:Et,skipTrailingComment:Ct,skipNewline:bt,isNextLineEmptyAfterIndex:At,isNextLineEmpty:function(e,t,n){return At(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=gt(e,r,{backwards:!0}),r=bt(e,r,{backwards:!0}),r=gt(e,r,{backwards:!0}),r!==bt(e,r,{backwards:!0})},hasNewline:vt,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t,n){return gt(e,(n=n||{}).backwards?t-1:t,n)!==t},getAlignmentSize:St,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:St(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:wt,printString:function(e,t,n){const r=e.slice(1,-1),o=!r.includes('"')&&!r.includes("'"),u="json"===t.parser?'"':t.__isInHtmlAttribute?"'":wt(e,t.singleQuote?"'":'"');return n?o?u+r+u:e:Tt(r,u,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},isNodeIgnoreComment:function(e){return"prettier-ignore"===e.value.trim()},makeString:Tt,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Bt(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Bt(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Bt(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}};var kt={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Pt}=Nt,{convertEndOfLineToChars:Ot}=kt,{concat:It,fill:Lt,cursor:Mt}=Z;let jt;function _t(e,t){return Vt(e,{type:"indent"},t)}function Rt(e,t,n){if(t===-1/0)return e.root||{value:"",length:0,queue:[]};if(t<0)return Vt(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign({},e,{root:e});return Vt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n)}function Vt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let o="",u=0,i=0,a=0;for(const e of r)switch(e.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),o+=e.n,u+=e.n.length;break;case"numberAlign":i+=1,a+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return p(),Object.assign({},e,{value:o,length:u,queue:r});function s(e){o+="\t".repeat(e),u+=n.tabWidth*e}function l(e){o+=" ".repeat(e),u+=e}function c(){n.useTabs?function(){i>0&&s(i);d()}():p()}function p(){a>0&&l(a),d()}function d(){i=0,a=0}}function $t(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function qt(e,t,n,r,o){let u=t.length;const i=[e],a=[];for(;n>=0;){if(0===i.length){if(0===u)return!0;i.push(t[u-1]),u--;continue}const[e,s,l]=i.pop();if("string"==typeof l)a.push(l),n-=Pt(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)i.push([e,s,l.parts[t]]);break;case"indent":i.push([_t(e,r),s,l.contents]);break;case"align":i.push([Rt(e,l.n,r),s,l.contents]);break;case"trim":n+=$t(a);break;case"group":if(o&&l.break)return!1;i.push([e,l.break?1:s,l.contents]),l.id&&(jt[l.id]=i[i.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)i.push([e,s,l.parts[t]]);break;case"if-break":{const t=l.groupId?jt[l.groupId]:s;1===t&&l.breakContents&&i.push([e,s,l.breakContents]),2===t&&l.flatContents&&i.push([e,s,l.flatContents]);break}case"line":switch(s){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Wt={printDocToString:function(e,t){jt={};const n=t.printWidth,r=Ot(t.endOfLine);let o=0;const u=[[{value:"",length:0,queue:[]},1,e]],i=[];let a=!1,s=[];for(;0!==u.length;){const[e,l,c]=u.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;i.push(e),o+=Pt(e)}else switch(c.type){case"cursor":i.push(Mt.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)u.push([e,l,c.parts[t]]);break;case"indent":u.push([_t(e,t),l,c.contents]);break;case"align":u.push([Rt(e,c.n,t),l,c.contents]);break;case"trim":o-=$t(i);break;case"group":switch(l){case 2:if(!a){u.push([e,c.break?1:2,c.contents]);break}case 1:{a=!1;const r=[e,2,c.contents],i=n-o;if(!c.break&&qt(r,u,i,t))u.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){u.push([e,1,n]);break}for(let r=1;r<c.expandedStates.length+1;r++){if(r>=c.expandedStates.length){u.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(qt(n,u,i,t)){u.push(n);break}}}}else u.push([e,1,c.contents]);break}}c.id&&(jt[c.id]=u[u.length-1][1]);break;case"fill":{const r=n-o,{parts:i}=c;if(0===i.length)break;const[a,s]=i,p=[e,2,a],d=[e,1,a],f=qt(p,[],r,t,!0);if(1===i.length){f?u.push(p):u.push(d);break}const h=[e,2,s],m=[e,1,s];if(2===i.length){f?(u.push(h),u.push(p)):(u.push(m),u.push(d));break}i.splice(0,2);const g=[e,l,Lt(i)],D=i[0];qt([e,2,It([a,s,D])],[],r,t,!0)?(u.push(g),u.push(h),u.push(p)):f?(u.push(g),u.push(m),u.push(p)):(u.push(g),u.push(m),u.push(d));break}case"if-break":{const t=c.groupId?jt[c.groupId]:l;1===t&&c.breakContents&&u.push([e,l,c.breakContents]),2===t&&c.flatContents&&u.push([e,l,c.flatContents]);break}case"line-suffix":s.push([e,l,c.contents]);break;case"line-suffix-boundary":s.length>0&&u.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(i.push(" "),o+=1);break}a=!0;case 1:if(s.length){u.push([e,l,c]),u.push(...s.reverse()),s=[];break}c.literal?e.root?(i.push(r,e.root.value),o=e.root.length):(i.push(r),o=0):(o-=$t(i),i.push(r+e.value),o=e.length)}}0===u.length&&s.length&&(u.push(...s.reverse()),s=[])}const l=i.indexOf(Mt.placeholder);if(-1!==l){const e=i.indexOf(Mt.placeholder,l+1),t=i.slice(0,l).join(""),n=i.slice(l+1,e).join("");return{formatted:t+n+i.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:i.join("")}}};const{literalline:Ut,concat:Jt}=Z,zt={};function Gt(e,t,n,r){const o=[e];for(;0!==o.length;){const e=o.pop();if(e!==zt){if(n&&o.push(e,zt),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)o.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&o.push(e.flatContents),e.breakContents&&o.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)o.push(e.expandedStates[t]);else o.push(e.contents);else e.contents&&o.push(e.contents)}else n(o.pop())}}function Ht(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map((e=>Ht(e,t)));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&Ht(e.breakContents,t),r=e.flatContents&&Ht(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=Ht(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function Xt(e,t,n){let r=n,o=!1;return Gt(e,(function(e){const n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1})),r}function Yt(e){return"string"!=typeof e&&("line"===e.type||void 0)}function Kt(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function Qt(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function Zt(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function en(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function tn(e){if("concat"===e.type){const t=[];for(let n=0;n<e.parts.length;++n){const r=e.parts[n];if("string"!=typeof r&&"concat"===r.type)t.push(...tn(r).parts);else{const e=tn(r);""!==e&&t.push(e)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?tn(e.breakContents):null,flatContents:null!=e.flatContents?tn(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:tn(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(tn):e.expandedStates}):e.contents?Object.assign({},e,{contents:tn(e.contents)}):e}function nn(e){if("string"==typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(nn).join(", ")+"]";if("indent"===e.type)return"indent("+nn(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+nn(e.contents)+")":e.n<0?"dedent("+nn(e.contents)+")":"root"===e.n.type?"markAsRoot("+nn(e.contents)+")":"align("+JSON.stringify(e.n)+", "+nn(e.contents)+")";if("if-break"===e.type)return"ifBreak("+nn(e.breakContents)+(e.flatContents?", "+nn(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(nn).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+nn(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(nn).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+nn(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var rn={builders:Z,printer:Wt,utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return Xt(e,Kt,!1)},isLineNext:function(e){return Xt(e,Yt,!1)},traverseDoc:Gt,findInDoc:Xt,mapDoc:Ht,propagateBreaks:function(e){const t=new Set,n=[];Gt(e,(function(e){if("break-parent"===e.type&&Qt(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){n.pop().break&&Qt(n)}}),!0)},removeLines:function(e){return Ht(e,Zt)},stripTrailingHardline:function e(t,n=!1){if("concat"===t.type&&0!==t.parts.length){const r=n?function(e){let t,{parts:n}=e;for(let r=e.parts.length;r>0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,o=r[r.length-1];if("concat"===o.type)return 2===o.parts.length&&o.parts[0].hard&&"break-parent"===o.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(o))}}return t},normalizeParts:en,normalizeDoc:function(e){return Ht(e,(e=>e.parts?Object.assign({},e,{parts:en(e.parts)}):e))},replaceNewlinesWithLiterallines:function(e){return Ht(e,(e=>"string"==typeof e&&e.includes("\n")?Jt(e.split(/(\n)/g).map(((e,t)=>t%2==0?e:Ut))):e))}},debug:{printDocToDebug:e=>nn(tn(e))}};const on=()=>!1,un=()=>"";var an={existsSync:on,readFileSync:un},sn=Object.freeze({__proto__:null,existsSync:on,readFileSync:un,default:an});function ln(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function cn(e,t){for(var n,r="",o=0,u=-1,i=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(u===a-1||1===i);else if(u!==a-1&&2===i){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){-1===s?(r="",o=0):o=(r=r.slice(0,s)).length-1-r.lastIndexOf("/"),u=a,i=0;continue}}else if(2===r.length||1===r.length){r="",o=0,u=a,i=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(u+1,a):r=e.slice(u+1,a),o=a-u-1;u=a,i=0}else 46===n&&-1!==i?++i:i=-1}return r}var pn={resolve:function(){for(var e,t="",n=!1,r=arguments.length-1;r>=-1&&!n;r--){var o;r>=0?o=arguments[r]:(void 0===e&&(e=Oe.cwd()),o=e),ln(o),0!==o.length&&(t=o+"/"+t,n=47===o.charCodeAt(0))}return t=cn(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(ln(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=cn(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return ln(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];ln(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":pn.normalize(e)},relative:function(e,t){if(ln(e),ln(t),e===t)return"";if((e=pn.resolve(e))===(t=pn.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,o=r-n,u=1;u<t.length&&47===t.charCodeAt(u);++u);for(var i=t.length-u,a=o<i?o:i,s=-1,l=0;l<=a;++l){if(l===a){if(i>a){if(47===t.charCodeAt(u+l))return t.slice(u+l+1);if(0===l)return t.slice(u+l)}else o>a&&(47===e.charCodeAt(n+l)?s=l:0===l&&(s=0));break}var c=e.charCodeAt(n+l);if(c!==t.charCodeAt(u+l))break;47===c&&(s=l)}var p="";for(l=n+s+1;l<=r;++l)l!==r&&47!==e.charCodeAt(l)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(u+s):(u+=s,47===t.charCodeAt(u)&&++u,t.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(ln(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,u=e.length-1;u>=1;--u)if(47===(t=e.charCodeAt(u))){if(!o){r=u;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');ln(e);var n,r=0,o=-1,u=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var i=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){var s=e.charCodeAt(n);if(47===s){if(!u){r=n+1;break}}else-1===a&&(u=!1,a=n+1),i>=0&&(s===t.charCodeAt(i)?-1==--i&&(o=n):(i=-1,o=a))}return r===o?o=a:-1===o&&(o=e.length),e.slice(r,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!u){r=n+1;break}}else-1===o&&(u=!1,o=n+1);return-1===o?"":e.slice(r,o)},extname:function(e){ln(e);for(var t=-1,n=0,r=-1,o=!0,u=0,i=e.length-1;i>=0;--i){var a=e.charCodeAt(i);if(47!==a)-1===r&&(o=!1,r=i+1),46===a?-1===t?t=i:1!==u&&(u=1):-1!==t&&(u=-1);else if(!o){n=i+1;break}}return-1===t||-1===r||0===u||1===u&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){ln(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),o=47===r;o?(t.root="/",n=1):n=0;for(var u=-1,i=0,a=-1,s=!0,l=e.length-1,c=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===a&&(s=!1,a=l+1),46===r?-1===u?u=l:1!==c&&(c=1):-1!==u&&(c=-1);else if(!s){i=l+1;break}return-1===u||-1===a||0===c||1===c&&u===a-1&&u===i+1?-1!==a&&(t.base=t.name=0===i&&o?e.slice(1,a):e.slice(i,a)):(0===i&&o?(t.name=e.slice(1,u),t.base=e.slice(1,a)):(t.name=e.slice(i,u),t.base=e.slice(i,a)),t.ext=e.slice(u,a)),i>0?t.dir=e.slice(0,i-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};pn.posix=pn;var dn=pn,fn=Object.freeze(Object.assign(Object.create(null),dn,{default:dn,__moduleExports:dn})),hn=[],mn=[],gn="undefined"!=typeof Uint8Array?Uint8Array:Array,Dn=!1;function yn(){Dn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)hn[t]=e[t],mn[e.charCodeAt(t)]=t;mn["-".charCodeAt(0)]=62,mn["_".charCodeAt(0)]=63}function En(e,t,n){for(var r,o,u=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u.push(hn[(o=r)>>18&63]+hn[o>>12&63]+hn[o>>6&63]+hn[63&o]);return u.join("")}function Cn(e){var t;Dn||yn();for(var n=e.length,r=n%3,o="",u=[],i=16383,a=0,s=n-r;a<s;a+=i)u.push(En(e,a,a+i>s?s:a+i));return 1===r?(t=e[n-1],o+=hn[t>>2],o+=hn[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=hn[t>>10],o+=hn[t>>4&63],o+=hn[t<<2&63],o+="="),u.push(o),u.join("")}function bn(e,t,n,r,o){var u,i,a=8*o-r-1,s=(1<<a)-1,l=s>>1,c=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,u=f&(1<<-c)-1,f>>=-c,c+=a;c>0;u=256*u+e[t+p],p+=d,c-=8);for(i=u&(1<<-c)-1,u>>=-c,c+=r;c>0;i=256*i+e[t+p],p+=d,c-=8);if(0===u)u=1-l;else{if(u===s)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,r),u-=l}return(f?-1:1)*i*Math.pow(2,u-r)}function vn(e,t,n,r,o,u){var i,a,s,l=8*u-o-1,c=(1<<l)-1,p=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:u-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-i))<1&&(i--,s*=2),(t+=i+p>=1?d/s:d*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=c?(a=0,i=c):i+p>=1?(a=(t*s-1)*Math.pow(2,o),i+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[n+f]=255&a,f+=h,a/=256,o-=8);for(i=i<<o|a,l+=o;l>0;e[n+f]=255&i,f+=h,i/=256,l-=8);e[n+f-h]|=128*m}var An={}.toString,Fn=Array.isArray||function(e){return"[object Array]"==An.call(e)};function xn(){return wn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Sn(e,t){if(xn()<t)throw new RangeError("Invalid typed array length");return wn.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=wn.prototype:(null===e&&(e=new wn(t)),e.length=t),e}function wn(e,t,n){if(!(wn.TYPED_ARRAY_SUPPORT||this instanceof wn))return new wn(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Nn(this,e)}return Tn(this,e,t,n)}function Tn(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);wn.TYPED_ARRAY_SUPPORT?(e=t).__proto__=wn.prototype:e=kn(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!wn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|In(t,n),o=(e=Sn(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(On(t)){var n=0|Pn(t.length);return 0===(e=Sn(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Sn(e,0):kn(e,t);if("Buffer"===t.type&&Fn(t.data))return kn(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Bn(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Nn(e,t){if(Bn(t),e=Sn(e,t<0?0:0|Pn(t)),!wn.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function kn(e,t){var n=t.length<0?0:0|Pn(t.length);e=Sn(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Pn(e){if(e>=xn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xn().toString(16)+" bytes");return 0|e}function On(e){return!(null==e||!e._isBuffer)}function In(e,t){if(On(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return ir(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ar(e).length;default:if(r)return ir(e).length;t=(""+t).toLowerCase(),r=!0}}function Ln(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xn(this,t,n);case"utf8":case"utf-8":return zn(this,t,n);case"ascii":return Gn(this,t,n);case"latin1":case"binary":return Hn(this,t,n);case"base64":return Jn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yn(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Mn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function jn(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=wn.from(t,r)),On(t))return 0===t.length?-1:_n(e,t,n,r,o);if("number"==typeof t)return t&=255,wn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_n(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _n(e,t,n,r,o){var u,i=1,a=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,a/=2,s/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var c=-1;for(u=n;u<a;u++)if(l(e,u)===l(t,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===s)return c*i}else-1!==c&&(u-=u-c),c=-1}else for(n+s>a&&(n=a-s),u=n;u>=0;u--){for(var p=!0,d=0;d<s;d++)if(l(e,u+d)!==l(t,d)){p=!1;break}if(p)return u}return-1}function Rn(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var u=t.length;if(u%2!=0)throw new TypeError("Invalid hex string");r>u/2&&(r=u/2);for(var i=0;i<r;++i){var a=parseInt(t.substr(2*i,2),16);if(isNaN(a))return i;e[n+i]=a}return i}function Vn(e,t,n,r){return sr(ir(t,e.length-n),e,n,r)}function $n(e,t,n,r){return sr(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function qn(e,t,n,r){return $n(e,t,n,r)}function Wn(e,t,n,r){return sr(ar(t),e,n,r)}function Un(e,t,n,r){return sr(function(e,t){for(var n,r,o,u=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o=n%256,u.push(o),u.push(r);return u}(t,e.length-n),e,n,r)}function Jn(e,t,n){return 0===t&&n===e.length?Cn(e):Cn(e.slice(t,n))}function zn(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var u,i,a,s,l=e[o],c=null,p=l>239?4:l>223?3:l>191?2:1;if(o+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(u=e[o+1]))&&(s=(31&l)<<6|63&u)>127&&(c=s);break;case 3:u=e[o+1],i=e[o+2],128==(192&u)&&128==(192&i)&&(s=(15&l)<<12|(63&u)<<6|63&i)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:u=e[o+1],i=e[o+2],a=e[o+3],128==(192&u)&&128==(192&i)&&128==(192&a)&&(s=(15&l)<<18|(63&u)<<12|(63&i)<<6|63&a)>65535&&s<1114112&&(c=s)}null===c?(c=65533,p=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}wn.TYPED_ARRAY_SUPPORT=void 0===le.TYPED_ARRAY_SUPPORT||le.TYPED_ARRAY_SUPPORT,wn.poolSize=8192,wn._augment=function(e){return e.__proto__=wn.prototype,e},wn.from=function(e,t,n){return Tn(null,e,t,n)},wn.TYPED_ARRAY_SUPPORT&&(wn.prototype.__proto__=Uint8Array.prototype,wn.__proto__=Uint8Array),wn.alloc=function(e,t,n){return function(e,t,n,r){return Bn(t),t<=0?Sn(e,t):void 0!==n?"string"==typeof r?Sn(e,t).fill(n,r):Sn(e,t).fill(n):Sn(e,t)}(null,e,t,n)},wn.allocUnsafe=function(e){return Nn(null,e)},wn.allocUnsafeSlow=function(e){return Nn(null,e)},wn.isBuffer=function(e){return null!=e&&(!!e._isBuffer||lr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&lr(e.slice(0,0))}(e))},wn.compare=function(e,t){if(!On(e)||!On(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,u=Math.min(n,r);o<u;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},wn.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},wn.concat=function(e,t){if(!Fn(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return wn.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=wn.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var u=e[n];if(!On(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(r,o),o+=u.length}return r},wn.byteLength=In,wn.prototype._isBuffer=!0,wn.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Mn(this,t,t+1);return this},wn.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Mn(this,t,t+3),Mn(this,t+1,t+2);return this},wn.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Mn(this,t,t+7),Mn(this,t+1,t+6),Mn(this,t+2,t+5),Mn(this,t+3,t+4);return this},wn.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?zn(this,0,e):Ln.apply(this,arguments)},wn.prototype.equals=function(e){if(!On(e))throw new TypeError("Argument must be a Buffer");return this===e||0===wn.compare(this,e)},wn.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},wn.prototype.compare=function(e,t,n,r,o){if(!On(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var u=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),a=Math.min(u,i),s=this.slice(r,o),l=e.slice(t,n),c=0;c<a;++c)if(s[c]!==l[c]){u=s[c],i=l[c];break}return u<i?-1:i<u?1:0},wn.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},wn.prototype.indexOf=function(e,t,n){return jn(this,e,t,n,!0)},wn.prototype.lastIndexOf=function(e,t,n){return jn(this,e,t,n,!1)},wn.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var u=!1;;)switch(r){case"hex":return Rn(this,e,t,n);case"utf8":case"utf-8":return Vn(this,e,t,n);case"ascii":return $n(this,e,t,n);case"latin1":case"binary":return qn(this,e,t,n);case"base64":return Wn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Un(this,e,t,n);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},wn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Gn(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function Hn(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function Xn(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",u=t;u<n;++u)o+=ur(e[u]);return o}function Yn(e,t,n){for(var r=e.slice(t,n),o="",u=0;u<r.length;u+=2)o+=String.fromCharCode(r[u]+256*r[u+1]);return o}function Kn(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Qn(e,t,n,r,o,u){if(!On(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<u)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Zn(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,u=Math.min(e.length-n,2);o<u;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function er(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,u=Math.min(e.length-n,4);o<u;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function tr(e,t,n,r,o,u){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function nr(e,t,n,r,o){return o||tr(e,0,n,4),vn(e,t,n,r,23,4),n+4}function rr(e,t,n,r,o){return o||tr(e,0,n,8),vn(e,t,n,r,52,8),n+8}wn.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),wn.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=wn.prototype;else{var o=t-e;n=new wn(o,void 0);for(var u=0;u<o;++u)n[u]=this[u+e]}return n},wn.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Kn(e,t,this.length);for(var r=this[e],o=1,u=0;++u<t&&(o*=256);)r+=this[e+u]*o;return r},wn.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Kn(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},wn.prototype.readUInt8=function(e,t){return t||Kn(e,1,this.length),this[e]},wn.prototype.readUInt16LE=function(e,t){return t||Kn(e,2,this.length),this[e]|this[e+1]<<8},wn.prototype.readUInt16BE=function(e,t){return t||Kn(e,2,this.length),this[e]<<8|this[e+1]},wn.prototype.readUInt32LE=function(e,t){return t||Kn(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},wn.prototype.readUInt32BE=function(e,t){return t||Kn(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},wn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Kn(e,t,this.length);for(var r=this[e],o=1,u=0;++u<t&&(o*=256);)r+=this[e+u]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},wn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Kn(e,t,this.length);for(var r=t,o=1,u=this[e+--r];r>0&&(o*=256);)u+=this[e+--r]*o;return u>=(o*=128)&&(u-=Math.pow(2,8*t)),u},wn.prototype.readInt8=function(e,t){return t||Kn(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},wn.prototype.readInt16LE=function(e,t){t||Kn(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},wn.prototype.readInt16BE=function(e,t){t||Kn(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},wn.prototype.readInt32LE=function(e,t){return t||Kn(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},wn.prototype.readInt32BE=function(e,t){return t||Kn(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},wn.prototype.readFloatLE=function(e,t){return t||Kn(e,4,this.length),bn(this,e,!0,23,4)},wn.prototype.readFloatBE=function(e,t){return t||Kn(e,4,this.length),bn(this,e,!1,23,4)},wn.prototype.readDoubleLE=function(e,t){return t||Kn(e,8,this.length),bn(this,e,!0,52,8)},wn.prototype.readDoubleBE=function(e,t){return t||Kn(e,8,this.length),bn(this,e,!1,52,8)},wn.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Qn(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,u=0;for(this[t]=255&e;++u<n&&(o*=256);)this[t+u]=e/o&255;return t+n},wn.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Qn(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,u=1;for(this[t+o]=255&e;--o>=0&&(u*=256);)this[t+o]=e/u&255;return t+n},wn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,1,255,0),wn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},wn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,65535,0),wn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Zn(this,e,t,!0),t+2},wn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,65535,0),wn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Zn(this,e,t,!1),t+2},wn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,4294967295,0),wn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):er(this,e,t,!0),t+4},wn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,4294967295,0),wn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):er(this,e,t,!1),t+4},wn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Qn(this,e,t,n,o-1,-o)}var u=0,i=1,a=0;for(this[t]=255&e;++u<n&&(i*=256);)e<0&&0===a&&0!==this[t+u-1]&&(a=1),this[t+u]=(e/i>>0)-a&255;return t+n},wn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Qn(this,e,t,n,o-1,-o)}var u=n-1,i=1,a=0;for(this[t+u]=255&e;--u>=0&&(i*=256);)e<0&&0===a&&0!==this[t+u+1]&&(a=1),this[t+u]=(e/i>>0)-a&255;return t+n},wn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,1,127,-128),wn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},wn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,32767,-32768),wn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Zn(this,e,t,!0),t+2},wn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,2,32767,-32768),wn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Zn(this,e,t,!1),t+2},wn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,2147483647,-2147483648),wn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):er(this,e,t,!0),t+4},wn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Qn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),wn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):er(this,e,t,!1),t+4},wn.prototype.writeFloatLE=function(e,t,n){return nr(this,e,t,!0,n)},wn.prototype.writeFloatBE=function(e,t,n){return nr(this,e,t,!1,n)},wn.prototype.writeDoubleLE=function(e,t,n){return rr(this,e,t,!0,n)},wn.prototype.writeDoubleBE=function(e,t,n){return rr(this,e,t,!1,n)},wn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,u=r-n;if(this===e&&n<t&&t<r)for(o=u-1;o>=0;--o)e[o+t]=this[o+n];else if(u<1e3||!wn.TYPED_ARRAY_SUPPORT)for(o=0;o<u;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+u),t);return u},wn.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!wn.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var u;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(u=t;u<n;++u)this[u]=e;else{var i=On(e)?e:ir(new wn(e,r).toString()),a=i.length;for(u=0;u<n-t;++u)this[u+t]=i[u%a]}return this};var or=/[^+\/0-9A-Za-z-_]/g;function ur(e){return e<16?"0"+e.toString(16):e.toString(16)}function ir(e,t){var n;t=t||1/0;for(var r=e.length,o=null,u=[],i=0;i<r;++i){if((n=e.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&u.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&u.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&u.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&u.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;u.push(n)}else if(n<2048){if((t-=2)<0)break;u.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;u.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;u.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return u}function ar(e){return function(e){var t,n,r,o,u,i;Dn||yn();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");u="="===e[a-2]?2:"="===e[a-1]?1:0,i=new gn(3*a/4-u),r=u>0?a-4:a;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)o=mn[e.charCodeAt(t)]<<18|mn[e.charCodeAt(t+1)]<<12|mn[e.charCodeAt(t+2)]<<6|mn[e.charCodeAt(t+3)],i[s++]=o>>16&255,i[s++]=o>>8&255,i[s++]=255&o;return 2===u?(o=mn[e.charCodeAt(t)]<<2|mn[e.charCodeAt(t+1)]>>4,i[s++]=255&o):1===u&&(o=mn[e.charCodeAt(t)]<<10|mn[e.charCodeAt(t+1)]<<4|mn[e.charCodeAt(t+2)]>>2,i[s++]=o>>8&255,i[s++]=255&o),i}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(or,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function sr(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function lr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var cr=_e(sn);var pr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:cr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++){if(e[r]===t){n=r;break}}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){cr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,o=0;for(;;){let u=e[r++];if(u===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===u)break}let u=e.slice(o,r);return u.length&&n.push(u),n}_readChunk(e){let t,n=0;const r=[];do{const e=new wn(this.options.readChunk);t=cr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let o=wn.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,n)),n&&(this.linesCache=this._extractLines(o),e&&(this.linesCache[0]=wn.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;if(this.eofReached&&0===this.linesCache.length)return t;if(this.linesCache.length||(e=this._readChunk()),this.linesCache.length){t=this.linesCache.shift();t[t.length-1]!==this.newLineCharacter&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()))}return this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t}};var dr=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r};class fr extends Error{}class hr extends Error{}class mr extends Error{}var gr={ConfigError:fr,DebugError:hr,UndefinedParserError:mr},Dr=function(e,t){return(Dr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};
-/*! *****************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */var yr=function(){return(yr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Er(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,u=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=u.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}return i}function br(e){return this instanceof br?(this.v=e,this):new br(e)}var vr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Dr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return yr},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},__decorate:function(e,t,n,r){var o,u=arguments.length,i=u<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(u<3?o(i):u>3?o(t,n,i):o(t,n))||i);return u>3&&i&&Object.defineProperty(t,n,i),i},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(o,u){function i(e){try{s(r.next(e))}catch(e){u(e)}}function a(e){try{s(r.throw(e))}catch(e){u(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}s((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:Er,__read:Cr,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Cr(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var u=arguments[t],i=0,a=u.length;i<a;i++,o++)r[o]=u[i];return r},__await:br,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),u=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){u.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof br?Promise.resolve(n.value.v).then(s,l):c(u[0][2],n)}catch(e){c(u[0][3],e)}var n}function s(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),u.shift(),u.length&&a(u[0][0],u[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:br(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Er(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Ar=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((e=>t.apiDescriptor.value(e))).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n])))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Fr=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(Ar,t)})),xr=/[|\\{}()[\]^$+*?.]/g,Sr=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(xr,"\\$&")},wr={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]},Tr=je((function(e){var t={};for(var n in wr)wr.hasOwnProperty(n)&&(t[wr[n]]=n);var r=e.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 o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var u=r[o].channels,i=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:u}),Object.defineProperty(r[o],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,u=e[2]/255,i=Math.min(r,o,u),a=Math.max(r,o,u),s=a-i;return a===i?t=0:r===a?t=(o-u)/s:o===a?t=2+(u-r)/s:u===a&&(t=4+(r-o)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+a)/2,[t,100*(a===i?0:n<=.5?s/(a+i):s/(2-a-i)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,u,i=e[0]/255,a=e[1]/255,s=e[2]/255,l=Math.max(i,a,s),c=l-Math.min(i,a,s),p=function(e){return(l-e)/6/c+.5};return 0===c?o=u=0:(u=c/l,t=p(i),n=p(a),r=p(s),i===l?o=r-n:a===l?o=1/3+t-r:s===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*u,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,u,i=1/0;for(var a in wr)if(wr.hasOwnProperty(a)){var s=wr[a],l=(o=e,u=s,Math.pow(o[0]-u[0],2)+Math.pow(o[1]-u[1],2)+Math.pow(o[2]-u[2],2));l<i&&(i=l,r=a)}return r},r.keyword.rgb=function(e){return wr[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],u=t[2];return o/=100,u/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,u,i=e[0]/360,a=e[1]/100,s=e[2]/100;if(0===a)return[u=255*s,u,u];t=2*s-(n=s<.5?s*(1+a):s+a-s*a),o=[0,0,0];for(var l=0;l<3;l++)(r=i+1/3*-(l-1))<0&&r++,r>1&&r--,u=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*u;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,u=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=u<=1?u:2-u,[t,100*(0===r?2*o/(u+o):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,u=t-Math.floor(t),i=255*r*(1-n),a=255*r*(1-n*u),s=255*r*(1-n*(1-u));switch(r*=255,o){case 0:return[r,s,i];case 1:return[a,r,i];case 2:return[i,r,s];case 3:return[i,a,r];case 4:return[s,i,r];case 5:return[r,i,a]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],u=e[1]/100,i=e[2]/100,a=Math.max(i,.01);return r=(2-u)*i,n=u*a,[o,100*(n=(n/=(t=(2-u)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,u,i,a,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),o=l+r*((n=1-c)-l),t){default:case 6:case 0:u=n,i=o,a=l;break;case 1:u=o,i=n,a=l;break;case 2:u=l,i=n,a=o;break;case 3:u=l,i=o,a=n;break;case 4:u=o,i=l,a=n;break;case 5:u=n,i=l,a=o}return[255*u,255*i,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,u=e[1]/100,i=e[2]/100;return n=-.9689*o+1.8758*u+.0415*i,r=.0557*o+-.204*u+1.057*i,t=(t=3.2406*o+-1.5372*u+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),i=Math.pow(t,3),a=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],u=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(u=Math.round(u/50)))return 30;var i=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===u&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,u=Math.max(Math.max(n,r),o),i=Math.min(Math.min(n,r),o),a=u-i;return t=a<=0?0:u===n?(r-o)/a%6:u===r?2+(o-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?i/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,u=[0,0,0],i=t%1*6,a=i%1,s=1-a;switch(Math.floor(i)){case 0:u[0]=1,u[1]=a,u[2]=0;break;case 1:u[0]=s,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=a;break;case 3:u[0]=0,u[1]=s,u[2]=1;break;case 4:u[0]=a,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=s}return o=(1-n)*r,[255*(n*u[0]+o),255*(n*u[1]+o),255*(n*u[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Br(e){var t=function(){for(var e={},t=Object.keys(Tr),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(Tr[r]),u=o.length,i=0;i<u;i++){var a=o[i],s=t[a];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(a))}return t}function Nr(e,t){return function(n){return t(e(n))}}function kr(e,t){for(var n=[t[e].parent,e],r=Tr[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Nr(Tr[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var Pr={};Object.keys(Tr).forEach((function(e){Pr[e]={},Object.defineProperty(Pr[e],"channels",{value:Tr[e].channels}),Object.defineProperty(Pr[e],"labels",{value:Tr[e].labels});var t=function(e){for(var t=Br(e),n={},r=Object.keys(t),o=r.length,u=0;u<o;u++){var i=r[u];null!==t[i].parent&&(n[i]=kr(i,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Pr[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Pr[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Or=Pr,Ir=je((function(e){const t=(e,t)=>function(){const n=e.apply(Or,arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(Or,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(Or,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,o={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]}};o.color.grey=o.color.gray;for(const t of Object.keys(o)){const n=o[t];for(const t of Object.keys(n)){const r=n[t];o[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=o[t],e.set(r[0],r[1])}Object.defineProperty(o,t,{value:n,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}const u=e=>e,i=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(u,0)},o.color.ansi256={ansi256:n(u,0)},o.color.ansi16m={rgb:r(i,0)},o.bgColor.ansi={ansi:t(u,10)},o.bgColor.ansi256={ansi256:n(u,10)},o.bgColor.ansi16m={rgb:r(i,10)};for(let e of Object.keys(Or)){if("object"!=typeof Or[e])continue;const u=Or[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(o.color.ansi[e]=t(u.ansi16,0),o.bgColor.ansi[e]=t(u.ansi16,10)),"ansi256"in u&&(o.color.ansi256[e]=n(u.ansi256,0),o.bgColor.ansi256[e]=n(u.ansi256,10)),"rgb"in u&&(o.color.ansi16m[e]=r(u.rgb,0),o.bgColor.ansi16m[e]=r(u.rgb,10))}return o}})})),Lr=(e,t)=>{t=t||Oe.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},Mr=_e(Object.freeze({__proto__:null,default:{EOL:"\n",platform:()=>"browser",cpus:()=>[{model:"Prettier"}]}}));const jr=Oe.env;let _r;function Rr(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===_r)return 0;if(Lr("color=16m")||Lr("color=full")||Lr("color=truecolor"))return 3;if(Lr("color=256"))return 2;if(e&&!e.isTTY&&!0!==_r)return 0;const t=_r?1:0;if("win32"===Oe.platform){const e=Mr.release().split(".");return Number(Oe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in jr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in jr))||"codeship"===jr.CI_NAME?1:t;if("TEAMCITY_VERSION"in jr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(jr.TEAMCITY_VERSION)?1:0;if("truecolor"===jr.COLORTERM)return 3;if("TERM_PROGRAM"in jr){const e=parseInt((jr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(jr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(jr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(jr.TERM)||"COLORTERM"in jr?1:(jr.TERM,t)}(e))}Lr("no-color")||Lr("no-colors")||Lr("color=false")?_r=!1:(Lr("color")||Lr("colors")||Lr("color=true")||Lr("color=always"))&&(_r=!0),"FORCE_COLOR"in jr&&(_r=0===jr.FORCE_COLOR.length||0!==parseInt(jr.FORCE_COLOR,10));var Vr={supportsColor:Rr,stdout:Rr(Oe.stdout),stderr:Rr(Oe.stderr)};const $r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,qr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Wr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ur=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Jr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function zr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Jr.get(e)||e}function Gr(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(Wr)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Ur,((e,t,n)=>t?zr(t):n)))}else n.push(Number(t));return n}function Hr(e){qr.lastIndex=0;const t=[];let n;for(;null!==(n=qr.exec(e));){const e=n[1];if(n[2]){const r=Gr(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Xr(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var Yr=(e,t)=>{const n=[],r=[];let o=[];if(t.replace($r,((t,u,i,a,s,l)=>{if(u)o.push(zr(u));else if(a){const t=o.join("");o=[],r.push(0===n.length?t:Xr(e,n)(t)),n.push({inverse:i,styles:Hr(a)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Xr(e,n)(o.join(""))),o=[],n.pop()}else o.push(l)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Kr=je((function(e){const t=Vr.stdout,n="win32"===Oe.platform&&!(Oe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),u=Object.create(null);function i(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return i(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}i(this,e)}n&&(Ir.blue.open="\x1b[94m");for(const e of Object.keys(Ir))Ir[e].closeRe=new RegExp(Sr(Ir[e].close),"g"),u[e]={get(){const t=Ir[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Ir.color.closeRe=new RegExp(Sr(Ir.color.close),"g");for(const e of Object.keys(Ir.color.ansi))o.has(e)||(u[e]={get(){const t=this.level;return function(){const n=Ir.color[r[t]][e].apply(null,arguments),o={open:n,close:Ir.color.close,closeRe:Ir.color.closeRe};return l.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});Ir.bgColor.closeRe=new RegExp(Sr(Ir.bgColor.close),"g");for(const e of Object.keys(Ir.bgColor.ansi)){if(o.has(e))continue;u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=Ir.bgColor[r[t]][e].apply(null,arguments),o={open:n,close:Ir.bgColor.close,closeRe:Ir.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const s=Object.defineProperties((()=>{}),u);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=s,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=Ir.dim.open;n&&this.hasGrey&&(Ir.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return Ir.dim.open=o,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return Yr(e,r.join(""))}Object.defineProperties(a.prototype,u),e.exports=a(),e.exports.supportsColor=t,e.exports.default=e.exports})),Qr=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonDeprecatedHandler=(e,t,{descriptor:n})=>{const r=["".concat(Kr.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(Kr.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),Zr=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(Qr,t)})),eo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(Kr.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Kr.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Kr.default.red(n.descriptor.value(t)),".")].join(" ")})),to=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(eo,t)})),no=[],ro=[],oo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:o})=>{const u=["Ignored unknown option ".concat(Kr.default.yellow(n.pair({key:e,value:t})),".")],i=Object.keys(o).sort().find((t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var u,i,a,s,l=0;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(o-=l,0==(r-=l))return o;for(var c=0,p=0;c<r;)ro[l+c]=e.charCodeAt(l+c),no[c]=++c;for(;p<o;)for(u=t.charCodeAt(l+p),a=p++,i=p,c=0;c<r;c++)s=u===ro[l+c]?a:a+1,a=no[c],i=no[c]=a>i?s>i?i+1:s:s>a?a+1:s;return i}(e,t)<3));i&&u.push("Did you mean ".concat(Kr.default.blue(n.key(i)),"?")),r.warn(u.join(" "))}})),uo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(oo,t)})),io=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(Zr,t),vr.__exportStar(to,t),vr.__exportStar(uo,t)})),ao=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),i=Object.create(r);for(const e of n)e in t&&(i[e]=u(t[e],r,o.prototype[e].length));return i}t.createSchema=r;class o{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function u(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=o})),so=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),lo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),co=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=vr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((({value:e})=>({value:[e]}))))}return n}forward(e,t){const n=[];for(const o of e){const e=t.normalizeForwardResult(this._valueSchema.forward(o,t),o);n.push(...e.map(r))}return n}redirect(e,t){const n=[],o=[];for(const u of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(u,t),u);"remain"in e&&n.push(e.remain),o.push(...e.redirect.map(r))}return 0===n.length?{redirect:o}:{redirect:o,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),po=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),fo=je((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>n(e,t))):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const o of e)t(o)?n.push(o):r.push(o);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),ho=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{constructor(e){super(e),this._choices=fo.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(fo.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),mo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),go=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends mo.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&fo.isInt(e)}}t.IntegerSchema=n})),Do=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends ao.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),yo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(so,t),vr.__exportStar(lo,t),vr.__exportStar(co,t),vr.__exportStar(po,t),vr.__exportStar(ho,t),vr.__exportStar(go,t),vr.__exportStar(mo,t),vr.__exportStar(Do,t)})),Eo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Ar.apiDescriptor,t.defaultUnknownHandler=oo.levenUnknownHandler,t.defaultInvalidHandler=to.commonInvalidHandler,t.defaultDeprecatedHandler=Qr.commonDeprecatedHandler})),Co=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Eo.defaultDescriptor,unknown:o=Eo.defaultUnknownHandler,invalid:u=Eo.defaultInvalidHandler,deprecated:i=Eo.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:fo.recordFromArray(e,"name"),normalizeDefaultResult:fo.normalizeDefaultResult,normalizeDeprecatedResult:fo.normalizeDeprecatedResult,normalizeForwardResult:fo.normalizeForwardResult,normalizeRedirectResult:fo.normalizeRedirectResult,normalizeValidateResult:fo.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=u,this._deprecatedHandler=i,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fo.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=fo.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value})}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,o]=fo.partition(Object.keys(e),(e=>e in this._utils.schemas));for(const o of r){const r=this._utils.schemas[o],u=r.preprocess(e[o],this._utils),i=fo.normalizeValidateResult(r.validate(u,this._utils),u);if(!0!==i){const{value:e}=i,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const a=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},s=({value:e,redirectTo:t})=>{const n=fo.normalizeDeprecatedResult(r.deprecated(e,this._utils),u,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:e}of n){const n={key:o,value:e};if(!this._hasDeprecationWarned(n)){const r="string"==typeof t?{key:t,value:e}:t;this._utils.logger.warn(this._deprecatedHandler(n,r,this._utils))}}};fo.normalizeForwardResult(r.forward(u,this._utils),u).forEach(a);const l=fo.normalizeRedirectResult(r.redirect(u,this._utils),u);if(l.redirect.forEach(a),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,s({value:e})}for(const{from:e,to:t}of l.redirect)s({value:e,redirectTo:t})}for(const r of o){const o=e[r],u=this._unknownHandler(r,o,this._utils);if(u)for(const e of Object.keys(u)){const r={[e]:u[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),bo=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vr.__exportStar(Fr,t),vr.__exportStar(io,t),vr.__exportStar(yo,t),vr.__exportStar(Co,t),vr.__exportStar(ao,t)}));const vo=[],Ao=[],Fo=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,o=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;let u,i,a,s,l=0;for(;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(r-=l,o-=l,0===r)return o;let c=0,p=0;for(;c<r;)Ao[c]=e.charCodeAt(l+c),vo[c]=++c;for(;p<o;)for(u=t.charCodeAt(l+p),a=p++,i=p,c=0;c<r;c++)s=u===Ao[c]?a:a+1,a=vo[c],i=vo[c]=a>i?s>i?i+1:s:s>a?a+1:s;return i};var xo=Fo,So=Fo;xo.default=So;var wo={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]};const To={};for(const e of Object.keys(wo))To[wo[e]]=e;const Bo={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"]}};var No=Bo;for(const e of Object.keys(Bo)){if(!("channels"in Bo[e]))throw new Error("missing channels property: "+e);if(!("labels"in Bo[e]))throw new Error("missing channel labels property: "+e);if(Bo[e].labels.length!==Bo[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Bo[e];delete Bo[e].channels,delete Bo[e].labels,Object.defineProperty(Bo[e],"channels",{value:t}),Object.defineProperty(Bo[e],"labels",{value:n})}function ko(e){const t=function(){const e={},t=Object.keys(No);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),r=Object.keys(No[e]);for(let o=r.length,u=0;u<o;u++){const o=r[u],i=t[o];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(o))}}return t}function Po(e,t){return function(n){return t(e(n))}}function Oo(e,t){const n=[t[e].parent,e];let r=No[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=Po(No[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}Bo.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),u=Math.max(t,n,r),i=u-o;let a,s;u===o?a=0:t===u?a=(n-r)/i:n===u?a=2+(r-t)/i:r===u&&(a=4+(t-n)/i),a=Math.min(60*a,360),a<0&&(a+=360);const l=(o+u)/2;return s=u===o?0:l<=.5?i/(u+o):i/(2-u-o),[a,100*s,100*l]},Bo.rgb.hsv=function(e){let t,n,r,o,u;const i=e[0]/255,a=e[1]/255,s=e[2]/255,l=Math.max(i,a,s),c=l-Math.min(i,a,s),p=function(e){return(l-e)/6/c+.5};return 0===c?(o=0,u=0):(u=c/l,t=p(i),n=p(a),r=p(s),i===l?o=r-n:a===l?o=1/3+t-r:s===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*u,100*l]},Bo.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=Bo.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*u,100*r]},Bo.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},Bo.rgb.keyword=function(e){const t=To[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(wo)){const i=(u=wo[t],((o=e)[0]-u[0])**2+(o[1]-u[1])**2+(o[2]-u[2])**2);i<r&&(r=i,n=t)}var o,u;return n},Bo.keyword.rgb=function(e){return wo[e]},Bo.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Bo.rgb.lab=function(e){const t=Bo.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)]},Bo.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,u,i;if(0===n)return i=255*r,[i,i,i];o=r<.5?r*(1+n):r+n-r*n;const a=2*r-o,s=[0,0,0];for(let e=0;e<3;e++)u=t+1/3*-(e-1),u<0&&u++,u>1&&u--,i=6*u<1?a+6*(o-a)*u:2*u<1?o:3*u<2?a+(o-a)*(2/3-u)*6:a,s[e]=255*i;return s},Bo.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const u=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=u<=1?u:2-u;return[t,100*(0===r?2*o/(u+o):2*n/(r+n)),100*((r+n)/2)]},Bo.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,u=t-Math.floor(t),i=255*r*(1-n),a=255*r*(1-n*u),s=255*r*(1-n*(1-u));switch(r*=255,o){case 0:return[r,s,i];case 1:return[a,r,i];case 2:return[i,r,s];case 3:return[i,a,r];case 4:return[s,i,r];case 5:return[r,i,a]}},Bo.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let u,i;i=(2-n)*r;const a=(2-n)*o;return u=n*o,u/=a<=1?a:2-a,u=u||0,i/=2,[t,100*u,100*i]},Bo.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let u;o>1&&(n/=o,r/=o);const i=Math.floor(6*t),a=1-r;u=6*t-i,0!=(1&i)&&(u=1-u);const s=n+u*(a-n);let l,c,p;switch(i){default:case 6:case 0:l=a,c=s,p=n;break;case 1:l=s,c=a,p=n;break;case 2:l=n,c=a,p=s;break;case 3:l=n,c=s,p=a;break;case 4:l=s,c=n,p=a;break;case 5:l=a,c=n,p=s}return[255*l,255*c,255*p]},Bo.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},Bo.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,u,i;return o=3.2406*t+-1.5372*n+-.4986*r,u=-.9689*t+1.8758*n+.0415*r,i=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=Math.min(Math.max(0,o),1),u=Math.min(Math.max(0,u),1),i=Math.min(Math.max(0,i),1),[255*o,255*u,255*i]},Bo.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Bo.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,u=t**3,i=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Bo.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o]},Bo.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Bo.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let u=null===t?Bo.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),0===u)return 30;let i=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===u&&(i+=60),i},Bo.hsv.ansi16=function(e){return Bo.rgb.ansi16(Bo.hsv.rgb(e),e[2])},Bo.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Bo.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Bo.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Bo.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Bo.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Bo.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),u=Math.min(Math.min(t,n),r),i=o-u;let a,s;return a=i<1?u/(1-i):0,s=i<=0?0:o===t?(n-r)/i%6:o===n?2+(r-t)/i:4+(t-n)/i,s/=6,s%=1,[360*s,100*i,100*a]},Bo.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},Bo.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Bo.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],u=t%1*6,i=u%1,a=1-i;let s=0;switch(Math.floor(u)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return s=(1-n)*r,[255*(n*o[0]+s),255*(n*o[1]+s),255*(n*o[2]+s)]},Bo.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Bo.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Bo.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Bo.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Bo.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Bo.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Bo.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Bo.gray.hsl=function(e){return[0,0,e[0]]},Bo.gray.hsv=Bo.gray.hsl,Bo.gray.hwb=function(e){return[0,100,e[0]]},Bo.gray.cmyk=function(e){return[0,0,0,e[0]]},Bo.gray.lab=function(e){return[e[0],0,0]},Bo.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Bo.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Io={};Object.keys(No).forEach((e=>{Io[e]={},Object.defineProperty(Io[e],"channels",{value:No[e].channels}),Object.defineProperty(Io[e],"labels",{value:No[e].labels});const t=function(e){const t=ko(e),n={},r=Object.keys(t);for(let e=r.length,o=0;o<e;o++){const e=r[o];null!==t[e].parent&&(n[e]=Oo(e,t))}return n}(e);Object.keys(t).forEach((n=>{const r=t[n];Io[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Io[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Lo=Io,Mo=je((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"\x1b[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},o=e=>e,u=(e,t,n)=>[e,t,n],i=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const s=(e,t,n,r)=>{void 0===a&&(a=Lo);const o=r?10:0,u={};for(const[r,i]of Object.entries(a)){const a="ansi16"===r?"ansi":r;r===t?u[a]=e(n,o):"object"==typeof i&&(u[a]=e(i[t],o))}return u};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={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],blackBright:[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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="\x1b[39m",a.bgColor.close="\x1b[49m",i(a.color,"ansi",(()=>s(t,"ansi16",o,!1))),i(a.color,"ansi256",(()=>s(n,"ansi256",o,!1))),i(a.color,"ansi16m",(()=>s(r,"rgb",u,!1))),i(a.bgColor,"ansi",(()=>s(t,"ansi16",o,!0))),i(a.bgColor,"ansi256",(()=>s(n,"ansi256",o,!0))),i(a.bgColor,"ansi16m",(()=>s(r,"rgb",u,!0))),a}})})),jo={isatty:()=>!1},_o=(e,t=Oe.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},Ro=_e(Object.freeze({__proto__:null,default:jo}));const{env:Vo}=Oe;let $o;function qo(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Wo(e,t){if(0===$o)return 0;if(_o("color=16m")||_o("color=full")||_o("color=truecolor"))return 3;if(_o("color=256"))return 2;if(e&&!t&&void 0===$o)return 0;const n=$o||0;if("dumb"===Vo.TERM)return n;if("win32"===Oe.platform){const e=Mr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Vo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in Vo))||"codeship"===Vo.CI_NAME?1:n;if("TEAMCITY_VERSION"in Vo)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Vo.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Vo)return 1;if("truecolor"===Vo.COLORTERM)return 3;if("TERM_PROGRAM"in Vo){const e=parseInt((Vo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Vo.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Vo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Vo.TERM)||"COLORTERM"in Vo?1:n}_o("no-color")||_o("no-colors")||_o("color=false")||_o("color=never")?$o=0:(_o("color")||_o("colors")||_o("color=true")||_o("color=always"))&&($o=1),"FORCE_COLOR"in Vo&&($o="true"===Vo.FORCE_COLOR?1:"false"===Vo.FORCE_COLOR?0:0===Vo.FORCE_COLOR.length?1:Math.min(parseInt(Vo.FORCE_COLOR,10),3));var Uo={supportsColor:function(e){return qo(Wo(e,e&&e.isTTY))},stdout:qo(Wo(!0,Ro.isatty(1))),stderr:qo(Wo(!0,Ro.isatty(2)))};var Jo={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let u=0,i="";do{i+=e.substr(u,r-u)+t+n,u=r+o,r=e.indexOf(t,u)}while(-1!==r);return i+=e.substr(u),i},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,u="";do{const i="\r"===e[r-1];u+=e.substr(o,(i?r-1:r)-o)+t+(i?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return u+=e.substr(o),u}};const zo=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Go=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ho=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Xo=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Yo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Ko(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Yo.get(e)||e}function Qo(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(o=t.match(Ho)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Xo,((e,t,n)=>t?Ko(t):n)))}else n.push(r)}return n}function Zo(e){Go.lastIndex=0;const t=[];let n;for(;null!==(n=Go.exec(e));){const e=n[1];if(n[2]){const r=Qo(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function eu(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=t.length>0?r[e](...t):r[e]}return r}var tu=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(zo,((t,u,i,a,s,l)=>{if(u)o.push(Ko(u));else if(a){const t=o.join("");o=[],r.push(0===n.length?t:eu(e,n)(t)),n.push({inverse:i,styles:Zo(a)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(eu(e,n)(o.join(""))),o=[],n.pop()}else o.push(l)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:nu,stderr:ru}=Uo,{stringReplaceAll:ou,stringEncaseCRLFWithFirstIndex:uu}=Jo,{isArray:iu}=Array,au=["ansi","ansi","ansi256","ansi16m"],su=Object.create(null);class lu{constructor(e){return cu(e)}}const cu=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=nu?nu.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>yu(t.template,...e),Object.setPrototypeOf(t,pu.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=lu,t.template};function pu(e){return cu(e)}for(const[e,t]of Object.entries(Mo))su[e]={get(){const n=mu(this,hu(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};su.visible={get(){const e=mu(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const du=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of du)su[e]={get(){const{level:t}=this;return function(...n){const r=hu(Mo.color[au[t]][e](...n),Mo.color.close,this._styler);return mu(this,r,this._isEmpty)}}};for(const e of du){su["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=hu(Mo.bgColor[au[t]][e](...n),Mo.bgColor.close,this._styler);return mu(this,r,this._isEmpty)}}}}const fu=Object.defineProperties((()=>{}),Object.assign({},su,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),hu=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},mu=(e,t,n)=>{const r=(...e)=>iu(e[0])&&iu(e[0].raw)?gu(r,yu(r,...e)):gu(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,fu),r._generator=e,r._styler=t,r._isEmpty=n,r},gu=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=ou(t,n.close,n.open),n=n.parent;const u=t.indexOf("\n");return-1!==u&&(t=uu(t,o,r,u)),r+t+o};let Du;const yu=(e,...t)=>{const[n]=t;if(!iu(n)||!iu(n.raw))return t.join(" ");const r=t.slice(1),o=[n.raw[0]];for(let e=1;e<n.length;e++)o.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===Du&&(Du=tu),Du(e,o.join(""))};Object.defineProperties(pu.prototype,su);const Eu=pu();Eu.supportsColor=nu,Eu.stderr=pu({level:ru?ru.level:0}),Eu.stderr.supportsColor=ru;var Cu=Eu;var bu=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},vu="object"==typeof Me&&Me&&Me.Object===Object&&Me,Au="object"==typeof self&&self&&self.Object===Object&&self,Fu=(vu||Au||Function("return this")()).Symbol,xu=Object.prototype,Su=xu.hasOwnProperty,wu=xu.toString,Tu=Fu?Fu.toStringTag:void 0;var Bu=function(e){var t=Su.call(e,Tu),n=e[Tu];try{e[Tu]=void 0;var r=!0}catch(e){}var o=wu.call(e);return r&&(t?e[Tu]=n:delete e[Tu]),o},Nu=Object.prototype.toString;var ku=function(e){return Nu.call(e)},Pu=Fu?Fu.toStringTag:void 0;var Ou=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Pu&&Pu in Object(e)?Bu(e):ku(e)};var Iu=function(e){return null!=e&&"object"==typeof e};var Lu=function(e){return Iu(e)&&"[object Arguments]"==Ou(e)},Mu=Object.prototype,ju=Mu.hasOwnProperty,_u=Mu.propertyIsEnumerable,Ru=Lu(function(){return arguments}())?Lu:function(e){return Iu(e)&&ju.call(e,"callee")&&!_u.call(e,"callee")},Vu=Array.isArray,$u=Fu?Fu.isConcatSpreadable:void 0;var qu=function(e){return Vu(e)||Ru(e)||!!($u&&e&&e[$u])};var Wu=function e(t,n,r,o,u){var i=-1,a=t.length;for(r||(r=qu),u||(u=[]);++i<a;){var s=t[i];n>0&&r(s)?n>1?e(s,n-1,r,o,u):bu(u,s):o||(u[u.length]=s)}return u};var Uu=function(e){return(null==e?0:e.length)?Wu(e,1):[]};const Ju={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>bo.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Ju.key(e):""===t?"".concat(Ju.key(e)," without an argument"):"".concat(Ju.key(e),"=").concat(t)};class zu extends bo.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find((t=>xo(t,e)<3));if(n)return t.logger.warn(["Unknown flag ".concat(Cu.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Cu.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Gu;function Hu(t,n,{logger:r,isCLI:o=!1,passThrough:u=!1}={}){const i=u?Array.isArray(u)?(e,t)=>u.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const o=e(r.schemas,["_"]);return bo.levenUnknownHandler(t,n,Object.assign({},r,{schemas:o}))},a=o?Ju:bo.apiDescriptor,s=function(e,{isCLI:t}){const n=[];t&&n.push(bo.AnySchema.create({name:"_"}));for(const r of e)n.push(Xu(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(bo.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:o}),l=new bo.Normalizer(s,{logger:r,unknown:i,descriptor:a}),c=!1!==r;c&&Gu&&(l._hasDeprecationWarned=Gu);const p=l.normalize(t);return c&&(Gu=l._hasDeprecationWarned),p}function Xu(e,{isCLI:t,optionInfos:n}){let r;const o={name:e.name},u={};switch(e.type){case"int":r=bo.IntegerSchema,t&&(o.preprocess=e=>Number(e));break;case"string":r=bo.StringSchema;break;case"choice":r=bo.ChoiceSchema,o.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":r=bo.BooleanSchema;break;case"flag":r=zu,o.flags=Uu(n.map((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean))));break;case"path":r=bo.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?o.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):o.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(u.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){const e=o.preprocess||(e=>e);o.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?bo.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},u,{valueSchema:r.create(o)})):r.create(Object.assign({},o,u))}var Yu={normalizeApiOptions:function(e,t,n){return Hu(e,t,n)},normalizeCliOptions:function(e,t,n){return Hu(e,t,Object.assign({isCLI:!0},n))}};function Ku(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return Ku(t[0])}return e.range?e.range[0]:e.start}function Qu(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,Qu(e.typeAnnotation)):t}function Zu(e,t){return Ku(e)===Ku(t)}var ei={locStart:Ku,locEnd:Qu,composeLoc:function(e,t=e){const n=Ku(e);return[n,"number"==typeof t?n+t:Qu(t)]},hasSameLocStart:Zu,hasSameLoc:function(e,t){return Zu(e,t)&&function(e,t){return Qu(e)===Qu(t)}(e,t)}},ti=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.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,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),ni=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);n<r.length;n++){const e=r[n].codePointAt(0);if(t){if(!l(e))return!1;t=!1}else if(!c(e))return!1}return!t};let n="\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\u0560-\u0588\u05d0-\u05ea\u05ef-\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\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\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\u09fc\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\u0d04-\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\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\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-\u1878\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\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\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-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\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-\uab69\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",r="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const o=new RegExp("["+n+"]"),u=new RegExp("["+n+r+"]");n=r=null;const i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function s(e,t){let n=65536;for(let r=0,o=t.length;r<o;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):s(e,i)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):s(e,i)||s(e,a))))}})),ri=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=a,t.isStrictReservedWord=s,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return s(e,t)||l(e)},t.isKeyword=function(e){return o.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],o=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),u=new Set(n),i=new Set(r);function a(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return a(e,t)||u.has(e)}function l(e){return i.has(e)}})),oi=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ni.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ni.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ni.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return ri.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ri.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ri.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return ri.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return ri.isKeyword}})})),ui=/[|\\{}()[\]^$+*?.]/g,ii=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ui,"\\$&")},ai={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]},si=je((function(e){var t={};for(var n in ai)ai.hasOwnProperty(n)&&(t[ai[n]]=n);var r=e.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 o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var u=r[o].channels,i=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:u}),Object.defineProperty(r[o],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,u=e[2]/255,i=Math.min(r,o,u),a=Math.max(r,o,u),s=a-i;return a===i?t=0:r===a?t=(o-u)/s:o===a?t=2+(u-r)/s:u===a&&(t=4+(r-o)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+a)/2,[t,100*(a===i?0:n<=.5?s/(a+i):s/(2-a-i)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,u,i=e[0]/255,a=e[1]/255,s=e[2]/255,l=Math.max(i,a,s),c=l-Math.min(i,a,s),p=function(e){return(l-e)/6/c+.5};return 0===c?o=u=0:(u=c/l,t=p(i),n=p(a),r=p(s),i===l?o=r-n:a===l?o=1/3+t-r:s===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*u,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,u,i=1/0;for(var a in ai)if(ai.hasOwnProperty(a)){var s=ai[a],l=(o=e,u=s,Math.pow(o[0]-u[0],2)+Math.pow(o[1]-u[1],2)+Math.pow(o[2]-u[2],2));l<i&&(i=l,r=a)}return r},r.keyword.rgb=function(e){return ai[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],u=t[2];return o/=100,u/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,u,i=e[0]/360,a=e[1]/100,s=e[2]/100;if(0===a)return[u=255*s,u,u];t=2*s-(n=s<.5?s*(1+a):s+a-s*a),o=[0,0,0];for(var l=0;l<3;l++)(r=i+1/3*-(l-1))<0&&r++,r>1&&r--,u=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*u;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,u=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=u<=1?u:2-u,[t,100*(0===r?2*o/(u+o):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,u=t-Math.floor(t),i=255*r*(1-n),a=255*r*(1-n*u),s=255*r*(1-n*(1-u));switch(r*=255,o){case 0:return[r,s,i];case 1:return[a,r,i];case 2:return[i,r,s];case 3:return[i,a,r];case 4:return[s,i,r];case 5:return[r,i,a]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],u=e[1]/100,i=e[2]/100,a=Math.max(i,.01);return r=(2-u)*i,n=u*a,[o,100*(n=(n/=(t=(2-u)*a)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,u,i,a,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),o=l+r*((n=1-c)-l),t){default:case 6:case 0:u=n,i=o,a=l;break;case 1:u=o,i=n,a=l;break;case 2:u=l,i=n,a=o;break;case 3:u=l,i=o,a=n;break;case 4:u=o,i=l,a=n;break;case 5:u=n,i=l,a=o}return[255*u,255*i,255*a]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,u=e[1]/100,i=e[2]/100;return n=-.9689*o+1.8758*u+.0415*i,r=.0557*o+-.204*u+1.057*i,t=(t=3.2406*o+-1.5372*u+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),i=Math.pow(t,3),a=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],u=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(u=Math.round(u/50)))return 30;var i=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===u&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,u=Math.max(Math.max(n,r),o),i=Math.min(Math.min(n,r),o),a=u-i;return t=a<=0?0:u===n?(r-o)/a%6:u===r?2+(o-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?i/(1-a):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,u=[0,0,0],i=t%1*6,a=i%1,s=1-a;switch(Math.floor(i)){case 0:u[0]=1,u[1]=a,u[2]=0;break;case 1:u[0]=s,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=a;break;case 3:u[0]=0,u[1]=s,u[2]=1;break;case 4:u[0]=a,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=s}return o=(1-n)*r,[255*(n*u[0]+o),255*(n*u[1]+o),255*(n*u[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function li(e){var t=function(){for(var e={},t=Object.keys(si),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(si[r]),u=o.length,i=0;i<u;i++){var a=o[i],s=t[a];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(a))}return t}function ci(e,t){return function(n){return t(e(n))}}function pi(e,t){for(var n=[t[e].parent,e],r=si[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=ci(si[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var di={};Object.keys(si).forEach((function(e){di[e]={},Object.defineProperty(di[e],"channels",{value:si[e].channels}),Object.defineProperty(di[e],"labels",{value:si[e].labels});var t=function(e){for(var t=li(e),n={},r=Object.keys(t),o=r.length,u=0;u<o;u++){var i=r[u];null!==t[i].parent&&(n[i]=pi(i,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];di[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),di[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var fi=di,hi=je((function(e){const t=(e,t)=>function(){const n=e.apply(fi,arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(fi,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(fi,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,o={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]}};o.color.grey=o.color.gray;for(const t of Object.keys(o)){const n=o[t];for(const t of Object.keys(n)){const r=n[t];o[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=o[t],e.set(r[0],r[1])}Object.defineProperty(o,t,{value:n,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}const u=e=>e,i=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(u,0)},o.color.ansi256={ansi256:n(u,0)},o.color.ansi16m={rgb:r(i,0)},o.bgColor.ansi={ansi:t(u,10)},o.bgColor.ansi256={ansi256:n(u,10)},o.bgColor.ansi16m={rgb:r(i,10)};for(let e of Object.keys(fi)){if("object"!=typeof fi[e])continue;const u=fi[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(o.color.ansi[e]=t(u.ansi16,0),o.bgColor.ansi[e]=t(u.ansi16,10)),"ansi256"in u&&(o.color.ansi256[e]=n(u.ansi256,0),o.bgColor.ansi256[e]=n(u.ansi256,10)),"rgb"in u&&(o.color.ansi16m[e]=r(u.rgb,0),o.bgColor.ansi16m[e]=r(u.rgb,10))}return o}})}));const mi=Oe.env;let gi;function Di(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===gi)return 0;if(Lr("color=16m")||Lr("color=full")||Lr("color=truecolor"))return 3;if(Lr("color=256"))return 2;if(e&&!e.isTTY&&!0!==gi)return 0;const t=gi?1:0;if("win32"===Oe.platform){const e=Mr.release().split(".");return Number(Oe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in mi)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in mi))||"codeship"===mi.CI_NAME?1:t;if("TEAMCITY_VERSION"in mi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(mi.TEAMCITY_VERSION)?1:0;if("truecolor"===mi.COLORTERM)return 3;if("TERM_PROGRAM"in mi){const e=parseInt((mi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(mi.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(mi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(mi.TERM)||"COLORTERM"in mi?1:(mi.TERM,t)}(e))}Lr("no-color")||Lr("no-colors")||Lr("color=false")?gi=!1:(Lr("color")||Lr("colors")||Lr("color=true")||Lr("color=always"))&&(gi=!0),"FORCE_COLOR"in mi&&(gi=0===mi.FORCE_COLOR.length||0!==parseInt(mi.FORCE_COLOR,10));var yi={supportsColor:Di,stdout:Di(Oe.stdout),stderr:Di(Oe.stderr)};const Ei=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ci=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,bi=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,vi=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ai=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Fi(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ai.get(e)||e}function xi(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(bi)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(vi,((e,t,n)=>t?Fi(t):n)))}else n.push(Number(t));return n}function Si(e){Ci.lastIndex=0;const t=[];let n;for(;null!==(n=Ci.exec(e));){const e=n[1];if(n[2]){const r=xi(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function wi(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var Ti=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Ei,((t,u,i,a,s,l)=>{if(u)o.push(Fi(u));else if(a){const t=o.join("");o=[],r.push(0===n.length?t:wi(e,n)(t)),n.push({inverse:i,styles:Si(a)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(wi(e,n)(o.join(""))),o=[],n.pop()}else o.push(l)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Bi=je((function(e){const t=yi.stdout,n="win32"===Oe.platform&&!(Oe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),u=Object.create(null);function i(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function a(e){if(!this||!(this instanceof a)||this.template){const t={};return i(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=a,t.template}i(this,e)}n&&(hi.blue.open="\x1b[94m");for(const e of Object.keys(hi))hi[e].closeRe=new RegExp(ii(hi[e].close),"g"),u[e]={get(){const t=hi[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},hi.color.closeRe=new RegExp(ii(hi.color.close),"g");for(const e of Object.keys(hi.color.ansi))o.has(e)||(u[e]={get(){const t=this.level;return function(){const n=hi.color[r[t]][e].apply(null,arguments),o={open:n,close:hi.color.close,closeRe:hi.color.closeRe};return l.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});hi.bgColor.closeRe=new RegExp(ii(hi.bgColor.close),"g");for(const e of Object.keys(hi.bgColor.ansi)){if(o.has(e))continue;u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=hi.bgColor[r[t]][e].apply(null,arguments),o={open:n,close:hi.bgColor.close,closeRe:hi.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const s=Object.defineProperties((()=>{}),u);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=s,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=hi.dim.open;n&&this.hasGrey&&(hi.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return hi.dim.open=o,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return Ti(e,r.join(""))}Object.defineProperties(a.prototype,u),e.exports=a(),e.exports.supportsColor=t,e.exports.default=e.exports})),Ni=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=l,t.getChalk=c,t.default=function(e,t={}){if(l(t)){const n=c(t);return function(e,t){return t.replace(r.default,(function(...t){const n=function(e){const[t,n]=e.slice(-2),o=(0,r.matchToToken)(e);if("name"===o.type){if((0,oi.isKeyword)(o.value)||(0,oi.isReservedWord)(o.value))return"keyword";if(a.test(o.value)&&("<"===n[t-1]||"</"==n.substr(t-2,2)))return"jsx_tag";if(o.value[0]!==o.value[0].toLowerCase())return"capitalized"}if("punctuator"===o.type&&s.test(o.value))return"bracket";if("invalid"===o.type&&("@"===o.value||"#"===o.value))return"punctuator";return o.type}(t),o=e[n];return o?t[0].split(i).map((e=>o(e))).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(ti),o=(n=Bi)&&n.__esModule?n:{default:n};function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}const i=/\r\n|[\n\r\u2028\u2029]/,a=/^[a-z][\w-]*$/i,s=/^[()[\]{}]$/;function l(e){return o.default.supportsColor||e.forceColor}function c(e){let t=o.default;return e.forceColor&&(t=new o.default.constructor({enabled:!0,level:1})),t}})),ki=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=i,t.default=function(e,t,n,r={}){if(!o){o=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Oe.emitWarning)Oe.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}n=Math.max(n,0);return i(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}n.default=e,t&&t.set(e,n);return n}(Ni);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let o=!1;const u=/\r\n|[\n\r\u2028\u2029]/;function i(e,t,r={}){const o=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),i=(0,n.getChalk)(r),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(i),s=(e,t)=>o?e(t):t,l=e.split(u),{start:c,end:p,markerLines:d}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:u=2,linesBelow:i=3}=n||{},a=r.line,s=r.column,l=o.line,c=o.column;let p=Math.max(a-(u+1),0),d=Math.min(t.length,l+i);-1===a&&(p=0),-1===l&&(d=t.length);const f=l-a,h={};if(f)for(let e=0;e<=f;e++){const n=e+a;if(s)if(0===e){const e=t[n-1].length;h[n]=[s,e-s+1]}else if(e===f)h[n]=[0,c];else{const r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else h[a]=s===c?!s||[s,0]:[s,c-s];return{start:p,end:d,markerLines:h}}(t,l,r),f=t.start&&"number"==typeof t.start.column,h=String(p).length;let m=(o?(0,n.default)(e,r):e).split(u).slice(c,p).map(((e,t)=>{const n=c+1+t,o=" ".concat(n).slice(-h),u=" ".concat(o," | "),i=d[n],l=!d[n+1];if(i){let t="";if(Array.isArray(i)){const n=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),o=i[1]||1;t=["\n ",s(a.gutter,u.replace(/\d/g," ")),n,s(a.marker,"^").repeat(o)].join(""),l&&r.message&&(t+=" "+s(a.message,r.message))}return[s(a.marker,">"),s(a.gutter,u),e,t].join("")}return" ".concat(s(a.gutter,u)).concat(e)})).join("\n");return r.message&&!f&&(m="".concat(" ".repeat(h+1)).concat(r.message,"\n").concat(m)),o?i.reset(m):m}})),Pi=_e(fn);const{ConfigError:Oi}=gr,{locStart:Ii,locEnd:Li}=ei,Mi=Object.getOwnPropertyNames,ji=Object.getOwnPropertyDescriptor;function _i(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of Mi(n.parsers))Object.defineProperty(t,e,ji(n.parsers,e));return t}function Ri(e,t){if(t=t||_i(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ii,locEnd:Li};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Oi("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Vi={parse:function(e,t){const n=_i(t),r=Object.keys(n).reduce(((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse})),{}),o=Ri(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=ki;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Ri};const{UndefinedParserError:$i}=gr,{getSupportInfo:qi}=pt,{resolveParser:Wi}=Vi,Ui={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ji(e,t){const n=Pi.basename(e).toLowerCase(),r=qi({plugins:t}).languages.filter((e=>null!==e.since));let o=r.find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));if(!o&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=cr.openSync(e,"r")}catch(e){return""}try{const e=new pr(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch(e){return""}finally{try{cr.closeSync(t)}catch(e){}}}(e);o=r.find((e=>e.interpreters&&e.interpreters.includes(t)))}return o&&o.parsers[0]}var zi={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=qi({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign({},Ui,dr(r.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!n.parser)if(n.filepath){if(n.parser=Ji(n.filepath,n.plugins),!n.parser)throw new $i("No parser could be inferred for file: ".concat(n.filepath))}else{(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel"}const u=Wi(Yu.normalizeApiOptions(n,[r.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;const i=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find((e=>e.printers&&e.printers[t]));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=i.printers[n.astFormat];const a=r.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[i.name])).reduce(((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[i.name]})),{}),s=Object.assign({},o,a);return Object.keys(s).forEach((e=>{null==n[e]&&(n[e]=s[e])})),"json"===n.parser&&(n.trailingComma="none"),Yu.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Ui)},t))},hiddenDefaults:Ui,inferParser:Ji};var Gi=function e(t,n,r){if(Array.isArray(t))return t.map((t=>e(t,n,r))).filter(Boolean);if(!t||"object"!=typeof t)return t;const o=n.printer.massageAstNode;let u;u=o&&o.ignoredProperties?o.ignoredProperties:new Set;const i={};for(const r of Object.keys(t))u.has(r)||"function"==typeof t[r]||(i[r]=e(t[r],n,t));if(o){const e=o(t,i,r);if(null===e)return;if(e)return e}return i};function Hi(){}Hi.ok=function(){},Hi.strictEqual=function(){};var Xi=_e(Object.freeze({__proto__:null,default:Hi}));const{builders:{concat:Yi,line:Ki,hardline:Qi,breakParent:Zi,indent:ea,lineSuffix:ta,join:na,cursor:ra}}=rn,{hasNewline:oa,skipNewline:ua,skipSpaces:ia,isPreviousLineEmpty:aa,addLeadingComment:sa,addDanglingComment:la,addTrailingComment:ca}=Nt,pa=Symbol("child-nodes");function da(e,t,n){if(!e)return;const{printer:r,locStart:o,locEnd:u}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(o(n[t])<=o(e)&&u(n[t])<=u(e));--t);return void n.splice(t+1,0,e)}}else if(e[pa])return e[pa];const i=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter((e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e)).map((t=>e[t]));return i?(n||Object.defineProperty(e,pa,{value:n=[],enumerable:!1}),i.forEach((e=>{da(e,t,n)})),n):void 0}function fa(e,t,n){const{locStart:r,locEnd:o}=n,u=r(t),i=o(t),a=da(e,n);let s,l,c=0,p=a.length;for(;c<p;){const e=c+p>>1,d=a[e],f=r(d),h=o(d);if(f<=u&&i<=h)return t.enclosingNode=d,void fa(d,t,n);if(f<=u)s=d,c=e+1;else{if(!(i<=f))throw new Error("Comment location overlaps with node location");l=d,p=e}}if(t.enclosingNode&&"TemplateLiteral"===t.enclosingNode.type){const{quasis:e}=t.enclosingNode,r=ga(e,t,n);s&&ga(e,s,n)!==r&&(s=null),l&&ga(e,l,n)!==r&&(l=null)}s&&(t.precedingNode=s),l&&(t.followingNode=l)}function ha(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:o,followingNode:u,enclosingNode:i}=e[0],a=n.printer.getGapRegex&&n.printer.getGapRegex(i)||/^[\s(]*$/;let s,l=n.locStart(u);for(s=r;s>0;--s){const r=e[s-1];Xi.strictEqual(r.precedingNode,o),Xi.strictEqual(r.followingNode,u);const i=t.slice(n.locEnd(r),l);if(!a.test(i))break;l=n.locStart(r)}e.forEach(((e,t)=>{t<s?ca(o,e):sa(u,e)}));for(const e of[o,u])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function ma(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function ga(e,t,n){const r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0}function Da(e,t,n){return e.getNode()===t.cursorNode&&e.getValue()?Yi([ra,n,ra]):n}var ya={attach:function(e,t,n,r){if(!Array.isArray(e))return;const o=[],{locStart:u,locEnd:i}=r;e.forEach(((a,s)=>{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(u(a)-u(t)<=0)return void sa(t,a);if(i(a)-i(t)>=0)return void ca(t,a)}fa(t,a,r);const{precedingNode:l,enclosingNode:c,followingNode:p}=a,d=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,f=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,h=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===s;if(oa(n,u(a),{backwards:!0}))d(a,n,r,t,m)||(p?sa(p,a):l?ca(l,a):la(c||t,a));else if(oa(n,i(a)))f(a,n,r,t,m)||(l?ca(l,a):p?sa(p,a):la(c||t,a));else if(h(a,n,r,t,m));else if(l&&p){const e=o.length;if(e>0){o[e-1].followingNode!==a.followingNode&&ha(o,n,r)}o.push(a)}else l?ca(l,a):p?sa(p,a):la(c||t,a)})),ha(o,n,r),e.forEach((e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode}))},printComments:function(e,t,n,r){const o=e.getValue(),u=t(e),i=o&&o.comments;if(!i||0===i.length)return Da(e,n,u);const a=[],s=[r?";":"",u];return e.each((e=>{const t=e.getValue(),{leading:r,trailing:o}=t;if(r){const r=function(e,t){const n=e.getValue(),r=ma(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=oa(t.originalText,t.locEnd(n))?oa(t.originalText,t.locStart(n),{backwards:!0})?Qi:Ki:" ";return Yi([r,e])}return Yi([r,Qi])}(e,n);if(!r)return;a.push(r);const o=n.originalText,u=ua(o,ia(o,n.locEnd(t)));!1!==u&&oa(o,u)&&a.push(Qi)}else o&&s.push(function(e,t){const n=e.getValue(),r=ma(e,t);if(!r)return"";const{printer:o,originalText:u,locStart:i}=t,a=o.isBlockComment&&o.isBlockComment(n);if(oa(u,i(n),{backwards:!0})){const e=aa(u,n,i);return ta(Yi([Qi,e?Qi:"",r]))}let s=Yi([" ",r]);return a||(s=Yi([ta(s),Zi])),s}(e,n))}),"comments"),Da(e,n,Yi(a.concat(s)))},printDanglingComments:function(e,t,n,r){const o=[],u=e.getValue();return u&&u.comments?(e.each((e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||o.push(ma(e,t))}),"comments"),0===o.length?"":n?na(Qi,o):ea(Yi([Qi,na(Qi,o)]))):""},getSortedChildNodes:da,ensureAllCommentsPrinted:function(e){e&&e.forEach((e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed}))}};function Ea(e,t){const n=Ca(e.stack,t);return-1===n?null:e.stack[n]}function Ca(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var ba=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return se(this.stack)}getNode(e=0){return Ea(this,e)}getParentNode(e=0){return Ea(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let o=se(n);for(const e of t)o=o[e],n.push(e,o);const u=e(this);return n.length=r,u}callParent(e,t=0){const n=Ca(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o}each(e,...t){const{stack:n}=this,{length:r}=n;let o=se(n);for(const e of t)o=o[e],n.push(e,o);for(let t=0;t<o.length;++t)n.push(t,o[t]),e(this,t),n.length-=2;n.length=r}map(e,...t){const n=[];return this.each(((t,r)=>{n[r]=e(t,r)}),...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const o of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),o&&!o(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}};const{utils:{stripTrailingHardline:va}}=rn,{normalize:Aa}=zi;var Fa={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,((e,t,o)=>function(e,t,n,r,{stripTrailingHardline:o=!1}={}){const u=Aa(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),i=Vi.parse(e,u),{ast:a}=i;e=i.text;const s=a.comments;delete a.comments,ya.attach(s,a,e,u),u[Symbol.for("comments")]=s||[],u[Symbol.for("tokens")]=a.tokens||[];const l=r(a,u);if(ya.ensureAllCommentsPrinted(s),o)return"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):va(l,!0);return l}(e,t,n,r,o)),n)}};const xa=rn,Sa=xa.builders,{concat:wa,hardline:Ta,addAlignmentToDoc:Ba}=Sa,Na=xa.utils;function ka(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const o=new Map;let u=function e(n,u){const i=n.getValue(),a=i&&"object"==typeof i&&void 0===u;if(a&&o.has(i))return o.get(i);let s;return s=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?Pa(n,t,e,u):ya.printComments(n,(n=>Pa(n,t,e,u)),t,u&&u.needsSemi),a&&o.set(i,s),s}(new ba(e));return n>0&&(u=Ba(wa([Ta,u]),n,t.tabWidth)),Na.propagateBreaks(u),u}function Pa(e,t,n,r){Xi.ok(e instanceof ba);const o=e.getValue(),{printer:u}=t;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:u}=t,i=o(e),a=u(e);for(const e of r)o(e)>=i&&u(e)<=a&&(e.printed=!0);return n.slice(i,a)}(o,t);if(o)try{const r=Fa.printSubtree(e,n,t,ka);if(r)return r}catch(e){if(Me.PRETTIER_DEBUG)throw e}return u.print(e,t,n,r)}var Oa=ka;function Ia(e,t,n,r,o=[]){if(!(t<n.locStart(e)||t>n.locEnd(e))){for(const u of ya.getSortedChildNodes(e,n)){const i=Ia(u,t,n,r,[e,...o]);if(i)return i}return!r||r(e)?{node:e,parentNodes:o}:void 0}}const La=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ma=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function ja(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return La.has(t.type);case"graphql":return Ma.has(t.kind);case"vue":return"root"!==t.tag}return!1}var _a={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),o=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let u;for(u=t.rangeEnd;u>t.rangeStart&&!/\S/.test(e[u-1]);--u);const i=Ia(n,o,t,(e=>ja(t,e))),a=Ia(n,u,t,(e=>ja(t,e)));if(!i||!a)return{rangeStart:0,rangeEnd:0};const{startNode:s,endNode:l}=function(e,t,n){let r=e.node,o=t.node;if(r===o)return{startNode:r,endNode:o};for(const r of t.parentNodes){if(!("Program"!==r.type&&"File"!==r.type&&n.locStart(r)>=n.locStart(e.node)))break;o=r}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:o}}(i,a,t);return{rangeStart:Math.min(t.locStart(s),t.locStart(l)),rangeEnd:Math.max(t.locEnd(s),t.locEnd(l))}},findNodeAtOffset:Ia};const{printer:{printDocToString:Ra},debug:{printDocToDebug:Va}}=rn,{getAlignmentSize:$a}=Nt,{guessEndOfLine:qa,convertEndOfLineToChars:Wa,countEndOfLineChars:Ua,normalizeEndOfLine:Ja}=kt,za=zi.normalize,Ga=Symbol("cursor");function Ha(e,t,n){const r=t.comments;return r&&(delete t.comments,ya.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function Xa(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const{ast:r,text:o}=Vi.parse(e,t);if(t.cursorOffset>=0){const e=_a.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const u=Ha(o,r,t),i=Oa(r,t,n),a=Ra(i,t);if(ya.ensureAllCommentsPrinted(u),n>0){const e=a.formatted.trim();void 0!==a.cursorNodeStart&&(a.cursorNodeStart-=a.formatted.indexOf(e)),a.formatted=e+Wa(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,u,i;if(t.cursorNode&&a.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,u=a.cursorNodeStart,i=a.cursorNodeText):(e=0,n=o,r=t.cursorOffset,u=0,i=a.formatted),n===i)return{formatted:a.formatted,cursorOffset:u+r};const s=n.split("");s.splice(r,0,Ga);const l=i.split(""),c=J.diffArrays(s,l);let p=u;for(const e of c)if(e.removed){if(e.value.includes(Ga))break}else p+=e.count;return{formatted:a.formatted,cursorOffset:p}}return{formatted:a.formatted,cursorOffset:-1}}function Ya(e,t,n){return"number"!=typeof t||isNaN(t)||t<0||t>e.length?n:t}function Ka(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=t;return n=Ya(e,n,-1),r=Ya(e,r,0),o=Ya(e,o,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o})}function Qa(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u}=Ka(e,t);const i="\ufeff"===e.charAt(0);if(i&&(e=e.slice(1),n--,r--,o--),"auto"===u&&(u=qa(e)),e.includes("\r")){const t=t=>Ua(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),o-=t(o),e=Ja(e)}return{hasBOM:i,text:e,options:Ka(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:u}))}}function Za(e,t){let{hasBOM:n,text:r,options:o}=Qa(e,za(t));const u=Vi.resolveParser(o),i=!u.hasPragma||u.hasPragma(r);if(o.requirePragma&&!i)return{formatted:e,cursorOffset:t.cursorOffset};let a;return o.rangeStart>0||o.rangeEnd<r.length?a=function(e,t){const{ast:n,text:r}=Vi.parse(e,t),{rangeStart:o,rangeEnd:u}=_a.calculateRange(r,t,n),i=r.slice(o,u),a=Math.min(o,r.lastIndexOf("\n",o)+1),s=r.slice(a,o).match(/^\s*/)[0],l=$a(s,t.tabWidth),c=Xa(i,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>o&&t.cursorOffset<u?t.cursorOffset-o:-1,endOfLine:"lf"}),l),p=c.formatted.trimEnd();let{cursorOffset:d}=t;d>=u?d=t.cursorOffset+(p.length-i.length):c.cursorOffset>=0&&(d=c.cursorOffset+o);let f=r.slice(0,o)+p+r.slice(u);if("lf"!==t.endOfLine){const e=Wa(t.endOfLine);d>=0&&"\r\n"===e&&(d+=Ua(f.slice(0,d),"\n")),f=f.replace(/\n/g,e)}return{formatted:f,cursorOffset:d}}(r,o):(!i&&o.insertPragma&&o.printer.insertPragma&&(r=o.printer.insertPragma(r)),a=Xa(r,o)),n&&(a.formatted="\ufeff"+a.formatted,a.cursorOffset>=0&&a.cursorOffset++),a}var es={formatWithCursor:Za,parse(e,t,n){const{text:r,options:o}=Qa(e,za(t)),u=Vi.parse(r,o);return n&&(u.ast=Gi(u.ast,o)),u},formatAST(e,t){t=za(t);const n=Oa(e,t);return Ra(n,t)},formatDoc:(e,t)=>Za(Va(e),Object.assign({},t,{parser:"babel"})).formatted,printToDoc(e,t){t=za(t);const{ast:n,text:r}=Vi.parse(e,t);return Ha(r,n,t),Oa(n,t)},printDocToString:(e,t)=>Ra(e,za(t))};const{getMaxContinuousCount:ts,getStringWidth:ns,getAlignmentSize:rs,getIndentSize:os,skip:us,skipWhitespace:is,skipSpaces:as,skipNewline:ss,skipToLineEnd:ls,skipEverythingButNewLine:cs,skipInlineComment:ps,skipTrailingComment:ds,hasNewline:fs,hasNewlineInRange:hs,hasSpaces:ms,isNextLineEmpty:gs,isNextLineEmptyAfterIndex:Ds,isPreviousLineEmpty:ys,getNextNonSpaceNonCommentCharacterIndex:Es,makeString:Cs,addLeadingComment:bs,addDanglingComment:vs,addTrailingComment:As}=Nt;var Fs={getMaxContinuousCount:ts,getStringWidth:ns,getAlignmentSize:rs,getIndentSize:os,skip:us,skipWhitespace:is,skipSpaces:as,skipNewline:ss,skipToLineEnd:ls,skipEverythingButNewLine:cs,skipInlineComment:ps,skipTrailingComment:ds,hasNewline:fs,hasNewlineInRange:hs,hasSpaces:ms,isNextLineEmpty:gs,isNextLineEmptyAfterIndex:Ds,isPreviousLineEmpty:ys,getNextNonSpaceNonCommentCharacterIndex:Es,makeString:Cs,addLeadingComment:bs,addDanglingComment:vs,addTrailingComment:As},xs=function(t,n){const{languageId:r}=t,o=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},o,n(t))},Ss=je((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),ws=je((function(e){!function(){var t,n,r,o,u,i;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=new Array(128),i=0;i<128;++i)o[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Ts=je((function(e){!function(){var t=ws;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function u(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function i(e){var n,r,o;if(0===e.length)return!1;if(o=e.charCodeAt(0),!t.isIdentifierStartES5(o))return!1;for(n=1,r=e.length;n<r;++n)if(o=e.charCodeAt(n),!t.isIdentifierPartES5(o))return!1;return!0}function a(e){var n,r,o,u,i;if(0===e.length)return!1;for(i=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(o=e.charCodeAt(n))&&o<=56319){if(++n>=r)return!1;if(!(56320<=(u=e.charCodeAt(n))&&u<=57343))return!1;o=1024*(o-55296)+(u-56320)+65536}if(!i(o))return!1;i=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:o,isReservedWordES6:u,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return i(e)&&!o(e,t)},isIdentifierES6:function(e,t){return a(e)&&!u(e,t)}}}()}));const Bs=je((function(e,t){t.ast=Ss,t.code=ws,t.keyword=Ts})).keyword.isIdentifierNameES5,{getLast:Ns,hasNewline:ks,hasNewlineInRange:Ps,skipWhitespace:Os}=Nt,{locStart:Is,locEnd:Ls,hasSameLocStart:Ms}=ei,js=new RegExp("^".concat("(?:(?=.)\\s)","*:")),_s=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function Rs(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>Rs(e,t)));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some((n=>Rs(e[n],t)))}function Vs(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function $s(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}const qs=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Ws(e){return e&&qs.has(e.type)}function Us(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Js(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function zs(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Gs(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Hs(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function Xs(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Ys(e){return"get"===e.kind||"set"===e.kind}function Ks(e){return Ys(e)||Ms(e,e.value)}const Qs=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const Zs=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);const el=/^(skip|[fx]?(it|describe|test))$/;function tl(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const nl=new RegExp("([ \n\r\t]+)"),rl=new RegExp("[^ \n\r\t]");function ol(e){return Us(e)&&(rl.test(sl(e))||!/\n/.test(sl(e)))}function ul(e,t){if(Xs(t))return yl(t);return t.comments&&t.comments.some((t=>t.leading&&ks(e,Ls(t))))}function il(e){return/^(\d+|\d+\.\d+)$/.test(e)}function al(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function sl(e){return e.extra?e.extra.raw:e.raw}const ll={"==":!0,"!=":!0,"===":!0,"!==":!0},cl={"*":!0,"/":!0,"%":!0},pl={">>":!0,">>>":!0,"<<":!0};const dl={};function fl(e){return dl[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(((e,t)=>{e.forEach((e=>{dl[e]=t}))}));const hl=new WeakMap;function ml(e){if(hl.has(e))return hl.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),hl.set(e,t),t}const gl=new WeakMap;function Dl(e){return"prettier-ignore"===e.value.trim()}function yl(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some((e=>Dl(e)&&!e.unignore))||e.prettierIgnore)}function El(e){return yl(e.getValue())}var Cl={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type&&"FieldDefinition"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFunctionParameters:ml,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const o=e=>t(e,r++);n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest")},getCallArguments:function(e){if(gl.has(e))return gl.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return gl.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call((e=>t(e,0)),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=ml(e);return t.length>0&&"RestElement"===Ns(t).type},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Ws(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some((e=>!e.leading&&!e.trailing))},hasFlowAnnotationComment:function(e){return e&&$s(e[0])&&_s.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&$s(e.trailingComments[0])&&js.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some((e=>e.leading))},hasLeadingOwnLineComment:ul,hasNakedLeftSide:Vs,hasNewlineBetweenOrAfterDecorators:function(e,t){return Ps(t.originalText,Is(e.decorators[0]),Ls(Ns(e.decorators)))||ks(t.originalText,Ls(Ns(e.decorators)))},hasNgSideEffect:function(e){return Rs(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))},hasNode:Rs,hasPrettierIgnore:function(e){return El(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Xs(t)&&Xs(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||ol(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some((e=>Dl(e)))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some((e=>e.trailing))},hasTrailingLineComment:function(e){return e.comments&&e.comments.some((e=>e.trailing&&!$s(e)))},hasIgnoreComment:El,hasNodeIgnoreComment:yl,identity:function(e){return e},isBinaryish:function(e){return Qs.has(e.type)},isBlockComment:$s,isLineComment:function(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type},isPrettierIgnoreComment:Dl,isCallOrOptionalCallExpression:tl,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Us(t)&&!ol(t)},isExportDeclaration:Ws,isFlowAnnotationComment:function(e,t){const n=Is(t),r=Os(e,Ls(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(Gs(n)){if(t+=1,t>1)return!0}else if(tl(n))for(const e of n.arguments)if(Gs(e))return!0;return!1},isFunctionNotation:Ks,isFunctionOrArrowExpression:Gs,isGetterOrSetter:Ys,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:Xs,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Us(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter((e=>"EmptyStatement"!==e.type));return r[r.length-1]===n},isLiteral:Us,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return tl(t)&&tl(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&o.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:ol,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Js,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Ks(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!Zs.has(e.type))},isSimpleNumber:il,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every((e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:zs,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&zs(e.key)&&sl(e.key).slice(1,-1)===e.key.value&&(Bs(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||il(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&al(e)||"TaggedTemplateExpression"===e.type&&al(e.quasi))&&!ks(t,Is(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Hs(t)&&n&&e(n))return Gs(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return Hs(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&el.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&el.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||zs(t.arguments[0])))return!(t.arguments[2]&&!Js(t.arguments[2]))&&((2===t.arguments.length?Gs(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&ml(t.arguments[1]).length<=1)||Hs(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!Xs(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Ms(e,e.typeAnnotation))},matchJsxWhitespaceRegex:nl,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Ns(e.comments.filter((e=>!e.leading&&!e.trailing)));return t&&!$s(t)},rawText:sl,returnArgumentHasLeadingComment:function(e,t){if(ul(e.originalText,t))return!0;if(Vs(t)){let r,o=t;for(;r=(n=o).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(o=r,ul(e.originalText,o))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!pl[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return fl(t)===fl(e)&&("**"!==e&&((!ll[e]||!ll[t])&&(!("%"===t&&cl[e]||"%"===e&&cl[t])&&((t===e||!cl[t]||!cl[e])&&(!pl[e]||!pl[t])))))},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:fl};const{getLast:bl,hasNewline:vl,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Al,getNextNonSpaceNonCommentCharacter:Fl,hasNewlineInRange:xl,addLeadingComment:Sl,addTrailingComment:wl,addDanglingComment:Tl,getNextNonSpaceNonCommentCharacterIndex:Bl}=Nt,{isBlockComment:Nl,getFunctionParameters:kl,isPrettierIgnoreComment:Pl,isJSXNode:Ol,hasFlowShorthandAnnotationComment:Il,hasFlowAnnotationComment:Ll,hasIgnoreComment:Ml}=Cl,{locStart:jl,locEnd:_l}=ei;function Rl(e,t){const n=(e.body||e.properties).find((({type:e})=>"EmptyStatement"!==e));n?Sl(n,t):Tl(e,t)}function Vl(e,t){"BlockStatement"===e.type?Rl(e,t):Sl(e,t)}function $l(e,t){const{precedingNode:n,enclosingNode:r,followingNode:o}=e;if(!r||"IfStatement"!==r.type||!o)return!1;return")"===Fl(t,e,_l)?(wl(n,e),!0):n===r.consequent&&o===r.alternate?("BlockStatement"===n.type?wl(n,e):Tl(r,e),!0):"BlockStatement"===o.type?(Rl(o,e),!0):"IfStatement"===o.type?(Vl(o.consequent,e),!0):r.consequent===o&&(Sl(o,e),!0)}function ql(e,t){const{precedingNode:n,enclosingNode:r,followingNode:o}=e;if(!r||"WhileStatement"!==r.type||!o)return!1;return")"===Fl(t,e,_l)?(wl(n,e),!0):"BlockStatement"===o.type?(Rl(o,e),!0):r.body===o&&(Sl(o,e),!0)}function Wl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(wl(t,e),!0):"BlockStatement"===r.type?(Rl(r,e),!0):"TryStatement"===r.type?(Vl(r.finalizer,e),!0):"CatchClause"===r.type&&(Vl(r.body,e),!0))}function Ul(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(n.decorators&&n.decorators.length>0&&(!r||"Decorator"!==r.type))return wl(n.decorators[n.decorators.length-1],e),!0;if(n.body&&r===n.body)return Rl(n.body,e),!0;if(r)for(const o of["implements","extends","mixins"])if(n[o]&&r===n[o][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Tl(n,e,o):wl(t,e),!0}return!1}function Jl(e,t){const{precedingNode:n,enclosingNode:r}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Fl(t,n,_l)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"FieldDefinition"!==r.type&&"TSAbstractClassProperty"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(wl(n,e),!0)}function zl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:o}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&o&&"FunctionTypeParam"!==o.type)return wl(n,e),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&Kl(r)&&")"===Fl(t,e,_l))return wl(n,e),!0;if(r&&"FunctionDeclaration"===r.type&&o&&"BlockStatement"===o.type){const n=(()=>{const e=kl(r);if(0!==e.length)return Al(t,_l(bl(e)));const n=Al(t,_l(r.id));return!1!==n&&Al(t,n+1)})();if(jl(e)>n)return Rl(o,e),!0}return!1}function Gl(e){const{enclosingNode:t}=e;return!(!t||"ImportSpecifier"!==t.type)&&(Sl(t,e),!0)}function Hl(e){const{enclosingNode:t}=e;return!(!t||"LabeledStatement"!==t.type)&&(Sl(t,e),!0)}function Xl(e,t,n){const{enclosingNode:r}=e;return t&&t.body&&0===t.body.length?(n?Tl(t,e):Sl(t,e),!0):!(!r||"Program"!==r.type||0!==r.body.length||!r.directives||0!==r.directives.length)&&(n?Tl(r,e):Sl(r,e),!0)}function Yl(e){const{enclosingNode:t,followingNode:n}=e;if(Pl(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Kl(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Ql(e){return Nl(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Zl={handleOwnLineComment:function(e,t,n,r,o){return Yl(e)||zl(e,t)||function(e){const{enclosingNode:t,followingNode:n}=e;if(t&&("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&n&&"Identifier"===n.type)return Sl(t,e),!0;return!1}(e)||$l(e,t)||ql(e,t)||Wl(e)||Ul(e)||Gl(e)||function(e){const{enclosingNode:t}=e;if(t&&("ForInStatement"===t.type||"ForOfStatement"===t.type))return Sl(t,e),!0;return!1}(e)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(n&&("UnionTypeAnnotation"===n.type||"TSUnionType"===n.type))return Pl(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(wl(t,e),!0);r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Pl(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0);return!1}(e)||Xl(e,r,o)||function(e,t){const{precedingNode:n,enclosingNode:r}=e;if(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&vl(t,_l(e)))return wl(n,e),!0;return!1}(e,t)||function(e){const{enclosingNode:t}=e;if(t&&"AssignmentPattern"===t.type)return Sl(t,e),!0;return!1}(e)||Jl(e,t)||Hl(e)},handleEndOfLineComment:function(e,t,n,r,o){return function(e){const{followingNode:t}=e;if(t&&Ql(e))return Sl(t,e),!0;return!1}(e)||zl(e,t)||function(e,t){const{precedingNode:n,enclosingNode:r,followingNode:o}=e,u=n&&!xl(t,_l(n),jl(e));if((!n||!u)&&r&&("ConditionalExpression"===r.type||"TSConditionalType"===r.type)&&o)return Sl(o,e),!0;return!1}(e,t)||Gl(e)||$l(e,t)||ql(e,t)||Wl(e)||Ul(e)||Hl(e)||function(e){const{precedingNode:t,enclosingNode:n}=e;if(n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&t&&n.callee===t&&n.arguments.length>0)return Sl(n.arguments[0],e),!0;return!1}(e)||function(e){const{enclosingNode:t}=e;if(t&&("Property"===t.type||"ObjectProperty"===t.type))return Sl(t,e),!0;return!1}(e)||Xl(e,r,o)||function(e){const{enclosingNode:t}=e;if(t&&"TypeAlias"===t.type)return Sl(t,e),!0;return!1}(e)||function(e){const{enclosingNode:t,followingNode:n}=e;if(t&&("VariableDeclarator"===t.type||"AssignmentExpression"===t.type)&&n&&("ObjectExpression"===n.type||"ArrayExpression"===n.type||"TemplateLiteral"===n.type||"TaggedTemplateExpression"===n.type||Nl(e)))return Sl(n,e),!0;return!1}(e)},handleRemainingComment:function(e,t,n,r,o){return!!(Yl(e)||$l(e,t)||ql(e,t)||function(e){const{precedingNode:t,enclosingNode:n}=e;if(n&&("ObjectProperty"===n.type||"Property"===n.type)&&n.shorthand&&n.key===t&&"AssignmentPattern"===n.value.type)return wl(n.value.left,e),!0;return!1}(e)||function(e,t){if(")"!==Fl(t,e,_l))return!1;const{enclosingNode:n}=e;if(n&&(Kl(n)&&0===kl(n).length||("CallExpression"===n.type||"OptionalCallExpression"===n.type||"NewExpression"===n.type)&&0===n.arguments.length))return Tl(n,e),!0;if(n&&"MethodDefinition"===n.type&&0===kl(n.value).length)return Tl(n.value,e),!0;return!1}(e,t)||Jl(e,t)||Xl(e,r,o)||function(e,t){const{enclosingNode:n}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const r=Bl(t,e,_l);if(!1!==r&&"=>"===t.slice(r,r+2))return Tl(n,e),!0;return!1}(e,t)||function(e,t){if("("!==Fl(t,e,_l))return!1;const{precedingNode:n,enclosingNode:r}=e;if(n&&r&&("FunctionDeclaration"===r.type||"FunctionExpression"===r.type||"ClassMethod"===r.type||"MethodDefinition"===r.type||"ObjectMethod"===r.type))return wl(n,e),!0;return!1}(e,t)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(!n||"TSMappedType"!==n.type)return!1;if(r&&"TSTypeParameter"===r.type&&r.name)return Sl(r.name,e),!0;if(t&&"TSTypeParameter"===t.type&&t.constraint)return wl(t.constraint,e),!0;return!1}(e)||function(e){const{enclosingNode:t}=e;if(t&&("ContinueStatement"===t.type||"BreakStatement"===t.type)&&!t.label)return wl(t,e),!0;return!1}(e)||function(e,t){const{enclosingNode:n,followingNode:r}=e;if(!r&&n&&("TSMethodSignature"===n.type||"TSDeclareFunction"===n.type||"TSAbstractMethodDefinition"===n.type)&&";"===Fl(t,e,_l))return wl(n,e),!0;return!1}(e,t))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some((e=>e.leading&&t(e)))},isTypeCastComment:Ql,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===kl(e.value).length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(Ol(t)||Il(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Ll(t.leadingComments)||Ll(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!Ml(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getStringWidth:ec,getIndentSize:tc}=Nt,{builders:{concat:nc,join:rc,hardline:oc,softline:uc,group:ic,indent:ac,align:sc,lineSuffixBoundary:lc,addAlignmentToDoc:cc},printer:{printDocToString:pc},utils:{mapDoc:dc}}=rn,{isBinaryish:fc,isJestEachTemplateLiteral:hc,isSimpleTemplateLiteral:mc}=Cl;function gc(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Dc={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&hc(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some((e=>0!==e.length))){t.__inJestEach=!0;const u=e.map(n,"expressions");t.__inJestEach=!1;const i=[],a=u.map((e=>"${"+pc(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}")),s=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<r.quasis.length;e++){const t=s[s.length-1],n=a[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),r.quasis[e].value.raw.includes("\n")&&s.push({hasLineBreak:!1,cells:[]})}const l=Math.max(o.length,...s.map((e=>e.cells.length))),c=Array.from({length:l}).fill(0),p=[{cells:o},...s.filter((e=>0!==e.cells.length))];for(const{cells:e}of p.filter((e=>!e.hasLineBreak)))e.forEach(((e,t)=>{c[t]=Math.max(c[t],ec(e))}));return i.push(lc,"`",ac(nc([oc,rc(oc,p.map((e=>rc(" | ",e.cells.map(((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-ec(t))))))))])),oc,"`"),nc(i)}}(e,n,t);if(r)return r}let o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");const u=[];let i=e.map(t,o);const a=mc(r);return a&&(i=i.map((e=>pc(e,Object.assign({},n,{printWidth:1/0})).formatted))),u.push(lc,"`"),e.each((e=>{const s=e.getName();if(u.push(t(e)),s<i.length){const{tabWidth:t}=n,l=e.getValue(),c=tc(l.value.raw,t);let p=i[s];if(!a){const e=r[o][s];(e.comments&&e.comments.length||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||fc(e))&&(p=nc([ac(nc([uc,p])),uc]))}const d=0===c&&l.value.raw.endsWith("\n")?sc(-1/0,p):cc(p,c,t);u.push(ic(nc(["${",d,lc,"}"])))}}),"quasis"),u.push("`"),nc(u)},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){const n=e.getValue();let r=t(e);return n.comments&&n.comments.length&&(r=ic(nc([ac(nc([uc,r])),uc]))),nc(["${",r,lc,"}"])}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return dc(e,(e=>{if(!e.parts)return e;const n=e.parts.map((e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):gc(e):e));return Object.assign({},e,{parts:n})}))},uncookTemplateElementValue:gc};const{builders:{indent:yc,softline:Ec,literalline:Cc,concat:bc,dedentToRoot:vc}}=rn,{escapeTemplateCharacters:Ac}=Dc;var Fc=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`"));const o=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),u=""!==o;u&&(r=r.replace(new RegExp("^".concat(o),"gm"),""));const i=Ac(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return bc(["`",u?yc(bc([Ec,i])):bc([Cc,vc(i)]),Ec,"`"])};const{builders:{indent:xc,hardline:Sc,softline:wc,concat:Tc},utils:{mapDoc:Bc,replaceNewlinesWithLiterallines:Nc}}=rn,{printTemplateExpressions:kc}=Dc;var Pc=function(e,t,n){const r=e.getValue(),o=r.quasis.map((e=>e.value.raw));let u=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!t||!t.length)return e;let n=0;const r=Bc(e,(e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const o=r.indexOf("@"),u=o+1;if(o>-1&&"string"==typeof r[u]&&r[u].startsWith("prettier-placeholder")){const e=r[o],t=r[u],n=r.slice(u+1);r=r.slice(0,o).concat([e+t]).concat(n)}const i=[];return r.forEach((e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach(((e,r)=>{r%2!=0?(i.push(t[e]),n++):i.push(Nc(e))})):i.push(e)})),Object.assign({},e,{parts:i})}));return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return Tc(["`",xc(Tc([Sc,r])),wc,"`"])}(n(o.reduce(((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+u+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),r,kc(e,t))};const{builders:{indent:Oc,join:Ic,hardline:Lc,concat:Mc}}=rn,{escapeTemplateCharacters:jc,printTemplateExpressions:_c}=Dc;function Rc(e){const t=[];let n=!1;return e.map((e=>e.trim())).forEach(((e,r,o)=>{""!==e&&(""===o[r-1]&&n?t.push(Mc([Lc,e])):t.push(e),n=!0)})),0===t.length?null:Ic(Lc,t)}var Vc=function(e,t,n){const r=e.getValue(),o=r.quasis.length;if(1===o&&""===r.quasis[0].value.raw.trim())return"``";const u=_c(e,t),i=[];for(let e=0;e<o;e++){const t=0===e,a=e===o-1,s=r.quasis[e].value.cooked,l=s.split("\n"),c=l.length,p=u[e],d=c>2&&""===l[0].trim()&&""===l[1].trim(),f=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),h=l.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!a&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=h?Rc(l):n(s,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=jc(m,!1),!t&&d&&i.push(""),i.push(m),!a&&f&&i.push("")):t||a||!d||i.push(""),p&&i.push(p)}return Mc(["`",Oc(Mc([Lc,Ic(Lc,i)])),Lc,"`"])};const{builders:{indent:$c,line:qc,hardline:Wc,concat:Uc,group:Jc},utils:{mapDoc:zc}}=rn,{printTemplateExpressions:Gc,uncookTemplateElementValue:Hc}=Dc;let Xc=0;var Yc=function(e,t,n,r,{parser:o}){const u=e.getValue(),i=Xc;Xc=Xc+1>>>0;const a=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(i,"_IN_JS"),s=u.quasis.map(((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t))).join(""),l=Gc(e,t);if(0===l.length&&0===s.trim().length)return"``";const c=new RegExp(a("(\\d+)"),"g");let p=0;const d=n(s,{parser:o,__onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),f=zc(d,(e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let e=0;e<n.length;e++){let o=n[e];if(e%2==0){o&&(o=Hc(o),r.embeddedInHtml&&(o=o.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(o));continue}const u=+o;t.push(l[u])}return Uc(t)})),h=/^\s/.test(s)?" ":"",m=/\s$/.test(s)?" ":"",g="ignore"===r.htmlWhitespaceSensitivity?Wc:h&&m?qc:null;return Jc(Uc(g?["`",$c(Uc([g,Jc(f)])),g,"`"]:["`",h,p>1?$c(Jc(f)):Jc(f),m,"`"]))};const{isBlockComment:Kc}=Cl,{hasLeadingComment:Qc}=Zl;function Zc(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((e=>"jsx"===e.name.name))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return tp(n.object)||np(n);case"CallExpression":return tp(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(tp(n.callee.object.object)||np(n.callee.object))||"CallExpression"===n.callee.object.type&&tp(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...ep)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return rp(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return rp(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...ep)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const ep=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function tp(e){return"Identifier"===e.type&&"styled"===e.name}function np(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function rp(e,t){return Qc(e,(e=>Kc(e)&&e.value===" ".concat(t," ")))}var op=function(e,t,n,r){const o=e.getValue();if("TemplateLiteral"!==o.type||function({quasis:e}){return e.some((({value:{cooked:e}})=>null===e))}(o))return;const u=Zc(e);return u?"markdown"===u?Fc(e,t,n):"css"===u?Pc(e,t,n):"graphql"===u?Vc(e,t,n):"html"===u||"angular"===u?Yc(e,t,n,r,{parser:u}):void 0:void 0};const{isBlockComment:up}=Cl,ip=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]);function ap(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"FieldDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name))){t.children.filter((e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type)).map((e=>e.expression)).reduce(((e,t)=>e.concat(t.quasis)),[]).forEach((e=>delete e.value))}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach((e=>delete e.value)),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach(((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach((e=>delete e.value))}))}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach((e=>delete e.value)),"TemplateLiteral"===e.type){(e.leadingComments&&e.leadingComments.some((e=>up(e)&&["GraphQL","HTML"].some((t=>e.value===" ".concat(t," ")))))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach((e=>delete e.value)),e.leadingComments||t.quasis.forEach((e=>{e.value&&delete e.value.cooked}))}"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())}ap.ignoredProperties=ip;var sp=ap;const lp=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter((e=>"\r\n"===e)).length;return n>t.length-n?"\r\n":"\n"};var cp=lp;cp.graceful=e=>"string"==typeof e&&lp(e)||"\n";var pp=je((function(e,t){function n(){const e=Mr;return n=function(){return e},e}function r(){const e=(t=cp)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(i);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(i);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return f(e).pragmas},t.parseWithComments=f,t.print=function({comments:e="",pragmas:t={}}){const o=(0,r().default)(e)||n().EOL,u=" *",i=Object.keys(t),a=i.map((e=>h(e,t[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+o)).join("");if(!e){if(0===i.length)return"";if(1===i.length&&!Array.isArray(t[i[0]])){const e=t[i[0]];return"".concat("/**"," ").concat(h(i[0],e)[0]).concat(" */")}}const s=e.split(o).map((e=>"".concat(u," ").concat(e))).join(o)+o;return"/**"+o+(e?s:"")+(e&&i.length?u+o:"")+a+" */"};const o=/\*\/$/,u=/^\/\*\*/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,d=[];function f(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(u,"").replace(o,"").replace(p,"$1");let i="";for(;i!==e;)i=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(s,"").trimRight();const f=Object.create(null),h=e.replace(c,"").replace(s,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(a,"");"string"==typeof f[m[1]]||Array.isArray(f[m[1]])?f[m[1]]=d.concat(f[m[1]],e):f[m[1]]=e}return{comments:h,pragmas:f}}function h(e,t){return d.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}));const{parseWithComments:dp,strip:fp,extract:hp,print:mp}=pp,{getShebang:gp}=Nt,{normalizeEndOfLine:Dp}=kt;function yp(e){const t=gp(e);t&&(e=e.slice(t.length+1));const n=hp(e),{pragmas:r,comments:o}=dp(n);return{shebang:t,text:e,pragmas:r,comments:o}}var Ep={hasPragma:function(e){const t=Object.keys(yp(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:o}=yp(e),u=fp(n),i=mp({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Dp(i)+(u.startsWith("\n")?"\n":"\n\n")+u}};const{getFunctionParameters:Cp,getLeftSidePathName:bp,hasFlowShorthandAnnotationComment:vp,hasNakedLeftSide:Ap,hasNode:Fp,isBitwiseOperator:xp,startsWithNoLookaheadToken:Sp,shouldFlatten:wp,getPrecedence:Tp}=Cl;function Bp(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(o)&&Np(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"FieldDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(o))return!1;if("flow"!==t.parser&&vp(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name));switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return kp(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=o;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Sp(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&Sp(o,!1))return!0}switch(o.type){case"SpreadElement":case"SpreadProperty":return"object"===r&&"MemberExpression"===n.type;case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===o.operator)return!0;if("in"===o.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;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"===r;case"AssignmentExpression":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":{const{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;const u=Tp(e),i=n.operator,a=Tp(i);return a>u||("right"===r&&a===u||(a===u&&!wp(i,e)||(a<u&&"%"===e?"+"===i||"-"===i:!!xp(i))))}default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!o.argument&&"|>"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Cp(o).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"FieldDefinition"!==n.type||!n.computed)&&(("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&("AssignmentExpression"!==n.type&&(("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&(("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)))))}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!o.extra||!o.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&("MemberExpression"===n.type||"OptionalMemberExpression"===n.type);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||o.extra&&o.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Fp(e,(e=>"ObjectTypeAnnotation"===e.type&&Fp(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(o)}return!1}function Np(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Np);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Np);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Np);break;case"UnaryExpression":if(n.prefix)return e.callParent(Np)}return!1}function kp(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Bp(e,t):!(!Ap(n)||"ExportDefaultDeclaration"!==r.type&&Bp(e,t))&&e.call((e=>kp(e,t)),...bp(e,n))}var Pp=Bp;const{builders:{concat:Op,join:Ip,line:Lp,group:Mp,softline:jp,indent:_p}}=rn;var Rp={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((e=>{const t=Ip(Op([",",Lp]),e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:Op(["(",_p(Op([jp,Mp(t)])),jp,")"])}),"program","body",0):t.__isVueBindings?e.call((e=>Ip(Op([",",Lp]),e.map(n,"params"))),"program","body",0):void 0}};var Vp=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{concat:$p,group:qp,indent:Wp,join:Up,line:Jp,hardline:zp}}=rn,{hasNewlineBetweenOrAfterDecorators:Gp,getParentExportDeclaration:Hp}=Cl;var Xp={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printBindExpressionCallee:function(e,t,n){return $p(["::",e.call(n,"callee")])},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?$p([Up(" ",e.map(n,"modifiers"))," "]):""},printDecorators:function(e,t,n){const r=e.getValue();return qp($p([Up(Jp,e.map(n,"decorators")),Gp(r,t)?zp:Jp]))},printFlowDeclaration:function(e,t){const n=Hp(e);return n?(Xi.strictEqual(n.type,"DeclareExportDeclaration"),t):$p(["declare ",t])},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?$p([" ",t]):Wp($p([Jp,t]))}};const{builders:{concat:Yp,softline:Kp,group:Qp,indent:Zp,join:ed,line:td,ifBreak:nd,hardline:rd}}=rn,{printDanglingComments:od}=ya,{hasDanglingComments:ud,shouldPrintComma:id,needsHardlineAfterDanglingComment:ad}=Cl,{locStart:sd,hasSameLoc:ld}=ei;function cd(e,t,n){const r=e.getValue();if(!r.source)return"";const o=[];return dd(r,t)||o.push(" from"),o.push(" ",e.call(n,"source")),Yp(o)}function pd(e,t,n){const r=e.getValue();if(dd(r,t))return"";const o=[" "];if(r.specifiers&&r.specifiers.length>0){const u=[],i=[];if(e.each((t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)u.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));i.push(n(t))}}),"specifiers"),o.push(ed(", ",u)),0!==i.length){0!==u.length&&o.push(", ");i.length>1||u.length>0||r.specifiers.some((e=>e.comments))?o.push(Qp(Yp(["{",Zp(Yp([t.bracketSpacing?td:Kp,ed(Yp([",",td]),i)])),nd(id(t)?",":""),t.bracketSpacing?td:Kp,"}"]))):o.push(Yp(["{",t.bracketSpacing?" ":"",Yp(i),t.bracketSpacing?" ":"","}"]))}}else o.push("{}");return Yp(o)}function dd(e,t){const{type:n,importKind:r,source:o,specifiers:u}=e;return!("ImportDeclaration"!==n||Array.isArray(u)&&u.length>0||"type"===r)&&!/{\s*}/.test(t.originalText.slice(sd(e),sd(o)))}function fd(e,t,n){const r=e.getNode();return Array.isArray(r.assertions)&&0!==r.assertions.length?Yp([" assert {",t.bracketSpacing?" ":"",ed(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]):""}var hd={printImportDeclaration:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",u=[],{importKind:i}=r;return u.push("import"),i&&"value"!==i&&u.push(" ",i),u.push(pd(e,t,n),cd(e,t,n),fd(e,t,n)),u.push(o),Yp(u)},printExportDeclaration:function(e,t,n){const r=e.getValue(),o=[],{type:u,exportKind:i,declaration:a}=r;return"DeclareExportDeclaration"===u&&o.push("declare "),o.push("export"),(r.default||"ExportDefaultDeclaration"===u)&&o.push(" default"),ud(r)&&(o.push(" ",od(e,t,!0)),ad(r)&&o.push(rd)),a?o.push(" ",e.call(n,"declaration")):o.push("type"===i?" type":"",pd(e,t,n),cd(e,t,n),fd(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,o=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:u}=r;if(o&&"ClassDeclaration"!==u&&"FunctionDeclaration"!==u&&"TSInterfaceDeclaration"!==u&&"DeclareClass"!==u&&"DeclareFunction"!==u&&"TSDeclareFunction"!==u&&"EnumDeclaration"!==u)return!0;return!1}(r,t)&&o.push(";"),Yp(o)},printExportAllDeclaration:function(e,t,n){const r=e.getValue();let o=t.semi?";":"";const u=[],{type:i,exportKind:a,exported:s}=r;return"DeclareExportAllDeclaration"===i&&(u.push("declare "),o=""),u.push("export"),"type"===a&&u.push(" type"),u.push(" *"),s&&u.push(" as ",e.call(n,"exported")),u.push(cd(e,t,n),fd(e,t,n),o),Yp(u)},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:o,importKind:u}=r,i=[];"ImportSpecifier"===o&&u&&i.push(u," ");const a=o.startsWith("Import"),s=a?"imported":"local",l=a?"local":"exported";let c="",p="";return"ExportNamespaceSpecifier"===o||"ImportNamespaceSpecifier"===o?c="*":r[s]&&(c=e.call(n,s)),!r[l]||r[s]&&ld(r[s],r[l])||(p=e.call(n,l)),i.push(c,c&&p?" as ":"",p),Yp(i)}};const{hasNewlineInRange:md}=Nt,{isJSXNode:gd,isBlockComment:Dd}=Cl,{locStart:yd,locEnd:Ed}=ei,{builders:{concat:Cd,line:bd,softline:vd,group:Ad,indent:Fd,align:xd,ifBreak:Sd,dedent:wd,breakParent:Td}}=rn;var Bd=function(e,t,n,r){const o=e.getValue(),u=o[r.consequentNodePropertyName],i=o[r.alternateNodePropertyName],a=[];let s=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some((e=>l[e]===o));let p,d,f=l.type===r.conditionalNodeType&&!c,h=0;do{d=p||o,p=e.getParentNode(h),h++}while(p&&p.type===r.conditionalNodeType&&r.testNodePropertyNames.every((e=>p[e]!==d)));const m=p||l,g=d;if(r.shouldCheckJsx&&(gd(o[r.testNodePropertyNames[0]])||gd(u)||gd(i)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(gd)}(g))){s=!0,f=!0;const t=e=>Cd([Sd("(",""),Fd(Cd([vd,e])),vd,Sd(")","")]),o=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;a.push(" ? ",o(u)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",i.type===r.conditionalNodeType||o(i)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const s=Cd([bd,"? ",u.type===r.conditionalNodeType?Sd("","("):"",xd(2,e.call(n,r.consequentNodePropertyName)),u.type===r.conditionalNodeType?Sd("",")"):"",bd,": ",i.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):xd(2,e.call(n,r.alternateNodePropertyName))]);a.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===o||c?s:t.useTabs?wd(Fd(s)):xd(Math.max(0,t.tabWidth-2),s))}const D=Uu([...r.testNodePropertyNames.map((e=>o[e].comments)),u.comments,i.comments]).filter(Boolean).some((e=>Dd(e)&&md(t.originalText,yd(e),Ed(e)))),y=!s&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===o)&&!l.computed,E=(e=>l===m?Ad(e,{shouldBreak:D}):D?Cd([e,Td]):e)(Cd([].concat((C=Cd(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===o?xd(2,C):C),f?Cd(a):Fd(Cd(a)),r.afterParts(y))));var C;return c?Ad(Cd([Fd(Cd([vd,E])),vd])):E};const{getNextNonSpaceNonCommentCharacter:Nd,isNextLineEmpty:kd}=Nt,{printDanglingComments:Pd}=ya,{builders:{concat:Od,line:Id,hardline:Ld,softline:Md,group:jd,indent:_d,ifBreak:Rd},utils:{removeLines:Vd}}=rn,{getFunctionParameters:$d,iterateFunctionParametersPath:qd,isSimpleType:Wd,isTestCall:Ud,isTypeAnnotationAFunction:Jd,isObjectType:zd,isObjectTypePropertyAFunction:Gd,hasRestParameter:Hd,shouldPrintComma:Xd}=Cl,{locEnd:Yd}=ei,{printFunctionTypeParameters:Kd}=Xp;function Qd(e){if(!e)return!1;const t=$d(e);if(1!==t.length)return!1;const[n]=t;return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&zd(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&zd(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var Zd={printFunctionParameters:function(e,t,n,r,o){const u=e.getValue(),i=$d(u),a=o?Kd(e,n,t):"";if(0===i.length)return Od([a,"(",Pd(e,n,!0,(e=>")"===Nd(n.originalText,e,Yd))),")"]);const s=e.getParentNode(),l=Ud(s),c=Qd(u),p=r&&!i.some((e=>e.comments)),d=[];if(qd(e,((e,r)=>{const o=r===i.length-1;o&&u.rest&&d.push("..."),d.push(e.call(t)),o||(d.push(","),l||c||p?d.push(" "):kd(n.originalText,i[r],Yd)?d.push(Ld,Ld):d.push(Id))})),p)return jd(Od([Vd(a),"(",Od(d.map(Vd)),")"]));const f=i.every((e=>!e.decorators));return c&&f||l?Od([a,"(",Od(d),")"]):(Gd(s)||Jd(s)||"TypeAlias"===s.type||"UnionTypeAnnotation"===s.type||"TSUnionType"===s.type||"IntersectionTypeAnnotation"===s.type||"FunctionTypeAnnotation"===s.type&&s.returnType===u)&&1===i.length&&null===i[0].name&&u.this!==i[0]&&i[0].typeAnnotation&&null===u.typeParameters&&Wd(i[0].typeAnnotation)&&!u.rest?"always"===n.arrowParens?Od(["(",Od(d),")"]):Od(d):Od([a,"(",_d(Od([Md,Od(d)])),Rd(!Hd(u)&&Xd(n,"all")?",":""),Md,")"])},shouldHugFunctionParameters:Qd};const{builders:{concat:ef}}=rn,{isFlowAnnotationComment:tf,isSimpleType:nf,isObjectType:rf}=Cl;var of={printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const o=e.getParentNode(),u=r.definite||o&&"VariableDeclarator"===o.type&&o.definite,i="DeclareFunction"===o.type&&o.id===r;return tf(t.originalText,r.typeAnnotation)?ef([" /*: ",e.call(n,"typeAnnotation")," */"]):ef([i?"":u?"!: ":": ",e.call(n,"typeAnnotation")])},shouldHugType:function(e){if(nf(e)||rf(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,n=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&n)return!0}return!1}};const{printDanglingComments:uf}=ya,{builders:{concat:af,line:sf,softline:lf,group:cf,indent:pf,ifBreak:df}}=rn,{getLast:ff,isNextLineEmpty:hf}=Nt,{hasDanglingComments:mf,shouldPrintComma:gf}=Cl,{locEnd:Df}=ei,{printOptionalToken:yf}=Xp,{printTypeAnnotation:Ef}=of;function Cf(e,t,n,r){const o=[];let u=[];return e.each((e=>{o.push(af(u)),o.push(cf(r(e))),u=[",",sf],e.getValue()&&hf(t.originalText,e.getValue(),Df)&&u.push(lf)}),n),af(o)}var bf={printArray:function(e,t,n){const r=e.getValue(),o=[],u="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)mf(r)?o.push(cf(af([u,uf(e,t),lf,"]"]))):o.push(u,"]");else{const i=ff(r.elements),a=!(i&&"RestElement"===i.type),s=a&&null===i,l=!t.__inJestEach&&r.elements.length>1&&r.elements.every(((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const o=n[t+1];if(o&&r!==o.type)return!1;const u="ArrayExpression"===r?"elements":"properties";return e[u]&&e[u].length>1}));o.push(cf(af([u,pf(af([lf,Cf(e,t,"elements",n)])),s?",":"",df(a&&!s&&gf(t)?",":""),uf(e,t,!0),lf,"]"]),{shouldBreak:l}))}return o.push(yf(e),Ef(e,t,n)),af(o)},printArrayItems:Cf};const{printDanglingComments:vf}=ya,{builders:{concat:Af,line:Ff,softline:xf,group:Sf,indent:wf,ifBreak:Tf,hardline:Bf}}=rn,{getLast:Nf,isNextLineEmpty:kf,hasNewlineInRange:Pf,hasNewline:Of}=Nt,{hasDanglingComments:If,shouldPrintComma:Lf,hasNodeIgnoreComment:Mf,isBlockComment:jf}=Cl,{locStart:_f,locEnd:Rf}=ei,{printOptionalToken:Vf}=Xp,{shouldHugFunctionParameters:$f}=Zd,{printTypeAnnotation:qf,shouldHugType:Wf}=of;var Uf={printObject:function(e,t,n){const r=t.semi?";":"",o=e.getValue();let u;u="TSTypeLiteral"===o.type?"members":"TSInterfaceBody"===o.type?"body":"properties";const i="ObjectTypeAnnotation"===o.type,a=[];i&&a.push("indexers","callProperties","internalSlots"),a.push(u);const s=a.map((e=>o[e][0])).sort(((e,t)=>_f(e)-_f(t)))[0],l=e.getParentNode(0),c=i&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),p="TSInterfaceBody"===o.type||c||"ObjectPattern"===o.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&o.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==o.type&&s&&Pf(t.originalText,_f(o),_f(s)),d=c?";":"TSInterfaceBody"===o.type||"TSTypeLiteral"===o.type?Tf(r,";"):",",f="RecordExpression"===o.type?"#{":o.exact?"{|":"{",h=o.exact?"|}":"}",m=[];a.forEach((t=>{e.each((e=>{const t=e.getValue();m.push({node:t,printed:n(e),loc:_f(t)})}),t)}));let g=[];const D=m.sort(((e,t)=>e.loc-t.loc)).map((e=>{const n=Af(g.concat(Sf(e.printed)));return g=[d,Ff],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!Mf(e.node)||g.shift(),kf(t.originalText,e.node,Rf)&&g.push(Bf),n}));if(o.inexact){let n;if(If(o)){const r=!o.comments.every((e=>jf(e))),u=vf(e,t,!0);n=Af([u,r||Of(t.originalText,Rf(o.comments[o.comments.length-1]))?Bf:Ff,"..."])}else n="...";D.push(Af(g.concat(n)))}const y=Nf(o[u]),E=!(o.inexact||y&&"RestElement"===y.type||y&&("TSPropertySignature"===y.type||"TSCallSignatureDeclaration"===y.type||"TSMethodSignature"===y.type||"TSConstructSignatureDeclaration"===y.type)&&Mf(y));let C;if(0===D.length){if(!If(o))return Af([f,h,qf(e,t,n)]);C=Sf(Af([f,vf(e,t),xf,h,Vf(e),qf(e,t,n)]))}else C=Af([f,wf(Af([t.bracketSpacing?Ff:xf,Af(D)])),Tf(E&&(","!==d||Lf(t))?d:""),Af([t.bracketSpacing?Ff:xf,h]),Vf(e),qf(e,t,n)]);return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,n)=>$f(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||e.match(Wf,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,n)=>$f(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))?C:Sf(C,{shouldBreak:p})}};const{printComments:Jf,printDanglingComments:zf}=ya,{builders:{concat:Gf,line:Hf,hardline:Xf,softline:Yf,group:Kf,indent:Qf,conditionalGroup:Zf,fill:eh,ifBreak:th,lineSuffixBoundary:nh},utils:{willBreak:rh,isLineNext:oh,isEmpty:uh}}=rn,{getLast:ih,getPreferredQuote:ah}=Nt,{hasTrailingComment:sh,isEmptyJSXElement:lh,isJSXWhitespaceExpression:ch,isJSXNode:ph,isMeaningfulJSXText:dh,matchJsxWhitespaceRegex:fh,rawText:hh,isLiteral:mh,isCallOrOptionalCallExpression:gh,isStringLiteral:Dh,isBinaryish:yh,isBlockComment:Eh}=Cl,{willPrintOwnComments:Ch}=Zl;function bh(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&lh(r))return Gf([e.call(n,"openingElement"),e.call(n,"closingElement")]);const o="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),u="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return Gf([o,Gf(e.map(n,"children")),u]);r.children=r.children.map((e=>ch(e)?{type:"JSXText",value:" ",raw:" "}:e));const i=r.children.filter(ph).length>0,a=r.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=rh(o)||i||s||a;const c="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',d=c?Gf([" "]):th(Gf([p,Yf])," "),f=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,h=function(e,t,n,r,o){const u=e.getValue(),i=[];return e.each(((e,t)=>{const a=e.getValue();if(mh(a)){const e=hh(a);if(dh(a)){const n=e.split(fh);if(""===n[0]){if(i.push(""),n.shift(),/\n/.test(n[0])){const e=u.children[t+1];i.push(Ah(o,n[1],a,e))}else i.push(r);n.shift()}let s;if(""===ih(n)&&(n.pop(),s=n.pop()),0===n.length)return;if(n.forEach(((e,t)=>{t%2==1?i.push(Hf):i.push(e)})),void 0!==s)if(/\n/.test(s)){const e=u.children[t+1];i.push(Ah(o,ih(i),a,e))}else i.push(r);else{const e=u.children[t+1];i.push(vh(o,ih(i),a,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(i.push(""),i.push(Xf)):(i.push(""),i.push(r))}else{const r=n(e);i.push(r);const s=u.children[t+1];if(s&&dh(s)){const e=hh(s).trim().split(fh)[0];i.push(vh(o,e,a,s))}else i.push(Xf)}}),"children"),i}(e,0,n,d,f),m=r.children.some((e=>dh(e)));for(let e=h.length-2;e>=0;e--){const t=""===h[e]&&""===h[e+1],n=h[e]===Xf&&""===h[e+1]&&h[e+2]===Xf,r=(h[e]===Yf||h[e]===Xf)&&""===h[e+1]&&h[e+2]===d,o=h[e]===d&&""===h[e+1]&&(h[e+2]===Yf||h[e+2]===Xf),u=h[e]===d&&""===h[e+1]&&h[e+2]===d,i=h[e]===Yf&&""===h[e+1]&&h[e+2]===Xf||h[e]===Xf&&""===h[e+1]&&h[e+2]===Yf;n&&m||t||r||u||i?h.splice(e,2):o&&h.splice(e+1,2)}for(;h.length&&(oh(ih(h))||uh(ih(h)));)h.pop();for(;h.length&&(oh(h[0])||uh(h[0]))&&(oh(h[1])||uh(h[1]));)h.shift(),h.shift();const g=[];h.forEach(((e,t)=>{if(e===d){if(1===t&&""===h[t-1])return 2===h.length?void g.push(p):void g.push(Gf([p,Xf]));if(t===h.length-1)return void g.push(p);if(""===h[t-1]&&h[t-2]===Xf)return void g.push(p)}g.push(e),rh(e)&&(l=!0)}));const D=m?eh(g):Kf(Gf(g),{shouldBreak:!0});if(c)return D;const y=Kf(Gf([o,Qf(Gf([Xf,D])),Xf,u]));return l?y:Zf([Kf(Gf([o,Gf(h),u])),y])}function vh(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?Yf:Xf:Yf}function Ah(e,t,n,r){return e?Xf:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?Xf:Yf:Xf}function Fh(e,t,n){const r=e.getValue();return Gf(["{",e.call((e=>{const r=Gf(["...",n(e)]),o=e.getValue();return o.comments&&o.comments.length&&Ch(e)?Gf([Qf(Gf([Yf,Jf(e,(()=>r),t)])),Yf]):r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"])}var xh={printJsxElement:function(e,t,n){const r=Jf(e,(()=>bh(e,t,n)),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const o=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),gh,(e=>"JSXExpressionContainer"===e.type)),u=Pp(e,n);return Kf(Gf([u?"":th("("),Qf(Gf([Yf,t])),Yf,u?"":th(")")]),{shouldBreak:o})}(e,r,t)},printJsxAttribute:function(e,t,n){const r=e.getValue(),o=[];if(o.push(e.call(n,"name")),r.value){let u;if(Dh(r.value)){let e=hh(r.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const n=ah(e,t.jsxSingleQuote?"'":'"'),o="'"===n?"&apos;":"&quot;";e=e.slice(1,-1).replace(new RegExp(n,"g"),o),u=Gf([n,e,n])}else u=e.call(n,"value");o.push("=",u)}return Gf(o)},printJsxOpeningElement:function(e,t,n){const r=e.getValue(),o=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!o)return Gf(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Dh(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return Kf(Gf(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",Gf(e.map(n,"attributes")),r.selfClosing?" />":">"]));const u=r.attributes.length&&sh(ih(r.attributes)),i=!r.attributes.length&&!o||t.jsxBracketSameLine&&(!o||r.attributes.length)&&!u,a=r.attributes&&r.attributes.some((e=>e.value&&Dh(e.value)&&e.value.value.includes("\n")));return Kf(Gf(["<",e.call(n,"name"),e.call(n,"typeParameters"),Gf([Qf(Gf(e.map((e=>Gf([Hf,n(e)])),"attributes"))),r.selfClosing?Hf:i?">":Yf]),r.selfClosing?"/>":i?"":">"]),{shouldBreak:a})},printJsxClosingElement:function(e,t,n){return Gf(["</",e.call(n,"name"),">"])},printJsxOpeningClosingFragment:function(e,t){const n=e.getValue(),r=n.comments&&n.comments.length,o=r&&!n.comments.every((e=>Eh(e))),u="JSXOpeningFragment"===n.type;return Gf([u?"<":"</",Qf(Gf([o?Xf:r&&!u?" ":"",zf(e,t,!0)])),o?Xf:"",">"])},printJsxExpressionContainer:function(e,t,n){const r=e.getValue(),o=e.getParentNode(0),u=r.expression.comments&&r.expression.comments.length>0,i="JSXEmptyExpression"===r.expression.type||!u&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||"CallExpression"===r.expression.type||"OptionalCallExpression"===r.expression.type||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||ph(o)&&("ConditionalExpression"===r.expression.type||yh(r.expression)));return Kf(Gf(i?["{",e.call(n,"expression"),nh,"}"]:["{",Qf(Gf([Yf,e.call(n,"expression")])),Yf,nh,"}"]))},printJsxEmptyExpression:function(e,t){const n=e.getValue(),r=n.comments&&!n.comments.every((e=>Eh(e)));return Gf([zf(e,t,!r),r?Xf:""])},printJsxSpreadAttribute:Fh,printJsxSpreadChild:Fh};const{printDanglingComments:Sh}=ya,{builders:{concat:wh,join:Th,line:Bh,hardline:Nh,softline:kh,group:Ph,indent:Oh,ifBreak:Ih}}=rn,{hasDanglingComments:Lh,isTestCall:Mh,isBlockComment:jh,shouldPrintComma:_h}=Cl,{shouldHugType:Rh}=of,Vh=new WeakMap;function $h(e){return Vh.has(e)||Vh.set(e,Symbol("typeParameters")),Vh.get(e)}function qh(e,t){const n=e.getValue();if(!Lh(n))return"";const r=n.comments.every((e=>jh(e))),o=Sh(e,t,r);return r?o:wh([o,Nh])}var Wh={printTypeParameters:function(e,t,n,r){const o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return e.call(n,r);const u=e.getNode(2);return null!=u&&Mh(u)||0===o[r].length||1===o[r].length&&(Rh(o[r][0])||"GenericTypeAnnotation"===o[r][0].type&&Rh(o[r][0].id)||"TSTypeReference"===o[r][0].type&&Rh(o[r][0].typeName)||"NullableTypeAnnotation"===o[r][0].type)?wh(["<",Th(", ",e.map(n,r)),qh(e,t),">"]):Ph(wh(["<",Oh(wh([kh,Th(wh([",",Bh]),e.map(n,r))])),Ih("typescript"!==t.parser&&"babel-ts"!==t.parser&&_h(t,"all")?",":""),kh,">"]),{id:$h(o)})},getTypeParametersGroupId:$h};const{printComments:Uh}=ya,{printString:Jh,printNumber:zh}=Nt,{builders:{concat:Gh}}=rn,{isNumericLiteral:Hh,isSimpleNumber:Xh,isStringLiteral:Yh,isStringPropSafeToUnquote:Kh,rawText:Qh}=Cl,Zh=new WeakMap;var em={printPropertyKey:function(e,t,n){const r=e.getNode();if(r.computed)return Gh(["[",e.call(n,"key"),"]"]);const o=e.getParentNode(),{key:u}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===u.type)return Gh(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!Zh.has(o)){const e=(o.properties||o.body||o.members).some((e=>!e.computed&&e.key&&Yh(e.key)&&!Kh(e,t)));Zh.set(o,e)}if(("Identifier"===u.type||Hh(u)&&Xh(zh(Qh(u)))&&String(u.value)===zh(Qh(u))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&Zh.get(o))){const n=Jh(JSON.stringify("Identifier"===u.type?u.name:u.value.toString()),t);return e.call((e=>Uh(e,(()=>n),t)),"key")}return Kh(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Zh.get(o))?e.call((e=>Uh(e,(()=>/^\d/.test(u.value)?zh(u.value):u.value),t)),"key"):e.call(n,"key")}};const{printDanglingComments:tm}=ya,{getNextNonSpaceNonCommentCharacterIndex:nm}=Nt,{builders:{concat:rm,line:om,softline:um,group:im,indent:am,ifBreak:sm,hardline:lm}}=rn,{getFunctionParameters:cm,hasDanglingComments:pm,hasLeadingOwnLineComment:dm,isFlowAnnotationComment:fm,isJSXNode:hm,isTemplateOnItsOwnLine:mm,shouldPrintComma:gm,startsWithNoLookaheadToken:Dm,returnArgumentHasLeadingComment:ym,isBinaryish:Em,isLineComment:Cm}=Cl,{locEnd:bm}=ei,{printFunctionParameters:vm}=Zd,{printPropertyKey:Am}=em,{printFunctionTypeParameters:Fm}=Xp;function xm(e,t,n){const r=[Fm(e,t,n),im(rm([vm(e,n,t),wm(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),rm(r)}function Sm(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){const t=cm(e);return!(1!==t.length||e.typeParameters||pm(e)||"Identifier"!==t[0].type||t[0].typeAnnotation||t[0].comments||t[0].optional||e.predicate||e.returnType)}(e.getValue())}return!1}function wm(e,t,n){const r=e.getValue(),o=e.call(t,"returnType");if(r.returnType&&fm(n.originalText,r.returnType))return rm([" /*: ",o," */"]);const u=[o];return r.returnType&&r.returnType.typeAnnotation&&u.unshift(": "),r.predicate&&u.push(r.returnType?" ":": ",e.call(t,"predicate")),rm(u)}var Tm={printFunctionDeclaration:function(e,t,n,r){const o=e.getValue(),u=[];return o.async&&u.push("async "),o.generator?u.push("function* "):u.push("function "),o.id&&u.push(e.call(t,"id")),u.push(Fm(e,n,t),im(rm([vm(e,t,n,r),wm(e,t,n)])),o.body?" ":"",e.call(t,"body")),rm(u)},printArrowFunctionExpression:function(e,t,n,r){const o=e.getValue(),u=[];o.async&&u.push("async "),Sm(e,t)?u.push(e.call(n,"params",0)):u.push(im(rm([vm(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),wm(e,n,t)])));const i=tm(e,t,!0,(e=>{const n=nm(t.originalText,e,bm);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));i&&u.push(" ",i),u.push(" =>");const a=e.call((e=>n(e,r)),"body");if(!dm(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||hm(o.body)||mm(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return im(rm([rm(u)," ",a]));if("SequenceExpression"===o.body.type)return im(rm([rm(u),im(rm([" (",am(rm([um,a])),um,")"]))]));const s=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(o.comments&&o.comments.length),l=r&&r.expandLastArg&&gm(t,"all"),c="ConditionalExpression"===o.body.type&&!Dm(o.body,!1);return im(rm([rm(u),im(rm([am(rm([om,c?sm("","("):"",a,c?sm("",")"):""])),s?rm([sm(l?",":""),um]):""]))]))},printMethod:function(e,t,n){const r=e.getNode(),{kind:o}=r,u=r.value||r,i=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(Xi.ok("get"===o||"set"===o),i.push(o," ")):u.async&&i.push("async "),u.generator&&i.push("*"),i.push(Am(e,t,n),r.optional||r.key.optional?"?":"",r===u?xm(e,t,n):e.call((e=>xm(e,t,n)),"value")),rm(i)},printReturnAndThrowArgument:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",u=[];r.argument&&(ym(t,r.argument)?u.push(rm([" (",am(rm([lm,e.call(n,"argument")])),lm,")"])):Em(r.argument)||"SequenceExpression"===r.argument.type?u.push(im(rm([sm(" ("," "),am(rm([um,e.call(n,"argument")])),um,sm(")")]))):u.push(" ",e.call(n,"argument")));const i=Array.isArray(r.comments)&&r.comments[r.comments.length-1],a=i&&Cm(i);return a&&u.push(o),pm(r)&&u.push(" ",tm(e,t,!0)),a||u.push(o),rm(u)},shouldPrintParamsWithoutParens:Sm};const{printComments:Bm,printDanglingComments:Nm}=ya,{builders:{concat:km,join:Pm,line:Om,hardline:Im,softline:Lm,group:Mm,indent:jm,ifBreak:_m}}=rn,{hasTrailingComment:Rm,hasTrailingLineComment:Vm}=Cl,{getTypeParametersGroupId:$m}=Wh,{printMethod:qm}=Tm,{printDecorators:Wm}=Xp;function Um(e){return e.typeParameters&&!Vm(e.typeParameters)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>!!e[t])).length>1}(e)}function Jm(e,t,n,r){const o=e.getValue();if(!o[r]||0===o[r].length)return"";const u=Nm(e,t,!0,(({marker:e})=>e===r));return km([Um(o)?_m(" ",Om,{groupId:$m(o.typeParameters)}):Om,u,u&&Im,r,Mm(jm(km([Om,Pm(km([",",Om]),e.map(n,r))])))])}function zm(e,t,n){const r=e.call(n,"superClass");return"AssignmentExpression"===e.getParentNode().type?Mm(_m(km(["(",jm(km([Lm,r])),Lm,")"]),r)):r}var Gm={printClass:function(e,t,n){const r=e.getValue(),o=[];r.abstract&&o.push("abstract "),o.push("class");const u=r.id&&Rm(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,i=[],a=[];if(r.id&&i.push(" ",e.call(n,"id")),i.push(e.call(n,"typeParameters")),r.superClass){const r=km(["extends ",zm(e,t,n),e.call(n,"superTypeParameters")]),o=e.call((e=>Bm(e,(()=>r),t)),"superClass");u?a.push(Om,Mm(o)):a.push(" ",o)}else a.push(Jm(e,t,n,"extends"));if(a.push(Jm(e,t,n,"mixins")),a.push(Jm(e,t,n,"implements")),u){const e=km(a);Um(r)?o.push(Mm(km(i.concat(_m(jm(e),e))))):o.push(Mm(jm(km(i.concat(e)))))}else o.push(...i,...a);return o.push(" ",e.call(n,"body")),km(o)},printClassMethod:function(e,t,n){const r=e.getValue(),o=[];return r.decorators&&0!==r.decorators.length&&o.push(Wm(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.static&&o.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),o.push(qm(e,t,n)),km(o)}};const{getLast:Hm,getPenultimate:Xm,isNextLineEmpty:Ym}=Nt,{getFunctionParameters:Km,iterateFunctionParametersPath:Qm,hasLeadingComment:Zm,hasTrailingComment:eg,isFunctionCompositionArgs:tg,isJSXNode:ng,isLongCurriedCallExpression:rg,shouldPrintComma:og,getCallArguments:ug,iterateCallArgumentsPath:ig}=Cl,{locEnd:ag}=ei,{builders:{concat:sg,line:lg,hardline:cg,softline:pg,group:dg,indent:fg,conditionalGroup:hg,ifBreak:mg,breakParent:gg},utils:{willBreak:Dg}}=rn;function yg(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&yg(e.expression)||"TSAsExpression"===e.type&&yg(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||ng(e.body))}var Eg=function(e,t,n){const r=e.getValue(),o="ImportExpression"===r.type,u=ug(r);if(0===u.length)return sg(["(",ya.printDanglingComments(e,t,!0),")"]);if(2===u.length&&"ArrowFunctionExpression"===u[0].type&&0===Km(u[0]).length&&"BlockStatement"===u[0].body.type&&"ArrayExpression"===u[1].type&&!u.some((e=>e.comments)))return sg(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let i=!1,a=!1,s=!1;const l=u.length-1,c=[];ig(e,((e,r)=>{const o=e.getNode(),u=[n(e)];r===l||(Ym(t.originalText,o,ag)?(0===r&&(s=!0),i=!0,u.push(",",cg,cg)):u.push(",",lg)),a=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||0===Km(e).length)return!1;let r=!1;return Qm(t,(e=>{r=r||Dg(sg([n(e)]))})),r}(o,e),c.push(sg(u))}));const p=o||r.callee&&"Import"===r.callee.type||!og(t,"all")?"":",";function d(){return dg(sg(["(",fg(sg([lg,sg(c)])),p,lg,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&tg(u))return d();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||yg(n))}(u),h=function(e){const t=Hm(e),n=Xm(e);return!Zm(t)&&!eg(t)&&yg(t)&&(!n||n.type!==t.type)}(u);if(f||h){const t=(f?c.slice(1).some(Dg):c.slice(0,-1).some(Dg))||i||a;let o=[];ig(e,((e,t)=>{f&&0===t&&(o=[sg([e.call((e=>n(e,{expandFirstArg:!0}))),c.length>1?",":"",s?cg:lg,s?cg:""])].concat(c.slice(1))),h&&t===u.length-1&&(o=c.slice(0,-1).concat(e.call((e=>n(e,{expandLastArg:!0})))))}));const l=c.some(Dg),p=sg(["(",sg(o),")"]);return sg([l?gg:"",hg([l||r.typeArguments||r.typeParameters?mg(d(),p):p,sg(f?["(",dg(o[0],{shouldBreak:!0}),sg(o.slice(1)),")"]:["(",sg(c.slice(0,-1)),dg(Hm(o),{shouldBreak:!0}),")"]),d()],{shouldBreak:t})])}const m=sg(["(",fg(sg([pg,sg(c)])),mg(p),pg,")"]);return rg(e)?m:dg(m,{shouldBreak:c.some(Dg)||i})};const{builders:{concat:Cg,softline:bg,group:vg,indent:Ag}}=rn,{isNumericLiteral:Fg}=Cl,{printOptionalToken:xg}=Xp;function Sg(e,t,n){const r=e.call(n,"property"),o=e.getValue(),u=xg(e);return o.computed?!o.property||Fg(o.property)?Cg([u,"[",r,"]"]):vg(Cg([u,"[",Ag(Cg([bg,r])),bg,"]"])):Cg([u,".",r])}var wg={printMemberExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode();let u,i=0;do{u=e.getParentNode(i),i++}while(u&&("MemberExpression"===u.type||"OptionalMemberExpression"===u.type||"TSNonNullExpression"===u.type));const a=u&&("NewExpression"===u.type||"BindExpression"===u.type||"VariableDeclarator"===u.type&&"Identifier"!==u.id.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&"MemberExpression"!==o.type&&"OptionalMemberExpression"!==o.type;return Cg([e.call(n,"object"),a?Sg(e,t,n):vg(Ag(Cg([bg,Sg(e,t,n)])))])},printMemberLookup:Sg};const{getLast:Tg,isNextLineEmpty:Bg,isNextLineEmptyAfterIndex:Ng,getNextNonSpaceNonCommentCharacterIndex:kg}=Nt,{hasLeadingComment:Pg,hasTrailingComment:Og,isCallOrOptionalCallExpression:Ig,isFunctionOrArrowExpression:Lg,isLongCurriedCallExpression:Mg,isMemberish:jg,isNumericLiteral:_g,isSimpleCallArgument:Rg}=Cl,{locEnd:Vg}=ei,{builders:{concat:$g,join:qg,hardline:Wg,group:Ug,indent:Jg,conditionalGroup:zg,breakParent:Gg},utils:{willBreak:Hg}}=rn,{printMemberLookup:Xg}=wg,{printOptionalToken:Yg,printFunctionTypeParameters:Kg,printBindExpressionCallee:Qg}=Xp;var Zg=function(e,t,n){const r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,u=[];function i(e){const{originalText:n}=t,r=kg(n,e,Vg);return")"===n.charAt(r)?!1!==r&&Ng(n,r+1):Bg(n,e,Vg)}function a(e){const r=e.getValue();Ig(r)&&(jg(r.callee)||Ig(r.callee))?(u.unshift({node:r,printed:$g([ya.printComments(e,(()=>$g([Yg(e),Kg(e,t,n),Eg(e,t,n)])),t),i(r)?Wg:""])}),e.call((e=>a(e)),"callee")):jg(r)?(u.unshift({node:r,needsParens:Pp(e,t),printed:ya.printComments(e,(()=>"OptionalMemberExpression"===r.type||"MemberExpression"===r.type?Xg(e,t,n):Qg(e,t,n)),t)}),e.call((e=>a(e)),"object")):"TSNonNullExpression"===r.type?(u.unshift({node:r,printed:ya.printComments(e,(()=>"!"),t)}),e.call((e=>a(e)),"expression")):u.unshift({node:r,printed:e.call(n)})}const s=e.getValue();u.unshift({node:s,printed:$g([Yg(e),Kg(e,t,n),Eg(e,t,n)])}),s.callee&&e.call((e=>a(e)),"callee");const l=[];let c=[u[0]],p=1;for(;p<u.length&&("TSNonNullExpression"===u[p].node.type||Ig(u[p].node)||("MemberExpression"===u[p].node.type||"OptionalMemberExpression"===u[p].node.type)&&u[p].node.computed&&_g(u[p].node.property));++p)c.push(u[p]);if(!Ig(u[0].node))for(;p+1<u.length&&(jg(u[p].node)&&jg(u[p+1].node));++p)c.push(u[p]);l.push(c),c=[];let d=!1;for(;p<u.length;++p){if(d&&jg(u[p].node)){if(u[p].node.computed&&_g(u[p].node.property)){c.push(u[p]);continue}l.push(c),c=[],d=!1}(Ig(u[p].node)||"ImportExpression"===u[p].node.type)&&(d=!0),c.push(u[p]),u[p].node.comments&&u[p].node.comments.some((e=>e.trailing))&&(l.push(c),c=[],d=!1)}function f(e){return/^[A-Z]|^[$_]+$/.test(e)}c.length>0&&l.push(c);const h=l.length>=2&&!l[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(f(r.name)||o&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=Tg(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(f(r.property.name)||n)}(l);function m(e){const t=e.map((e=>e.printed));return e.length>0&&e[e.length-1].needsParens?$g(["(",...t,")"]):$g(t)}const g=l.map(m),D=$g(g),y=h?3:2,E=Uu(l),C=E.slice(1,-1).some((e=>Pg(e.node)))||E.slice(0,-1).some((e=>Og(e.node)))||l[y]&&Pg(l[y][0].node);if(l.length<=y&&!C)return Mg(e)?D:Ug(D);const b=Tg(l[h?1:0]).node,v=!Ig(b)&&i(b),A=$g([m(l[0]),h?$g(l.slice(1,2).map(m)):"",v?Wg:"",function(e){return 0===e.length?"":Jg(Ug($g([Wg,qg(Wg,e.map(m))])))}(l.slice(h?2:1))]),F=u.map((({node:e})=>e)).filter(Ig);return C||F.length>2&&F.some((e=>!e.arguments.every((e=>Rg(e,0)))))||g.slice(0,-1).some(Hg)||function(){const e=Tg(Tg(l)).node,t=Tg(g);return Ig(e)&&Hg(t)&&F.slice(0,-1).some((e=>e.arguments.some(Lg)))}()?Ug(A):$g([Hg(D)||v?Gg:"",zg([D,A])])};const{builders:{concat:eD,join:tD,group:nD}}=rn,{getCallArguments:rD,hasFlowAnnotationComment:oD,isCallOrOptionalCallExpression:uD,isMemberish:iD,isTemplateOnItsOwnLine:aD,isTestCall:sD,iterateCallArgumentsPath:lD}=Cl,{printOptionalToken:cD,printFunctionTypeParameters:pD}=Xp;var dD={printCallExpression:function(e,t,n){const r=e.getValue(),o="NewExpression"===r.type,u="ImportExpression"===r.type,i=cD(e),a=rD(r);if(a.length>0&&(!u&&!o&&"Identifier"===r.callee.type&&("require"===r.callee.name||"define"===r.callee.name)||1===a.length&&aD(a[0],t.originalText)||!o&&sD(r,e.getParentNode()))){const r=[];return lD(e,(e=>{r.push(n(e))})),eD([o?"new ":"",e.call(n,"callee"),i,pD(e,t,n),eD(["(",tD(", ",r),")"])])}const s=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&oD(r.callee.trailingComments);if(s&&(r.callee.trailingComments[0].printed=!0),!u&&!o&&iD(r.callee)&&!e.call((e=>Pp(e,t)),"callee"))return Zg(e,t,n);const l=eD([o?"new ":"",u?"import":e.call(n,"callee"),i,s?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",pD(e,t,n),Eg(e,t,n)]);return u||uD(r.callee)?nD(l):l}};const{builders:{concat:fD,join:hD,line:mD,group:gD,indent:DD,ifBreak:yD}}=rn,{hasTrailingComment:ED,hasTrailingLineComment:CD,identity:bD}=Cl,{getTypeParametersGroupId:vD}=Wh,{printTypeScriptModifiers:AD}=Xp;var FD={printInterface:function(e,t,n){const r=e.getValue(),o=[];("DeclareInterface"===r.type||r.declare)&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",AD(e,t,n)),o.push("interface");const u=[],i=[];"InterfaceTypeAnnotation"!==r.type&&u.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=r.typeParameters&&!CD(r.typeParameters);if(r.extends&&0!==r.extends.length&&i.push(a?yD(" ",mD,{groupId:vD(r.typeParameters)}):mD,"extends ",(1===r.extends.length?bD:DD)(hD(fD([",",mD]),e.map(n,"extends")))),r.id&&ED(r.id)||r.extends&&0!==r.extends.length){const e=fD(i);a?o.push(gD(fD(u.concat(yD(DD(e),e))))):o.push(gD(DD(fD(u.concat(e)))))}else o.push(...u,...i);return o.push(" ",e.call(n,"body")),gD(fD(o))}};const{printComments:xD}=ya,{getLast:SD}=Nt,{builders:{concat:wD,join:TD,line:BD,softline:ND,group:kD,indent:PD,align:OD,ifBreak:ID},utils:{normalizeParts:LD}}=rn,{hasLeadingOwnLineComment:MD,hasTrailingLineComment:jD,isBinaryish:_D,isJSXNode:RD,shouldFlatten:VD}=Cl;let $D=0;function qD(e,t,n,r,o){let u=[];const i=e.getValue();if(_D(i)){VD(i.operator,i.left.operator)?u=u.concat(e.call((e=>qD(e,t,n,!0,o)),"left")):u.push(kD(e.call(t,"left")));const a=WD(i),s=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===n.parser)&&!MD(n.originalText,i.right),l="NGPipeExpression"===i.type?"|":i.operator,c="NGPipeExpression"===i.type&&0!==i.arguments.length?kD(PD(wD([ND,": ",TD(wD([ND,":",ID(" ")]),e.map(t,"arguments").map((e=>OD(2,kD(e)))))]))):"",p=wD(a?[l," ",e.call(t,"right"),c]:[s?BD:"",l,s?" ":BD,e.call(t,"right"),c]),d=e.getParentNode(),f=jD(i.left),h=f||!(o&&"LogicalExpression"===i.type)&&d.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;u.push(s?"":" ",h?kD(p,{shouldBreak:f}):p),r&&i.comments&&(u=LD(xD(e,(()=>wD(u)),n).parts))}else u.push(kD(e.call(t)));return u}function WD(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||("ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!RD(e.right)))}var UD={printBinaryishExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),u=e.getParentNode(1),i=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),a=qD(e,n,t,!1,i);if(i)return wD(a);if(("CallExpression"===o.type||"OptionalCallExpression"===o.type)&&o.callee===r||"UnaryExpression"===o.type||("MemberExpression"===o.type||"OptionalMemberExpression"===o.type)&&!o.computed)return kD(wD([PD(wD([ND,wD(a)])),ND]));const s="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===u.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&"CallExpression"!==u.type&&"OptionalCallExpression"!==u.type||"TemplateLiteral"===o.type,l="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"FieldDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ObjectProperty"===o.type||"Property"===o.type,c=_D(r.left)&&VD(r.operator,r.left.operator);if(s||WD(r)&&!c||!WD(r)&&l)return kD(wD(a));if(0===a.length)return"";const p=RD(r.right),d=a.findIndex((e=>"string"!=typeof e&&"group"===e.type)),f=a.slice(0,-1===d?1:d+1),h=wD(a.slice(f.length,p?-1:void 0)),m=Symbol("logicalChain-"+ ++$D),g=kD(wD([...f,PD(h)]),{id:m});if(!p)return g;const D=SD(a);return kD(wD([g,ID(PD(D),D,{groupId:m})]))},shouldInlineLogicalExpression:WD};const{builders:{concat:JD,line:zD,group:GD,indent:HD}}=rn,{hasLeadingOwnLineComment:XD,isBinaryish:YD,isMemberExpressionChain:KD,isStringLiteral:QD}=Cl,{shouldInlineLogicalExpression:ZD}=UD;function ey(e,t,n,r,o,u){if(!r)return t;const i=ty(e,r,o,u);return GD(JD([t,n,i]))}function ty(e,t,n,r){if(XD(r.originalText,t))return HD(JD([zD,n]));return YD(t)&&!ZD(t)||"ConditionalExpression"===t.type&&YD(t.test)&&!ZD(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||QD(e)||"MemberExpression"===e.type)&&(QD(t)||KD(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?GD(HD(JD([zD,n]))):JD([" ",n])}var ny={printVariableDeclarator:function(e,t,n){const r=e.getValue();return ey(r.id,e.call(n,"id")," =",r.init,r.init&&e.call(n,"init"),t)},printAssignmentExpression:function(e,t,n){const r=e.getValue();return ey(r.left,e.call(n,"left"),JD([" ",r.operator]),r.right,e.call(n,"right"),t)},printAssignment:ey,printAssignmentRight:ty};const{isNextLineEmpty:ry}=Nt,{builders:{concat:oy,join:uy,hardline:iy}}=rn,{classChildNeedsASIProtection:ay,classPropMayCauseASIProblems:sy,getLeftSidePathName:ly,hasNakedLeftSide:cy,isJSXNode:py,isLastStatement:dy,isTheOnlyJSXElementInMarkdown:fy}=Cl,{locEnd:hy}=ei,{shouldPrintParamsWithoutParens:my}=Tm;function gy({path:e,index:t,bodyNode:n,isClass:r},o,u){const i=e.getValue();if(!i)return;if("EmptyStatement"===i.type)return;const a=u(e),s=o.originalText,l=[];if(o.semi||r||fy(o,e)||!function(e,t){if("ExpressionStatement"!==e.getNode().type)return!1;return e.call((e=>Dy(e,t)),"expression")}(e,o)?l.push(a):i.comments&&i.comments.some((e=>e.leading))?l.push(u(e,{needsSemi:!0})):l.push(";",a),!o.semi&&r)if(sy(e))l.push(";");else if("ClassProperty"===i.type||"FieldDefinition"===i.type){const e=n.body[t+1];ay(e)&&l.push(";")}return ry(s,i,hy)&&!dy(e)&&l.push(iy),oy(l)}function Dy(e,t){const n=e.getValue();return!!(Pp(e,t)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!my(e,t)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||py(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex)||!!cy(n)&&e.call((e=>Dy(e,t)),...ly(e,n))}var yy={printStatementSequence:function(e,t,n){const r=e.getNode(),o="ClassBody"===r.type,u=e.map(((u,i)=>gy({path:e,index:i,bodyNode:r,isClass:o},t,n))).filter(Boolean);return uy(iy,u)}};const{printDanglingComments:Ey}=ya,{isNextLineEmpty:Cy}=Nt,{builders:{concat:by,hardline:vy,indent:Ay}}=rn,{hasDanglingComments:Fy}=Cl,{locEnd:xy}=ei,{printStatementSequence:Sy}=yy;var wy={printBlock:function(e,t,n){const r=e.getValue(),o=[],u=t.semi?";":"",i=e.call((e=>Sy(e,t,n)),"body");"StaticBlock"===r.type&&o.push("static ");const a=r.body.some((e=>"EmptyStatement"!==e.type)),s=r.directives&&r.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return a||s||Fy(r)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type&&"TSDeclareFunction"!==l.type&&"StaticBlock"!==r.type?(o.push("{"),s&&e.each((e=>{o.push(Ay(by([vy,n(e),u]))),Cy(t.originalText,e.getValue(),xy)&&o.push(vy)}),"directives"),a&&o.push(Ay(by([vy,i]))),o.push(Ey(e,t)),o.push(vy,"}"),by(o)):by([...o,"{}"])}};const{hasNewline:Ty}=Nt,{builders:{concat:By,join:Ny,hardline:ky}}=rn,{isLineComment:Py,isBlockComment:Oy}=Cl,{locStart:Iy,locEnd:Ly}=ei;var My={printComment:function(e,t){const n=e.getValue();if(Py(n))return t.originalText.slice(Iy(n),Ly(n)).trimEnd();if(Oy(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(n)){const e=function(e){const t=e.value.split("\n");return By(["/*",Ny(ky,t.map(((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())))),"*/"])}(n);return n.trailing&&!Ty(t.originalText,Iy(n),{backwards:!0})?By([ky,e]):e}const e=Ly(n),r="*-/"===t.originalText.slice(e-3,e);return"/*"+n.value+(r?"*-/":"*/")}throw new Error("Not a comment: "+JSON.stringify(n))}};const{hasNewline:jy,hasNewlineInRange:_y,getLast:Ry,printString:Vy,printNumber:$y,isNextLineEmpty:qy}=Nt,{builders:{concat:Wy,join:Uy,line:Jy,hardline:zy,softline:Gy,literalline:Hy,group:Xy,indent:Yy,align:Ky,conditionalGroup:Qy,ifBreak:Zy},utils:{isEmpty:eE}}=rn,{insertPragma:tE}=Ep,{printHtmlBinding:nE,isVueEventBindingExpression:rE}=Rp,{getFunctionParameters:oE,getCallArguments:uE,getParentExportDeclaration:iE,getTypeScriptMappedTypeModifier:aE,hasDanglingComments:sE,hasFlowShorthandAnnotationComment:lE,hasLeadingOwnLineComment:cE,hasNewlineBetweenOrAfterDecorators:pE,hasNgSideEffect:dE,hasPrettierIgnore:fE,hasTrailingComment:hE,isExportDeclaration:mE,isFunctionNotation:gE,isGetterOrSetter:DE,isLiteral:yE,isNgForOf:EE,isObjectType:CE,isObjectTypePropertyAFunction:bE,isTheOnlyJSXElementInMarkdown:vE,isTSXFile:AE,isBlockComment:FE,needsHardlineAfterDanglingComment:xE,rawText:SE,shouldPrintComma:wE}=Cl,{locStart:TE,locEnd:BE}=ei,{printOptionalToken:NE,printBindExpressionCallee:kE,printTypeScriptModifiers:PE,printDecorators:OE,printFlowDeclaration:IE,adjustClause:LE}=Xp,{printImportDeclaration:ME,printExportDeclaration:jE,printExportAllDeclaration:_E,printModuleSpecifier:RE}=hd,{printFunctionParameters:VE}=Zd,{printTemplateLiteral:$E}=Dc,{printArray:qE,printArrayItems:WE}=bf,{printObject:UE}=Uf,{printTypeAnnotation:JE,shouldHugType:zE}=of,{printJsxElement:GE,printJsxAttribute:HE,printJsxOpeningElement:XE,printJsxClosingElement:YE,printJsxOpeningClosingFragment:KE,printJsxExpressionContainer:QE,printJsxEmptyExpression:ZE,printJsxSpreadAttribute:eC,printJsxSpreadChild:tC}=xh,{printClass:nC,printClassMethod:rC}=Gm,{printTypeParameters:oC}=Wh,{printPropertyKey:uC}=em,{printFunctionDeclaration:iC,printArrowFunctionExpression:aC,printMethod:sC,printReturnAndThrowArgument:lC}=Tm,{printCallExpression:cC}=dD,{printInterface:pC}=FD,{printVariableDeclarator:dC,printAssignmentExpression:fC,printAssignment:hC,printAssignmentRight:mC}=ny,{printBinaryishExpression:gC}=UD,{printStatementSequence:DC}=yy,{printMemberExpression:yC}=wg,{printBlock:EC}=wy,{printComment:CC}=My;function bC(e,t,n){const r=SE(e),o=n||"DirectiveLiteral"===e.type;return Vy(r,t,o)}function vC(e){const t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}var AC={preprocess:Vp,print:function(e,t,n,r){const o=e.getValue();let u=!1;const i=function(e,t,n,r){const o=e.getValue(),u=t.semi?";":"";if(!o)return"";if("string"==typeof o)return o;const i=nE(e,t,n);if(i)return i;let a=[];switch(o.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return Wy([e.call(n,"node"),zy]);case"File":return o.program&&o.program.interpreter&&a.push(e.call((e=>e.call(n,"interpreter")),"program")),a.push(e.call(n,"program")),Wy(a);case"Program":{const r=!o.body.every((({type:e})=>"EmptyStatement"===e))||o.comments;if(o.directives){const i=o.directives.length;e.each(((e,o)=>{a.push(n(e),u,zy),(o<i-1||r)&&qy(t.originalText,e.getValue(),BE)&&a.push(zy)}),"directives")}return a.push(e.call((e=>DC(e,t,n)),"body")),a.push(ya.printDanglingComments(e,t,!0)),r&&a.push(zy),Wy(a)}case"EmptyStatement":return"";case"ExpressionStatement":if(o.directive)return Wy([bC(o.expression,t,!0),u]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===o)return Wy([e.call(n,"expression"),rE(o.expression)?";":""])}return Wy([e.call(n,"expression"),vE(t,e)?"":u]);case"ParenthesizedExpression":return!o.expression.comments?Wy(["(",e.call(n,"expression"),")"]):Xy(Wy(["(",Yy(Wy([Gy,e.call(n,"expression")])),Gy,")"]));case"AssignmentExpression":return fC(e,t,n);case"VariableDeclarator":return dC(e,t,n);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":return gC(e,t,n);case"AssignmentPattern":return Wy([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===o.expression.type||"ObjectExpression"===o.expression.type),r=Xy(Wy(["<",Yy(Wy([Gy,e.call(n,"typeAnnotation")])),Gy,">"])),u=Wy([Zy("("),Yy(Wy([Gy,e.call(n,"expression")])),Gy,Zy(")")]);return t?Qy([Wy([r,e.call(n,"expression")]),Wy([r,Xy(u,{shouldBreak:!0})]),Wy([r,e.call(n,"expression")])]):Xy(Wy([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":return yC(e,t,n);case"MetaProperty":return Wy([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return o.object&&a.push(e.call(n,"object")),a.push(Xy(Yy(Wy([Gy,kE(e,t,n)])))),Wy(a);case"Identifier":return Wy([o.name,NE(e),JE(e,t,n)]);case"V8IntrinsicIdentifier":return Wy(["%",o.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Wy(["...",e.call(n,"argument"),JE(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return a.push(iC(e,n,t,r&&r.expandLastArg&&uE(e.getParentNode()).length>1)),o.body||a.push(u),Wy(a);case"ArrowFunctionExpression":return aC(e,t,n,r);case"YieldExpression":return a.push("yield"),o.delegate&&a.push("*"),o.argument&&a.push(" ",e.call(n,"argument")),Wy(a);case"AwaitExpression":{a.push("await"),o.argument&&a.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===o||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===o?Xy(Wy([Yy(Wy([Gy,Wy(a)])),Gy])):Wy(a)}case"TSExportAssignment":return Wy(["export = ",e.call(n,"expression"),u]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"DeclareExportDeclaration":return jE(e,t,n);case"ExportAllDeclaration":case"DeclareExportAllDeclaration":return _E(e,t,n);case"ImportDeclaration":return ME(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return RE(e,t,n);case"ImportAttribute":return Wy([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":case"StaticBlock":return EC(e,t,n);case"ThrowStatement":case"ReturnStatement":return Wy(["ReturnStatement"===o.type?"return":"throw",lC(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return cC(e,t,n);case"ObjectTypeInternalSlot":return Wy([o.static?"static ":"","[[",e.call(n,"id"),"]]",NE(e),o.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":return UE(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?sC(e,t,n):(o.shorthand?a.push(e.call(n,"value")):a.push(hC(o.key,uC(e,t,n),":",o.value,e.call(n,"value"),t)),Wy(a));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return rC(e,t,n);case"ObjectMethod":return sC(e,t,n);case"Decorator":return Wy(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return qE(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each((e=>{0===e.getName()?t.push(n(e)):t.push(",",Yy(Wy([Jy,n(e)])))}),"expressions"),Xy(Wy(t))}return Xy(Wy([Uy(Wy([",",Jy]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return vC(o);case"NumericLiteral":return $y(o.extra.raw);case"DecimalLiteral":return $y(o.value)+"m";case"BigIntLiteral":return(o.bigint||o.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return o.regex?vC(o.regex):o.bigint?o.raw.toLowerCase():"number"==typeof o.value?$y(o.raw):"string"!=typeof o.value?""+o.value:bC(o,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return bC(o,t);case"UnaryExpression":return a.push(o.operator),/[a-z]$/.test(o.operator)&&a.push(" "),o.argument.comments&&o.argument.comments.length>0?a.push(Xy(Wy(["(",Yy(Wy([Gy,e.call(n,"argument")])),Gy,")"]))):a.push(e.call(n,"argument")),Wy(a);case"UpdateExpression":return a.push(e.call(n,"argument"),o.operator),o.prefix&&a.reverse(),Wy(a);case"ConditionalExpression":return Bd(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?Gy:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map((e=>n(e)),"declarations"),r=e.getParentNode(),i="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,s=o.declarations.some((e=>e.init));let l;return 1!==t.length||o.declarations[0].comments?t.length>0&&(l=Yy(t[0])):l=t[0],a=[o.declare?"declare ":"",o.kind,l?Wy([" ",l]):"",Yy(Wy(t.slice(1).map((e=>Wy([",",s&&!i?zy:Jy,e])))))],i&&r.body!==o||a.push(u),Xy(Wy(a))}case"TSTypeAliasDeclaration":{o.declare&&a.push("declare ");const r=mC(o.id,o.typeAnnotation,o.typeAnnotation&&e.call(n,"typeAnnotation"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,u),Xy(Wy(a))}case"WithStatement":return Xy(Wy(["with (",e.call(n,"object"),")",LE(o.body,e.call(n,"body"))]));case"IfStatement":{const r=LE(o.consequent,e.call(n,"consequent")),u=Xy(Wy(["if (",Xy(Wy([Yy(Wy([Gy,e.call(n,"test")])),Gy])),")",r]));if(a.push(u),o.alternate){const r=hE(o.consequent)&&o.consequent.comments.some((e=>e.trailing&&!FE(e)))||xE(o),u="BlockStatement"===o.consequent.type&&!r;a.push(u?" ":zy),sE(o)&&a.push(ya.printDanglingComments(e,t,!0),r?zy:" "),a.push("else",Xy(LE(o.alternate,e.call(n,"alternate"),"IfStatement"===o.alternate.type)))}return Wy(a)}case"ForStatement":{const r=LE(o.body,e.call(n,"body")),u=ya.printDanglingComments(e,t,!0),i=u?Wy([u,Gy]):"";return o.init||o.test||o.update?Wy([i,Xy(Wy(["for (",Xy(Wy([Yy(Wy([Gy,e.call(n,"init"),";",Jy,e.call(n,"test"),";",Jy,e.call(n,"update")])),Gy])),")",r]))]):Wy([i,Xy(Wy(["for (;;)",r]))])}case"WhileStatement":return Xy(Wy(["while (",Xy(Wy([Yy(Wy([Gy,e.call(n,"test")])),Gy])),")",LE(o.body,e.call(n,"body"))]));case"ForInStatement":return Xy(Wy(["for (",e.call(n,"left")," in ",e.call(n,"right"),")",LE(o.body,e.call(n,"body"))]));case"ForOfStatement":return Xy(Wy(["for",o.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",LE(o.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=LE(o.body,e.call(n,"body")),r=Xy(Wy(["do",t]));return a=[r],"BlockStatement"===o.body.type?a.push(" "):a.push(zy),a.push("while ("),a.push(Xy(Wy([Yy(Wy([Gy,e.call(n,"test")])),Gy])),")",u),Wy(a)}case"DoExpression":return Wy(["do ",e.call(n,"body")]);case"BreakStatement":return a.push("break"),o.label&&a.push(" ",e.call(n,"label")),a.push(u),Wy(a);case"ContinueStatement":return a.push("continue"),o.label&&a.push(" ",e.call(n,"label")),a.push(u),Wy(a);case"LabeledStatement":return"EmptyStatement"===o.body.type?Wy([e.call(n,"label"),":;"]):Wy([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return Wy(["try ",e.call(n,"block"),o.handler?Wy([" ",e.call(n,"handler")]):"",o.finalizer?Wy([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(o.param){const r=o.param.comments&&o.param.comments.some((e=>!FE(e)||e.leading&&jy(t.originalText,BE(e))||e.trailing&&jy(t.originalText,TE(e),{backwards:!0}))),u=e.call(n,"param");return Wy(["catch ",Wy(r?["(",Yy(Wy([Gy,u])),Gy,") "]:["(",u,") "]),e.call(n,"body")])}return Wy(["catch ",e.call(n,"body")]);case"SwitchStatement":return Wy([Xy(Wy(["switch (",Yy(Wy([Gy,e.call(n,"discriminant")])),Gy,")"]))," {",o.cases.length>0?Yy(Wy([zy,Uy(zy,e.map((e=>{const r=e.getValue();return Wy([e.call(n),o.cases.indexOf(r)!==o.cases.length-1&&qy(t.originalText,r,BE)?zy:""])}),"cases"))])):"",zy,"}"]);case"SwitchCase":{o.test?a.push("case ",e.call(n,"test"),":"):a.push("default:");const r=o.consequent.filter((e=>"EmptyStatement"!==e.type));if(r.length>0){const o=e.call((e=>DC(e,t,n)),"consequent");a.push(1===r.length&&"BlockStatement"===r[0].type?Wy([" ",o]):Yy(Wy([zy,o])))}return Wy(a)}case"DebuggerStatement":return Wy(["debugger",u]);case"JSXAttribute":return HE(e,t,n);case"JSXIdentifier":return""+o.name;case"JSXNamespacedName":return Uy(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return Uy(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return Uy(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":return eC(e,t,n);case"JSXSpreadChild":return tC(e,t,n);case"JSXExpressionContainer":return QE(e,t,n);case"JSXFragment":case"JSXElement":return GE(e,t,n);case"JSXOpeningElement":return XE(e,t,n);case"JSXClosingElement":return YE(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return KE(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":return ZE(e,t);case"ClassBody":return o.comments||0!==o.body.length?Wy(["{",o.body.length>0?Yy(Wy([zy,e.call((e=>DC(e,t,n)),"body")])):ya.printDanglingComments(e,t),zy,"}"]):"{}";case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":case"ClassPrivateProperty":return o.decorators&&0!==o.decorators.length&&a.push(OE(e,t,n)),o.accessibility&&a.push(o.accessibility+" "),o.declare&&a.push("declare "),o.static&&a.push("static "),("TSAbstractClassProperty"===o.type||o.abstract)&&a.push("abstract "),o.readonly&&a.push("readonly "),o.variance&&a.push(e.call(n,"variance")),a.push(uC(e,t,n),NE(e),JE(e,t,n)),o.value&&a.push(" =",mC(o.key,o.value,e.call(n,"value"),t)),a.push(u),Xy(Wy(a));case"ClassDeclaration":case"ClassExpression":return o.declare&&a.push("declare "),a.push(nC(e,t,n)),Wy(a);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return a.push(e.call(n,"expression")),o.typeParameters&&a.push(e.call(n,"typeParameters")),Wy(a);case"TemplateElement":return Uy(Hy,o.value.raw.split(/\r?\n/g));case"TSTemplateLiteralType":case"TemplateLiteral":return $E(e,n,t);case"TaggedTemplateExpression":return Wy([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(o.type));case"TypeAnnotation":case"TSTypeAnnotation":return o.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSNamedTupleMember":return Wy([e.call(n,"label"),o.optional?"?":"",": ",e.call(n,"elementType")]);case"TSTupleType":case"TupleTypeAnnotation":{const r="TSTupleType"===o.type?"elementTypes":"types",u=o[r].length>0&&"TSRestType"===Ry(o[r]).type;return Xy(Wy(["[",Yy(Wy([Gy,WE(e,t,r,n)])),Zy(wE(t,"all")&&!u?",":""),ya.printDanglingComments(e,t,!0),Gy,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Wy([e.call(n,"elementType"),"[]"]);case"BooleanLiteralTypeAnnotation":return""+o.value;case"DeclareClass":return IE(e,nC(e,t,n));case"TSDeclareFunction":return Wy([o.declare?"declare ":"",iC(e,n,t),u]);case"DeclareFunction":return IE(e,Wy(["function ",e.call(n,"id"),o.predicate?" ":"",e.call(n,"predicate"),u]));case"DeclareModule":return IE(e,Wy(["module ",e.call(n,"id")," ",e.call(n,"body")]));case"DeclareModuleExports":return IE(e,Wy(["module.exports",": ",e.call(n,"typeAnnotation"),u]));case"DeclareVariable":return IE(e,Wy(["var ",e.call(n,"id"),u]));case"DeclareOpaqueType":case"OpaqueType":return a.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),o.supertype&&a.push(": ",e.call(n,"supertype")),o.impltype&&a.push(" = ",e.call(n,"impltype")),a.push(u),"DeclareOpaqueType"===o.type?IE(e,Wy(a)):Wy(a);case"EnumDeclaration":return Wy(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===o.type||o.explicitType){let e=null;switch(o.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}a.push("of ",e," ")}if(0!==o.members.length||o.hasUnknownMembers){const r=o.members.length?[zy,WE(e,t,"members",n),o.hasUnknownMembers||wE(t)?",":""]:[];a.push(Xy(Wy(["{",Yy(Wy([...r,...o.hasUnknownMembers?[zy,"..."]:[]])),ya.printDanglingComments(e,t,!0),zy,"}"])))}else a.push(Xy(Wy(["{",ya.printDanglingComments(e,t),Gy,"}"])));return Wy(a);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Wy([e.call(n,"id")," = ","object"==typeof o.init?e.call(n,"init"):String(o.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),u=e.getParentNode(1),i=e.getParentNode(2);let s="TSFunctionType"===o.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!r.variance&&!r.optional&&TE(r)===TE(o)||"ObjectTypeCallProperty"===r.type||i&&"DeclareFunction"===i.type),l=s&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&s&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===u.type;return bE(r)&&(s=!0,l=!0),c&&a.push("("),a.push(VE(e,n,t,!1,!0)),(o.returnType||o.predicate||o.typeAnnotation)&&a.push(s?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&a.push(")"),Xy(Wy(a))}case"TSRestType":return Wy(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return Wy([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":{const t=o.name?e.call(n,"name"):e.getParentNode().this===o?"this":"";return Wy([t,NE(e),t?": ":"",e.call(n,"typeAnnotation")])}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":return pC(e,t,n);case"ClassImplements":case"InterfaceExtends":return Wy([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return Wy([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let u=!1;for(let e=0;e<t.length;++e)0===e?r.push(t[e]):CE(o.types[e-1])&&CE(o.types[e])?r.push(Wy([" & ",u?Yy(t[e]):t[e]])):CE(o.types[e-1])||CE(o.types[e])?(e>1&&(u=!0),r.push(" & ",e>1?Yy(t[e]):t[e])):r.push(Yy(Wy([" &",Jy,t[e]])));return Xy(Wy(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),u=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name&&e.getParentNode(1).this!==r||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&cE(t.originalText,o)),i=zE(o),a=e.map((e=>{let r=e.call(n);return i||(r=Ky(2,r)),ya.printComments(e,(()=>r),t)}),"types");if(i)return Uy(" | ",a);const s=u&&!cE(t.originalText,o),l=Wy([Zy(Wy([s?Jy:"","| "])),Uy(Wy([Jy,"| "]),a)]);return Pp(e,t)?Xy(Wy([Yy(l),Gy])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?Xy(Wy([Yy(Wy([Zy(Wy(["(",Gy])),l])),Gy,Zy(")")])):Xy(u?Yy(l):l)}case"NullableTypeAnnotation":return Wy(["?",e.call(n,"typeAnnotation")]);case"Variance":{const{kind:e}=o;return Xi.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return o.static&&a.push("static "),a.push(e.call(n,"value")),Wy(a);case"ObjectTypeIndexer":return Wy([o.variance?e.call(n,"variance"):"","[",e.call(n,"id"),o.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":{let r="";return o.proto?r="proto ":o.static&&(r="static "),Wy([r,DE(o)?o.kind+" ":"",o.variance?e.call(n,"variance"):"",uC(e,t,n),NE(e),gE(o)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return Wy([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return bC(o,t);case"NumberLiteralTypeAnnotation":Xi.strictEqual(typeof o.value,"number");case"BigIntLiteralTypeAnnotation":return null!=o.extra?$y(o.extra.raw):$y(o.raw);case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===o.type||o.declare)&&a.push("declare ");const r=mC(o.id,o.right,e.call(n,"right"),t);return a.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,u),Xy(Wy(a))}case"TypeCastExpression":return Wy(["(",e.call(n,"expression"),JE(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=oC(e,t,n,"params");if("flow"===t.parser){const e=TE(o),n=BE(o),u=t.originalText.lastIndexOf("/*",e),i=t.originalText.indexOf("*/",n);if(-1!==u&&-1!==i){const e=t.originalText.slice(u+2,i).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return Wy(["/*:: ",r," */"])}}return r}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return oC(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return a.push("[",e.call(n,"name")),o.constraint&&a.push(" in ",e.call(n,"constraint")),r.nameType&&a.push(" as ",e.callParent((e=>e.call(n,"nameType")))),a.push("]"),Wy(a);o.variance&&a.push(e.call(n,"variance")),a.push(e.call(n,"name")),o.bound&&(a.push(": "),a.push(e.call(n,"bound"))),o.constraint&&a.push(" extends ",e.call(n,"constraint")),o.default&&a.push(" = ",e.call(n,"default"));const u=e.getNode(2);return 1===oE(r).length&&AE(t)&&!o.constraint&&"ArrowFunctionExpression"===u.type&&a.push(","),Wy(a)}case"TypeofTypeAnnotation":return Wy(["typeof ",e.call(n,"argument")]);case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Wy(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"TSNeverKeyword":return"never";case"NumberTypeAnnotation":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"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"TSAsExpression":return Wy([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return Wy([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return o.export&&a.push("export "),o.accessibility&&a.push(o.accessibility+" "),o.static&&a.push("static "),o.readonly&&a.push("readonly "),a.push(uC(e,t,n),NE(e)),o.typeAnnotation&&(a.push(": "),a.push(e.call(n,"typeAnnotation"))),o.initializer&&a.push(" = ",e.call(n,"initializer")),Wy(a);case"TSParameterProperty":return o.accessibility&&a.push(o.accessibility+" "),o.export&&a.push("export "),o.static&&a.push("static "),o.readonly&&a.push("readonly "),a.push(e.call(n,"parameter")),Wy(a);case"GenericTypeAnnotation":case"TSTypeReference":return Wy([e.call(n,"TSTypeReference"===o.type?"typeName":"id"),oC(e,t,n,"typeParameters")]);case"TSTypeQuery":return Wy(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),i=o.parameters.length>1?Zy(wE(t)?",":""):"",a=Xy(Wy([Yy(Wy([Gy,Uy(Wy([", ",Gy]),e.map(n,"parameters"))])),i,Gy]));return Wy([o.export?"export ":"",o.accessibility?Wy([o.accessibility," "]):"",o.static?"static ":"",o.readonly?"readonly ":"",o.declare?"declare ":"","[",o.parameters?a:"",o.typeAnnotation?"]: ":"]",o.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?u:""])}case"TSTypePredicate":return Wy([o.asserts?"asserts ":"",e.call(n,"parameterName"),o.typeAnnotation?Wy([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return Wy([e.call(n,"expression"),"!"]);case"ThisTypeAnnotation":case"TSThisType":return"this";case"TSImportType":return Wy([o.isTypeOf?"typeof ":"","import(",e.call(n,o.parameter?"parameter":"argument"),")",o.qualifier?Wy([".",e.call(n,"qualifier")]):"",oC(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return Wy([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==o.type&&a.push("new "),a.push(Xy(VE(e,n,t,!1,!0))),o.returnType||o.typeAnnotation){const t="TSConstructorType"===o.type;a.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return Wy(a);case"TSTypeOperator":return Wy([o.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=_y(t.originalText,TE(o),BE(o));return Xy(Wy(["{",Yy(Wy([t.bracketSpacing?Jy:Gy,o.readonly?Wy([aE(o.readonly,"readonly")," "]):"",PE(e,t,n),e.call(n,"typeParameter"),o.optional?aE(o.optional,"?"):"",o.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),Zy(u,"")])),ya.printDanglingComments(e,t,!0),t.bracketSpacing?Jy:Gy,"}"]),{shouldBreak:r})}case"TSMethodSignature":return a.push(o.accessibility?Wy([o.accessibility," "]):"",o.export?"export ":"",o.static?"static ":"",o.readonly?"readonly ":"",o.computed?"[":"",e.call(n,"key"),o.computed?"]":"",NE(e),VE(e,n,t,!1,!0)),(o.returnType||o.typeAnnotation)&&a.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),Xy(Wy(a));case"TSNamespaceExportDeclaration":return a.push("export as namespace ",e.call(n,"id")),t.semi&&a.push(";"),Xy(Wy(a));case"TSEnumDeclaration":return o.declare&&a.push("declare "),o.modifiers&&a.push(PE(e,t,n)),o.const&&a.push("const "),a.push("enum ",e.call(n,"id")," "),0===o.members.length?a.push(Xy(Wy(["{",ya.printDanglingComments(e,t),Gy,"}"]))):a.push(Xy(Wy(["{",Yy(Wy([zy,WE(e,t,"members",n),wE(t,"es5")?",":""])),ya.printDanglingComments(e,t,!0),zy,"}"]))),Wy(a);case"TSEnumMember":return a.push(e.call(n,"id")),o.initializer&&a.push(" = ",e.call(n,"initializer")),Wy(a);case"TSImportEqualsDeclaration":return o.isExport&&a.push("export "),a.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&a.push(";"),Xy(Wy(a));case"TSExternalModuleReference":return Wy(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),i=yE(o.id),s="TSModuleDeclaration"===r.type,l=o.body&&"TSModuleDeclaration"===o.body.type;if(s)a.push(".");else{o.declare&&a.push("declare "),a.push(PE(e,t,n));const r=t.originalText.slice(TE(o),TE(o.id));"Identifier"===o.id.type&&"global"===o.id.name&&!/namespace|module/.test(r)||a.push(i||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return a.push(e.call(n,"id")),l?a.push(e.call(n,"body")):o.body?a.push(" ",Xy(e.call(n,"body"))):a.push(u),Wy(a)}case"PrivateName":return Wy(["#",e.call(n,o.id?"id":"name")]);case"TSPrivateIdentifier":return o.escapedText;case"TSConditionalType":return Bd(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return Wy(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return a.push("#!",o.value,zy),qy(t.originalText,o,BE)&&a.push(zy),Wy(a);case"NGRoot":return Wy([].concat(e.call(n,"node"),o.node.comments&&0!==o.node.comments.length?Wy([" //",o.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return Xy(Uy(Wy([";",Jy]),e.map((e=>dE(e)?n(e):Wy(["(",n(e),")"])),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Wy([o.prefix,": ",o.value.trim()]);case"NGMicrosyntax":return Wy(e.map(((e,t)=>Wy([0===t?"":EE(e.getValue(),t,o)?" ":Wy([";",Jy]),n(e)])),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(o.name)?o.name:JSON.stringify(o.name);case"NGMicrosyntaxExpression":return Wy([e.call(n,"expression"),null===o.alias?"":Wy([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),u=EE(o,t,r)||(1===t&&("then"===o.key.name||"else"===o.key.name)||2===t&&"else"===o.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return Wy([e.call(n,"key"),u?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return Wy(["let ",e.call(n,"key"),null===o.value?"":Wy([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return Wy([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return a.push("#"),Wy(a);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Wy(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return Wy(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return Wy(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(o.type))}}(e,t,n,r);if(!o||eE(i))return i;const a=iE(e),s=[];if("ClassMethod"===o.type||"ClassPrivateMethod"===o.type||"ClassProperty"===o.type||"FieldDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"MethodDefinition"===o.type||"TSAbstractMethodDefinition"===o.type||"TSDeclareMethod"===o.type);else if(o.decorators&&o.decorators.length>0&&!(a&&TE(a,{ignoreDecorators:!0})>TE(o.decorators[0]))){const r="ClassExpression"===o.type||"ClassDeclaration"===o.type||pE(o,t)?zy:Jy;e.each((e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,s.push(n(e),r)}),"decorators"),a&&s.unshift(zy)}else mE(o)&&o.declaration&&o.declaration.decorators&&o.declaration.decorators.length>0&&TE(o,{ignoreDecorators:!0})>TE(o.declaration.decorators[0])?e.each((e=>{const t="Decorator"===e.getValue().type?"":"@";s.push(t,n(e),zy)}),"declaration","decorators"):u=Pp(e,t);const l=[];if(u&&l.unshift("("),l.push(i),u){const t=e.getValue();lE(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return s.length>0?Xy(Wy(s.concat(l))):Wy(l)},embed:op,insertPragma:tE,massageAstNode:sp,hasPrettierIgnore:fE,willPrintOwnComments:Zl.willPrintOwnComments,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:CC,isBlockComment:FE,handleComments:{ownLine:Zl.handleOwnLineComment,endOfLine:Zl.handleEndOfLineComment,remaining:Zl.handleRemainingComment},getGapRegex:Zl.getGapRegex,getCommentChildNodes:Zl.getCommentChildNodes};const{builders:{concat:FC,hardline:xC,indent:SC,join:wC}}=rn;const TC=new Set(["start","end","extra","loc","comments","errors","range"]);function BC(e,t){const{type:n}=e;return"Identifier"===n?{type:"StringLiteral",value:e.name}:"UnaryExpression"===n&&"+"===e.operator?t.argument:void 0}BC.ignoredProperties=TC;var NC={preprocess:Vp,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return FC([e.call(n,"node"),xC]);case"ArrayExpression":return 0===r.elements.length?"[]":FC(["[",SC(FC([xC,wC(FC([",",xC]),e.map(n,"elements"))])),xC,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":FC(["{",SC(FC([xC,wC(FC([",",xC]),e.map(n,"properties"))])),xC,"}"]);case"ObjectProperty":return FC([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return FC(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:BC};var kC={bracketSpacing:{since:"0.0.0",category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:"Common",type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};var PC={arrowParens:{since:"1.9.0",category:"JavaScript",type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:kC.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:kC.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)."}]}},OC={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},IC={name:"JSX",type:"programming",group:"JavaScript",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},LC={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},MC={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},jC={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],languageId:174},_C={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".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"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},RC={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175};var VC={languages:[xs(OC,(e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions,".wxs"]}))),xs(OC,(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),xs(IC,(()=>({since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"]}))),xs(LC,(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),xs(MC,(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),xs(jC,(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}))),xs(jC,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:[...e.filenames,".prettierrc"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),xs(_C,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]}))),xs(RC,(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],options:PC,printers:{estree:AC,"estree-json":NC},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}};const{isFrontMatterNode:$C}=Nt,qC=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function WC(e,t,n){if($C(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||$C(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&se(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}WC.ignoredProperties=qC;var UC=WC;const{builders:{hardline:JC,concat:zC,markAsRoot:GC}}=rn,HC={"---":"yaml","+++":"toml"};var XC={parse:function(e){const t=Object.keys(HC).map(ae).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,o,u,i]=n;let a=HC[o];return"toml"!==a&&u&&u.trim()&&(a=u.trim()),{frontMatter:{type:"front-matter",lang:a,value:i,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return GC(zC(["---",JC,r,r?JC:"","---"]))}}};const{builders:{hardline:YC,concat:KC}}=rn,{print:QC}=XC;var ZC=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=QC(r,n);return e?KC([e,YC]):""}};const{parse:eb}=XC;var tb={hasPragma:function(e){return Ep.hasPragma(eb(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=eb(e);return(t?t.raw+"\n\n":"")+Ep.insertPragma(n)}};const nb=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function rb(e,t){const n=[].concat(t);let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function ob(e,t){const n=rb(e,t);return-1===n?null:e.getParentNode(n)}function ub(e){return"value-operator"===e.type&&"*"===e.value}function ib(e){return"value-operator"===e.type&&"/"===e.value}function ab(e){return"value-operator"===e.type&&"+"===e.value}function sb(e){return"value-operator"===e.type&&"-"===e.value}function lb(e){return"value-operator"===e.type&&"%"===e.value}function cb(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function pb(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&cb(e.groups[0])}var db={getAncestorCounter:rb,getAncestorNode:ob,getPropOfDeclNode:function(e){const t=ob(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t<e.length;t++)if("string"===e[t].type||"func"===e[t].type)return!0;return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){const n=ob(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=ob(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){const n=[].concat(t),r=ob(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=ob(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=ob(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},isSCSSVariable:function(e){return!(!e||"word"!==e.type||!e.value.startsWith("$"))},isLastNode:function(e,t){const n=e.getParentNode();if(!n)return!1;const{nodes:r}=n;return r&&r.indexOf(t)===r.length-1},isLessParser:function(e){return"css"===e.parser||"less"===e.parser},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:ub,isDivisionNode:ib,isAdditionNode:ab,isSubtractionNode:sb,isModuloNode:lb,isMathOperatorNode:function(e){return ub(e)||ib(e)||ab(e)||sb(e)||lb(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:cb,isKeyValuePairInParenGroupNode:pb,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(pb(t)||n&&pb(n)))return!1;const r=ob(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||(!!pb(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&nb.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups){return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce(((n,r,o)=>n+e(r)+("comma_group"===t.groups[0].type&&o!==t.groups.length-1?",":"")),"")+(t.close&&t.close.value?t.close.value:"")}const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},fb=function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf("\n",n)+1;return n+e.column};const{getLast:hb,skipEverythingButNewLine:mb}=Nt;function gb(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?fb(e.source.start,t)-1:null}function Db(e,t){if("css-comment"===e.type&&e.inline)return mb(t,e.source.startOffset);const n=e.nodes&&hb(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?fb(e.source.end,t):null}function yb(e,t,n){e.source&&(e.source.startOffset=gb(e,n)+t,e.source.endOffset=Db(e,n)+t);for(const r in e){const o=e[r];"source"!==r&&o&&"object"==typeof o&&yb(o,t,n)}}function Eb(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}var Cb={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=gb(t,n),t.source.endOffset=Db(t,n));for(const r in t){const o=t[r];"source"!==r&&o&&"object"==typeof o&&("value-root"===o.type||"value-unknown"===o.type?yb(o,Eb(t),o.text||o.value):e(o,n))}},replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",o=!1;const u=[];for(let i=0;i<e.length;i++){const a=e[i];switch(n){case"initial":if("'"===a){n="single-quotes";continue}if('"'===a){n="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(i,i+4).toLowerCase()){n="url",i+=3;continue}if("*"===a&&"/"===e[i-1]){n="comment-block";continue}if("/"===a&&"/"===e[i-1]){n="comment-inline",t=i-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[i-1]&&(n=r,r="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[i-1]&&(n=r,r="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(n="initial"),"\n"===a||"\r"===a)return e;if("'"===a){n="single-quotes",r="url";continue}if('"'===a){n="double-quotes",r="url";continue}continue;case"comment-block":"/"===a&&"*"===e[i-1]&&(n="initial");continue;case"comment-inline":'"'!==a&&"'"!==a&&"*"!==a||(o=!0),"\n"!==a&&"\r"!==a||(o&&u.push([t,i]),n="initial",o=!1);continue}}for(const[t,n]of u)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g," ")+e.slice(n);return e}};const{printNumber:bb,printString:vb,hasNewline:Ab,isFrontMatterNode:Fb,isNextLineEmpty:xb}=Nt,{builders:{concat:Sb,join:wb,line:Tb,hardline:Bb,softline:Nb,group:kb,fill:Pb,indent:Ob,dedent:Ib,ifBreak:Lb,breakParent:Mb},utils:{removeLines:jb}}=rn,{insertPragma:_b}=tb,{getAncestorNode:Rb,getPropOfDeclNode:Vb,maybeToLowerCase:$b,insideValueFunctionNode:qb,insideICSSRuleNode:Wb,insideAtRuleNode:Ub,insideURLFunctionInImportAtRuleNode:Jb,isKeyframeAtRuleKeywords:zb,isWideKeywords:Gb,isSCSS:Hb,isLastNode:Xb,isLessParser:Yb,isSCSSControlDirectiveNode:Kb,isDetachedRulesetDeclarationNode:Qb,isRelationalOperatorNode:Zb,isEqualityOperatorNode:ev,isMultiplicationNode:tv,isDivisionNode:nv,isAdditionNode:rv,isSubtractionNode:ov,isMathOperatorNode:uv,isEachKeywordNode:iv,isForKeywordNode:av,isURLFunctionNode:sv,isIfElseKeywordNode:lv,hasComposesNode:cv,hasParensAroundNode:pv,hasEmptyRawBefore:dv,isKeyValuePairNode:fv,isDetachedRulesetCallNode:hv,isTemplatePlaceholderNode:mv,isTemplatePropNode:gv,isPostcssSimpleVarNode:Dv,isSCSSMapItemNode:yv,isInlineValueCommentNode:Ev,isHashNode:Cv,isLeftCurlyBraceNode:bv,isRightCurlyBraceNode:vv,isWordNode:Av,isColonNode:Fv,isMediaAndSupportsKeywords:xv,isColorAdjusterFuncNode:Sv,lastLineHasInlineComment:wv,isAtWordPlaceholderNode:Tv}=db,{locStart:Bv,locEnd:Nv}=Cb;function kv(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Pv(e,t,n){const r=e.getValue(),o=[];return e.each(((e,u)=>{const i=r.nodes[u-1];if(i&&"css-comment"===i.type&&"prettier-ignore"===i.text.trim()){const n=e.getValue();o.push(t.originalText.slice(Bv(n),Nv(n)))}else o.push(e.call(n));u!==r.nodes.length-1&&("css-comment"===r.nodes[u+1].type&&!Ab(t.originalText,Bv(r.nodes[u+1]),{backwards:!0})&&!Fb(r.nodes[u])||"css-atrule"===r.nodes[u+1].type&&"else"===r.nodes[u+1].name&&"css-comment"!==r.nodes[u].type?o.push(" "):(o.push(t.__isHTMLStyleAttribute?Tb:Bb),xb(t.originalText,e.getValue(),Nv)&&!Fb(r.nodes[u])&&o.push(Bb)))}),"nodes"),Sb(o)}const Ov=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,Iv=new RegExp(Ov.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function Lv(e,t){return e.replace(Ov,(e=>vb(e,t)))}function Mv(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function jv(e){return e.replace(Iv,((e,t,n,r,o)=>!n&&r?_v(r)+$b(o||""):e))}function _v(e){return bb(e).replace(/\.0(?=$|e)/,"")}var Rv={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return Sb([r.raw,Bb]);case"css-root":{const o=Pv(e,t,n),u=r.raws.after.trim();return Sb([o,u?" ".concat(u):"",o.parts.length?Bb:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(Bv(r),Nv(r));return e?n.trimEnd():n}case"css-rule":return Sb([e.call(n,"selector"),r.important?" !important":"",r.nodes?Sb([r.selector&&"selector-unknown"===r.selector.type&&wv(r.selector.value)?Tb:" ","{",r.nodes.length>0?Ob(Sb([Bb,Pv(e,t,n)])):"",Bb,"}",Qb(r)?";":""]):";"]);case"css-decl":{const o=e.getParentNode(),{between:u}=r.raws,i=u.trim(),a=":"===i;let s=cv(r)?jb(e.call(n,"value")):e.call(n,"value");return!a&&wv(i)&&(s=Ob(Sb([Bb,Ib(s)]))),Sb([r.raws.before.replace(/[\s;]/g,""),Wb(e)?r.prop:$b(r.prop),i.startsWith("//")?" ":"",i,r.extend?"":" ",Yb(t)&&r.extend&&r.selector?Sb(["extend(",e.call(n,"selector"),")"]):"",s,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?Sb([" {",Ob(Sb([Nb,Pv(e,t,n)])),Nb,"}"]):gv(r)&&!o.raws.semicolon&&";"!==t.originalText[Nv(r)-1]?"":t.__isHTMLStyleAttribute&&Xb(e,r)?Lb(";",""):";"])}case"css-atrule":{const o=e.getParentNode(),u=mv(r)&&!o.raws.semicolon&&";"!==t.originalText[Nv(r)-1];if(Yb(t)){if(r.mixin)return Sb([e.call(n,"selector"),r.important?" !important":"",u?"":";"]);if(r.function)return Sb([r.name,Sb([e.call(n,"params")]),u?"":";"]);if(r.variable)return Sb(["@",r.name,": ",r.value?Sb([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?Sb(["{",Ob(Sb([r.nodes.length>0?Nb:"",Pv(e,t,n)])),Nb,"}"]):"",u?"":";"])}return Sb(["@",hv(r)||r.name.endsWith(":")?r.name:$b(r.name),r.params?Sb([hv(r)?"":mv(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?Sb([Bb,Bb]):/^\s*\n/.test(r.raws.afterName)?Bb:" ":" ",e.call(n,"params")]):"",r.selector?Ob(Sb([" ",e.call(n,"selector")])):"",r.value?kb(Sb([" ",e.call(n,"value"),Kb(r)?pv(r)?" ":Tb:""])):"else"===r.name?" ":"",r.nodes?Sb([Kb(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&wv(r.selector.value)||!r.selector&&"string"==typeof r.params&&wv(r.params)?Tb:" ","{",Ob(Sb([r.nodes.length>0?Nb:"",Pv(e,t,n)])),Nb,"}"]):u?"":";"])}case"media-query-list":{const t=[];return e.each((e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))}),"nodes"),kb(Ob(wb(Tb,t)))}case"media-query":return Sb([wb(" ",e.map(n,"nodes")),Xb(e,r)?"":","]);case"media-type":return jv(Lv(r.value,t));case"media-feature-expression":return r.nodes?Sb(["(",Sb(e.map(n,"nodes")),")"]):r.value;case"media-feature":return $b(Lv(r.value.replace(/ +/g," "),t));case"media-colon":return Sb([r.value," "]);case"media-value":return jv(Lv(r.value,t));case"media-keyword":return Lv(r.value,t);case"media-url":return Lv(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return kb(Sb([Ub(e,"custom-selector")?Sb([Rb(e,"css-atrule").customSelector,Tb]):"",wb(Sb([",",Ub(e,["extend","custom-selector","nest"])?Tb:Bb]),e.map(n,"nodes"))]));case"selector-selector":return kb(Ob(Sb(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return Lv(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),o=n&&t.nodes[n-1];return Sb([r.namespace?Sb([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===o.type?r.value:jv(zb(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return Sb(["#",r.value]);case"selector-class":return Sb([".",jv(Lv(r.value,t))]);case"selector-attribute":return Sb(["[",r.namespace?Sb([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Mv(Lv(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":Tb;return Sb([n,r.value,Xb(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?Tb:"",o=jv(Lv(r.value.trim(),t))||Tb;return Sb([n,o])}case"selector-universal":return Sb([r.namespace?Sb([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return Sb([$b(r.value),r.nodes&&r.nodes.length>0?Sb(["(",wb(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=Rb(e,"css-rule");if(n&&n.isSCSSNesterProperty)return jv(Lv($b(r.value),t));const o=e.getParentNode();if(o.raws&&o.raws.selector){const e=Bv(o),n=e+o.raws.selector.length;return t.originalText.slice(e,n).trim()}const u=e.getParentNode(1);if("value-paren_group"===o.type&&u&&"value-func"===u.type&&"selector"===u.value){const e=Bv(o.open)+1,n=Nv(o.close)-1,r=t.originalText.slice(e,n).trim();return wv(r)?Sb([Mb,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(Bv(r),Nv(r));case"value-comma_group":{const t=e.getParentNode(),o=e.getParentNode(1),u=Vb(e),i=u&&"value-value"===t.type&&("grid"===u||u.startsWith("grid-template")),a=Rb(e,"css-atrule"),s=a&&Kb(a),l=e.map(n,"groups"),c=[],p=qb(e,"url");let d=!1,f=!1;for(let n=0;n<r.groups.length;++n){c.push(l[n]);const u=r.groups[n-1],h=r.groups[n],m=r.groups[n+1],g=r.groups[n+2];if(p){(m&&rv(m)||rv(h))&&c.push(" ");continue}if(!m)continue;if("value-word"===h.type&&h.value.endsWith("-")&&Tv(m))continue;const D="value-string"===h.type&&h.value.startsWith("#{"),y=d&&"value-string"===m.type&&m.value.endsWith("}");if(D||y){d=!d;continue}if(d)continue;if(Fv(h)||Fv(m))continue;if("value-atword"===h.type&&""===h.value)continue;if("~"===h.value)continue;if(h.value&&h.value.includes("\\")&&m&&"value-comment"!==m.type)continue;if(u&&u.value&&u.value.indexOf("\\")===u.value.length-1&&"value-operator"===h.type&&"/"===h.value)continue;if("\\"===h.value)continue;if(Dv(h,m))continue;if(Cv(h)||bv(h)||vv(m)||bv(m)&&dv(m)||vv(h)&&dv(m))continue;if("--"===h.value&&Cv(m))continue;const E=uv(h),C=uv(m);if((E&&Cv(m)||C&&vv(h))&&dv(m))continue;if(qb(e,"calc")&&(rv(h)||rv(m)||ov(h)||ov(m))&&dv(m))continue;const b=(rv(h)||ov(h))&&0===n&&("value-number"===m.type||m.isHex)&&o&&Sv(o)&&!dv(m),v=g&&"value-func"===g.type||g&&Av(g)||"value-func"===h.type||Av(h),A="value-func"===m.type||Av(m)||u&&"value-func"===u.type||u&&Av(u);if(tv(m)||tv(h)||qb(e,"calc")||b||!(nv(m)&&!v||nv(h)&&!A||rv(m)&&!v||rv(h)&&!A||ov(m)||ov(h))||!(dv(m)||E&&(!u||u&&uv(u))))if(Ev(h)){if("value-paren_group"===t.type){c.push(Ib(Bb));continue}c.push(Bb)}else s&&(ev(m)||Zb(m)||lv(m)||iv(h)||av(h))||a&&"namespace"===a.name.toLowerCase()?c.push(" "):i?h.source&&m.source&&h.source.start.line!==m.source.start.line?(c.push(Bb),f=!0):c.push(" "):C?c.push(" "):m&&"..."===m.value||Tv(h)&&Tv(m)&&Nv(h)===Bv(m)||c.push(Tb)}return f&&c.unshift(Bb),s?kb(Ob(Sb(c))):Jb(e)?kb(Pb(c)):kb(Ob(Pb(c)))}case"value-paren_group":{const o=e.getParentNode();if(o&&sv(o)&&(1===r.groups.length||r.groups.length>0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return Sb([r.open?e.call(n,"open"):"",wb(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push(Sb([",",Tb])),r.push(t[e]);return kb(Ob(Pb(r)))}const u=yv(e),i=r.groups[r.groups.length-1],a=i&&"value-comment"===i.type;return kb(Sb([r.open?e.call(n,"open"):"",Ob(Sb([Nb,wb(Sb([",",Tb]),e.map((e=>{const t=e.getValue(),r=n(e);return fv(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=kb(r.contents.contents.parts[1]),kb(Ib(r))):r}),"groups"))])),Lb(!a&&Hb(t.parser,t.originalText)&&u&&kv(t)?",":""),Nb,r.close?e.call(n,"close"):""]),{shouldBreak:u})}case"value-func":return Sb([r.value,Ub(e,"supports")&&xv(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return Sb([_v(r.value),$b(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Gb(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),o=n&&t.groups[n-1];return Sb([r.value,o&&"\\"===o.value[o.value.length-1]||qb(e,"url")?"":Tb])}case"value-comma":return Sb([r.value," "]);case"value-string":return vb(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return Sb(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:ZC,insertPragma:_b,massageAstNode:UC},Vv={singleQuote:kC.singleQuote},$v={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},qv={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},Wv={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329};var Uv={languages:[xs({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),xs($v,(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),xs(qv,(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),xs(Wv,(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],options:Vv,printers:{postcss:Rv},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}};var Jv={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function zv(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}zv.ignoredProperties=new Set(["loc","selfClosing"]);var Gv=zv;const Hv=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function Xv(e){return Yv(e,["TextNode"])&&!/\S/.test(e.chars)}function Yv(e,t){return e&&t.some((t=>e.type===t))}function Kv(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},o=r.children||r.body||r.parts||[],u=o.indexOf(n);return-1!==u&&o[u+t]}function Qv(e,t=1){return Kv(e,-t)}function Zv(e){return Kv(e,1)}function eA(e){return Yv(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var tA={getNextNode:Zv,getPreviousNode:Qv,hasPrettierIgnore:function(e){const t=e.getValue(),n=Qv(e,2);return eA(t)||eA(n)},isNextNodeOfSomeType:function(e,t){return Yv(Zv(e),t)},isNodeOfSomeType:Yv,isParentOfSomeType:function(e,t){return Yv(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return Yv(Qv(e),t)},isVoid:function(e){return function(e){return Yv(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>Xv(e)))||Hv.has(e.tag)},isWhitespaceNode:Xv};const{builders:{concat:nA,group:rA,hardline:oA,ifBreak:uA,indent:iA,join:aA,line:sA,softline:lA}}=rn,{locStart:cA,locEnd:pA}=Jv,{getNextNode:dA,getPreviousNode:fA,hasPrettierIgnore:hA,isNextNodeOfSomeType:mA,isNodeOfSomeType:gA,isParentOfSomeType:DA,isPreviousNodeOfSomeType:yA,isVoid:EA,isWhitespaceNode:CA}=tA;function bA(e,t){const n=e.getValue();return nA(["<",n.tag,vA(e,t),HA(n),FA(n)])}function vA(e,t){const n=e.getValue();return iA(nA([n.attributes.length?sA:"",aA(sA,e.map(t,"attributes")),n.modifiers.length?sA:"",aA(sA,e.map(t,"modifiers")),n.comments.length?sA:"",aA(sA,e.map(t,"comments"))]))}function AA(e,t,n){return nA(e.map(((e,r)=>0===r?nA([lA,n(e,t,n)]):n(e,t,n)),"children"))}function FA(e){return EA(e)?uA(nA([lA,"/>"]),nA([" />",lA])):uA(nA([lA,">"]),">")}function xA(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return nA([t,n])}function SA(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return nA([n,t])}function wA(e){const t=xA(e),n=e.openStrip.open?"~":"";return nA([t,n,"#"])}function TA(e){const t=SA(e),n=e.openStrip.close?"~":"";return nA([n,t])}function BA(e){const t=xA(e),n=e.closeStrip.open?"~":"";return nA([t,n,"/"])}function NA(e){const t=SA(e),n=e.closeStrip.close?"~":"";return nA([n,t])}function kA(e){const t=xA(e),n=e.inverseStrip.open?"~":"";return nA([t,n])}function PA(e){const t=SA(e),n=e.inverseStrip.close?"~":"";return nA([n,t])}function OA(e,t){const n=e.getValue();return rA(nA([wA(n),JA(e,t),HA(n.program),lA,TA(n)]))}function IA(e){return nA([oA,kA(e),"else",PA(e)])}function LA(e,t){const n=e.getParentNode(1);return nA([kA(n),"else ",JA(e,t),PA(n)])}function MA(e,t){const n=e.getValue();return nA([jA(n)?lA:oA,BA(n),e.call(t,"path"),NA(n)])}function jA(e){return gA(e,["BlockStatement"])&&e.program.body.every((e=>CA(e)))}function _A(e){return gA(e,["BlockStatement"])&&e.inverse}function RA(e,t){if(jA(e.getValue()))return"";const n=e.call(t,"program");return iA(nA([oA,n]))}function VA(e,t){const n=e.getValue(),r=e.call(t,"inverse"),o=nA([oA,r]);return function(e){return _A(e)&&1===e.inverse.body.length&&gA(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?o:_A(n)?nA([IA(n),iA(o)]):""}function $A(e){return(e="string"==typeof e?e:"").split("\n").length-1}function qA(e=0,t=0){return new Array(Math.min(e,t)).fill(oA)}function WA(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},o=t.singleQuote?r:n,u=o===r?n:r;let i=!1;if(e.includes(o.quote)||e.includes(u.quote)){i=(e.match(o.regex)||[]).length>(e.match(u.regex)||[]).length}const a=i?u:o,s=e.replace(a.regex,"\\".concat(a.quote));return nA([a.quote,s,a.quote])}function UA(e,t){const n=zA(e,t),r=GA(e,t);return r?iA(nA([n,sA,rA(r)])):n}function JA(e,t){const n=zA(e,t),r=GA(e,t);return r?iA(rA(nA([n,sA,r]))):n}function zA(e,t){return e.call(t,"path")}function GA(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?aA(sA,r):""}function HA(e){return e&&e.blockParams.length?nA([" as |",e.blockParams.join(" "),"|"]):""}var XA={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(hA(e))return t.originalText.slice(cA(r),pA(r));switch(r.type){case"Block":case"Program":case"Template":return rA(nA(e.map(n,"body")));case"ElementNode":{const o=mA(e,["ElementNode"])?oA:"";if(EA(r))return nA([rA(bA(e,n)),o]);const u=r.children.every((e=>CA(e)));return nA([rA(bA(e,n)),rA(nA([u?"":iA(AA(e,t,n)),r.children.length?oA:"",nA(["</",r.tag,">"])])),o])}case"BlockStatement":{const t=e.getParentNode(1),o=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return nA(o?[LA(e,n),RA(e,n),VA(e,n)]:[OA(e,n),rA(nA([RA(e,n),VA(e,n),MA(e,n)]))])}case"ElementModifierStatement":return rA(nA(["{{",JA(e,n),lA,"}}"]));case"MustacheStatement":{const t=DA(e,["AttrNode","ConcatStatement"]),o=DA(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),u=t||o;return rA(nA([xA(r),u?iA(lA):"",JA(e,n),lA,SA(r)]))}case"SubExpression":return rA(nA(["(",UA(e,n),lA,")"]));case"AttrNode":{const o="TextNode"===r.value.type;if(o&&""===r.value.chars&&cA(r.value)===pA(r.value))return nA([r.name]);const u=e.call(n,"value"),i=o?WA(u.parts.join(),t):u;return nA([r.name,"=",i])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return nA([r,...e.map((e=>n(e)),"parts"),r])}case"Hash":return nA([aA(sA,e.map(n,"pairs"))]);case"HashPair":return nA([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!fA(e),o=!dA(e),u=!/\S/.test(r.chars),i=$A(r.chars);let a=function(e){return $A(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),s=function(e){return $A(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||o)&&u&&DA(e,["Block","ElementNode","Template"]))return"";u&&i?(a=Math.min(i,t),s=0):(mA(e,["BlockStatement","ElementNode"])&&(s=Math.max(s,1)),yA(e,["BlockStatement","ElementNode"])&&(a=Math.max(a,1)));if(e.stack.includes("attributes")){if(!function(e,t){return DA(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||DA(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return nA([r.chars]);let n="",o="";return DA(e,["ConcatStatement"])&&(yA(e,["MustacheStatement"])&&(n=" "),mA(e,["MustacheStatement"])&&(o=" ")),nA([...qA(a,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,o),...qA(s,t)])}let l="",c="";0===s&&mA(e,["MustacheStatement"])&&(c=" "),0===a&&yA(e,["MustacheStatement"])&&(l=" "),n&&(a=0,l=""),o&&(s=0,c="");let p=r.chars;return p.startsWith("{{")&&p.includes("}}")&&(p="\\"+p),nA([...qA(a,t),p.replace(/^\s+/g,l).replace(/\s+$/,c),...qA(s,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return nA(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return nA(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return WA(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:Gv};var YA={languages:[xs({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],printers:{glimmer:XA},parsers:{get glimmer(){return{}.parsers.glimmer}}};var KA={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};var QA={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{concat:ZA,join:eF,hardline:tF,line:nF,softline:rF,group:oF,indent:uF,ifBreak:iF}}=rn,{isNextLineEmpty:aF}=Nt,{insertPragma:sF}=KA,{locStart:lF,locEnd:cF}=QA;function pF(e,t,n){if(0===n.directives.length)return"";const r=eF(nF,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?oF(ZA([nF,r])):ZA([" ",oF(uF(ZA([rF,r])))])}function dF(e,t,n){const r=e.getValue().length;return e.map(((e,o)=>{const u=n(e);return aF(t.originalText,e.getValue(),cF)&&o<r-1?ZA([u,tF]):u}))}function fF(e,t,n){const r=e.getNode(),o=[],{interfaces:u}=r,i=e.map((e=>n(e)),"interfaces");for(let e=0;e<u.length;e++){const n=u[e];o.push(i[e]);const r=u[e+1];if(r){const e=t.originalText.slice(n.loc.end,r.loc.start),u=e.includes("#"),i=e.replace(/#.*/g,"").trim();o.push(","===i?",":" &"),o.push(u?nF:" ")}}return o}function hF(){}hF.ignoredProperties=new Set(["loc","comments"]);var mF={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":{const o=[];return e.each(((e,u)=>{o.push(ZA([e.call(n)])),u!==r.definitions.length-1&&(o.push(tF),aF(t.originalText,e.getValue(),cF)&&o.push(tF))}),"definitions"),ZA([ZA(o),tF])}case"OperationDefinition":{const o="{"!==t.originalText[lF(r)],u=!!r.name;return ZA([o?r.operation:"",o&&u?ZA([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.map(n,"variableDefinitions"))])),rF,")"])):"",pF(e,n,r),r.selectionSet&&(o||u)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return ZA(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.map(n,"variableDefinitions"))])),rF,")"])):""," on ",e.call(n,"typeCondition"),pF(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return ZA(["{",uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"selections"))])),tF,"}"]);case"Field":return oF(ZA([r.alias?ZA([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.call((e=>dF(e,t,n)),"arguments"))])),rF,")"])):"",pF(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?ZA(['"""',tF,eF(tF,r.value.replace(/"""/g,"\\$&").split("\n")),tF,'"""']):ZA(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return ZA(["$",e.call(n,"name")]);case"ListValue":return oF(ZA(["[",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.map(n,"values"))])),rF,"]"]));case"ObjectValue":return oF(ZA(["{",t.bracketSpacing&&r.fields.length>0?" ":"",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.map(n,"fields"))])),rF,iF("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return ZA([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return ZA(["@",e.call(n,"name"),r.arguments.length>0?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.call((e=>dF(e,t,n)),"arguments"))])),rF,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return ZA([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?ZA([" = ",e.call(n,"defaultValue")]):"",pF(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return ZA([e.call(n,"description"),r.description?tF:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?ZA([" implements ",ZA(fF(e,t,n))]):"",pF(e,n,r),r.fields.length>0?ZA([" {",uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"fields"))])),tF,"}"]):""]);case"FieldDefinition":return ZA([e.call(n,"description"),r.description?tF:"",e.call(n,"name"),r.arguments.length>0?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.call((e=>dF(e,t,n)),"arguments"))])),rF,")"])):"",": ",e.call(n,"type"),pF(e,n,r)]);case"DirectiveDefinition":return ZA([e.call(n,"description"),r.description?tF:"","directive ","@",e.call(n,"name"),r.arguments.length>0?oF(ZA(["(",uF(ZA([rF,eF(ZA([iF("",", "),rF]),e.call((e=>dF(e,t,n)),"arguments"))])),rF,")"])):"",r.repeatable?" repeatable":"",ZA([" on ",eF(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return ZA([e.call(n,"description"),r.description?tF:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),pF(e,n,r),r.values.length>0?ZA([" {",uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"values"))])),tF,"}"]):""]);case"EnumValueDefinition":return ZA([e.call(n,"description"),r.description?tF:"",e.call(n,"name"),pF(e,n,r)]);case"InputValueDefinition":return ZA([e.call(n,"description"),r.description?r.description.block?tF:nF:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?ZA([" = ",e.call(n,"defaultValue")]):"",pF(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return ZA([e.call(n,"description"),r.description?tF:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),pF(e,n,r),r.fields.length>0?ZA([" {",uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"fields"))])),tF,"}"]):""]);case"SchemaDefinition":return ZA(["schema",pF(e,n,r)," {",r.operationTypes.length>0?uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"operationTypes"))])):"",tF,"}"]);case"OperationTypeDefinition":return ZA([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return ZA([e.call(n,"description"),r.description?tF:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?ZA([" implements ",ZA(fF(e,t,n))]):"",pF(e,n,r),r.fields.length>0?ZA([" {",uF(ZA([tF,eF(tF,e.call((e=>dF(e,t,n)),"fields"))])),tF,"}"]):""]);case"FragmentSpread":return ZA(["...",e.call(n,"name"),pF(e,n,r)]);case"InlineFragment":return ZA(["...",r.typeCondition?ZA([" on ",e.call(n,"typeCondition")]):"",pF(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return oF(ZA([e.call(n,"description"),r.description?tF:"",oF(ZA(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),pF(e,n,r),r.types.length>0?ZA([" =",iF(""," "),uF(ZA([iF(ZA([nF,"  "])),eF(ZA([nF,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return ZA([e.call(n,"description"),r.description?tF:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),pF(e,n,r)]);case"NonNullType":return ZA([e.call(n,"type"),"!"]);case"ListType":return ZA(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:hF,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:sF,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},gF={bracketSpacing:kC.bracketSpacing};var DF={languages:[xs({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],options:gF,printers:{graphql:mF},parsers:{get graphql(){return{}.parsers.graphql}}};var yF={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:EF}=Nt,{locStart:CF,locEnd:bF}=yF,{cjkPattern:vF,kPattern:AF,punctuationPattern:FF}={cjkPattern:"(?:[\\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])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},xF=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],SF=xF.concat(["tableCell","paragraph","heading"]),wF=new RegExp(AF),TF=new RegExp(FF);function BF(e,t){const[,n,r,o]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:o}}var NF={mapAst:function(e,t){return function e(n,r,o){o=o||[];const u=Object.assign({},t(n,r,o));return u.children&&(u.children=u.children.map(((t,n)=>e(t,n,[u].concat(o))))),u}(e,null,null)},splitText:function(e,t){const n="non-cjk",r="cj-letter",o="cjk-punctuation",u=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(vF,")\n(").concat(vF,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach(((e,t,a)=>{t%2!=1?(0!==t&&t!==a.length-1||""!==e)&&e.split(new RegExp("(".concat(vF,")"))).forEach(((e,t,u)=>{(0!==t&&t!==u.length-1||""!==e)&&(t%2!=0?i(TF.test(e)?{type:"word",value:e,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:wF.test(e)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&i({type:"word",value:e,kind:n,hasLeadingPunctuation:TF.test(e[0]),hasTrailingPunctuation:TF.test(EF(e))}))})):u.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),u;function i(e){const t=EF(u);var i,a;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?u.push({type:"whitespace",value:" "}):(i=n,a=o,t.kind===i&&e.kind===a||t.kind===a&&e.kind===i||[t.value,e.value].some((e=>/\u3000/.test(e)))||u.push({type:"whitespace",value:""}))),u.push(e)}},punctuationPattern:FF,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:BF,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(BF(e.children[0],t.originalText).numberText),r=Number(BF(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(BF(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:xF,INLINE_NODE_WRAPPER_TYPES:SF,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&CF(e)===CF(t)&&bF(e)===bF(t)}};const{inferParserByLanguage:kF,getMaxContinuousCount:PF}=Nt,{builders:{hardline:OF,concat:IF,markAsRoot:LF},utils:{replaceNewlinesWithLiterallines:MF}}=rn,{print:jF}=XC,{getFencedCodeBlockValue:_F}=NF;var RF=function(e,t,n,r){const o=e.getValue();if("code"===o.type&&null!==o.lang){const e=kF(o.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",u=t.repeat(Math.max(3,PF(o.value,t)+1)),i=n(_F(o,r.originalText),{parser:e},{stripTrailingHardline:!0});return LF(IF([u,o.lang,o.meta?" "+o.meta:"",OF,MF(i),OF,u]))}}switch(o.type){case"front-matter":return jF(o,n);case"importExport":return IF([n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),OF]);case"jsx":return n("<$>".concat(o.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:VF}=XC,$F=["format","prettier"];function qF(e){const t="@(".concat($F.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var WF={startWithPragma:qF,hasPragma:e=>qF(VF(e).content.trimStart()),insertPragma:e=>{const t=VF(e),n="\x3c!-- @".concat($F[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:UF,mapAst:JF,splitText:zF}=NF,GF=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function HF(e,t,n){return JF(e,(e=>{if(!e.children)return e;const r=e.children.reduce(((e,r)=>{const o=e[e.length-1];return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var XF=function(e,t){return e=function(e){return HF(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return JF(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})))}(e=function(e,t){return JF(e,((e,n,[r])=>{if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===r.type&&(0===n&&(o=o.trimStart()),n===r.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:zF(o,t)}}))}(e=function(e,t){return JF(e,((e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t<n.length;t++){const r=n[t];if("list"===r.type&&!r.isAligned)return e.isAligned=!1,e}e.isAligned=r(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function r(e){if(!e.ordered)return!0;const[r,o]=e.children;if(UF(r,t.originalText).leadingSpaces.length>1)return!0;const u=n(r);if(-1===u)return!1;if(1===e.children.length)return u%t.tabWidth==0;if(u!==n(o))return!1;if(u%t.tabWidth==0)return!0;return UF(o,t.originalText).leadingSpaces.length>1}}(e=function(e,t){return JF(e,((e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){const t=r[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return JF(e,(e=>"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return HF(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e,t){return JF(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&GF.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t))),t),t),t)))};const{isFrontMatterNode:YF}=Nt,{startWithPragma:KF}=WF,QF=new Set(["position","raw"]);function ZF(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||YF(n.children[0])&&n.children[1]===e)&&"html"===e.type&&KF(e.value)?null:void 0)}ZF.ignoredProperties=QF;var ex=ZF;const{getLast:tx,getMinNotPresentContinuousCount:nx,getMaxContinuousCount:rx,getStringWidth:ox}=Nt,{builders:{breakParent:ux,concat:ix,join:ax,line:sx,literalline:lx,markAsRoot:cx,hardline:px,softline:dx,ifBreak:fx,fill:hx,align:mx,indent:gx,group:Dx},utils:{normalizeDoc:yx},printer:{printDocToString:Ex}}=rn,{replaceEndOfLineWith:Cx}=Nt,{insertPragma:bx}=WF,{locStart:vx,locEnd:Ax}=yF,{getFencedCodeBlockValue:Fx,hasGitDiffFriendlyOrderedList:xx,splitText:Sx,punctuationPattern:wx,INLINE_NODE_TYPES:Tx,INLINE_NODE_WRAPPER_TYPES:Bx,isAutolink:Nx}=NF,kx=new Set(["importExport"]),Px=["heading","tableCell","link","wikiLink"],Ox=new Set(["listItem","definition","footnoteDefinition"]);function Ix(e,t,n,r){const o=e.getValue(),u=null===o.checked?"":o.checked?"[x] ":"[ ] ";return ix([u,Vx(e,t,n,{processor:(e,o)=>{if(0===o&&"list"!==e.getValue().type)return mx(" ".repeat(u.length),e.call(n));const i=" ".repeat((a=t.tabWidth-r.length,l=3,a<(s=0)?s:a>l?l:a));var a,s,l;return ix([i,mx(i,e.call(n))])}})])}function Lx(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const o of t.children)if(o.type===e.type&&n(o)?r++:r=-1,o===e)return r}(e,t,(t=>t.ordered===e.ordered))}function Mx(e,t){const n=[].concat(t);let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function jx(e,t){const n=Mx(e,t);return-1===n?null:e.getParentNode(n)}function _x(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return px;const r="always"===n.proseWrap&&!jx(e,Px);return""!==t?r?sx:" ":r?dx:""}function Rx(e,t,n){const r=[];let o=null;const{children:u}=e.getValue();return u.forEach(((e,t)=>{switch(qx(e)){case"start":null===o&&(o={index:t,offset:e.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:t,offset:e.position.start.offset}}),o=null)}})),Vx(e,t,n,{processor:(e,o)=>{if(0!==r.length){const e=r[0];if(o===e.start.index)return ix([u[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),u[e.end.index].value]);if(e.start.index<o&&o<e.end.index)return!1;if(o===e.end.index)return r.shift(),!1}return e.call(n)}})}function Vx(e,t,n,r){const o=(r=r||{}).postprocessor||ix,u=r.processor||(e=>e.call(n)),i=e.getValue(),a=[];let s;return e.each(((e,n)=>{const r=e.getValue(),o=u(e,n);if(!1!==o){const e={parts:a,prevNode:s,parentNode:i,options:t};(function(e,t){const n=0===t.parts.length,r=Tx.includes(e.type),o="html"===e.type&&Bx.includes(t.parentNode.type);return n||r||o})(r,e)||(a.push(px),s&&kx.has(s.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&Ox.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,u="next"===qx(t.prevNode),i="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,a="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(n||r||u||i||a)}(r,e)||Wx(r,e))&&a.push(px),Wx(r,e)&&a.push(px)),a.push(o),s=r}}),"children"),o(a)}function $x(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function qx(e){if("html"!==e.type)return!1;const t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:"next")}function Wx(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function Ux(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map((e=>"\\".concat(e))).join("|")).test(e)?"<".concat(e,">"):e}function Jx(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+Jx(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,o=e.split('"').length-1,u=r>o?'"':o>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(u,")"),"g"),"\\$1"),"".concat(u).concat(e).concat(u)}var zx={preprocess:XF,print:function(e,t,n){const r=e.getValue();if(function(e){const t=jx(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return ix(Sx(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((n=>"word"===n.type?n.value:""===n.value?"":_x(e,n.value,t))));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":ix([yx(Rx(e,t,n)),kx.has($x(r).type)?"":px]);case"paragraph":return Vx(e,t,n,{postprocessor:hx});case"sentence":return Vx(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(wx,")(_+)"),"(_+)(".concat(wx,"|$)")].join("|"),"g"),((e,t,n,r,o)=>(n?"".concat(t).concat(n):"".concat(r).concat(o)).replace(/_/g,"\\_")));const n=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,t,n)=>Nx(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,o)||e.match(void 0,n,((e,t,n)=>"emphasis"===e.type&&0===n),o))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{const n=e.getParentNode(),o=n.children.indexOf(r),u=n.children[o+1],i=u&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(u.value)?"never":t.proseWrap;return _x(e,r.value,{proseWrap:i})}case"emphasis":{let o;if(Nx(r.children[0]))o=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),u=t.children[n-1],i=t.children[n+1];o=u&&"sentence"===u.type&&u.children.length>0&&"word"===tx(u.children).type&&!tx(u.children).hasTrailingPunctuation||i&&"sentence"===i.type&&i.children.length>0&&"word"===i.children[0].type&&!i.children[0].hasLeadingPunctuation||jx(e,"emphasis")?"*":"_"}return ix([o,Vx(e,t,n),o])}case"strong":return ix(["**",Vx(e,t,n),"**"]);case"delete":return ix(["~~",Vx(e,t,n),"~~"]);case"inlineCode":{const e=nx(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return ix([t,n,r.value,n,t])}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),ix(["[[",e,"]]"])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return ix(["<",n,">"])}case"[":return ix(["[",Vx(e,t,n),"](",Ux(r.url,")"),Jx(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return ix(["![",r.alt||"","](",Ux(r.url,")"),Jx(r.title,t),")"]);case"blockquote":return ix(["> ",mx("> ",Vx(e,t,n))]);case"heading":return ix(["#".repeat(r.depth)+" ",Vx(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return mx(e,ix([e,ix(Cx(r.value,px))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,rx(r.value,e)+1));return ix([n,r.lang||"",r.meta?" "+r.meta:"",px,ix(Cx(Fx(r,t.originalText),px)),px,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&tx(t.children)===r?r.value.trimEnd():r.value,o=/^<!--[\S\s]*-->$/.test(n);return ix(Cx(n,o?px:cx(lx)))}case"list":{const o=Lx(r,e.getParentNode()),u=xx(r,t);return Vx(e,t,n,{processor:(e,i)=>{const a=function(){const e=r.ordered?(0===i?r.start:u?1:r.start+i)+(o%2==0?". ":") "):o%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),s=e.getValue();return 2===s.children.length&&"html"===s.children[1].type&&s.children[0].position.start.column!==s.children[1].position.start.column?ix([a,Ix(e,t,n,a)]):ix([a,mx(" ".repeat(a.length),Ix(e,t,n,a))])}})}case"thematicBreak":{const t=Mx(e,"list");if(-1===t)return"---";return Lx(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return ix(["[",Vx(e,t,n),"]","full"===r.referenceType?ix(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return ix(["![",r.alt||"","][",r.identifier,"]"]);default:return ix(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?sx:" ";return Dx(ix([ix(["[",r.identifier,"]:"]),gx(ix([e,Ux(r.url),null===r.title?"":ix([e,Jx(r.title,t,!1)])]))]))}case"footnote":return ix(["[^",Vx(e,t,n),"]"]);case"footnoteReference":return ix(["[^",r.identifier,"]"]);case"footnoteDefinition":{const o=e.getParentNode().children[e.getName()+1],u=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return ix(["[^",r.identifier,"]: ",u?Vx(e,t,n):Dx(ix([mx(" ".repeat(4),Vx(e,t,n,{processor:(e,t)=>0===t?Dx(ix([dx,e.call(n)])):e.call(n)})),o&&"footnoteDefinition"===o.type?dx:""]))])}case"table":return function(e,t,n){const r=px.parts[0],o=e.getValue(),u=[],i=e.map((e=>e.map(((e,r)=>{const o=Ex(e.call(n),t).formatted,i=ox(o);return u[r]=Math.max(u[r]||3,i),{text:o,width:i}}),"children")),"children"),a=l(!1);if("never"!==t.proseWrap)return ix([ux,a]);const s=l(!0);return ix([ux,Dx(fx(s,a))]);function l(e){const t=[p(i[0],e),c(e)];return i.length>1&&t.push(ax(r,i.slice(1).map((t=>p(t,e))))),ax(r,t)}function c(e){const t=u.map(((t,n)=>{const r=o.align[n],u="center"===r||"left"===r?":":"-",i="center"===r||"right"===r?":":"-",a=e?"-":"-".repeat(t-2);return"".concat(u).concat(a).concat(i)}));return"| ".concat(t.join(" | ")," |")}function p(e,t){const n=e.map((({text:e,width:n},r)=>{if(t)return e;const i=u[r]-n,a=o.align[r];let s=0;"right"===a?s=i:"center"===a&&(s=Math.floor(i/2));const l=i-s;return"".concat(" ".repeat(s)).concat(e).concat(" ".repeat(l))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return Vx(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?ix(["  ",cx(lx)]):ix(["\\",px]);case"liquidNode":return ix(Cx(r.value,px));case"importExport":return ix([r.value,px]);case"jsx":return r.value;case"math":return ix(["$$",px,r.value?ix([ix(Cx(r.value,px)),px]):"","$$"]);case"inlineMath":return t.originalText.slice(vx(r),Ax(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:RF,massageAstNode:ex,hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===qx(e.getParentNode().children[t-1])},insertPragma:bx},Gx={proseWrap:kC.proseWrap,singleQuote:kC.singleQuote},Hx={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222};var Xx={languages:[xs(Hx,(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter((e=>".mdx"!==e))}))),xs(Hx,(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],options:Gx,printers:{mdast:zx},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:Yx}=Nt,Kx=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function Qx(e,t){return"text"===e.type||"comment"===e.type||Yx(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}Qx.ignoredProperties=Kx;var Zx=Qx,eS={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:tS,isFrontMatterNode:nS}=Nt,{CSS_DISPLAY_TAGS:rS,CSS_DISPLAY_DEFAULT:oS,CSS_WHITE_SPACE_TAGS:uS,CSS_WHITE_SPACE_DEFAULT:iS}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},aS=dS(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),sS=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(eS,dS),lS=new Set(["\t","\n","\f","\r"," "]),cS=e=>e.replace(/[\t\n\f\r ]+$/,""),pS=e=>e.match(/^[\t\n\f\r ]*/)[0];function dS(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function fS(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||("ieConditionalComment"===e.type&&!e.complete||(!(!xS(e)||!e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type)))||!(!kS(e,t)||mS(e)||"interpolation"===e.type)))}function hS(e){if("attribute"===e.type)return!1;if(!e.parent)return!1;if("number"!=typeof e.index||0===e.index)return!1;return function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function mS(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||SS(e)&&("script"===e.name||"style"===e.name))}function gS(e){return wS(e).startsWith("pre")}function DS(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function yS(e){return vS(e)||"element"===e.type&&"br"===e.fullName||ES(e)}function ES(e){return CS(e)&&bS(e)}function CS(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function bS(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function vS(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function AS(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function FS(e){return"block"===e||"list-item"===e||e.startsWith("table")}function xS(e){return wS(e).startsWith("pre")}function SS(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function wS(e){return"element"===e.type&&(!e.namespace||SS(e))&&uS[e.name]||iS}const TS=new Set(["template","style","script"]);function BS(e,t){return NS(e,t)&&!TS.has(e.fullName)}function NS(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function kS(e,t){return NS(e,t)&&(BS(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var PS={HTML_ELEMENT_ATTRIBUTES:sS,HTML_TAGS:aS,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(cS(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(cS(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!mS(e)},countChars:function(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n},countParents:function(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){const o=e.stack[r];o&&"object"==typeof o&&!Array.isArray(o)&&t(o)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!lS.has(n[0]))return 0;const e=pS(n).length;n.length!==e&&e<t&&(t=e)}return t===1/0?0:t}(e)){return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")},forceBreakChildren:DS,forceBreakContent:function(e){return DS(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&CS(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||bS(e.lastChild))},forceNextEmptyLine:function(e){return nS(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||SS(e))&&rS[e.name]||oS}},getNodeCssStyleWhiteSpace:wS,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:hS,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&kS(e,t)?AS(e)||!("src"in e.attrMap)&&tS(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?AS(e):"babel"},isVueCustomBlock:BS,isVueNonHtmlBlock:kS,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!NS(n,t))return!1;const r=n.fullName,o=e.fullName;return"script"===r&&"setup"===o||"style"===r&&"vars"===o},isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,FS(t)||"inline-block"===t||mS(e));var t},isIndentationSensitiveNode:gS,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){if(nS(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(xS(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||xS(e)&&e.parent||mS(e.parent)||BS(e.parent,t)||(n=e.parent.cssDisplay,FS(n)||"inline-block"===n)))return!1;var n;if(e.prev&&!function(e){return!FS(e)}(e.prev.cssDisplay))return!1;return!0}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:xS,isScriptLikeTag:mS,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!nS(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!xS(e.parent)||!(!e.next&&("root"===e.parent.type||xS(e)&&e.parent||mS(e.parent)||BS(e.parent,t)||(n=e.parent.cssDisplay,FS(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!FS(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return mS(e)||"interpolation"===e.type||gS(e)},isUnknownNamespace:SS,preferHardlineAsLeadingSpaces:function(e){return vS(e)||e.prev&&yS(e.prev)||ES(e)},preferHardlineAsTrailingSpaces:yS,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(hS(e)||fS(e.parent,t))},shouldPreserveContent:fS,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}},OS=je((function(e,t){function n(e){return t.$0<=e&&e<=t.$9}
+var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n={version:"2.5.0"},r={},o={};!function(e){function t(){}function n(e,t,n,r,o){for(var i=0,u=t.length,s=0,a=0;i<u;i++){var c=t[i];if(c.removed){if(c.value=e.join(r.slice(a,a+c.count)),a+=c.count,i&&t[i-1].added){var l=t[i-1];t[i-1]=t[i],t[i]=l}}else{if(!c.added&&o){var p=n.slice(s,s+c.count);p=p.map((function(e,t){var n=r[a+t];return n.length>e.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=t[u-1];return u>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[u-2].value+=f.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.callback;"function"==typeof o&&(i=o,o={}),this.options=o;var u=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=a+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var o=-1*l;o<=l;o+=2){var i=void 0,p=f[o-1],d=f[o+1],h=(d?d.newPos:0)-o;p&&(f[o-1]=void 0);var g=p&&p.newPos+1<a,m=d&&0<=h&&h<c;if(g||m){if(!g||m&&p.newPos<d.newPos?(i=r(d),u.pushComponent(i.components,void 0,!0)):((i=p).newPos++,u.pushComponent(i.components,!0,void 0)),h=u.extractCommon(i,t,e,o),i.newPos+1>=a&&h+1>=c)return s(n(u,i.components,t,e,u.useLongestToken));f[o]=i}else f[o]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>p)return i();h()||e()}),0)}();else for(;l<=p;){var g=h();if(g)return g}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,u=e.newPos,s=u-r,a=0;u+1<o&&s+1<i&&this.equals(t[u+1],n[s+1]);)u++,s++,a++;return a&&e.components.push({count:a}),e.newPos=u,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}(o);var i,u={};Object.defineProperty(u,"__esModule",{value:!0}),u.diffChars=function(e,t,n){return s.diff(e,t,n)},u.characterDiff=void 0;var s=new((i=o)&&i.__esModule?i:{default:i}).default;u.characterDiff=s;var a={},c={};Object.defineProperty(c,"__esModule",{value:!0}),c.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},Object.defineProperty(a,"__esModule",{value:!0}),a.diffWords=function(e,t,n){return n=(0,p.generateOptions)(n,{ignoreWhitespace:!0}),h.diff(e,t,n)},a.diffWordsWithSpace=function(e,t,n){return h.diff(e,t,n)},a.wordDiff=void 0;var l=function(e){return e&&e.__esModule?e:{default:e}}(o),p=c;var f=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,d=/\S/,h=new l.default;a.wordDiff=h,h.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!d.test(e)&&!d.test(t)},h.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&f.test(t[n])&&f.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var g={};Object.defineProperty(g,"__esModule",{value:!0}),g.diffLines=function(e,t,n){return D.diff(e,t,n)},g.diffTrimmedLines=function(e,t,n){var r=(0,y.generateOptions)(n,{ignoreWhitespace:!0});return D.diff(e,t,r)},g.lineDiff=void 0;var m=function(e){return e&&e.__esModule?e:{default:e}}(o),y=c;var D=new m.default;g.lineDiff=D,D.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t};var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.diffSentences=function(e,t,n){return b.diff(e,t,n)},E.sentenceDiff=void 0;var C=function(e){return e&&e.__esModule?e:{default:e}}(o);var b=new C.default;E.sentenceDiff=b,b.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var v={};Object.defineProperty(v,"__esModule",{value:!0}),v.diffCss=function(e,t,n){return F.diff(e,t,n)},v.cssDiff=void 0;var A=function(e){return e&&e.__esModule?e:{default:e}}(o);var F=new A.default;v.cssDiff=F,F.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var x=function(e){return e&&e.Math==Math&&e},S=x("object"==typeof globalThis&&globalThis)||x("object"==typeof window&&window)||x("object"==typeof self&&self)||x("object"==typeof e&&e)||function(){return this}()||Function("return this")(),w={},T=function(e){try{return!!e()}catch(e){return!0}},B=!T((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N=Function.prototype.call,k=N.bind?N.bind(N):function(){return N.apply(N,arguments)},P={},O={}.propertyIsEnumerable,I=Object.getOwnPropertyDescriptor,L=I&&!O.call({1:2},1);P.f=L?function(e){var t=I(this,e);return!!t&&t.enumerable}:O;var j,_,M=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},R=Function.prototype,V=R.bind,$=R.call,W=V&&V.bind($),q=V?function(e){return e&&W($,e)}:function(e){return e&&function(){return $.apply(e,arguments)}},U=q,G=U({}.toString),z=U("".slice),H=function(e){return z(G(e),8,-1)},J=q,X=T,Y=H,K=S.Object,Q=J("".split),Z=X((function(){return!K("z").propertyIsEnumerable(0)}))?function(e){return"String"==Y(e)?Q(e,""):K(e)}:K,ee=S.TypeError,te=function(e){if(null==e)throw ee("Can't call method on "+e);return e},ne=Z,re=te,oe=function(e){return ne(re(e))},ie=function(e){return"function"==typeof e},ue=ie,se=function(e){return"object"==typeof e?null!==e:ue(e)},ae=S,ce=ie,le=function(e){return ce(e)?e:void 0},pe=function(e,t){return arguments.length<2?le(ae[e]):ae[e]&&ae[e][t]},fe=q({}.isPrototypeOf),de=pe("navigator","userAgent")||"",he=S,ge=de,me=he.process,ye=he.Deno,De=me&&me.versions||ye&&ye.version,Ee=De&&De.v8;Ee&&(_=(j=Ee.split("."))[0]>0&&j[0]<4?1:+(j[0]+j[1])),!_&&ge&&(!(j=ge.match(/Edge\/(\d+)/))||j[1]>=74)&&(j=ge.match(/Chrome\/(\d+)/))&&(_=+j[1]);var Ce=_,be=Ce,ve=T,Ae=!!Object.getOwnPropertySymbols&&!ve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&be&&be<41})),Fe=Ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xe=pe,Se=ie,we=fe,Te=Fe,Be=S.Object,Ne=Te?function(e){return"symbol"==typeof e}:function(e){var t=xe("Symbol");return Se(t)&&we(t.prototype,Be(e))},ke=S.String,Pe=function(e){try{return ke(e)}catch(e){return"Object"}},Oe=ie,Ie=Pe,Le=S.TypeError,je=function(e){if(Oe(e))return e;throw Le(Ie(e)+" is not a function")},_e=je,Me=function(e,t){var n=e[t];return null==n?void 0:_e(n)},Re=k,Ve=ie,$e=se,We=S.TypeError,qe={exports:{}},Ue=S,Ge=Object.defineProperty,ze=function(e,t){try{Ge(Ue,e,{value:t,configurable:!0,writable:!0})}catch(n){Ue[e]=t}return t},He=ze,Je=S["__core-js_shared__"]||He("__core-js_shared__",{}),Xe=Je;(qe.exports=function(e,t){return Xe[e]||(Xe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var Ye=te,Ke=S.Object,Qe=function(e){return Ke(Ye(e))},Ze=Qe,et=q({}.hasOwnProperty),tt=Object.hasOwn||function(e,t){return et(Ze(e),t)},nt=q,rt=0,ot=Math.random(),it=nt(1..toString),ut=function(e){return"Symbol("+(void 0===e?"":e)+")_"+it(++rt+ot,36)},st=S,at=qe.exports,ct=tt,lt=ut,pt=Ae,ft=Fe,dt=at("wks"),ht=st.Symbol,gt=ht&&ht.for,mt=ft?ht:ht&&ht.withoutSetter||lt,yt=function(e){if(!ct(dt,e)||!pt&&"string"!=typeof dt[e]){var t="Symbol."+e;pt&&ct(ht,e)?dt[e]=ht[e]:dt[e]=ft&&gt?gt(t):mt(t)}return dt[e]},Dt=k,Et=se,Ct=Ne,bt=Me,vt=function(e,t){var n,r;if("string"===t&&Ve(n=e.toString)&&!$e(r=Re(n,e)))return r;if(Ve(n=e.valueOf)&&!$e(r=Re(n,e)))return r;if("string"!==t&&Ve(n=e.toString)&&!$e(r=Re(n,e)))return r;throw We("Can't convert object to primitive value")},At=yt,Ft=S.TypeError,xt=At("toPrimitive"),St=function(e,t){if(!Et(e)||Ct(e))return e;var n,r=bt(e,xt);if(r){if(void 0===t&&(t="default"),n=Dt(r,e,t),!Et(n)||Ct(n))return n;throw Ft("Can't convert object to primitive value")}return void 0===t&&(t="number"),vt(e,t)},wt=Ne,Tt=function(e){var t=St(e,"string");return wt(t)?t:t+""},Bt=se,Nt=S.document,kt=Bt(Nt)&&Bt(Nt.createElement),Pt=function(e){return kt?Nt.createElement(e):{}},Ot=Pt,It=!B&&!T((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),Lt=B,jt=k,_t=P,Mt=M,Rt=oe,Vt=Tt,$t=tt,Wt=It,qt=Object.getOwnPropertyDescriptor;w.f=Lt?qt:function(e,t){if(e=Rt(e),t=Vt(t),Wt)try{return qt(e,t)}catch(e){}if($t(e,t))return Mt(!jt(_t.f,e,t),e[t])};var Ut={},Gt=S,zt=se,Ht=Gt.String,Jt=Gt.TypeError,Xt=function(e){if(zt(e))return e;throw Jt(Ht(e)+" is not an object")},Yt=B,Kt=It,Qt=Xt,Zt=Tt,en=S.TypeError,tn=Object.defineProperty;Ut.f=Yt?tn:function(e,t,n){if(Qt(e),t=Zt(t),Qt(n),Kt)try{return tn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw en("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var nn=Ut,rn=M,on=B?function(e,t,n){return nn.f(e,t,rn(1,n))}:function(e,t,n){return e[t]=n,e},un={exports:{}},sn=ie,an=Je,cn=q(Function.toString);sn(an.inspectSource)||(an.inspectSource=function(e){return cn(e)});var ln,pn,fn,dn=an.inspectSource,hn=ie,gn=dn,mn=S.WeakMap,yn=hn(mn)&&/native code/.test(gn(mn)),Dn=qe.exports,En=ut,Cn=Dn("keys"),bn=function(e){return Cn[e]||(Cn[e]=En(e))},vn={},An=yn,Fn=S,xn=q,Sn=se,wn=on,Tn=tt,Bn=Je,Nn=bn,kn=vn,Pn=Fn.TypeError,On=Fn.WeakMap;if(An||Bn.state){var In=Bn.state||(Bn.state=new On),Ln=xn(In.get),jn=xn(In.has),_n=xn(In.set);ln=function(e,t){if(jn(In,e))throw new Pn("Object already initialized");return t.facade=e,_n(In,e,t),t},pn=function(e){return Ln(In,e)||{}},fn=function(e){return jn(In,e)}}else{var Mn=Nn("state");kn[Mn]=!0,ln=function(e,t){if(Tn(e,Mn))throw new Pn("Object already initialized");return t.facade=e,wn(e,Mn,t),t},pn=function(e){return Tn(e,Mn)?e[Mn]:{}},fn=function(e){return Tn(e,Mn)}}var Rn={set:ln,get:pn,has:fn,enforce:function(e){return fn(e)?pn(e):ln(e,{})},getterFor:function(e){return function(t){var n;if(!Sn(t)||(n=pn(t)).type!==e)throw Pn("Incompatible receiver, "+e+" required");return n}}},Vn=B,$n=tt,Wn=Function.prototype,qn=Vn&&Object.getOwnPropertyDescriptor,Un=$n(Wn,"name"),Gn=Un&&"something"===function(){}.name,zn=Un&&(!Vn||Vn&&qn(Wn,"name").configurable),Hn=S,Jn=ie,Xn=tt,Yn=on,Kn=ze,Qn=dn,Zn={EXISTS:Un,PROPER:Gn,CONFIGURABLE:zn}.CONFIGURABLE,er=Rn.get,tr=Rn.enforce,nr=String(String).split("String");(un.exports=function(e,t,n,r){var o,i=!!r&&!!r.unsafe,u=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet,a=r&&void 0!==r.name?r.name:t;Jn(n)&&("Symbol("===String(a).slice(0,7)&&(a="["+String(a).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xn(n,"name")||Zn&&n.name!==a)&&Yn(n,"name",a),(o=tr(n)).source||(o.source=nr.join("string"==typeof a?a:""))),e!==Hn?(i?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=n:Yn(e,t,n)):u?e[t]=n:Kn(t,n)})(Function.prototype,"toString",(function(){return Jn(this)&&er(this).source||Qn(this)}));var rr={},or=Math.ceil,ir=Math.floor,ur=function(e){var t=+e;return t!=t||0===t?0:(t>0?ir:or)(t)},sr=ur,ar=Math.max,cr=Math.min,lr=ur,pr=Math.min,fr=function(e){return e>0?pr(lr(e),9007199254740991):0},dr=function(e){return fr(e.length)},hr=oe,gr=function(e,t){var n=sr(e);return n<0?ar(n+t,0):cr(n,t)},mr=dr,yr=function(e){return function(t,n,r){var o,i=hr(t),u=mr(i),s=gr(r,u);if(e&&n!=n){for(;u>s;)if((o=i[s++])!=o)return!0}else for(;u>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Dr={includes:yr(!0),indexOf:yr(!1)},Er=tt,Cr=oe,br=Dr.indexOf,vr=vn,Ar=q([].push),Fr=function(e,t){var n,r=Cr(e),o=0,i=[];for(n in r)!Er(vr,n)&&Er(r,n)&&Ar(i,n);for(;t.length>o;)Er(r,n=t[o++])&&(~br(i,n)||Ar(i,n));return i},xr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Sr=Fr,wr=xr.concat("length","prototype");rr.f=Object.getOwnPropertyNames||function(e){return Sr(e,wr)};var Tr={};Tr.f=Object.getOwnPropertySymbols;var Br=pe,Nr=rr,kr=Tr,Pr=Xt,Or=q([].concat),Ir=Br("Reflect","ownKeys")||function(e){var t=Nr.f(Pr(e)),n=kr.f;return n?Or(t,n(e)):t},Lr=tt,jr=Ir,_r=w,Mr=Ut,Rr=T,Vr=ie,$r=/#|\.prototype\./,Wr=function(e,t){var n=Ur[qr(e)];return n==zr||n!=Gr&&(Vr(t)?Rr(t):!!t)},qr=Wr.normalize=function(e){return String(e).replace($r,".").toLowerCase()},Ur=Wr.data={},Gr=Wr.NATIVE="N",zr=Wr.POLYFILL="P",Hr=Wr,Jr=S,Xr=w.f,Yr=on,Kr=un.exports,Qr=ze,Zr=function(e,t){for(var n=jr(t),r=Mr.f,o=_r.f,i=0;i<n.length;i++){var u=n[i];Lr(e,u)||r(e,u,o(t,u))}},eo=Hr,to=function(e,t){var n,r,o,i,u,s=e.target,a=e.global,c=e.stat;if(n=a?Jr:c?Jr[s]||Qr(s,{}):(Jr[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(u=Xr(n,r))&&u.value:n[r],!eo(a?r:s+(c?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zr(i,o)}(e.sham||o&&o.sham)&&Yr(i,"sham",!0),Kr(n,r,i,e)}},no={};no[yt("toStringTag")]="z";var ro=S,oo="[object z]"===String(no),io=ie,uo=H,so=yt("toStringTag"),ao=ro.Object,co="Arguments"==uo(function(){return arguments}()),lo=oo?uo:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=ao(e),so))?n:co?uo(t):"Object"==(r=uo(t))&&io(t.callee)?"Arguments":r},po=lo,fo=S.String,ho=q([].slice),go=Math.floor,mo=function(e,t){var n=e.length,r=go(n/2);return n<8?yo(e,t):Do(e,mo(ho(e,0,r),t),mo(ho(e,r),t),t)},yo=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},Do=function(e,t,n,r){for(var o=t.length,i=n.length,u=0,s=0;u<o||s<i;)e[u+s]=u<o&&s<i?r(t[u],n[s])<=0?t[u++]:n[s++]:u<o?t[u++]:n[s++];return e},Eo=mo,Co=T,bo=de.match(/firefox\/(\d+)/i),vo=!!bo&&+bo[1],Ao=/MSIE|Trident/.test(de),Fo=de.match(/AppleWebKit\/(\d+)\./),xo=!!Fo&&+Fo[1],So=to,wo=q,To=je,Bo=Qe,No=dr,ko=function(e){if("Symbol"===po(e))throw TypeError("Cannot convert a Symbol value to a string");return fo(e)},Po=T,Oo=Eo,Io=function(e,t){var n=[][e];return!!n&&Co((function(){n.call(null,t||function(){throw 1},1)}))},Lo=vo,jo=Ao,_o=Ce,Mo=xo,Ro=[],Vo=wo(Ro.sort),$o=wo(Ro.push),Wo=Po((function(){Ro.sort(void 0)})),qo=Po((function(){Ro.sort(null)})),Uo=Io("sort"),Go=!Po((function(){if(_o)return _o<70;if(!(Lo&&Lo>3)){if(jo)return!0;if(Mo)return Mo<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)Ro.push({k:t+r,v:n})}for(Ro.sort((function(e,t){return t.v-e.v})),r=0;r<Ro.length;r++)t=Ro[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));So({target:"Array",proto:!0,forced:Wo||!qo||!Uo||!Go},{sort:function(e){void 0!==e&&To(e);var t=Bo(this);if(Go)return void 0===e?Vo(t):Vo(t,e);var n,r,o=[],i=No(t);for(r=0;r<i;r++)r in t&&$o(o,t[r]);for(Oo(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:ko(t)>ko(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<i;)delete t[r++];return t}});var zo={};Object.defineProperty(zo,"__esModule",{value:!0}),zo.diffJson=function(e,t,n){return Ko.diff(e,t,n)},zo.canonicalize=Qo,zo.jsonDiff=void 0;var Ho=function(e){return e&&e.__esModule?e:{default:e}}(o),Jo=g;function Xo(e){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}var Yo=Object.prototype.toString,Ko=new Ho.default;function Qo(e,t,n,r,o){var i,u;for(t=t||[],n=n||[],r&&(e=r(o,e)),i=0;i<t.length;i+=1)if(t[i]===e)return n[i];if("[object Array]"===Yo.call(e)){for(t.push(e),u=new Array(e.length),n.push(u),i=0;i<e.length;i+=1)u[i]=Qo(e[i],t,n,r,o);return t.pop(),n.pop(),u}if(e&&e.toJSON&&(e=e.toJSON()),"object"===Xo(e)&&null!==e){t.push(e),u={},n.push(u);var s,a=[];for(s in e)e.hasOwnProperty(s)&&a.push(s);for(a.sort(),i=0;i<a.length;i+=1)u[s=a[i]]=Qo(e[s],t,n,r,s);t.pop(),n.pop()}else u=e;return u}zo.jsonDiff=Ko,Ko.useLongestToken=!0,Ko.tokenize=Jo.lineDiff.tokenize,Ko.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(Qo(e,null,null,o),o,"  ")},Ko.equals=function(e,t){return Ho.default.prototype.equals.call(Ko,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.diffArrays=function(e,t,n){return ti.diff(e,t,n)},Zo.arrayDiff=void 0;var ei=function(e){return e&&e.__esModule?e:{default:e}}(o);var ti=new ei.default;Zo.arrayDiff=ti,ti.tokenize=function(e){return e.slice()},ti.join=ti.removeEmpty=function(e){return e};var ni={},ri={};Object.defineProperty(ri,"__esModule",{value:!0}),ri.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function u(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var u=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);u&&(e.index=u[1]),i++}for(s(e),s(e),e.hunks=[];i<n.length;){var c=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(a());else{if(c&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(c));i++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),u=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(u)&&(u=u.substr(1,u.length-2)),e[r+"FileName"]=u,e[r+"Header"]=(o[1]||"").trim(),i++}}function a(){var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),u={oldStart:+o[1],oldLines:void 0===o[2]?1:+o[2],newStart:+o[3],newLines:void 0===o[4]?1:+o[4],lines:[],linedelimiters:[]};0===u.oldLines&&(u.oldStart+=1),0===u.newLines&&(u.newStart+=1);for(var s=0,a=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var c=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;u.lines.push(n[i]),u.linedelimiters.push(r[i]||"\n"),"+"===c?s++:"-"===c?a++:" "===c&&(s++,a++)}if(s||1!==u.newLines||(u.newLines=0),a||1!==u.oldLines||(u.oldLines=0),t.strict){if(s!==u.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(a!==u.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return u}for(;i<n.length;)u();return o};var oi,ii={};oi=ii,Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=function(e,t,n){var r=!0,o=!1,i=!1,u=1;return function s(){if(r&&!i){if(o?u++:r=!1,e+u<=n)return u;i=!0}if(!o)return i||(r=!0),t<=e-u?-u++:(o=!0,s())}},Object.defineProperty(ni,"__esModule",{value:!0}),ni.applyPatch=ai,ni.applyPatches=function(e,t){"string"==typeof e&&(e=(0,ui.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=ai(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var ui=ri,si=function(e){return e&&e.__esModule?e:{default:e}}(ii);function ai(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,ui.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,o,i=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],o=r.length>0?r[0]:" ",u=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!a(t+1,i[t],o,u)&&++c>l)return!1;t++}}return!0}for(var h=0;h<s.length;h++){for(var g=s[h],m=i.length-g.oldLines,y=0,D=f+g.oldStart-1,E=(0,si.default)(D,p,m);void 0!==y;y=E())if(d(g,D+y)){g.offset=f+=y;break}if(void 0===y)return!1;p=g.offset+g.oldStart+g.oldLines}for(var C=0,b=0;b<s.length;b++){var v=s[b],A=v.oldStart+v.offset+C-1;C+=v.newLines-v.oldLines;for(var F=0;F<v.lines.length;F++){var x=v.lines[F],S=x.length>0?x[0]:" ",w=x.length>0?x.substr(1):x,T=v.linedelimiters[F];if(" "===S)A++;else if("-"===S)i.splice(A,1),u.splice(A,1);else if("+"===S)i.splice(A,0,w),u.splice(A,0,T),A++;else if("\\"===S){var B=v.lines[F-1]?v.lines[F-1][0]:null;"+"===B?r=!0:"-"===B&&(o=!0)}}}if(r)for(;!i[i.length-1];)i.pop(),u.pop();else o&&(i.push(""),u.push("\n"));for(var N=0;N<i.length-1;N++)i[N]=i[N]+u[N];return i.join("")}var ci={},li={};Object.defineProperty(li,"__esModule",{value:!0}),li.structuredPatch=hi,li.formatPatch=gi,li.createTwoFilesPatch=mi,li.createPatch=function(e,t,n,r,o,i){return mi(e,e,t,n,r,o,i)};var pi=g;function fi(e){return function(e){if(Array.isArray(e))return di(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return di(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return di(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function di(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hi(e,t,n,r,o,i,u){u||(u={}),void 0===u.context&&(u.context=4);var s=(0,pi.diffLines)(n,r,u);function a(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var c=[],l=0,p=0,f=[],d=1,h=1,g=function(e){var t=s[e],o=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=o,t.added||t.removed){var i;if(!l){var g=s[e-1];l=d,p=h,g&&(f=u.context>0?a(g.lines.slice(-u.context)):[],l-=f.length,p-=f.length)}(i=f).push.apply(i,fi(o.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=o.length:d+=o.length}else{if(l)if(o.length<=2*u.context&&e<s.length-2){var m;(m=f).push.apply(m,fi(a(o)))}else{var y,D=Math.min(o.length,u.context);(y=f).push.apply(y,fi(a(o.slice(0,D))));var E={oldStart:l,oldLines:d-l+D,newStart:p,newLines:h-p+D,lines:f};if(e>=s.length-2&&o.length<=u.context){var C=/\n$/.test(n),b=/\n$/.test(r),v=0==o.length&&f.length>E.oldLines;!C&&v&&n.length>0&&f.splice(E.oldLines,0,"\\ No newline at end of file"),(C||v)&&b||f.push("\\ No newline at end of file")}c.push(E),l=0,p=0,f=[]}d+=o.length,h+=o.length}},m=0;m<s.length;m++)g(m);return{oldFileName:e,newFileName:t,oldHeader:o,newHeader:i,hunks:c}}function gi(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines)}return t.join("\n")+"\n"}function mi(e,t,n,r,o,i,u){return gi(hi(e,t,n,r,o,i,u))}var yi={};function Di(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}Object.defineProperty(yi,"__esModule",{value:!0}),yi.arrayEqual=function(e,t){if(e.length!==t.length)return!1;return Di(e,t)},yi.arrayStartsWith=Di,Object.defineProperty(ci,"__esModule",{value:!0}),ci.calcLineCount=Fi,ci.merge=function(e,t,n){e=xi(e,n),t=xi(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index);(e.newFileName||t.newFileName)&&(Si(e)?Si(t)?(r.oldFileName=wi(r,e.oldFileName,t.oldFileName),r.newFileName=wi(r,e.newFileName,t.newFileName),r.oldHeader=wi(r,e.oldHeader,t.oldHeader),r.newHeader=wi(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader));r.hunks=[];var o=0,i=0,u=0,s=0;for(;o<e.hunks.length||i<t.hunks.length;){var a=e.hunks[o]||{oldStart:1/0},c=t.hunks[i]||{oldStart:1/0};if(Ti(a,c))r.hunks.push(Bi(a,u)),o++,s+=a.newLines-a.oldLines;else if(Ti(c,a))r.hunks.push(Bi(c,s)),i++,u+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(a.oldStart,c.oldStart),oldLines:0,newStart:Math.min(a.newStart+u,c.oldStart+s),newLines:0,lines:[]};Ni(l,a.oldStart,a.lines,c.oldStart,c.lines),i++,o++,r.hunks.push(l)}}return r};var Ei=li,Ci=ri,bi=yi;function vi(e){return function(e){if(Array.isArray(e))return Ai(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ai(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ai(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ai(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fi(e){var t=Ri(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function xi(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,Ci.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,Ei.structuredPatch)(void 0,void 0,t,e)}return e}function Si(e){return e.newFileName&&e.newFileName!==e.oldFileName}function wi(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function Ti(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function Bi(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function Ni(e,t,n,r,o){var i={offset:t,lines:n,index:0},u={offset:r,lines:o,index:0};for(Ii(e,i,u),Ii(e,u,i);i.index<i.lines.length&&u.index<u.lines.length;){var s=i.lines[i.index],a=u.lines[u.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==a[0]&&"+"!==a[0])if("+"===s[0]&&" "===a[0]){var c;(c=e.lines).push.apply(c,vi(ji(i)))}else if("+"===a[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,vi(ji(u)))}else"-"===s[0]&&" "===a[0]?Pi(e,i,u):"-"===a[0]&&" "===s[0]?Pi(e,u,i,!0):s===a?(e.lines.push(s),i.index++,u.index++):Oi(e,ji(i),ji(u));else ki(e,i,u)}Li(e,i),Li(e,u),Fi(e)}function ki(e,t,n){var r=ji(t),o=ji(n);if(_i(r)&&_i(o)){var i,u;if((0,bi.arrayStartsWith)(r,o)&&Mi(n,r,r.length-o.length))return void(i=e.lines).push.apply(i,vi(r));if((0,bi.arrayStartsWith)(o,r)&&Mi(t,o,o.length-r.length))return void(u=e.lines).push.apply(u,vi(o))}else if((0,bi.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,vi(r))}Oi(e,r,o)}function Pi(e,t,n,r){var o,i=ji(t),u=function(e,t){var n=[],r=[],o=0,i=!1,u=!1;for(;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],a=t[o];if("+"===a[0])break;if(i=i||" "!==s[0],r.push(a),o++,"+"===s[0])for(u=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];a.substr(1)===s.substr(1)?(n.push(s),e.index++):u=!0}"+"===(t[o]||"")[0]&&i&&(u=!0);if(u)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);u.merged?(o=e.lines).push.apply(o,vi(u.merged)):Oi(e,r?u:i,r?i:u)}function Oi(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function Ii(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function Li(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function ji(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function _i(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function Mi(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}function Ri(e){var t=0,n=0;return e.forEach((function(e){if("string"!=typeof e){var r=Ri(e.mine),o=Ri(e.theirs);void 0!==t&&(r.oldLines===o.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===o.newLines?n+=r.newLines:n=void 0)}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:n}}var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.convertChangesToDMP=function(e){for(var t,n,r=[],o=0;o<e.length;o++)t=e[o],n=t.added?1:t.removed?-1:0,r.push([n,t.value]);return r};var $i={};function Wi(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}function qi(e){return{type:"concat",parts:e}}function Ui(e){return{type:"indent",contents:e}}function Gi(e,t){return{type:"align",contents:t,n:e}}function zi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}Object.defineProperty($i,"__esModule",{value:!0}),$i.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(Wi(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:function(){return n.diffChars}}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:function(){return r.diffWords}}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:function(){return r.diffWordsWithSpace}}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:function(){return i.diffLines}}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:function(){return i.diffTrimmedLines}}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:function(){return s.diffSentences}}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:function(){return c.diffCss}}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:function(){return l.diffJson}}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:function(){return l.canonicalize}}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:function(){return p.diffArrays}}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:function(){return f.applyPatch}}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:function(){return f.applyPatches}}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:function(){return d.parsePatch}}),Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return h.merge}}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:function(){return m.structuredPatch}}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:function(){return m.createTwoFilesPatch}}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:function(){return m.createPatch}}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:function(){return y.convertChangesToDMP}}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:function(){return D.convertChangesToXML}});var t=function(e){return e&&e.__esModule?e:{default:e}}(o),n=u,r=a,i=g,s=E,c=v,l=zo,p=Zo,f=ni,d=ri,h=ci,m=li,y=Vi,D=$i}(r);const Hi={type:"break-parent"},Ji={type:"line",hard:!0},Xi={type:"line",hard:!0,literal:!0},Yi=qi([Ji,Hi]),Ki=qi([Xi,Hi]);var Qi={concat:qi,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return qi(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Yi,literalline:Ki,group:zi,conditionalGroup:function(e,t){return zi(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:Hi,ifBreak:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:Ui,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:Gi,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=Ui(r);r=Gi(t%n,r),r=Gi(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return Gi({type:"root"},e)},dedentToRoot:function(e){return Gi(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return Gi(-1,e)},hardlineWithoutBreakParent:Ji,literallineWithoutBreakParent:Xi,label:function(e,t){return{type:"label",label:e,contents:t}}},Zi={exports:{}};const eu=function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")};var tu={exports:{}};const nu=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));tu.exports=nu,tu.exports.default=nu;const ru=e=>"string"==typeof e?e.replace(eu(),""):e,ou=tu.exports,iu=function(){return/\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},uu=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=ru(e)).length)return 0;e=e.replace(iu(),"  ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=ou(r)?2:1))}return t};Zi.exports=uu,Zi.exports.default=uu;var su=e=>e[e.length-1];function au(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var lu=H,pu=Array.isArray||function(e){return"Array"==lu(e)},fu=je,du=q(q.bind),hu=function(e,t){return fu(e),void 0===t?e:du?du(e,t):function(){return e.apply(t,arguments)}},gu=pu,mu=dr,yu=hu,Du=S.TypeError,Eu=function(e,t,n,r,o,i,u,s){for(var a,c,l=o,p=0,f=!!u&&yu(u,s);p<r;){if(p in n){if(a=f?f(n[p],p,t):n[p],i>0&&gu(a))c=mu(a),l=Eu(e,t,a,c,l,i-1)-1;else{if(l>=9007199254740991)throw Du("Exceed the acceptable array length");e[l]=a}l++}p++}return l},Cu=Eu,bu=q,vu=T,Au=ie,Fu=lo,xu=dn,Su=function(){},wu=[],Tu=pe("Reflect","construct"),Bu=/^\s*(?:class|function)\b/,Nu=bu(Bu.exec),ku=!Bu.exec(Su),Pu=function(e){if(!Au(e))return!1;try{return Tu(Su,wu,e),!0}catch(e){return!1}},Ou=!Tu||vu((function(){var e;return Pu(Pu.call)||!Pu(Object)||!Pu((function(){e=!0}))||e}))?function(e){if(!Au(e))return!1;switch(Fu(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return ku||!!Nu(Bu,xu(e))}:Pu,Iu=S,Lu=pu,ju=Ou,_u=se,Mu=yt("species"),Ru=Iu.Array,Vu=function(e){var t;return Lu(e)&&(t=e.constructor,(ju(t)&&(t===Ru||Lu(t.prototype))||_u(t)&&null===(t=t[Mu]))&&(t=void 0)),void 0===t?Ru:t},$u=function(e,t){return new(Vu(e))(0===t?0:t)},Wu=Cu,qu=je,Uu=Qe,Gu=dr,zu=$u;to({target:"Array",proto:!0},{flatMap:function(e){var t,n=Uu(this),r=Gu(n);return qu(e),(t=zu(n,0)).length=Wu(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Hu={},Ju=Hu,Xu=yt("iterator"),Yu=Array.prototype,Ku=lo,Qu=Me,Zu=Hu,es=yt("iterator"),ts=function(e){if(null!=e)return Qu(e,es)||Qu(e,"@@iterator")||Zu[Ku(e)]},ns=k,rs=je,os=Xt,is=Pe,us=ts,ss=S.TypeError,as=k,cs=Xt,ls=Me,ps=hu,fs=k,ds=Xt,hs=Pe,gs=function(e){return void 0!==e&&(Ju.Array===e||Yu[Xu]===e)},ms=dr,ys=fe,Ds=function(e,t){var n=arguments.length<2?us(e):t;if(rs(n))return os(ns(n,e));throw ss(is(e)+" is not iterable")},Es=ts,Cs=function(e,t,n){var r,o;cs(e);try{if(!(r=ls(e,"return"))){if("throw"===t)throw n;return n}r=as(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return cs(r),n},bs=S.TypeError,vs=function(e,t){this.stopped=e,this.result=t},As=vs.prototype,Fs=Tt,xs=Ut,Ss=M,ws=function(e,t,n){var r,o,i,u,s,a,c,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),h=ps(t,l),g=function(e){return r&&Cs(r,"normal",e),new vs(!0,e)},m=function(e){return p?(ds(e),d?h(e[0],e[1],g):h(e[0],e[1])):d?h(e,g):h(e)};if(f)r=e;else{if(!(o=Es(e)))throw bs(hs(e)+" is not iterable");if(gs(o)){for(i=0,u=ms(e);u>i;i++)if((s=m(e[i]))&&ys(As,s))return s;return new vs(!1)}r=Ds(e,o)}for(a=r.next;!(c=fs(a,r)).done;){try{s=m(c.value)}catch(e){Cs(r,"throw",e)}if("object"==typeof s&&s&&ys(As,s))return s}return new vs(!1)},Ts=function(e,t,n){var r=Fs(t);r in e?xs.f(e,r,Ss(0,n)):e[r]=n};to({target:"Object",stat:!0},{fromEntries:function(e){var t={};return ws(e,(function(e,n){Ts(t,e,n)}),{AS_ENTRIES:!0}),t}});var Bs=void 0!==Bs?Bs:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ns(){throw new Error("setTimeout has not been defined")}function ks(){throw new Error("clearTimeout has not been defined")}var Ps=Ns,Os=ks;function Is(e){if(Ps===setTimeout)return setTimeout(e,0);if((Ps===Ns||!Ps)&&setTimeout)return Ps=setTimeout,setTimeout(e,0);try{return Ps(e,0)}catch(t){try{return Ps.call(null,e,0)}catch(t){return Ps.call(this,e,0)}}}"function"==typeof Bs.setTimeout&&(Ps=setTimeout),"function"==typeof Bs.clearTimeout&&(Os=clearTimeout);var Ls,js=[],_s=!1,Ms=-1;function Rs(){_s&&Ls&&(_s=!1,Ls.length?js=Ls.concat(js):Ms=-1,js.length&&Vs())}function Vs(){if(!_s){var e=Is(Rs);_s=!0;for(var t=js.length;t;){for(Ls=js,js=[];++Ms<t;)Ls&&Ls[Ms].run();Ms=-1,t=js.length}Ls=null,_s=!1,function(e){if(Os===clearTimeout)return clearTimeout(e);if((Os===ks||!Os)&&clearTimeout)return Os=clearTimeout,clearTimeout(e);try{Os(e)}catch(t){try{return Os.call(null,e)}catch(t){return Os.call(this,e)}}}(e)}}function $s(e,t){this.fun=e,this.array=t}$s.prototype.run=function(){this.fun.apply(null,this.array)};function Ws(){}var qs=Ws,Us=Ws,Gs=Ws,zs=Ws,Hs=Ws,Js=Ws,Xs=Ws;var Ys=Bs.performance||{},Ks=Ys.now||Ys.mozNow||Ys.msNow||Ys.oNow||Ys.webkitNow||function(){return(new Date).getTime()};var Qs=new Date;var Zs={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];js.push(new $s(e,t)),1!==js.length||_s||Is(Vs)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:qs,addListener:Us,once:Gs,off:zs,removeListener:Hs,removeAllListeners:Js,emit:Xs,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ks.call(Ys),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Qs)/1e3}};var ea="object"==typeof Zs&&Zs.env&&Zs.env.NODE_DEBUG&&/\bsemver\b/i.test(Zs.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error("SEMVER",...t)}:()=>{};var ta={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},na={exports:{}};!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=ta,r=ea,o=(t=e.exports={}).re=[],i=t.src=[],u=t.t={};let s=0;const a=(e,t,n)=>{const a=s++;r(a,t),u[e]=a,i[a]=t,o[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(i[u.NUMERICIDENTIFIER],")\\.")+"(".concat(i[u.NUMERICIDENTIFIER],")\\.")+"(".concat(i[u.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(i[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[u.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(i[u.NUMERICIDENTIFIER],"|").concat(i[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[u.NUMERICIDENTIFIERLOOSE],"|").concat(i[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(i[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[u.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(i[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[u.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(i[u.BUILDIDENTIFIER],"(?:\\.").concat(i[u.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(i[u.MAINVERSION]).concat(i[u.PRERELEASE],"?").concat(i[u.BUILD],"?")),a("FULL","^".concat(i[u.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(i[u.MAINVERSIONLOOSE]).concat(i[u.PRERELEASELOOSE],"?").concat(i[u.BUILD],"?")),a("LOOSE","^".concat(i[u.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(i[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(i[u.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:".concat(i[u.PRERELEASE],")?").concat(i[u.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[u.PRERELEASELOOSE],")?").concat(i[u.BUILD],"?")+")?)?"),a("XRANGE","^".concat(i[u.GTLT],"\\s*").concat(i[u.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(i[u.GTLT],"\\s*").concat(i[u.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",i[u.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(i[u.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(i[u.LONETILDE]).concat(i[u.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(i[u.LONETILDE]).concat(i[u.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(i[u.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(i[u.LONECARET]).concat(i[u.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(i[u.LONECARET]).concat(i[u.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(i[u.GTLT],"\\s*(").concat(i[u.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(i[u.GTLT],"\\s*(").concat(i[u.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(i[u.GTLT],"\\s*(").concat(i[u.LOOSEPLAIN],"|").concat(i[u.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(i[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[u.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(i[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[u.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(na,na.exports);const ra=["includePrerelease","loose","rtl"];var oa=e=>e?"object"!=typeof e?{loose:!0}:ra.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const ia=/^[0-9]+$/,ua=(e,t)=>{const n=ia.test(e),r=ia.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var sa={compareIdentifiers:ua,rcompareIdentifiers:(e,t)=>ua(t,e)};const aa=ea,{MAX_LENGTH:ca,MAX_SAFE_INTEGER:la}=ta,{re:pa,t:fa}=na.exports,da=oa,{compareIdentifiers:ha}=sa;class ga{constructor(e,t){if(t=da(t),e instanceof ga){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>ca)throw new TypeError("version is longer than ".concat(ca," characters"));aa("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?pa[fa.LOOSE]:pa[fa.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>la||this.major<0)throw new TypeError("Invalid major version");if(this.minor>la||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>la||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<la)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(aa("SemVer.compare",this.version,this.options,e),!(e instanceof ga)){if("string"==typeof e&&e===this.version)return 0;e=new ga(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof ga||(e=new ga(e,this.options)),ha(this.major,e.major)||ha(this.minor,e.minor)||ha(this.patch,e.patch)}comparePre(e){if(e instanceof ga||(e=new ga(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(aa("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return ha(n,r)}while(++t)}compareBuild(e){e instanceof ga||(e=new ga(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(aa("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return ha(n,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}const ma=ga;var ya=(e,t,n)=>new ma(e,n).compare(new ma(t,n));const Da=ya;var Ea=(e,t,n)=>Da(e,t,n)<0;const Ca=ya;var ba,va,Aa,Fa,xa,Sa,wa=(e,t,n)=>Ca(e,t,n)>=0,Ta={exports:{}};!function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var o=Object.prototype.hasOwnProperty,i=function(e,t){return o.call(e,t)};function u(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,a=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(e,t,n){var r=0,o=e[0].match(l);o&&(r=o[1].length);var i=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var u=n.newline,c=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof u,d=e.length;return e.map((function(e,t){return e=e.replace(i,"$1"),0===t&&c&&(e=e.replace(s,"")),t===d-1&&p&&(e=e.replace(a,"")),f&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return u}))),e}))}function d(e,t){for(var n="",r=0,o=e.length;r<o;r++)n+=e[r],r<o-1&&(n+=t[r]);return n}function h(e){return i(e,"raw")&&i(e,"length")}var g=function e(t){var n=r(),o=r(),i=u((function r(i){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(h(i)){var l=i,m=(s[0]===r||s[0]===g)&&p.test(l[0])&&c.test(l[1]),y=m?o:n,D=y.get(l);if(D||(D=f(l,m,t),y.set(l,D)),0===s.length)return D[0];var E=d(D,m?s.slice(1):s);return E}return e(u(u({},t),i||{}))}),{string:function(e){return f([e],!1,t)[0]}});return i}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=g,t.default=g;try{e.exports=g,Object.defineProperty(g,"__esModule",{value:!0}),g.default=g,g.outdent=g}catch(e){}}(Ta,Ta.exports);const{outdent:Ba}=Ta.exports,Na={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ba(ba||(ba=cu(["\n      Print (to stderr) where a cursor at the given position would move to after formatting.\n      This option cannot be used with --range-start and --range-end.\n    "]))),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Ba(va||(va=cu(["\n          Maintain existing\n          (mixed values within one file are normalised by looking at what's used after the first line)\n        "])))}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:Ba(Aa||(Aa=cu(["\n      Custom directory that contains prettier plugins in node_modules subdirectory.\n      Overrides default behavior when plugins are searched relatively to the location of Prettier.\n      Multiple values are accepted.\n    "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ba(Fa||(Fa=cu(["\n      Format code ending at a given character offset (exclusive).\n      The range will extend forwards to the end of the selected statement.\n      This option cannot be used with --cursor-offset.\n    "]))),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ba(xa||(xa=cu(["\n      Format code starting at a given character offset.\n      The range will extend backwards to the start of the first line containing the selected statement.\n      This option cannot be used with --cursor-offset.\n    "]))),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:Ba(Sa||(Sa=cu(["\n      Require either '@prettier' or '@format' to be present in the file's first docblock comment\n      in order for it to be formatted.\n    "]))),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const ka=["cliName","cliCategory","cliDescription"],Pa={compare:ya,lt:Ea,gte:wa},Oa=(e,t)=>Object.entries(e).map((e=>{let[n,r]=e;return Object.assign({[t]:n},r)})),Ia=n.version,La={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:Na}.options;function ja(e,t,n){const r=new Set(e.choices.map((e=>e.value)));for(const o of t)if(o.parsers)for(const t of o.parsers)if(!r.has(t)){r.add(t);const i=n.find((e=>e.parsers&&e.parsers[t]));let u=o.name;i&&i.name&&(u+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:u})}}var _a={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=Ia.split("-",1)[0],i=e.flatMap((e=>e.languages||[])).filter(s),u=Oa(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),La),"name").filter((e=>s(e)&&a(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(c).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort(((e,t)=>Pa.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>s(e)&&a(e))),"parser"===t.name&&ja(t,i,e));const n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:i,options:u};function s(e){return t||!("since"in e)||e.since&&Pa.gte(o,e.since)}function a(e){return n||!("deprecated"in e)||e.deprecated&&Pa.lt(o,e.deprecated)}function c(e){if(r)return e;return au(e,ka)}}};const Ma=Zi.exports,Ra=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Va=su,{getSupportInfo:$a}=_a,Wa=/[^\x20-\x7F]/;function qa(e){return(t,n,r)=>{const o=r&&r.backwards;if(!1===n)return!1;const{length:i}=t;let u=n;for(;u>=0&&u<i;){const n=t.charAt(u);if(e instanceof RegExp){if(!e.test(n))return u}else if(!e.includes(n))return u;o?u--:u++}return(-1===u||u===i)&&u}}const Ua=qa(/\s/),Ga=qa(" \t"),za=qa(",; \t"),Ha=qa(/[^\n\r]/);function Ja(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function Xa(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Ha(e,t):t)}function Ya(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const o=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===o)return t-2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t-1}else{if("\r"===o&&"\n"===e.charAt(t+1))return t+2;if("\n"===o||"\r"===o||"\u2028"===o||"\u2029"===o)return t+1}return t}function Ka(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Ga(e,n.backwards?t-1:t,n),o=Ya(e,r,n);return r!==o}function Qa(e,t){let n=null,r=t;for(;r!==n;)n=r,r=za(e,r),r=Ja(e,r),r=Ga(e,r);return r=Xa(e,r),r=Ya(e,r),!1!==r&&Ka(e,r)}function Za(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Ga(e,r),r=Ja(e,r),r=Xa(e,r),r=Ya(e,r);return r}function ec(e,t,n){return Za(e,n(t))}function tc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let o=n;o<e.length;++o)"\t"===e[o]?r=r+t-r%t:r++;return r}function nc(e,t){const n={quote:'"',regex:/"/g,escaped:"&quot;"},r={quote:"'",regex:/'/g,escaped:"&apos;"},o="'"===t?r:n,i=o===r?n:r;let u=o;if(e.includes(o.quote)||e.includes(i.quote)){u=(e.match(o.regex)||[]).length>(e.match(i.regex)||[]).length?i:o}return u}function rc(e,t,n){const r='"'===t?"'":'"',o=e.replace(/\\(.)|(["'])/gs,((e,o,i)=>o===r?o:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)));return t+o+t}function oc(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");n.length>20&&(n=n.slice(0,19)+"\u2026");return t+(n?" "+n:"")}(e)}var ic={inferParserByLanguage:function(e,t){const{languages:n}=$a({plugins:t.plugins}),r=n.find((t=>{let{name:n}=t;return n.toLowerCase()===e}))||n.find((t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)}))||n.find((t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},getStringWidth:function(e){return e?Wa.test(e)?Ma(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Ra(t),")+"),"g"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Ra(t),")+"),"g"));if(null===n)return 0;const r=new Map;let o=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>o&&(o=n)}for(let e=1;e<o;e++)if(!r.get(e))return e;return o+1},getPenultimate:e=>e[e.length-2],getLast:Va,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Za,getNextNonSpaceNonCommentCharacterIndex:ec,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(ec(e,t,n))},skip:qa,skipWhitespace:Ua,skipSpaces:Ga,skipToLineEnd:za,skipEverythingButNewLine:Ha,skipInlineComment:Ja,skipTrailingComment:Xa,skipNewline:Ya,isNextLineEmptyAfterIndex:Qa,isNextLineEmpty:function(e,t,n){return Qa(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Ga(e,r,{backwards:!0}),r=Ya(e,r,{backwards:!0}),r=Ga(e,r,{backwards:!0}),r!==Ya(e,r,{backwards:!0})},hasNewline:Ka,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Ga(e,n.backwards?t-1:t,n);return r!==t},getAlignmentSize:tc,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:tc(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:nc,printString:function(e,t){const n=e.slice(1,-1);return rc(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":nc(n,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:rc,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,oc(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),oc(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,oc(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){const t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}};var uc={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const sc=su,{literalline:ac,join:cc}=Qi,lc=e=>Array.isArray(e)||e&&"concat"===e.type,pc=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},fc={};function dc(e,t,n,r){const o=[e];for(;o.length>0;){const e=o.pop();if(e!==fc){if(n&&o.push(e,fc),!t||!1!==t(e))if(lc(e)||"fill"===e.type){const t=pc(e);for(let e=t.length-1;e>=0;--e)o.push(t[e])}else if("if-break"===e.type)e.flatContents&&o.push(e.flatContents),e.breakContents&&o.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)o.push(e.expandedStates[t]);else o.push(e.contents);else e.contents&&o.push(e.contents)}else n(o.pop())}}function hc(e,t){const n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);const o=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),o=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:o}))}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),o=n[0];return t(Object.assign(Object.assign({},e),{},{contents:o,expandedStates:n}))}if(e.contents){const n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,o),o}}function gc(e,t,n){let r=n,o=!1;return dc(e,(function(e){const n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1})),r}function mc(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function yc(e){if(e.length>0){const t=sc(e);t.expandedStates||t.break||(t.break="propagated")}return null}function Dc(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const Ec=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function Cc(e){if(!e)return e;if(lc(e)||"fill"===e.type){const t=pc(e);for(;t.length>1&&Ec(...t.slice(-2));)t.length-=2;if(t.length>0){const e=Cc(sc(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=Cc(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{const t=Cc(e.breakContents),n=Cc(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function bc(e){return hc(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!lc(e))return e;const t=[];for(const n of pc(e)){if(!n)continue;const[e,...r]=lc(n)?pc(n):[n];"string"==typeof e&&"string"==typeof sc(t)?t[t.length-1]+=e:t.push(e),t.push(...r)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function vc(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(lc(e)?n.unshift(...pc(e)):t.length>0&&"string"==typeof sc(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}function Ac(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ac;return cc(t,e.split("\n")).parts}function Fc(e){if("line"===e.type)return!0}var xc={isConcat:lc,getDocParts:pc,willBreak:function(e){return gc(e,mc,!1)},traverseDoc:dc,findInDoc:gc,mapDoc:hc,propagateBreaks:function(e){const t=new Set,n=[];dc(e,(function(e){if("break-parent"===e.type&&yc(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){n.pop().break&&yc(n)}}),!0)},removeLines:function(e){return hc(e,Dc)},stripTrailingHardline:function(e){return Cc(bc(e))},normalizeParts:vc,normalizeDoc:function(e){return hc(e,(e=>Array.isArray(e)?vc(e):e.parts?Object.assign(Object.assign({},e),{},{parts:vc(e.parts)}):e))},cleanDoc:bc,replaceTextEndOfLine:Ac,replaceEndOfLine:function(e){return hc(e,(e=>"string"==typeof e&&e.includes("\n")?Ac(e):e))},canBreak:function(e){return gc(e,Fc,!1)}};const{getStringWidth:Sc,getLast:wc}=ic,{convertEndOfLineToChars:Tc}=uc,{fill:Bc,cursor:Nc,indent:kc}=Qi,{isConcat:Pc,getDocParts:Oc}=xc;let Ic;function Lc(e,t){return _c(e,{type:"indent"},t)}function jc(e,t,n){if(t===Number.NEGATIVE_INFINITY)return e.root||{value:"",length:0,queue:[]};if(t<0)return _c(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign(Object.assign({},e),{},{root:e});return _c(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n)}function _c(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let o="",i=0,u=0,s=0;for(const e of r)switch(e.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=e.n,i+=e.n.length;break;case"numberAlign":u+=1,s+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return p(),Object.assign(Object.assign({},e),{},{value:o,length:i,queue:r});function a(e){o+="\t".repeat(e),i+=n.tabWidth*e}function c(e){o+=" ".repeat(e),i+=e}function l(){n.useTabs?function(){u>0&&a(u);f()}():p()}function p(){s>0&&c(s),f()}function f(){u=0,s=0}}function Mc(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof wc(e)&&/^[\t ]*$/.test(wc(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof wc(e)){const n=wc(e).replace(/[\t ]*$/,"");t+=wc(e).length-n.length,e[e.length-1]=n}return t}function Rc(e,t,n,r,o,i){let u=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===u)return!0;s.push(t[u-1]),u--;continue}const[e,c,l]=s.pop();if("string"==typeof l)a.push(l),n-=Sc(l);else if(Pc(l)){const t=Oc(l);for(let n=t.length-1;n>=0;n--)s.push([e,c,t[n]])}else switch(l.type){case"indent":s.push([Lc(e,r),c,l.contents]);break;case"align":s.push([jc(e,l.n,r),c,l.contents]);break;case"trim":n+=Mc(a);break;case"group":{if(i&&l.break)return!1;const t=l.break?1:c;s.push([e,t,l.expandedStates&&1===t?wc(l.expandedStates):l.contents]),l.id&&(Ic[l.id]=t);break}case"fill":for(let t=l.parts.length-1;t>=0;t--)s.push([e,c,l.parts[t]]);break;case"if-break":case"indent-if-break":{const t=l.groupId?Ic[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:kc(l.contents);t&&s.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?kc(l.contents):l.contents;t&&s.push([e,c,t])}break}case"line":switch(c){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":s.push([e,c,l.contents])}}return!1}var Vc={printDocToString:function(e,t){Ic={};const n=t.printWidth,r=Tc(t.endOfLine);let o=0;const i=[[{value:"",length:0,queue:[]},1,e]],u=[];let s=!1,a=[];for(;i.length>0;){const[e,c,l]=i.pop();if("string"==typeof l){const e="\n"!==r?l.replace(/\n/g,r):l;u.push(e),o+=Sc(e)}else if(Pc(l)){const t=Oc(l);for(let n=t.length-1;n>=0;n--)i.push([e,c,t[n]])}else switch(l.type){case"cursor":u.push(Nc.placeholder);break;case"indent":i.push([Lc(e,t),c,l.contents]);break;case"align":i.push([jc(e,l.n,t),c,l.contents]);break;case"trim":o-=Mc(u);break;case"group":switch(c){case 2:if(!s){i.push([e,l.break?1:2,l.contents]);break}case 1:{s=!1;const r=[e,2,l.contents],u=n-o,c=a.length>0;if(!l.break&&Rc(r,i,u,t,c))i.push(r);else if(l.expandedStates){const n=wc(l.expandedStates);if(l.break){i.push([e,1,n]);break}for(let r=1;r<l.expandedStates.length+1;r++){if(r>=l.expandedStates.length){i.push([e,1,n]);break}{const n=[e,2,l.expandedStates[r]];if(Rc(n,i,u,t,c)){i.push(n);break}}}}else i.push([e,1,l.contents]);break}}l.id&&(Ic[l.id]=wc(i)[1]);break;case"fill":{const r=n-o,{parts:u}=l;if(0===u.length)break;const[s,p]=u,f=[e,2,s],d=[e,1,s],h=Rc(f,[],r,t,a.length>0,!0);if(1===u.length){h?i.push(f):i.push(d);break}const g=[e,2,p],m=[e,1,p];if(2===u.length){h?i.push(g,f):i.push(m,d);break}u.splice(0,2);const y=[e,c,Bc(u)];Rc([e,2,[s,p,u[0]]],[],r,t,a.length>0,!0)?i.push(y,g,f):h?i.push(y,m,f):i.push(y,m,d);break}case"if-break":case"indent-if-break":{const t=l.groupId?Ic[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:kc(l.contents);t&&i.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?kc(l.contents):l.contents;t&&i.push([e,c,t])}break}case"line-suffix":a.push([e,c,l.contents]);break;case"line-suffix-boundary":a.length>0&&i.push([e,c,{type:"line",hard:!0}]);break;case"line":switch(c){case 2:if(!l.hard){l.soft||(u.push(" "),o+=1);break}s=!0;case 1:if(a.length>0){i.push([e,c,l],...a.reverse()),a=[];break}l.literal?e.root?(u.push(r,e.root.value),o=e.root.length):(u.push(r),o=0):(o-=Mc(u),u.push(r+e.value),o=e.length)}break;case"label":i.push([e,c,l.contents])}0===i.length&&a.length>0&&(i.push(...a.reverse()),a=[])}const c=u.indexOf(Nc.placeholder);if(-1!==c){const e=u.indexOf(Nc.placeholder,c+1),t=u.slice(0,c).join(""),n=u.slice(c+1,e).join("");return{formatted:t+n+u.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:u.join("")}}};const{isConcat:$c,getDocParts:Wc}=xc;function qc(e){if(!e)return"";if($c(e)){const t=[];for(const n of Wc(e))if($c(n))t.push(...qc(n).parts);else{const e=qc(n);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:qc(e.breakContents),flatContents:qc(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:qc(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(qc)}):"fill"===e.type?{type:"fill",parts:e.parts.map(qc)}:e.contents?Object.assign(Object.assign({},e),{},{contents:qc(e.contents)}):e}var Uc={printDocToDebug:function(e){const t=Object.create(null),n=new Set;return function e(t,n,o){if("string"==typeof t)return JSON.stringify(t);if($c(t)){const n=Wc(t).map(e).filter(Boolean);return 1===n.length?n[0]:"[".concat(n.join(", "),"]")}if("line"===t.type){const e=Array.isArray(o)&&o[n+1]&&"break-parent"===o[n+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type){return Array.isArray(o)&&o[n-1]&&"line"===o[n-1].type&&o[n-1].hard?void 0:"breakParent"}if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push("groupId: ".concat(r(t.groupId)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(o,")")}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push("id: ".concat(r(t.id)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((t=>e(t))).join(","),"]").concat(o,")"):"group(".concat(e(t.contents)).concat(o,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((t=>e(t))).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(qc(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const r=String(e).slice(7,-1)||"symbol";for(let o=0;;o++){const i=r+(o>0?" #".concat(o):"");if(!n.has(i))return n.add(i),t[e]="Symbol.for(".concat(JSON.stringify(i),")")}}}},Gc={builders:Qi,printer:Vc,utils:xc,debug:Uc},zc=t(Object.freeze({__proto__:null,default:{}}));function Hc(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var Jc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Xc=function(e){return Jc.exec(e).slice(1)};function Yc(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=Hc(il(e.split("/"),(function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."}function Kc(e){var t=Qc(e),n="/"===ul(e,-1);return e=Hc(il(e.split("/"),(function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Qc(e){return"/"===e.charAt(0)}function Zc(){var e=Array.prototype.slice.call(arguments,0);return Kc(il(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function el(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=Yc(e).substr(1),t=Yc(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),u=i,s=0;s<i;s++)if(r[s]!==o[s]){u=s;break}var a=[];for(s=u;s<r.length;s++)a.push("..");return(a=a.concat(o.slice(u))).join("/")}function tl(e){var t=Xc(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function nl(e,t){var n=Xc(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function rl(e){return Xc(e)[3]}var ol={extname:rl,basename:nl,dirname:tl,sep:"/",delimiter:":",relative:el,join:Zc,isAbsolute:Qc,normalize:Kc,resolve:Yc};function il(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var ul="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},sl=t(Object.freeze({__proto__:null,resolve:Yc,normalize:Kc,isAbsolute:Qc,join:Zc,relative:el,sep:"/",delimiter:":",dirname:tl,basename:nl,extname:rl,default:ol})),al=[],cl=[],ll="undefined"!=typeof Uint8Array?Uint8Array:Array,pl=!1;function fl(){pl=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)al[t]=e[t],cl[e.charCodeAt(t)]=t;cl["-".charCodeAt(0)]=62,cl["_".charCodeAt(0)]=63}function dl(e,t,n){for(var r,o,i=[],u=t;u<n;u+=3)r=(e[u]<<16)+(e[u+1]<<8)+e[u+2],i.push(al[(o=r)>>18&63]+al[o>>12&63]+al[o>>6&63]+al[63&o]);return i.join("")}function hl(e){var t;pl||fl();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;s<a;s+=u)i.push(dl(e,s,s+u>a?a:s+u));return 1===r?(t=e[n-1],o+=al[t>>2],o+=al[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=al[t>>10],o+=al[t>>4&63],o+=al[t<<2&63],o+="="),i.push(o),i.join("")}function gl(e,t,n,r,o){var i,u,s=8*o-r-1,a=(1<<s)-1,c=a>>1,l=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===a)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),i-=c}return(d?-1:1)*u*Math.pow(2,i-r)}function ml(e,t,n,r,o,i){var u,s,a,c=8*i-o-1,l=(1<<c)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),(t+=u+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(u++,a/=2),u+p>=l?(s=0,u=l):u+p>=1?(s=(t*a-1)*Math.pow(2,o),u+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(u=u<<o|s,c+=o;c>0;e[n+d]=255&u,d+=h,u/=256,c-=8);e[n+d-h]|=128*g}var yl={}.toString,Dl=Array.isArray||function(e){return"[object Array]"==yl.call(e)};function El(){return bl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Cl(e,t){if(El()<t)throw new RangeError("Invalid typed array length");return bl.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=bl.prototype:(null===e&&(e=new bl(t)),e.length=t),e}function bl(e,t,n){if(!(bl.TYPED_ARRAY_SUPPORT||this instanceof bl))return new bl(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Fl(this,e)}return vl(this,e,t,n)}function vl(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);bl.TYPED_ARRAY_SUPPORT?(e=t).__proto__=bl.prototype:e=xl(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!bl.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Tl(t,n),o=(e=Cl(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(wl(t)){var n=0|Sl(t.length);return 0===(e=Cl(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Cl(e,0):xl(e,t);if("Buffer"===t.type&&Dl(t.data))return xl(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Al(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Fl(e,t){if(Al(t),e=Cl(e,t<0?0:0|Sl(t)),!bl.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function xl(e,t){var n=t.length<0?0:0|Sl(t.length);e=Cl(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Sl(e){if(e>=El())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+El().toString(16)+" bytes");return 0|e}function wl(e){return!(null==e||!e._isBuffer)}function Tl(e,t){if(wl(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return ep(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return tp(e).length;default:if(r)return ep(e).length;t=(""+t).toLowerCase(),r=!0}}function Bl(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ql(this,t,n);case"utf8":case"utf-8":return Vl(this,t,n);case"ascii":return $l(this,t,n);case"latin1":case"binary":return Wl(this,t,n);case"base64":return Rl(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ul(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Nl(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function kl(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=bl.from(t,r)),wl(t))return 0===t.length?-1:Pl(e,t,n,r,o);if("number"==typeof t)return t&=255,bl.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pl(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Pl(e,t,n,r,o){var i,u=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,s/=2,a/=2,n/=2}function c(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)}if(o){var l=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===a)return l*u}else-1!==l&&(i-=i-l),l=-1}else for(n+a>s&&(n=s-a),i=n;i>=0;i--){for(var p=!0,f=0;f<a;f++)if(c(e,i+f)!==c(t,f)){p=!1;break}if(p)return i}return-1}function Ol(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;u<r;++u){var s=parseInt(t.substr(2*u,2),16);if(isNaN(s))return u;e[n+u]=s}return u}function Il(e,t,n,r){return np(ep(t,e.length-n),e,n,r)}function Ll(e,t,n,r){return np(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function jl(e,t,n,r){return Ll(e,t,n,r)}function _l(e,t,n,r){return np(tp(t),e,n,r)}function Ml(e,t,n,r){return np(function(e,t){for(var n,r,o,i=[],u=0;u<e.length&&!((t-=2)<0);++u)r=(n=e.charCodeAt(u))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function Rl(e,t,n){return 0===t&&n===e.length?hl(e):hl(e.slice(t,n))}function Vl(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,u,s,a,c=e[o],l=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(a=(31&c)<<6|63&i)>127&&(l=a);break;case 3:i=e[o+1],u=e[o+2],128==(192&i)&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:i=e[o+1],u=e[o+2],s=e[o+3],128==(192&i)&&128==(192&u)&&128==(192&s)&&(a=(15&c)<<18|(63&i)<<12|(63&u)<<6|63&s)>65535&&a<1114112&&(l=a)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}bl.TYPED_ARRAY_SUPPORT=void 0===Bs.TYPED_ARRAY_SUPPORT||Bs.TYPED_ARRAY_SUPPORT,bl.poolSize=8192,bl._augment=function(e){return e.__proto__=bl.prototype,e},bl.from=function(e,t,n){return vl(null,e,t,n)},bl.TYPED_ARRAY_SUPPORT&&(bl.prototype.__proto__=Uint8Array.prototype,bl.__proto__=Uint8Array),bl.alloc=function(e,t,n){return function(e,t,n,r){return Al(t),t<=0?Cl(e,t):void 0!==n?"string"==typeof r?Cl(e,t).fill(n,r):Cl(e,t).fill(n):Cl(e,t)}(null,e,t,n)},bl.allocUnsafe=function(e){return Fl(null,e)},bl.allocUnsafeSlow=function(e){return Fl(null,e)},bl.isBuffer=rp,bl.compare=function(e,t){if(!wl(e)||!wl(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},bl.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},bl.concat=function(e,t){if(!Dl(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return bl.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=bl.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!wl(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},bl.byteLength=Tl,bl.prototype._isBuffer=!0,bl.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Nl(this,t,t+1);return this},bl.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Nl(this,t,t+3),Nl(this,t+1,t+2);return this},bl.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Nl(this,t,t+7),Nl(this,t+1,t+6),Nl(this,t+2,t+5),Nl(this,t+3,t+4);return this},bl.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Vl(this,0,e):Bl.apply(this,arguments)},bl.prototype.equals=function(e){if(!wl(e))throw new TypeError("Argument must be a Buffer");return this===e||0===bl.compare(this,e)},bl.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},bl.prototype.compare=function(e,t,n,r,o){if(!wl(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),s=Math.min(i,u),a=this.slice(r,o),c=e.slice(t,n),l=0;l<s;++l)if(a[l]!==c[l]){i=a[l],u=c[l];break}return i<u?-1:u<i?1:0},bl.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},bl.prototype.indexOf=function(e,t,n){return kl(this,e,t,n,!0)},bl.prototype.lastIndexOf=function(e,t,n){return kl(this,e,t,n,!1)},bl.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Ol(this,e,t,n);case"utf8":case"utf-8":return Il(this,e,t,n);case"ascii":return Ll(this,e,t,n);case"latin1":case"binary":return jl(this,e,t,n);case"base64":return _l(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},bl.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $l(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function Wl(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function ql(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=Zl(e[i]);return o}function Ul(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function Gl(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function zl(e,t,n,r,o,i){if(!wl(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Hl(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function Jl(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function Xl(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Yl(e,t,n,r,o){return o||Xl(e,0,n,4),ml(e,t,n,r,23,4),n+4}function Kl(e,t,n,r,o){return o||Xl(e,0,n,8),ml(e,t,n,r,52,8),n+8}bl.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),bl.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=bl.prototype;else{var o=t-e;n=new bl(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},bl.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},bl.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},bl.prototype.readUInt8=function(e,t){return t||Gl(e,1,this.length),this[e]},bl.prototype.readUInt16LE=function(e,t){return t||Gl(e,2,this.length),this[e]|this[e+1]<<8},bl.prototype.readUInt16BE=function(e,t){return t||Gl(e,2,this.length),this[e]<<8|this[e+1]},bl.prototype.readUInt32LE=function(e,t){return t||Gl(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},bl.prototype.readUInt32BE=function(e,t){return t||Gl(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},bl.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},bl.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},bl.prototype.readInt8=function(e,t){return t||Gl(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},bl.prototype.readInt16LE=function(e,t){t||Gl(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},bl.prototype.readInt16BE=function(e,t){t||Gl(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},bl.prototype.readInt32LE=function(e,t){return t||Gl(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},bl.prototype.readInt32BE=function(e,t){return t||Gl(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},bl.prototype.readFloatLE=function(e,t){return t||Gl(e,4,this.length),gl(this,e,!0,23,4)},bl.prototype.readFloatBE=function(e,t){return t||Gl(e,4,this.length),gl(this,e,!1,23,4)},bl.prototype.readDoubleLE=function(e,t){return t||Gl(e,8,this.length),gl(this,e,!0,52,8)},bl.prototype.readDoubleBE=function(e,t){return t||Gl(e,8,this.length),gl(this,e,!1,52,8)},bl.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||zl(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},bl.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||zl(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},bl.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,1,255,0),bl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},bl.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,65535,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Hl(this,e,t,!0),t+2},bl.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,65535,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Hl(this,e,t,!1),t+2},bl.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,4294967295,0),bl.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Jl(this,e,t,!0),t+4},bl.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,4294967295,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Jl(this,e,t,!1),t+4},bl.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);zl(this,e,t,n,o-1,-o)}var i=0,u=1,s=0;for(this[t]=255&e;++i<n&&(u*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n},bl.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);zl(this,e,t,n,o-1,-o)}var i=n-1,u=1,s=0;for(this[t+i]=255&e;--i>=0&&(u*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n},bl.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,1,127,-128),bl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},bl.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,32767,-32768),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Hl(this,e,t,!0),t+2},bl.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,32767,-32768),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Hl(this,e,t,!1),t+2},bl.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,2147483647,-2147483648),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Jl(this,e,t,!0),t+4},bl.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Jl(this,e,t,!1),t+4},bl.prototype.writeFloatLE=function(e,t,n){return Yl(this,e,t,!0,n)},bl.prototype.writeFloatBE=function(e,t,n){return Yl(this,e,t,!1,n)},bl.prototype.writeDoubleLE=function(e,t,n){return Kl(this,e,t,!0,n)},bl.prototype.writeDoubleBE=function(e,t,n){return Kl(this,e,t,!1,n)},bl.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!bl.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},bl.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!bl.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var u=wl(e)?e:ep(new bl(e,r).toString()),s=u.length;for(i=0;i<n-t;++i)this[i+t]=u[i%s]}return this};var Ql=/[^+\/0-9A-Za-z-_]/g;function Zl(e){return e<16?"0"+e.toString(16):e.toString(16)}function ep(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],u=0;u<r;++u){if((n=e.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function tp(e){return function(e){var t,n,r,o,i,u;pl||fl();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,u=new ll(3*s/4-i),r=i>0?s-4:s;var a=0;for(t=0,n=0;t<r;t+=4,n+=3)o=cl[e.charCodeAt(t)]<<18|cl[e.charCodeAt(t+1)]<<12|cl[e.charCodeAt(t+2)]<<6|cl[e.charCodeAt(t+3)],u[a++]=o>>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=cl[e.charCodeAt(t)]<<2|cl[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=cl[e.charCodeAt(t)]<<10|cl[e.charCodeAt(t+1)]<<4|cl[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ql,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function np(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function rp(e){return null!=e&&(!!e._isBuffer||op(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&op(e.slice(0,0))}(e))}function op(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}const ip=zc;var up=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:ip.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++){if(e[r]===t){n=r;break}}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){ip.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,o=0;for(;;){let i=e[r++];if(i===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===i)break}let i=e.slice(o,r);return i.length&&n.push(i),n}_readChunk(e){let t,n=0;const r=[];do{const e=new bl(this.options.readChunk);t=ip.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let o=bl.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,n)),n&&(this.linesCache=this._extractLines(o),e&&(this.linesCache[0]=bl.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;if(this.eofReached&&0===this.linesCache.length)return t;if(this.linesCache.length||(e=this._readChunk()),this.linesCache.length){t=this.linesCache.shift();t[t.length-1]!==this.newLineCharacter&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()))}return this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t}};class sp extends Error{}class ap extends Error{}class cp extends Error{}class lp extends Error{}var pp={ConfigError:sp,DebugError:ap,UndefinedParserError:cp,ArgExpansionBailout:lp},fp={},dp=function(e,t){return dp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},dp(e,t)};var hp=function(){return hp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hp.apply(this,arguments)};function gp(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function mp(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function yp(e){return this instanceof yp?(this.v=e,this):new yp(e)}var Dp=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}dp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return hp},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},__decorate:function(e,t,n,r){var o,i=arguments.length,u=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function s(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,s)}a((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:gp,__read:mp,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(mp(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],u=0,s=i.length;u<s;u++,o++)r[o]=i[u];return r},__await:yp,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r;function u(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof yp?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function a(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:yp(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=gp(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Ep={},Cp={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return"[".concat(t.map((t=>e.apiDescriptor.value(t))).join(", "),"]");const n=Object.keys(t);return 0===n.length?"{}":"{ ".concat(n.map((n=>"".concat(e.apiDescriptor.key(n),": ").concat(e.apiDescriptor.value(t[n])))).join(", ")," }")},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}(Cp),function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Cp,e)}(Ep);var bp={},vp={},Ap={},Fp={exports:{}},xp=/[|\\{}()[\]^$+*?.]/g,Sp=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(xp,"\\$&")},wp={exports:{}},Tp={exports:{}},Bp={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]},Np={};for(var kp in Bp)Bp.hasOwnProperty(kp)&&(Np[Bp[kp]]=kp);var Pp=Tp.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 Op in Pp)if(Pp.hasOwnProperty(Op)){if(!("channels"in Pp[Op]))throw new Error("missing channels property: "+Op);if(!("labels"in Pp[Op]))throw new Error("missing channel labels property: "+Op);if(Pp[Op].labels.length!==Pp[Op].channels)throw new Error("channel and label counts mismatch: "+Op);var Ip=Pp[Op].channels,Lp=Pp[Op].labels;delete Pp[Op].channels,delete Pp[Op].labels,Object.defineProperty(Pp[Op],"channels",{value:Ip}),Object.defineProperty(Pp[Op],"labels",{value:Lp})}Pp.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},Pp.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},Pp.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[Pp.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},Pp.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},Pp.rgb.keyword=function(e){var t=Np[e];if(t)return t;var n,r,o,i=1/0;for(var u in Bp)if(Bp.hasOwnProperty(u)){var s=Bp[u],a=(r=e,o=s,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));a<i&&(i=a,n=u)}return n},Pp.keyword.rgb=function(e){return Bp[e]},Pp.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Pp.rgb.lab=function(e){var t=Pp.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},Pp.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},Pp.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},Pp.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},Pp.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},Pp.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},Pp.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},Pp.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},Pp.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},Pp.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},Pp.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},Pp.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},Pp.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:Pp.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},Pp.hsv.ansi16=function(e){return Pp.rgb.ansi16(Pp.hsv.rgb(e),e[2])},Pp.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Pp.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Pp.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},Pp.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Pp.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Pp.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},Pp.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},Pp.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Pp.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},Pp.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Pp.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Pp.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Pp.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Pp.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Pp.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Pp.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Pp.gray.hsl=Pp.gray.hsv=function(e){return[0,0,e[0]]},Pp.gray.hwb=function(e){return[0,100,e[0]]},Pp.gray.cmyk=function(e){return[0,0,0,e[0]]},Pp.gray.lab=function(e){return[e[0],0,0]},Pp.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Pp.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var jp=Tp.exports;function _p(e){var t=function(){for(var e={},t=Object.keys(jp),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(jp[r]),i=o.length,u=0;u<i;u++){var s=o[u],a=t[s];-1===a.distance&&(a.distance=t[r].distance+1,a.parent=r,n.unshift(s))}return t}function Mp(e,t){return function(n){return t(e(n))}}function Rp(e,t){for(var n=[t[e].parent,e],r=jp[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Mp(jp[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var Vp=Tp.exports,$p=function(e){for(var t=_p(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var u=r[i];null!==t[u].parent&&(n[u]=Rp(u,t))}return n},Wp={};Object.keys(Vp).forEach((function(e){Wp[e]={},Object.defineProperty(Wp[e],"channels",{value:Vp[e].channels}),Object.defineProperty(Wp[e],"labels",{value:Vp[e].labels});var t=$p(e);Object.keys(t).forEach((function(n){var r=t[n];Wp[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Wp[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var qp,Up=Wp;function Gp(){if(void 0===qp){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])qp="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");qp="LE"}}return qp}function zp(){return void 0!==Bs.location?Bs.location.hostname:""}function Hp(){return[]}function Jp(){return 0}function Xp(){return Number.MAX_VALUE}function Yp(){return Number.MAX_VALUE}function Kp(){return[]}function Qp(){return"Browser"}function Zp(){return void 0!==Bs.navigator?Bs.navigator.appVersion:""}function ef(){}function tf(){}function nf(){return"javascript"}function rf(){return"browser"}function of(){return"/tmp"}!function(e){const t=Up,n=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(r+n,"m")},r=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";5;").concat(r,"m")},o=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={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]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const u=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:n(u,0)},i.color.ansi256={ansi256:r(u,0)},i.color.ansi16m={rgb:o(s,0)},i.bgColor.ansi={ansi:n(u,10)},i.bgColor.ansi256={ansi256:r(u,10)},i.bgColor.ansi16m={rgb:o(s,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const u=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(i.color.ansi[e]=n(u.ansi16,0),i.bgColor.ansi[e]=n(u.ansi16,10)),"ansi256"in u&&(i.color.ansi256[e]=r(u.ansi256,0),i.bgColor.ansi256[e]=r(u.ansi256,10)),"rgb"in u&&(i.color.ansi16m[e]=o(u.rgb,0),i.bgColor.ansi16m[e]=o(u.rgb,10))}return i}})}(wp);var uf=of,sf={EOL:"\n",arch:nf,platform:rf,tmpdir:uf,tmpDir:of,networkInterfaces:ef,getNetworkInterfaces:tf,release:Zp,type:Qp,cpus:Kp,totalmem:Yp,freemem:Xp,uptime:Jp,loadavg:Hp,hostname:zp,endianness:Gp},af=t(Object.freeze({__proto__:null,endianness:Gp,hostname:zp,loadavg:Hp,uptime:Jp,freemem:Xp,totalmem:Yp,cpus:Kp,type:Qp,release:Zp,networkInterfaces:ef,getNetworkInterfaces:tf,arch:nf,platform:rf,tmpDir:of,tmpdir:uf,EOL:"\n",default:sf}));const cf=af,lf=(e,t)=>{t=t||Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},pf=Zs.env;let ff;function df(e){const t=function(e){if(!1===ff)return 0;if(lf("color=16m")||lf("color=full")||lf("color=truecolor"))return 3;if(lf("color=256"))return 2;if(e&&!e.isTTY&&!0!==ff)return 0;const t=ff?1:0;if("win32"===Zs.platform){const e=cf.release().split(".");return Number(Zs.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in pf)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in pf))||"codeship"===pf.CI_NAME?1:t;if("TEAMCITY_VERSION"in pf)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(pf.TEAMCITY_VERSION)?1:0;if("truecolor"===pf.COLORTERM)return 3;if("TERM_PROGRAM"in pf){const e=parseInt((pf.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(pf.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(pf.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(pf.TERM)||"COLORTERM"in pf?1:(pf.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}lf("no-color")||lf("no-colors")||lf("color=false")?ff=!1:(lf("color")||lf("colors")||lf("color=true")||lf("color=always"))&&(ff=!0),"FORCE_COLOR"in pf&&(ff=0===pf.FORCE_COLOR.length||0!==parseInt(pf.FORCE_COLOR,10));var hf={supportsColor:df,stdout:df(Zs.stdout),stderr:df(Zs.stderr)};const gf=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,mf=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,yf=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Df=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ef=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Cf(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ef.get(e)||e}function bf(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(yf)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Df,((e,t,n)=>t?Cf(t):n)))}else n.push(Number(t));return n}function vf(e){mf.lastIndex=0;const t=[];let n;for(;null!==(n=mf.exec(e));){const e=n[1];if(n[2]){const r=bf(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Af(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var Ff=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(gf,((t,i,u,s,a,c)=>{if(i)o.push(Cf(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Af(e,n)(t)),n.push({inverse:u,styles:vf(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Af(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};!function(e){const t=Sp,n=wp.exports,r=hf.stdout,o=Ff,i="win32"===Zs.platform&&!(Zs.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],s=new Set(["gray"]),a=Object.create(null);function c(e,t){t=t||{};const n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){const t={};return c(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}i&&(n.blue.open="\x1b[94m");for(const e of Object.keys(n))n[e].closeRe=new RegExp(t(n[e].close),"g"),a[e]={get(){const t=n[e];return f.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};a.visible={get(){return f.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(const e of Object.keys(n.color.ansi))s.has(e)||(a[e]={get(){const t=this.level;return function(){const r=n.color[u[t]][e].apply(null,arguments),o={open:r,close:n.color.close,closeRe:n.color.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(const e of Object.keys(n.bgColor.ansi)){if(s.has(e))continue;a["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=n.bgColor[u[t]][e].apply(null,arguments),o={open:r,close:n.bgColor.close,closeRe:n.bgColor.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),a);function f(e,t,n){const r=function(){return d.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=p,r}function d(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=n.dim.open;i&&this.hasGrey&&(n.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return n.dim.open=o,r}function h(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return o(e,r.join(""))}Object.defineProperties(l.prototype,a),e.exports=l(),e.exports.supportsColor=r,e.exports.default=e.exports}(Fp),Object.defineProperty(Ap,"__esModule",{value:!0});const xf=Fp.exports;Ap.commonDeprecatedHandler=(e,t,n)=>{let{descriptor:r}=n;const o=["".concat(xf.default.yellow("string"==typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&o.push("we now treat it as ".concat(xf.default.blue("string"==typeof t?r.key(t):r.pair(t)))),o.join("; ")+"."},function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Ap,e)}(vp);var Sf={},wf={};Object.defineProperty(wf,"__esModule",{value:!0});const Tf=Fp.exports;wf.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(Tf.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Tf.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Tf.default.red(n.descriptor.value(t)),".")].join(" "),function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(wf,e)}(Sf);var Bf={},Nf={},kf=[],Pf=[];Object.defineProperty(Nf,"__esModule",{value:!0});const Of=Fp.exports,If=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var i,u,s,a,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(o-=c,0===(r-=c))return o;for(var l=0,p=0;l<r;)Pf[c+l]=e.charCodeAt(c+l),kf[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===Pf[c+l]?s:s+1,s=kf[l],u=kf[l]=s>u?a>u?u+1:a:a>s?s+1:a;return u};Nf.levenUnknownHandler=(e,t,n)=>{let{descriptor:r,logger:o,schemas:i}=n;const u=["Ignored unknown option ".concat(Of.default.yellow(r.pair({key:e,value:t})),".")],s=Object.keys(i).sort().find((t=>If(e,t)<3));s&&u.push("Did you mean ".concat(Of.default.blue(r.key(s)),"?")),o.warn(u.join(" "))},function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Nf,e)}(Bf),function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(vp,e),t.__exportStar(Sf,e),t.__exportStar(Bf,e)}(bp);var Lf={},jf={},_f={};Object.defineProperty(_f,"__esModule",{value:!0});const Mf=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Rf(e,t){const n=new e(t),r=Object.create(n);for(const e of Mf)e in t&&(r[e]=$f(t[e],n,Vf.prototype[e].length));return r}_f.createSchema=Rf;class Vf{constructor(e){this.name=e.name}static create(e){return Rf(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function $f(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e(...o.slice(0,n-1),t,...o.slice(n-1))}:()=>e}_f.Schema=Vf,Object.defineProperty(jf,"__esModule",{value:!0});const Wf=_f;class qf extends Wf.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}jf.AliasSchema=qf;var Uf={};Object.defineProperty(Uf,"__esModule",{value:!0});const Gf=_f;class zf extends Gf.Schema{expected(){return"anything"}validate(){return!0}}Uf.AnySchema=zf;var Hf={};Object.defineProperty(Hf,"__esModule",{value:!0});const Jf=Dp,Xf=_f;class Yf extends Xf.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Jf.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return n}forward(e,t){const n=[];for(const r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Kf))}return n}redirect(e,t){const n=[],r=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(Kf))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}}function Kf(e){let{from:t,to:n}=e;return{from:[t],to:n}}Hf.ArraySchema=Yf;var Qf={};Object.defineProperty(Qf,"__esModule",{value:!0});const Zf=_f;class ed extends Zf.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}Qf.BooleanSchema=ed;var td={},nd={};function rd(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function od(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>rd(e,t))):[rd(e,t)]}Object.defineProperty(nd,"__esModule",{value:!0}),nd.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},nd.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},nd.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},nd.partition=function(e,t){const n=[],r=[];for(const o of e)t(o)?n.push(o):r.push(o);return[n,r]},nd.isInt=function(e){return e===Math.floor(e)},nd.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},nd.normalizeDefaultResult=function(e){return void 0===e?{}:e},nd.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},nd.normalizeDeprecatedResult=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},nd.normalizeTransferResult=rd,nd.normalizeForwardResult=od,nd.normalizeRedirectResult=function(e,t){const n=od("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},Object.defineProperty(td,"__esModule",{value:!0});const id=_f,ud=nd;class sd extends id.Schema{constructor(e){super(e),this._choices=ud.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e;const n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(ud.comparePrimitive).map(t.value),r=n.slice(0,-2),o=n.slice(-2);return r.concat(o.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}td.ChoiceSchema=sd;var ad={},cd={};Object.defineProperty(cd,"__esModule",{value:!0});const ld=_f;class pd extends ld.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}cd.NumberSchema=pd,Object.defineProperty(ad,"__esModule",{value:!0});const fd=nd,dd=cd;class hd extends dd.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&fd.isInt(e)}}ad.IntegerSchema=hd;var gd={};Object.defineProperty(gd,"__esModule",{value:!0});const md=_f;class yd extends md.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}gd.StringSchema=yd,function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(jf,e),t.__exportStar(Uf,e),t.__exportStar(Hf,e),t.__exportStar(Qf,e),t.__exportStar(td,e),t.__exportStar(ad,e),t.__exportStar(cd,e),t.__exportStar(gd,e)}(Lf);var Dd={},Ed={};Object.defineProperty(Ed,"__esModule",{value:!0});const Cd=Cp,bd=Ap,vd=Sf,Ad=Nf;Ed.defaultDescriptor=Cd.apiDescriptor,Ed.defaultUnknownHandler=Ad.levenUnknownHandler,Ed.defaultInvalidHandler=vd.commonInvalidHandler,Ed.defaultDeprecatedHandler=bd.commonDeprecatedHandler,Object.defineProperty(Dd,"__esModule",{value:!0});const Fd=Ed,xd=nd;Dd.normalize=(e,t,n)=>new Sd(t,n).normalize(e);class Sd{constructor(e,t){const{logger:n=console,descriptor:r=Fd.defaultDescriptor,unknown:o=Fd.defaultUnknownHandler,invalid:i=Fd.defaultInvalidHandler,deprecated:u=Fd.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:xd.recordFromArray(e,"name"),normalizeDefaultResult:xd.normalizeDefaultResult,normalizeDeprecatedResult:xd.normalizeDeprecatedResult,normalizeForwardResult:xd.normalizeForwardResult,normalizeRedirectResult:xd.normalizeRedirectResult,normalizeValidateResult:xd.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=xd.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=xd.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value})}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,o]=xd.partition(Object.keys(e),(e=>e in this._utils.schemas));for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),u=xd.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==u){const{value:e}=u,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},a=e=>{let{value:t,redirectTo:n}=e;const u=xd.normalizeDeprecatedResult(r.deprecated(t,this._utils),i,!0);if(!1!==u)if(!0===u)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,n,this._utils));else for(const{value:e}of u){const t={key:o,value:e};if(!this._hasDeprecationWarned(t)){const r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};xd.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const c=xd.normalizeRedirectResult(r.redirect(i,this._utils),i);if(c.redirect.forEach(s),"remain"in c){const e=c.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,a({value:e})}for(const{from:e,to:t}of c.redirect)a({value:e,redirectTo:t})}for(const r of o){const o=e[r],i=this._unknownHandler(r,o,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}Dd.Normalizer=Sd,function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(Ep,e),t.__exportStar(bp,e),t.__exportStar(Lf,e),t.__exportStar(Dd,e),t.__exportStar(_f,e)}(fp);var wd={exports:{}};const Td=[],Bd=[],Nd=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,o=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;let i,u,s,a,c=0;for(;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(r-=c,o-=c,0===r)return o;let l=0,p=0;for(;l<r;)Bd[l]=e.charCodeAt(c+l),Td[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===Bd[l]?s:s+1,s=Td[l],u=Td[l]=s>u?a>u?u+1:a:a>s?s+1:a;return u};wd.exports=Nd,wd.exports.default=Nd;var kd={exports:{}};const Pd={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]},Od={};for(const e of Object.keys(Pd))Od[Pd[e]]=e;const Id={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"]}};var Ld=Id;for(const e of Object.keys(Id)){if(!("channels"in Id[e]))throw new Error("missing channels property: "+e);if(!("labels"in Id[e]))throw new Error("missing channel labels property: "+e);if(Id[e].labels.length!==Id[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Id[e];delete Id[e].channels,delete Id[e].labels,Object.defineProperty(Id[e],"channels",{value:t}),Object.defineProperty(Id[e],"labels",{value:n})}Id.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),u=i-o;let s,a;i===o?s=0:t===i?s=(n-r)/u:n===i?s=2+(r-t)/u:r===i&&(s=4+(t-n)/u),s=Math.min(60*s,360),s<0&&(s+=360);const c=(o+i)/2;return a=i===o?0:c<=.5?u/(i+o):u/(2-i-o),[s,100*a,100*c]},Id.rgb.hsv=function(e){let t,n,r,o,i;const u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},Id.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=Id.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r]},Id.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},Id.rgb.keyword=function(e){const t=Od[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(Pd)){const u=(i=Pd[t],((o=e)[0]-i[0])**2+(o[1]-i[1])**2+(o[2]-i[2])**2);u<r&&(r=u,n=t)}var o,i;return n},Id.keyword.rgb=function(e){return Pd[e]},Id.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Id.rgb.lab=function(e){const t=Id.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)]},Id.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,u;if(0===n)return u=255*r,[u,u,u];o=r<.5?r*(1+n):r+n-r*n;const s=2*r-o,a=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,u=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,a[e]=255*u;return a},Id.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i;return[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},Id.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},Id.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,u;u=(2-n)*r;const s=(2-n)*o;return i=n*o,i/=s<=1?s:2-s,i=i||0,u/=2,[t,100*i,100*u]},Id.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const u=Math.floor(6*t),s=1-r;i=6*t-u,0!=(1&u)&&(i=1-i);const a=n+i*(s-n);let c,l,p;switch(u){default:case 6:case 0:c=s,l=a,p=n;break;case 1:c=a,l=s,p=n;break;case 2:c=n,l=s,p=a;break;case 3:c=n,l=a,p=s;break;case 4:c=a,l=n,p=s;break;case 5:c=s,l=n,p=a}return[255*c,255*l,255*p]},Id.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},Id.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,u;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,u=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),u=Math.min(Math.max(0,u),1),[255*o,255*i,255*u]},Id.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Id.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,i=t**3,u=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Id.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o]},Id.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Id.rgb.ansi16=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const[n,r,o]=e;let i=null===t?Id.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let u=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(u+=60),u},Id.hsv.ansi16=function(e){return Id.rgb.ansi16(Id.hsv.rgb(e),e[2])},Id.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Id.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Id.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Id.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Id.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Id.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),u=o-i;let s,a;return s=u<1?i/(1-u):0,a=u<=0?0:o===t?(n-r)/u%6:o===n?2+(r-t)/u:4+(t-n)/u,a/=6,a%=1,[360*a,100*u,100*s]},Id.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},Id.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Id.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,u=i%1,s=1-u;let a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-n)*r,[255*(n*o[0]+a),255*(n*o[1]+a),255*(n*o[2]+a)]},Id.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Id.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Id.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Id.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Id.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Id.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Id.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Id.gray.hsl=function(e){return[0,0,e[0]]},Id.gray.hsv=Id.gray.hsl,Id.gray.hwb=function(e){return[0,100,e[0]]},Id.gray.cmyk=function(e){return[0,0,0,e[0]]},Id.gray.lab=function(e){return[e[0],0,0]},Id.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Id.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const jd=Ld;function _d(e){const t=function(){const e={},t=Object.keys(jd);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),r=Object.keys(jd[e]);for(let o=r.length,i=0;i<o;i++){const o=r[i],u=t[o];-1===u.distance&&(u.distance=t[e].distance+1,u.parent=e,n.unshift(o))}}return t}function Md(e,t){return function(n){return t(e(n))}}function Rd(e,t){const n=[t[e].parent,e];let r=jd[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=Md(jd[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}const Vd=Ld,$d=function(e){const t=_d(e),n={},r=Object.keys(t);for(let e=r.length,o=0;o<e;o++){const e=r[o];null!==t[e].parent&&(n[e]=Rd(e,t))}return n},Wd={};Object.keys(Vd).forEach((e=>{Wd[e]={},Object.defineProperty(Wd[e],"channels",{value:Vd[e].channels}),Object.defineProperty(Wd[e],"labels",{value:Vd[e].labels});const t=$d(e);Object.keys(t).forEach((n=>{const r=t[n];Wd[e][n]=function(e){const t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=n[0];if(null==o)return o;o.length>1&&(n=o);const i=e(n);if("object"==typeof i)for(let e=i.length,t=0;t<e;t++)i[t]=Math.round(i[t]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Wd[e][n].raw=function(e){const t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=n[0];return null==o?o:(o.length>1&&(n=o),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var qd=Wd;function Ud(){return!1}function Gd(){throw new Error("tty.ReadStream is not implemented")}function zd(){throw new Error("tty.ReadStream is not implemented")}!function(e){const t=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")},o=e=>e,i=(e,t,n)=>[e,t,n],u=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const a=(e,t,n,r)=>{void 0===s&&(s=qd);const o=r?10:0,i={};for(const[r,u]of Object.entries(s)){const s="ansi16"===r?"ansi":r;r===t?i[s]=e(n,o):"object"==typeof u&&(i[s]=e(u[t],o))}return i};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={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],blackBright:[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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",u(s.color,"ansi",(()=>a(t,"ansi16",o,!1))),u(s.color,"ansi256",(()=>a(n,"ansi256",o,!1))),u(s.color,"ansi16m",(()=>a(r,"rgb",i,!1))),u(s.bgColor,"ansi",(()=>a(t,"ansi16",o,!0))),u(s.bgColor,"ansi256",(()=>a(n,"ansi256",o,!0))),u(s.bgColor,"ansi16m",(()=>a(r,"rgb",i,!0))),s}})}(kd);var Hd={isatty:Ud,ReadStream:Gd,WriteStream:zd};const Jd=af,Xd=t(Object.freeze({__proto__:null,isatty:Ud,ReadStream:Gd,WriteStream:zd,default:Hd})),Yd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},{env:Kd}=Zs;let Qd;function Zd(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function eh(e,t){if(0===Qd)return 0;if(Yd("color=16m")||Yd("color=full")||Yd("color=truecolor"))return 3;if(Yd("color=256"))return 2;if(e&&!t&&void 0===Qd)return 0;const n=Qd||0;if("dumb"===Kd.TERM)return n;if("win32"===Zs.platform){const e=Jd.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Kd)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in Kd))||"codeship"===Kd.CI_NAME?1:n;if("TEAMCITY_VERSION"in Kd)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Kd.TEAMCITY_VERSION)?1:0;if("truecolor"===Kd.COLORTERM)return 3;if("TERM_PROGRAM"in Kd){const e=parseInt((Kd.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Kd.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Kd.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Kd.TERM)||"COLORTERM"in Kd?1:n}Yd("no-color")||Yd("no-colors")||Yd("color=false")||Yd("color=never")?Qd=0:(Yd("color")||Yd("colors")||Yd("color=true")||Yd("color=always"))&&(Qd=1),"FORCE_COLOR"in Kd&&(Qd="true"===Kd.FORCE_COLOR?1:"false"===Kd.FORCE_COLOR?0:0===Kd.FORCE_COLOR.length?1:Math.min(parseInt(Kd.FORCE_COLOR,10),3));var th={supportsColor:function(e){return Zd(eh(e,e&&e.isTTY))},stdout:Zd(eh(!0,Xd.isatty(1))),stderr:Zd(eh(!0,Xd.isatty(2)))};var nh={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,u="";do{u+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return u+=e.substr(i),u},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,i="";do{const u="\r"===e[r-1];i+=e.substr(o,(u?r-1:r)-o)+t+(u?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o),i}};const rh=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,oh=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ih=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,uh=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,sh=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function ah(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):sh.get(e)||e}function ch(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(o=t.match(ih)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(uh,((e,t,n)=>t?ah(t):n)))}else n.push(r)}return n}function lh(e){oh.lastIndex=0;const t=[];let n;for(;null!==(n=oh.exec(e));){const e=n[1];if(n[2]){const r=ch(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ph(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=t.length>0?r[e](...t):r[e]}return r}var fh=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(rh,((t,i,u,s,a,c)=>{if(i)o.push(ah(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:ph(e,n)(t)),n.push({inverse:u,styles:lh(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ph(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const dh=kd.exports,{stdout:hh,stderr:gh}=th,{stringReplaceAll:mh,stringEncaseCRLFWithFirstIndex:yh}=nh,{isArray:Dh}=Array,Eh=["ansi","ansi","ansi256","ansi16m"],Ch=Object.create(null);class bh{constructor(e){return vh(e)}}const vh=e=>{const t={};return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=hh?hh.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Nh(t.template,...n)},Object.setPrototypeOf(t,Ah.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=bh,t.template};function Ah(e){return vh(e)}for(const[e,t]of Object.entries(dh))Ch[e]={get(){const n=wh(this,Sh(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Ch.visible={get(){const e=wh(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const Fh=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of Fh)Ch[e]={get(){const{level:t}=this;return function(){const n=Sh(dh.color[Eh[t]][e](...arguments),dh.color.close,this._styler);return wh(this,n,this._isEmpty)}}};for(const e of Fh){Ch["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(){const n=Sh(dh.bgColor[Eh[t]][e](...arguments),dh.bgColor.close,this._styler);return wh(this,n,this._isEmpty)}}}}const xh=Object.defineProperties((()=>{}),Object.assign(Object.assign({},Ch),{},{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Sh=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},wh=(e,t,n)=>{const r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Dh(t[0])&&Dh(t[0].raw)?Th(r,Nh(r,...t)):Th(r,1===t.length?""+t[0]:t.join(" "))};return Object.setPrototypeOf(r,xh),r._generator=e,r._styler=t,r._isEmpty=n,r},Th=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=mh(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=yh(t,o,r,i)),r+t+o};let Bh;const Nh=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const[o]=n;if(!Dh(o)||!Dh(o.raw))return n.join(" ");const i=n.slice(1),u=[o.raw[0]];for(let e=1;e<o.length;e++)u.push(String(i[e-1]).replace(/[{}\\]/g,"\\$&"),String(o.raw[e]));return void 0===Bh&&(Bh=fh),Bh(e,u.join(""))};Object.defineProperties(Ah.prototype,Ch);const kh=Ah();kh.supportsColor=hh,kh.stderr=Ah({level:gh?gh.level:0}),kh.stderr.supportsColor=gh;var Ph=kh;const Oh=["_"],Ih=fp,Lh=wd.exports,jh=Ph,_h=su,Mh={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>Ih.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return!1===n?"--no-".concat(t):!0===n?Mh.key(t):""===n?"".concat(Mh.key(t)," without an argument"):"".concat(Mh.key(t),"=").concat(n)}};class Rh extends Ih.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find((t=>Lh(t,e)<3));if(n)return t.logger.warn(["Unknown flag ".concat(jh.yellow(t.descriptor.value(e)),","),"did you mean ".concat(jh.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Vh;function $h(e,t){let{logger:n,isCLI:r=!1,passThrough:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{const r=au(n.schemas,Oh);return Ih.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:r}))},u=r?Mh:Ih.apiDescriptor,s=Wh(t,{isCLI:r}),a=new Ih.Normalizer(s,{logger:n,unknown:i,descriptor:u}),c=!1!==n;c&&Vh&&(a._hasDeprecationWarned=Vh);const l=a.normalize(e);return c&&(Vh=a._hasDeprecationWarned),l}function Wh(e,t){let{isCLI:n}=t;const r=[];n&&r.push(Ih.AnySchema.create({name:"_"}));for(const t of e)r.push(qh(t,{isCLI:n,optionInfos:e})),t.alias&&n&&r.push(Ih.AliasSchema.create({name:t.alias,sourceName:t.name}));return r}function qh(e,t){let n,{isCLI:r,optionInfos:o}=t;const i={name:e.name},u={};switch(e.type){case"int":n=Ih.IntegerSchema,r&&(i.preprocess=e=>Number(e));break;case"string":case"path":n=Ih.StringSchema;break;case"choice":n=Ih.ChoiceSchema,i.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":n=Ih.BooleanSchema;break;case"flag":n=Rh,i.flags=o.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(u.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),r&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?_h(t):t),r)}return e.array?Ih.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),u),{},{valueSchema:n.create(i)})):n.create(Object.assign(Object.assign({},i),u))}var Uh={normalizeApiOptions:function(e,t,n){return $h(e,t,n)},normalizeCliOptions:function(e,t,n){return $h(e,t,Object.assign({isCLI:!0},n))}};const{isNonEmptyArray:Gh}=ic;function zh(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(Gh(t))return zh(t[0])}return e.range?e.range[0]:e.start}function Hh(e){return e.range?e.range[1]:e.end}function Jh(e,t){return zh(e)===zh(t)}var Xh={locStart:zh,locEnd:Hh,hasSameLocStart:Jh,hasSameLoc:function(e,t){return Jh(e,t)&&function(e,t){return Hh(e)===Hh(t)}(e,t)}},Yh={},Kh={},Qh={};Object.defineProperty(Qh,"__esModule",{value:!0}),Qh.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,Qh.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t};var Zh={},eg={};Object.defineProperty(eg,"__esModule",{value:!0}),eg.isIdentifierStart=ag,eg.isIdentifierChar=cg,eg.isIdentifierName=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){const t=e.charCodeAt(++n);56320==(64512&t)&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!ag(r))return!1}else if(!cg(r))return!1}return!t};let tg="\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\u0560-\u0588\u05d0-\u05ea\u05ef-\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\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\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\u09fc\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\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\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\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\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-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\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-\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-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\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-\uab69\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",ng="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const rg=new RegExp("["+tg+"]"),og=new RegExp("["+tg+ng+"]");tg=ng=null;const ig=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],ug=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function sg(e,t){let n=65536;for(let r=0,o=t.length;r<o;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function ag(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&rg.test(String.fromCharCode(e)):sg(e,ig)))}function cg(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&og.test(String.fromCharCode(e)):sg(e,ig)||sg(e,ug))))}var lg={};Object.defineProperty(lg,"__esModule",{value:!0}),lg.isReservedWord=mg,lg.isStrictReservedWord=yg,lg.isStrictBindOnlyReservedWord=Dg,lg.isStrictBindReservedWord=function(e,t){return yg(e,t)||Dg(e)},lg.isKeyword=function(e){return dg.has(e)};const pg=["implements","interface","let","package","private","protected","public","static","yield"],fg=["eval","arguments"],dg=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),hg=new Set(pg),gg=new Set(fg);function mg(e,t){return t&&"await"===e||"enum"===e}function yg(e,t){return mg(e,t)||hg.has(e)}function Dg(e){return gg.has(e)}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return t.isIdentifierName}}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return t.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return t.isIdentifierStart}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return n.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return n.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return n.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return n.isStrictReservedWord}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return n.isKeyword}});var t=eg,n=lg}(Zh);var Eg={exports:{}},Cg=/[|\\{}()[\]^$+*?.]/g,bg=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Cg,"\\$&")};const vg=af,Ag=(e,t)=>{t=t||Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},Fg=Zs.env;let xg;function Sg(e){const t=function(e){if(!1===xg)return 0;if(Ag("color=16m")||Ag("color=full")||Ag("color=truecolor"))return 3;if(Ag("color=256"))return 2;if(e&&!e.isTTY&&!0!==xg)return 0;const t=xg?1:0;if("win32"===Zs.platform){const e=vg.release().split(".");return Number(Zs.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Fg)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in Fg))||"codeship"===Fg.CI_NAME?1:t;if("TEAMCITY_VERSION"in Fg)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Fg.TEAMCITY_VERSION)?1:0;if("truecolor"===Fg.COLORTERM)return 3;if("TERM_PROGRAM"in Fg){const e=parseInt((Fg.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Fg.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Fg.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Fg.TERM)||"COLORTERM"in Fg?1:(Fg.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}Ag("no-color")||Ag("no-colors")||Ag("color=false")?xg=!1:(Ag("color")||Ag("colors")||Ag("color=true")||Ag("color=always"))&&(xg=!0),"FORCE_COLOR"in Fg&&(xg=0===Fg.FORCE_COLOR.length||0!==parseInt(Fg.FORCE_COLOR,10));var wg={supportsColor:Sg,stdout:Sg(Zs.stdout),stderr:Sg(Zs.stderr)};const Tg=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Bg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ng=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,kg=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Pg=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Og(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Pg.get(e)||e}function Ig(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(Ng)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(kg,((e,t,n)=>t?Og(t):n)))}else n.push(Number(t));return n}function Lg(e){Bg.lastIndex=0;const t=[];let n;for(;null!==(n=Bg.exec(e));){const e=n[1];if(n[2]){const r=Ig(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function jg(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var _g=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Tg,((t,i,u,s,a,c)=>{if(i)o.push(Og(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:jg(e,n)(t)),n.push({inverse:u,styles:Lg(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(jg(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};!function(e){const t=bg,n=wp.exports,r=wg.stdout,o=_g,i="win32"===Zs.platform&&!(Zs.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],s=new Set(["gray"]),a=Object.create(null);function c(e,t){t=t||{};const n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){const t={};return c(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}i&&(n.blue.open="\x1b[94m");for(const e of Object.keys(n))n[e].closeRe=new RegExp(t(n[e].close),"g"),a[e]={get(){const t=n[e];return f.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};a.visible={get(){return f.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(const e of Object.keys(n.color.ansi))s.has(e)||(a[e]={get(){const t=this.level;return function(){const r=n.color[u[t]][e].apply(null,arguments),o={open:r,close:n.color.close,closeRe:n.color.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(const e of Object.keys(n.bgColor.ansi)){if(s.has(e))continue;a["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=n.bgColor[u[t]][e].apply(null,arguments),o={open:r,close:n.bgColor.close,closeRe:n.bgColor.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),a);function f(e,t,n){const r=function(){return d.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=p,r}function d(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const o=n.dim.open;i&&this.hasGrey&&(n.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return n.dim.open=o,r}function h(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return o(e,r.join(""))}Object.defineProperties(l.prototype,a),e.exports=l(),e.exports.supportsColor=r,e.exports.default=e.exports}(Eg),Object.defineProperty(Kh,"__esModule",{value:!0}),Kh.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Hg(t)){const n=Jg(t);return zg(Wg(n),e)}return e},Kh.getChalk=Jg,Kh.shouldHighlight=Hg;var Mg=Qh,Rg=Zh,Vg=Eg.exports;const $g=new Set(["as","async","from","get","of","set"]);function Wg(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const qg=/\r\n|[\n\r\u2028\u2029]/,Ug=/^[()[\]{}]$/;let Gg;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if((0,Rg.isKeyword)(t.value)||(0,Rg.isStrictReservedWord)(t.value,!0)||$g.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"</"==r.substr(n-2,2)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&Ug.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};Gg=function*(e){let n;for(;n=Mg.default.exec(e);){const r=Mg.matchToToken(n);yield{type:t(r,n.index,e),value:r.value}}}}function zg(e,t){let n="";for(const{type:r,value:o}of Gg(t)){const t=e[r];n+=t?o.split(qg).map((e=>t(e))).join("\n"):o}return n}function Hg(e){return!!Vg.supportsColor||e.forceColor}function Jg(e){return e.forceColor?new Vg.constructor({enabled:!0,level:1}):Vg}Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.codeFrameColumns=em,Yh.default=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!Yg){Yg=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Zs.emitWarning)Zs.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}const o={start:{column:n=Math.max(n,0),line:t}};return em(e,o,r)};var Xg=Kh;let Yg=!1;function Kg(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const Qg=/\r\n|[\n\r\u2028\u2029]/;function Zg(e,t,n){const r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:i=2,linesBelow:u=3}=n||{},s=r.line,a=r.column,c=o.line,l=o.column;let p=Math.max(s-(i+1),0),f=Math.min(t.length,c+u);-1===s&&(p=0),-1===c&&(f=t.length);const d=c-s,h={};if(d)for(let e=0;e<=d;e++){const n=e+s;if(a)if(0===e){const e=t[n-1].length;h[n]=[a,e-a+1]}else if(e===d)h[n]=[0,l];else{const r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h}}function em(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(n.highlightCode||n.forceColor)&&(0,Xg.shouldHighlight)(n),o=(0,Xg.getChalk)(n),i=Kg(o),u=(e,t)=>r?e(t):t,s=e.split(Qg),{start:a,end:c,markerLines:l}=Zg(t,s,n),p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=r?(0,Xg.default)(e,n):e;let h=d.split(Qg,c).slice(a,c).map(((e,t)=>{const r=a+1+t,o=" ".concat(r).slice(-f),s=" ".concat(o," |"),c=l[r],p=!l[r+1];if(c){let t="";if(Array.isArray(c)){const r=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),o=c[1]||1;t=["\n ",u(i.gutter,s.replace(/\d/g," "))," ",r,u(i.marker,"^").repeat(o)].join(""),p&&n.message&&(t+=" "+u(i.message,n.message))}return[u(i.marker,">"),u(i.gutter,s),e.length>0?" ".concat(e):"",t].join("")}return" ".concat(u(i.gutter,s)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(h="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(h)),r?o.reset(h):h}const{ConfigError:tm}=pp,nm=Xh,{locStart:rm,locEnd:om}=nm,im=Object.getOwnPropertyNames,um=Object.getOwnPropertyDescriptor;function sm(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of im(n.parsers))Object.defineProperty(t,e,um(n.parsers,e));return t}function am(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sm(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:rm,locEnd:om};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new tm("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var cm={parse:function(e,t){const n=sm(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((e=>[e,{enumerable:!0,get:()=>n[e].parse}])))),o=am(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Yh;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:am};const lm=zc,pm=sl,fm=up,{UndefinedParserError:dm}=pp,{getSupportInfo:hm}=_a,gm=Uh,{resolveParser:mm}=cm,ym={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Dm(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find((e=>e.printers&&e.printers[t]));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}function Em(e,t){const n=pm.basename(e).toLowerCase(),r=hm({plugins:t}).languages.filter((e=>null!==e.since));let o=r.find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));if(!o&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=lm.openSync(e,"r")}catch{return""}try{const e=new fm(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch{return""}finally{try{lm.closeSync(t)}catch{}}}(e);o=r.find((e=>e.interpreters&&e.interpreters.includes(t)))}return o&&o.parsers[0]}var Cm={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Object.assign({},e),r=hm({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign(Object.assign({},ym),Object.fromEntries(r.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!n.parser)if(n.filepath){if(n.parser=Em(n.filepath,n.plugins),!n.parser)throw new dm("No parser could be inferred for file: ".concat(n.filepath))}else{(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel"}const i=mm(gm.normalizeApiOptions(n,[r.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;const u=Dm(n);n.printer=u.printers[n.astFormat];const s=Object.fromEntries(r.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[u.name])).map((e=>[e.name,e.pluginDefaults[u.name]]))),a=Object.assign(Object.assign({},o),s);for(const[e,t]of Object.entries(a))null!==n[e]&&void 0!==n[e]||(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),gm.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(ym)},t))},hiddenDefaults:ym,inferParser:Em};var bm=function e(t,n,r){if(Array.isArray(t))return t.map((t=>e(t,n,r))).filter(Boolean);if(!t||"object"!=typeof t)return t;const o=n.printer.massageAstNode;let i;i=o&&o.ignoredProperties?o.ignoredProperties:new Set;const u={};for(const[r,o]of Object.entries(t))i.has(r)||"function"==typeof o||(u[r]=e(o,n,t));if(o){const e=o(t,u,r);if(null===e)return;if(e)return e}return u},vm="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Am(e,t){var n={seen:[],stylize:xm};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Bm(t)?n.showHidden=t:t&&Vm(n,t),Pm(n.showHidden)&&(n.showHidden=!1),Pm(n.depth)&&(n.depth=2),Pm(n.colors)&&(n.colors=!1),Pm(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Fm),Sm(n,e,n.depth)}function Fm(e,t){var n=Am.styles[t];return n?"\x1b["+Am.colors[n][0]+"m"+e+"\x1b["+Am.colors[n][1]+"m":e}function xm(e,t){return e}function Sm(e,t,n){if(e.customInspect&&t&&_m(t.inspect)&&t.inspect!==Am&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return km(r)||(r=Sm(e,r,n)),r}var o=function(e,t){if(Pm(t))return e.stylize("undefined","undefined");if(km(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(Bm(t))return e.stylize(""+t,"boolean");if(Nm(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),jm(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return wm(t);if(0===i.length){if(_m(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Om(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Lm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(jm(t))return wm(t)}var a,c,l="",p=!1,f=["{","}"];(a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),_m(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Om(t)&&(l=" "+RegExp.prototype.toString.call(t)),Lm(t)&&(l=" "+Date.prototype.toUTCString.call(t)),jm(t)&&(l=" "+wm(t)),0!==i.length||p&&0!=t.length?n<0?Om(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u<s;++u)$m(t,String(u))?i.push(Tm(e,t,n,r,String(u),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(Tm(e,t,n,r,o,!0))})),i}(e,t,n,u,i):i.map((function(r){return Tm(e,t,n,u,r,p)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function wm(e){return"["+Error.prototype.toString.call(e)+"]"}function Tm(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),$m(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=Nm(n)?Sm(e,a.value,null):Sm(e,a.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),Pm(u)){if(i&&o.match(/^\d+$/))return s;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+s}function Bm(e){return"boolean"==typeof e}function Nm(e){return null===e}function km(e){return"string"==typeof e}function Pm(e){return void 0===e}function Om(e){return Im(e)&&"[object RegExp]"===Rm(e)}function Im(e){return"object"==typeof e&&null!==e}function Lm(e){return Im(e)&&"[object Date]"===Rm(e)}function jm(e){return Im(e)&&("[object Error]"===Rm(e)||e instanceof Error)}function _m(e){return"function"==typeof e}function Mm(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Rm(e){return Object.prototype.toString.call(e)}function Vm(e,t){if(!t||!Im(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function $m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wm(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0}Am.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Am.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var qm,Um=Object.prototype.hasOwnProperty,Gm=Object.keys||function(e){var t=[];for(var n in e)Um.call(e,n)&&t.push(n);return t},zm=Array.prototype.slice;function Hm(){return void 0!==qm?qm:qm="foo"===function(){}.name}function Jm(e){return Object.prototype.toString.call(e)}function Xm(e){return!rp(e)&&("function"==typeof Bs.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function Ym(e,t){e||ny(e,!0,t,"==",ry)}var Km=/\s*function\s+([^\(\s]*)\s*/;function Qm(e){if(_m(e)){if(Hm())return e.name;var t=e.toString().match(Km);return t&&t[1]}}function Zm(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return ey(ty(e.actual),128)+" "+e.operator+" "+ey(ty(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||ny;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,o=Qm(t),i=r.indexOf("\n"+o);if(i>=0){var u=r.indexOf("\n",i+1);r=r.substring(u+1)}this.stack=r}}}function ey(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function ty(e){if(Hm()||!_m(e))return Am(e);var t=Qm(e);return"[Function"+(t?": "+t:"")+"]"}function ny(e,t,n,r,o){throw new Zm({message:n,actual:e,expected:t,operator:r,stackStartFunction:o})}function ry(e,t){e||ny(e,!0,t,"==",ry)}function oy(e,t,n){e!=t&&ny(e,t,n,"==",oy)}function iy(e,t,n){e==t&&ny(e,t,n,"!=",iy)}function uy(e,t,n){ay(e,t,!1)||ny(e,t,n,"deepEqual",uy)}function sy(e,t,n){ay(e,t,!0)||ny(e,t,n,"deepStrictEqual",sy)}function ay(e,t,n,r){if(e===t)return!0;if(rp(e)&&rp(t))return 0===Wm(e,t);if(Lm(e)&&Lm(t))return e.getTime()===t.getTime();if(Om(e)&&Om(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(Xm(e)&&Xm(t)&&Jm(e)===Jm(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Wm(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(rp(e)!==rp(t))return!1;var o=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==o&&o===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(Mm(e)||Mm(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=cy(e),i=cy(t);if(o&&!i||!o&&i)return!1;if(o)return ay(e=zm.call(e),t=zm.call(t),n);var u,s,a=Gm(e),c=Gm(t);if(a.length!==c.length)return!1;for(a.sort(),c.sort(),s=a.length-1;s>=0;s--)if(a[s]!==c[s])return!1;for(s=a.length-1;s>=0;s--)if(!ay(e[u=a[s]],t[u],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function cy(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function ly(e,t,n){ay(e,t,!1)&&ny(e,t,n,"notDeepEqual",ly)}function py(e,t,n){ay(e,t,!0)&&ny(e,t,n,"notDeepStrictEqual",py)}function fy(e,t,n){e!==t&&ny(e,t,n,"===",fy)}function dy(e,t,n){e===t&&ny(e,t,n,"!==",dy)}function hy(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function gy(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&ny(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&jm(o)&&i&&hy(o,n)||u)&&ny(o,n,"Got unwanted exception"+r),e&&o&&n&&!hy(o,n)||!e&&o)throw o}function my(e,t,n){gy(!0,e,t,n)}function yy(e,t,n){gy(!1,e,t,n)}function Dy(e){if(e)throw e}Ym.AssertionError=Zm,vm(Zm,Error),Ym.fail=ny,Ym.ok=ry,Ym.equal=oy,Ym.notEqual=iy,Ym.deepEqual=uy,Ym.deepStrictEqual=sy,Ym.notDeepEqual=ly,Ym.notDeepStrictEqual=py,Ym.strictEqual=fy,Ym.notStrictEqual=dy,Ym.throws=my,Ym.doesNotThrow=yy,Ym.ifError=Dy;var Ey=t(Object.freeze({__proto__:null,default:Ym,AssertionError:Zm,fail:ny,ok:ry,assert:ry,equal:oy,notEqual:iy,deepEqual:uy,deepStrictEqual:sy,notDeepEqual:ly,notDeepStrictEqual:py,strictEqual:fy,notStrictEqual:dy,throws:my,doesNotThrow:yy,ifError:Dy}));const Cy=Ey,{builders:{line:by,hardline:vy,breakParent:Ay,indent:Fy,lineSuffix:xy,join:Sy,cursor:wy}}=Gc,{hasNewline:Ty,skipNewline:By,skipSpaces:Ny,isPreviousLineEmpty:ky,addLeadingComment:Py,addDanglingComment:Oy,addTrailingComment:Iy}=ic,Ly=new WeakMap;function jy(e,t,n){if(!e)return;const{printer:r,locStart:o,locEnd:i}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(o(n[t])<=o(e)&&i(n[t])<=i(e));--t);return void n.splice(t+1,0,e)}}else if(Ly.has(e))return Ly.get(e);const u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t})).map((e=>{let[,t]=e;return t}));if(u){n||(n=[],Ly.set(e,n));for(const e of u)jy(e,t,n);return n}}function _y(e,t,n,r){const{locStart:o,locEnd:i}=n,u=o(t),s=i(t),a=jy(e,n);let c,l,p=0,f=a.length;for(;p<f;){const e=p+f>>1,r=a[e],d=o(r),h=i(r);if(d<=u&&s<=h)return _y(r,t,n,r);if(h<=u)c=r,p=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");l=r,f=e}}if(r&&"TemplateLiteral"===r.type){const{quasis:e}=r,o=Uy(e,t,n);c&&Uy(e,c,n)!==o&&(c=null),l&&Uy(e,l,n)!==o&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}const My=()=>!1;const Ry=e=>!/[\S\n\u2028\u2029]/.test(e);function Vy(e,t,n,r){const{comment:o,precedingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=u(o);if(i)for(let t=r-1;t>=0;t--){const{comment:r,precedingNode:o}=n[t];if(o!==i||!Ry(e.slice(s(r),a)))break;a=u(r)}return Ty(e,a,{backwards:!0})}function $y(e,t,n,r){const{comment:o,followingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=s(o);if(i)for(let t=r+1;t<n.length;t++){const{comment:r,followingNode:o}=n[t];if(o!==i||!Ry(e.slice(a,u(r))))break;a=s(r)}return Ty(e,a)}function Wy(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:o,followingNode:i,enclosingNode:u}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/;let a,c=n.locStart(i);for(a=r;a>0;--a){const{comment:r,precedingNode:u,followingNode:l}=e[a-1];Cy.strictEqual(u,o),Cy.strictEqual(l,i);const p=t.slice(n.locEnd(r),c);if(!s.test(p))break;c=n.locStart(r)}for(const[t,{comment:n}]of e.entries())t<a?Iy(o,n):Py(i,n);for(const e of[o,i])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function qy(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Uy(e,t,n){const r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0}function Gy(e,t,n){const r=e.getValue();if(!r)return{};let o=r.comments||[];n&&(o=o.filter((e=>!n.has(e))));const i=r===t.cursorNode;if(0===o.length){const e=i?wy:"";return{leading:e,trailing:e}}const u=[],s=[];return e.each((()=>{const r=e.getValue();if(n&&n.has(r))return;const{leading:o,trailing:i}=r;o?u.push(function(e,t){const n=e.getValue(),r=[qy(e,t)],{printer:o,originalText:i,locStart:u,locEnd:s}=t;if(o.isBlockComment&&o.isBlockComment(n)){const e=Ty(i,s(n))?Ty(i,u(n),{backwards:!0})?vy:by:" ";r.push(e)}else r.push(vy);const a=By(i,Ny(i,s(n)));return!1!==a&&Ty(i,a)&&r.push(vy),r}(e,t)):i&&s.push(function(e,t){const n=e.getValue(),r=qy(e,t),{printer:o,originalText:i,locStart:u}=t,s=o.isBlockComment&&o.isBlockComment(n);if(Ty(i,u(n),{backwards:!0})){const e=ky(i,n,u);return xy([vy,e?vy:"",r])}let a=[" ",r];return s||(a=[xy(a),Ay]),a}(e,t))}),"comments"),i&&(u.unshift(wy),s.push(wy)),{leading:u,trailing:s}}var zy={attach:function(e,t,n,r){if(!Array.isArray(e))return;const o=[],{locStart:i,locEnd:u,printer:{handleComments:s={}}}=r,{avoidAstMutation:a,ownLine:c=My,endOfLine:l=My,remaining:p=My}=s,f=e.map(((o,i)=>Object.assign(Object.assign({},_y(t,o,r)),{},{comment:o,text:n,options:r,ast:t,isLastComment:e.length-1===i})));for(const[e,t]of f.entries()){const{comment:n,precedingNode:r,enclosingNode:s,followingNode:d,text:h,options:g,ast:m,isLastComment:y}=t;if("json"===g.parser||"json5"===g.parser||"__js_expression"===g.parser||"__vue_expression"===g.parser){if(i(n)-i(m)<=0){Py(m,n);continue}if(u(n)-u(m)>=0){Iy(m,n);continue}}let D;if(a?D=[t]:(n.enclosingNode=s,n.precedingNode=r,n.followingNode=d,D=[n,h,g,m,y]),Vy(h,g,f,e))n.placement="ownLine",c(...D)||(d?Py(d,n):r?Iy(r,n):Oy(s||m,n));else if($y(h,g,f,e))n.placement="endOfLine",l(...D)||(r?Iy(r,n):d?Py(d,n):Oy(s||m,n));else if(n.placement="remaining",p(...D));else if(r&&d){const e=o.length;if(e>0){o[e-1].followingNode!==d&&Wy(o,h,g)}o.push(t)}else r?Iy(r,n):d?Py(d,n):Oy(s||m,n)}if(Wy(o,n,r),!a)for(const t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,n,r){const{leading:o,trailing:i}=Gy(e,n,r);return o||i?[o,t,i]:t},printCommentsSeparately:Gy,printDanglingComments:function(e,t,n,r){const o=[],i=e.getValue();return i&&i.comments?(e.each((()=>{const n=e.getValue();n.leading||n.trailing||r&&!r(n)||o.push(qy(e,t))}),"comments"),0===o.length?"":n?Sy(vy,o):Fy([vy,Sy(vy,o)])):""},getSortedChildNodes:jy,ensureAllCommentsPrinted:function(e){if(e)for(const t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}};const Hy=su;function Jy(e,t){const n=Xy(e.stack,t);return-1===n?null:e.stack[n]}function Xy(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Yy=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return Hy(this.stack)}getNode(){return Jy(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return Jy(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){const{stack:t}=this,{length:n}=t;let r=Hy(t);for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];for(const e of i)r=r[e],t.push(e,r);const s=e(this);return t.length=n,s}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=Xy(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o}each(e){const{stack:t}=this,{length:n}=t;let r=Hy(t);for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];for(const e of i)r=r[e],t.push(e,r);for(let n=0;n<r.length;++n)t.push(n,r[n]),e(this,n,r),t.length-=2;t.length=n}map(e){const t=[];for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return this.each(((n,r,o)=>{t[r]=e(n,r,o)}),...r),t}try(e){const{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];for(const r of o){if(void 0===n)return!1;let o=null;if("number"==typeof t&&(o=t,t=this.stack[e--],n=this.stack[e--]),r&&!r(n,t,o))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let o=null;if("number"==typeof n&&(o=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,o))return r;n=this.stack[t--],r=this.stack[t--]}}};const{utils:{stripTrailingHardline:Ky}}=Gc,{normalize:Qy}=Cm,Zy=zy;var eD={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,((e,t,o)=>function(e,t,n,r){let{stripTrailingHardline:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const i=Qy(Object.assign(Object.assign(Object.assign({},n),t),{},{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=cm.parse(e,i),{ast:s}=u;e=u.text;const a=s.comments;delete s.comments,Zy.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];const c=r(s,i);if(Zy.ensureAllCommentsPrinted(a),o)return"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):Ky(c);return c}(e,t,n,r,o)),n)}};const tD=Yy,{builders:{hardline:nD,addAlignmentToDoc:rD},utils:{propagateBreaks:oD}}=Gc,{printComments:iD}=zy,uD=eD;function sD(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const o=new Map,i=new tD(e);let u=s();return n>0&&(u=rD([nD,u],n,t.tabWidth)),oD(u),u;function s(e,t){return void 0===e||e===i?a(t):Array.isArray(e)?i.call((()=>a(t)),...e):i.call((()=>a(t)),e)}function a(e){const n=i.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&o.has(n))return o.get(n);const u=aD(i,t,s,e);return r&&o.set(n,u),u}}function aD(t,n,r,o){const i=t.getValue(),{printer:u}=n;let s,a;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(t))({doc:s,printedComments:a}=function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:i}=t,u=o(e),s=i(e),a=new Set;for(const e of r)o(e)>=u&&i(e)<=s&&(e.printed=!0,a.add(e));return{doc:n.slice(u,s),printedComments:a}}(i,n));else{if(i)try{s=uD.printSubtree(t,r,n,sD)}catch(t){if(e.PRETTIER_DEBUG)throw t}s||(s=u.print(t,n,r,o))}return u.willPrintOwnComments&&u.willPrintOwnComments(t,n)||(s=iD(t,s,n,a)),s}var cD=sD;const lD=Ey,pD=zy;function fD(e){let t=e.length-1;for(;;){const n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function dD(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5?arguments[5]:void 0;const{locStart:u,locEnd:s}=n,a=u(e),c=s(e);if(!(t>c||t<a||"rangeEnd"===i&&t===a||"rangeStart"===i&&t===c)){for(const u of pD.getSortedChildNodes(e,n)){const s=dD(u,t,n,r,[e,...o],i);if(s)return s}return!r||r(e,o[0])?{node:e,parentNodes:o}:void 0}}const hD=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),gD=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function mD(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,n&&n.type);case"json":case"json5":case"json-stringify":return hD.has(t.type);case"graphql":return gD.has(t.kind);case"vue":return"root"!==t.tag}return!1}var yD={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:o,locStart:i,locEnd:u}=t;lD.ok(o>r);const s=e.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(e[o-1]);--o);const c=dD(n,r,t,((e,n)=>mD(t,e,n)),[],"rangeStart"),l=a?c:dD(n,o,t,(e=>mD(t,e)),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,f;if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find((e=>hD.has(e.type)&&r.has(e)))}(c,l);p=e,f=e}else({startNode:p,endNode:f}=function(e,t,n){let{locStart:r,locEnd:o}=n,i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};const s=r(e.node);for(const e of fD(t.parentNodes)){if(!(r(e)>=s))break;u=e}const a=o(t.node);for(const t of fD(e.parentNodes)){if(!(o(t)<=a))break;i=t}return{startNode:i,endNode:u}}(c,l,t));return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))}},findNodeAtOffset:dD};const DD=r,{printer:{printDocToString:ED},debug:{printDocToDebug:CD}}=Gc,{getAlignmentSize:bD}=ic,{guessEndOfLine:vD,convertEndOfLineToChars:AD,countEndOfLineChars:FD,normalizeEndOfLine:xD}=uc,SD=Cm.normalize,wD=bm,TD=zy,BD=cm,ND=cD,kD=yD,PD=Symbol("cursor");function OD(e,t,n){const r=t.comments;return r&&(delete t.comments,TD.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function ID(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:o}=BD.parse(e,t);if(t.cursorOffset>=0){const e=kD.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const i=OD(o,r,t),u=ND(r,t,n),s=ED(u,t);if(TD.ensureAllCommentsPrinted(i),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+AD(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,u,a;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,u=s.cursorNodeStart,a=s.cursorNodeText):(e=0,n=o,r=t.cursorOffset,u=0,a=s.formatted),n===a)return{formatted:s.formatted,cursorOffset:u+r,comments:i};const c=[...n];c.splice(r,0,PD);const l=[...a],p=DD.diffArrays(c,l);let f=u;for(const e of p)if(e.removed){if(e.value.includes(PD))break}else f+=e.count;return{formatted:s.formatted,cursorOffset:f,comments:i}}return{formatted:s.formatted,cursorOffset:-1,comments:i}}function LD(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function jD(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=t;return n=LD(e,n,-1),r=LD(e,r,0),o=LD(e,o,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:o})}function _D(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}=jD(e,t);const u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=vD(e)),e.includes("\r")){const t=t=>FD(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),o-=t(o),e=xD(e)}return{hasBOM:u,text:e,options:jD(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))}}function MD(e,t){const n=BD.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function RD(e,t){let n,{hasBOM:r,text:o,options:i}=_D(e,SD(t));return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!MD(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<o.length?n=function(e,t){const{ast:n,text:r}=BD.parse(e,t),{rangeStart:o,rangeEnd:i}=kD.calculateRange(r,t,n),u=r.slice(o,i),s=Math.min(o,r.lastIndexOf("\n",o)+1),a=r.slice(s,o).match(/^\s*/)[0],c=bD(a,t.tabWidth),l=ID(u,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=i?t.cursorOffset-o:-1,endOfLine:"lf"}),c),p=l.formatted.trimEnd();let{cursorOffset:f}=t;f>i?f+=p.length-u.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let d=r.slice(0,o)+p+r.slice(i);if("lf"!==t.endOfLine){const e=AD(t.endOfLine);f>=0&&"\r\n"===e&&(f+=FD(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f,comments:l.comments}}(o,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!MD(o,i)&&(o=i.printer.insertPragma(o)),n=ID(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var VD={formatWithCursor:RD,parse(e,t,n){const{text:r,options:o}=_D(e,SD(t)),i=BD.parse(r,o);return n&&(i.ast=wD(i.ast,o)),i},formatAST(e,t){t=SD(t);const n=ND(e,t);return ED(n,t)},formatDoc:(e,t)=>RD(CD(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=SD(t);const{ast:n,text:r}=BD.parse(e,t);return OD(r,n,t),ND(n,t)},printDocToString:(e,t)=>ED(e,SD(t))};const{getMaxContinuousCount:$D,getStringWidth:WD,getAlignmentSize:qD,getIndentSize:UD,skip:GD,skipWhitespace:zD,skipSpaces:HD,skipNewline:JD,skipToLineEnd:XD,skipEverythingButNewLine:YD,skipInlineComment:KD,skipTrailingComment:QD,hasNewline:ZD,hasNewlineInRange:eE,hasSpaces:tE,isNextLineEmpty:nE,isNextLineEmptyAfterIndex:rE,isPreviousLineEmpty:oE,getNextNonSpaceNonCommentCharacterIndex:iE,makeString:uE,addLeadingComment:sE,addDanglingComment:aE,addTrailingComment:cE}=ic;var lE={getMaxContinuousCount:$D,getStringWidth:WD,getAlignmentSize:qD,getIndentSize:UD,skip:GD,skipWhitespace:zD,skipSpaces:HD,skipNewline:JD,skipToLineEnd:XD,skipEverythingButNewLine:YD,skipInlineComment:KD,skipTrailingComment:QD,hasNewline:ZD,hasNewlineInRange:eE,hasSpaces:tE,isNextLineEmpty:nE,isNextLineEmptyAfterIndex:rE,isPreviousLineEmpty:oE,getNextNonSpaceNonCommentCharacterIndex:iE,makeString:uE,addLeadingComment:sE,addDanglingComment:aE,addTrailingComment:cE};const pE=["languageId"];var fE=function(e,t){const{languageId:n}=e,r=au(e,pE);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))},dE={},hE={exports:{}};!function(){function e(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function t(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}hE.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var n;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;n=e.consequent;do{if("IfStatement"===n.type&&null==n.alternate)return!0;n=t(n)}while(n);return!1},trailingStatement:t}}();var gE={exports:{}};!function(){var e,t,n,r,o,i;function u(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],r=new Array(128),i=0;i<128;++i)r[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(o=new Array(128),i=0;i<128;++i)o[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;gE.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?r[e]:t.NonAsciiIdentifierStart.test(u(e))},isIdentifierPartES5:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(u(e))},isIdentifierStartES6:function(t){return t<128?r[t]:e.NonAsciiIdentifierStart.test(u(t))},isIdentifierPartES6:function(t){return t<128?o[t]:e.NonAsciiIdentifierPart.test(u(t))}}}();var mE={exports:{}};!function(){var e=gE.exports;function t(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function r(e,n){return"null"===e||"true"===e||"false"===e||t(e,n)}function o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function i(t){var n,r,o;if(0===t.length)return!1;if(o=t.charCodeAt(0),!e.isIdentifierStartES5(o))return!1;for(n=1,r=t.length;n<r;++n)if(o=t.charCodeAt(n),!e.isIdentifierPartES5(o))return!1;return!0}function u(t){var n,r,o,i,u;if(0===t.length)return!1;for(u=e.isIdentifierStartES6,n=0,r=t.length;n<r;++n){if(55296<=(o=t.charCodeAt(n))&&o<=56319){if(++n>=r)return!1;if(!(56320<=(i=t.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536}if(!u(o))return!1;u=e.isIdentifierPartES6}return!0}mE.exports={isKeywordES5:t,isKeywordES6:n,isReservedWordES5:r,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return i(e)&&!r(e,t)},isIdentifierES6:function(e,t){return u(e)&&!o(e,t)}}}(),dE.ast=hE.exports,dE.code=gE.exports,dE.keyword=mE.exports;const yE=dE.keyword.isIdentifierNameES5,{getLast:DE,hasNewline:EE,skipWhitespace:CE,isNonEmptyArray:bE,isNextLineEmptyAfterIndex:vE,getStringWidth:AE}=ic,{locStart:FE,locEnd:xE,hasSameLocStart:SE}=Xh,wE=new RegExp("^".concat("(?:(?=.)\\s)","*:")),TE=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function BE(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function NE(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const kE=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function PE(e){return e&&kE.has(e.type)}function OE(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function IE(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function LE(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function jE(e){return qE(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function _E(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function ME(e){return"get"===e.kind||"set"===e.kind}function RE(e){return ME(e)||SE(e,e.value)}const VE=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const $E=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);const WE=/^(?:skip|[fx]?(?:it|describe|test))$/;function qE(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function UE(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function GE(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function zE(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function HE(e){return e.extra?e.extra.raw:e.raw}const JE={"==":!0,"!=":!0,"===":!0,"!==":!0},XE={"*":!0,"/":!0,"%":!0},YE={">>":!0,">>>":!0,"<<":!0};const KE={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const n of t)KE[n]=e;function QE(e){return KE[e]}const ZE=new WeakMap;function eC(e){if(ZE.has(e))return ZE.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),ZE.set(e,t),t}const tC=new WeakMap;function nC(e){if(tC.has(e))return tC.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),tC.set(e,t),t}function rC(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function oC(e){return e&&(e.prettierIgnore||sC(e,iC.PrettierIgnore))}const iC={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},uC=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,o)=>!(e&iC.Leading&&!n.leading||e&iC.Trailing&&!n.trailing||e&iC.Dangling&&(n.leading||n.trailing)||e&iC.Block&&!BE(n)||e&iC.Line&&!NE(n)||e&iC.First&&0!==r||e&iC.Last&&r!==o.length-1||e&iC.PrettierIgnore&&!rC(n)||t&&!t(n))};function sC(e,t,n){if(!e||!bE(e.comments))return!1;const r=uC(t,n);return!r||e.comments.some(r)}function aC(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=uC(t,n);return r?e.comments.filter(r):e.comments}function cC(e){return qE(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var lC={getFunctionParameters:eC,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const o=e=>t(e,r++);n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest")},getCallArguments:nC,iterateCallArgumentsPath:function(e,t){const n=e.getValue();"ImportExpression"===n.type?(e.call((e=>t(e,0)),"source"),n.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=eC(e);return t.length>0&&"RestElement"===DE(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&PE(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return bE(e)&&BE(e[0])&&TE.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&bE(e.trailingComments)&&BE(e.trailingComments[0])&&wE.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return _E(t)?oC(t):sC(t,iC.Leading,(t=>EE(e,xE(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||qE(e)||UE(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,n)));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some((t=>e(t,n)))},hasIgnoreComment:function(e){return oC(e.getValue())},hasNodeIgnoreComment:oC,identity:function(e){return e},isBinaryish:function(e){return VE.has(e.type)},isBlockComment:BE,isCallLikeExpression:cC,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:NE,isPrettierIgnoreComment:rC,isCallExpression:qE,isMemberExpression:UE,isExportDeclaration:PE,isFlowAnnotationComment:function(e,t){const n=FE(t),r=CE(e,xE(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(LE(n)){if(t+=1,t>1)return!0}else if(qE(n))for(const e of n.arguments)if(LE(e))return!0;return!1},isFunctionNotation:RE,isFunctionOrArrowExpression:LE,isGetterOrSetter:ME,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:_E,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return qE(t)&&qE(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&AE(o)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):cC(t)?("ImportExpression"===t.type||e(t.callee,n))&&nC(t).every(r):UE(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function(e){return UE(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:OE,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&OE(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||RE(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!$E.has(e.type))},isSimpleNumber:GE,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every((e=>{if(sC(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(UE(e)){let t=e;for(;UE(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,sC(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:IE,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&IE(e.key)&&HE(e.key).slice(1,-1)===e.key.value&&(yE(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||GE(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&zE(e)||"TaggedTemplateExpression"===e.type&&zE(e.quasi))&&!EE(t,FE(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(jE(t)&&n&&e(n))return LE(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return jE(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&WE.test(t.callee.name)||function(e){return UE(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&WE.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||IE(t.arguments[0])))return!(t.arguments[2]&&!OE(t.arguments[2]))&&((2===t.arguments.length?LE(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&eC(t.arguments[1]).length<=1)||jE(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!_E(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||SE(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:n}=t;return vE(n,xE(e))},needsHardlineAfterDanglingComment:function(e){if(!sC(e))return!1;const t=DE(aC(e,iC.Dangling));return t&&!BE(t)},rawText:HE,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(YE[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return QE(t)===QE(e)&&("**"!==e&&((!JE[e]||!JE[t])&&(!("%"===t&&XE[e]||"%"===e&&XE[t])&&((t===e||!XE[t]||!XE[e])&&(!YE[e]||!YE[t])))))},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:QE,hasComment:sC,getComments:aC,CommentCheckFlags:iC};const pC=su,{getStringWidth:fC,getIndentSize:dC}=ic,{builders:{join:hC,hardline:gC,softline:mC,group:yC,indent:DC,align:EC,lineSuffixBoundary:CC,addAlignmentToDoc:bC},printer:{printDocToString:vC},utils:{mapDoc:AC}}=Gc,{isBinaryish:FC,isJestEachTemplateLiteral:xC,isSimpleTemplateLiteral:SC,hasComment:wC,isMemberExpression:TC}=lC;function BC(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var NC={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&xC(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some((e=>e.length>0))){t.__inJestEach=!0;const i=e.map(n,"expressions");t.__inJestEach=!1;const u=[],s=i.map((e=>"${"+vC(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),a=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<r.quasis.length;e++){const t=pC(a),n=s[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),r.quasis[e].value.raw.includes("\n")&&a.push({hasLineBreak:!1,cells:[]})}const c=Math.max(o.length,...a.map((e=>e.cells.length))),l=Array.from({length:c}).fill(0),p=[{cells:o},...a.filter((e=>e.cells.length>0))];for(const{cells:e}of p.filter((e=>!e.hasLineBreak)))for(const[t,n]of e.entries())l[t]=Math.max(l[t],fC(n));return u.push(CC,"`",DC([gC,hC(gC,p.map((e=>hC(" | ",e.cells.map(((t,n)=>e.hasLineBreak?t:t+" ".repeat(l[n]-fC(t))))))))]),gC,"`"),u}}(e,n,t);if(r)return r}let o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");const i=[];let u=e.map(t,o);const s=SC(r);return s&&(u=u.map((e=>vC(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),i.push(CC,"`"),e.each((e=>{const a=e.getName();if(i.push(t()),a<u.length){const{tabWidth:t}=n,c=e.getValue(),l=dC(c.value.raw,t);let p=u[a];if(!s){const e=r[o][a];(wC(e)||TC(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||FC(e))&&(p=[DC([mC,p]),mC])}const f=0===l&&c.value.raw.endsWith("\n")?EC(Number.NEGATIVE_INFINITY,p):bC(p,l,t);i.push(yC(["${",f,CC,"}"]))}}),"quasis"),i.push("`"),i},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){const n=e.getValue();let r=t();return wC(n)&&(r=yC([DC([mC,r]),mC])),["${",r,CC,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return AC(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):BC(e):e))},uncookTemplateElementValue:BC};const{builders:{indent:kC,softline:PC,literalline:OC,dedentToRoot:IC}}=Gc,{escapeTemplateCharacters:LC}=NC;var jC=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`"));const o=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),i=""!==o;i&&(r=r.replace(new RegExp("^".concat(o),"gm"),""));const u=LC(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?kC([PC,u]):[OC,IC(u)],PC,"`"]};const{isNonEmptyArray:_C}=ic,{builders:{indent:MC,hardline:RC,softline:VC},utils:{mapDoc:$C,replaceEndOfLine:WC,cleanDoc:qC}}=Gc,{printTemplateExpressions:UC}=NC;var GC=function(e,t,n){const r=e.getValue(),o=r.quasis.map((e=>e.value.raw));let i=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!_C(t))return e;let n=0;const r=$C(qC(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?WC(e):(n++,t[e]))):e));return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",MC([RC,r]),VC,"`"]}(n(o.reduce(((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+i+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),r,UC(e,t))};const{builders:{indent:zC,join:HC,hardline:JC}}=Gc,{escapeTemplateCharacters:XC,printTemplateExpressions:YC}=NC;function KC(e){const t=[];let n=!1;const r=e.map((e=>e.trim()));for(const[e,o]of r.entries())""!==o&&(""===r[e-1]&&n?t.push([JC,o]):t.push(o),n=!0);return 0===t.length?null:HC(JC,t)}var QC=function(e,t,n){const r=e.getValue(),o=r.quasis.length;if(1===o&&""===r.quasis[0].value.raw.trim())return"``";const i=YC(e,t),u=[];for(let e=0;e<o;e++){const t=0===e,s=e===o-1,a=r.quasis[e].value.cooked,c=a.split("\n"),l=c.length,p=i[e],f=l>2&&""===c[0].trim()&&""===c[1].trim(),d=l>2&&""===c[l-1].trim()&&""===c[l-2].trim(),h=c.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!s&&/#[^\n\r]*$/.test(c[l-1]))return null;let g=null;g=h?KC(c):n(a,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=XC(g,!1),!t&&f&&u.push(""),u.push(g),!s&&d&&u.push("")):t||s||!f||u.push(""),p&&u.push(p)}return["`",zC([JC,HC(JC,u)]),JC,"`"]};const{builders:{indent:ZC,line:eb,hardline:tb,group:nb},utils:{mapDoc:rb}}=Gc,{printTemplateExpressions:ob,uncookTemplateElementValue:ib}=NC;let ub=0;var sb=function(e,t,n,r,o){let{parser:i}=o;const u=e.getValue(),s=ub;ub=ub+1>>>0;const a=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(s,"_IN_JS"),c=u.quasis.map(((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t))).join(""),l=ob(e,t);if(0===l.length&&0===c.trim().length)return"``";const p=new RegExp(a("(\\d+)"),"g");let f=0;const d=n(c,{parser:i,__onHtmlRoot(e){f=e.children.length}},{stripTrailingHardline:!0}),h=rb(d,(e=>{if("string"!=typeof e)return e;const t=[],n=e.split(p);for(let e=0;e<n.length;e++){let o=n[e];if(e%2==0){o&&(o=ib(o),r.__embeddedInHtml&&(o=o.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(o));continue}const i=Number(o);t.push(l[i])}return t})),g=/^\s/.test(c)?" ":"",m=/\s$/.test(c)?" ":"",y="ignore"===r.htmlWhitespaceSensitivity?tb:g&&m?eb:null;return nb(y?["`",ZC([y,nb(h)]),y,"`"]:["`",g,f>1?ZC(nb(h)):nb(h),m,"`"])};const{hasComment:ab,CommentCheckFlags:cb,isObjectProperty:lb}=lC,pb=jC,fb=GC,db=QC,hb=sb;function gb(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((e=>"jsx"===e.name.name))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return yb(n.object)||Db(n);case"CallExpression":return yb(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(yb(n.callee.object.object)||Db(n.callee.object))||"CallExpression"===n.callee.object.type&&yb(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>lb(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...mb)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return Eb(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return Eb(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>lb(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...mb)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const mb=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function yb(e){return"Identifier"===e.type&&"styled"===e.name}function Db(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Eb(e,t){return ab(e,cb.Block|cb.Leading,(e=>{let{value:n}=e;return n===" ".concat(t," ")}))}var Cb=function(e,t,n,r){const o=e.getValue();if("TemplateLiteral"!==o.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(o))return;const i=gb(e);return i?"markdown"===i?pb(e,t,n):"css"===i?fb(e,t,n):"graphql"===i?db(e,t,n):"html"===i||"angular"===i?hb(e,t,n,r,{parser:i}):void 0:void 0};const{isBlockComment:bb}=lC,vb=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Ab=e=>{for(const t of e.quasis)delete t.value};function Fb(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(const{type:e,expression:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&Ab(n);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Ab(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;for(const[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&Ab(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&Ab(r.value)}}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Ab(t.quasi),"TemplateLiteral"===e.type){const r=e.leadingComments&&e.leadingComments.some((e=>bb(e)&&["GraphQL","HTML"].some((t=>e.value===" ".concat(t," ")))));(r||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Ab(t)}return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}Fb.ignoredProperties=vb;var xb=Fb,Sb={},wb={exports:{}};const Tb=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter((e=>"\r\n"===e)).length;return n>t.length-n?"\r\n":"\n"};function Bb(){const e=af;return Bb=function(){return e},e}function Nb(){const e=function(e){return e&&e.__esModule?e:{default:e}}(wb.exports);return Nb=function(){return e},e}wb.exports=Tb,wb.exports.graceful=e=>"string"==typeof e&&Tb(e)||"\n",Object.defineProperty(Sb,"__esModule",{value:!0}),Sb.extract=function(e){const t=e.match(Ob);return t?t[0].trimLeft():""},Sb.strip=function(e){const t=e.match(Ob);return t&&t[0]?e.substring(t[0].length):e},Sb.parse=function(e){return Vb(e).pragmas},Sb.parseWithComments=Vb,Sb.print=function(e){let{comments:t="",pragmas:n={}}=e;const r=(0,Nb().default)(t)||Bb().EOL,o=" *",i=Object.keys(n),u=i.map((e=>$b(e,n[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+r)).join("");if(!t){if(0===i.length)return"";if(1===i.length&&!Array.isArray(n[i[0]])){const e=n[i[0]];return"".concat("/**"," ").concat($b(i[0],e)[0]).concat(" */")}}const s=t.split(r).map((e=>"".concat(o," ").concat(e))).join(r)+r;return"/**"+r+(t?s:"")+(t&&i.length?o+r:"")+u+" */"};const kb=/\*\/$/,Pb=/^\/\*\*/,Ob=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ib=/(^|\s+)\/\/([^\r\n]*)/g,Lb=/^(\r?\n)+/,jb=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,_b=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Mb=/(\r?\n|^) *\* ?/g,Rb=[];function Vb(e){const t=(0,Nb().default)(e)||Bb().EOL;e=e.replace(Pb,"").replace(kb,"").replace(Mb,"$1");let n="";for(;n!==e;)n=e,e=e.replace(jb,"".concat(t,"$1 $2").concat(t));e=e.replace(Lb,"").trimRight();const r=Object.create(null),o=e.replace(_b,"").replace(Lb,"").trimRight();let i;for(;i=_b.exec(e);){const e=i[2].replace(Ib,"");"string"==typeof r[i[1]]||Array.isArray(r[i[1]])?r[i[1]]=Rb.concat(r[i[1]],e):r[i[1]]=e}return{comments:o,pragmas:r}}function $b(e,t){return Rb.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}const{parseWithComments:Wb,strip:qb,extract:Ub,print:Gb}=Sb,{getShebang:zb}=ic,{normalizeEndOfLine:Hb}=uc;function Jb(e){const t=zb(e);t&&(e=e.slice(t.length+1));const n=Ub(e),{pragmas:r,comments:o}=Wb(n);return{shebang:t,text:e,pragmas:r,comments:o}}var Xb={hasPragma:function(e){const t=Object.keys(Jb(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:o}=Jb(e),i=qb(n),u=Gb({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Hb(u)+(i.startsWith("\n")?"\n":"\n\n")+i}};const{getLast:Yb,hasNewline:Kb,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Qb,getNextNonSpaceNonCommentCharacter:Zb,hasNewlineInRange:ev,addLeadingComment:tv,addTrailingComment:nv,addDanglingComment:rv,getNextNonSpaceNonCommentCharacterIndex:ov,isNonEmptyArray:iv}=ic,{isBlockComment:uv,getFunctionParameters:sv,isPrettierIgnoreComment:av,isJsxNode:cv,hasFlowShorthandAnnotationComment:lv,hasFlowAnnotationComment:pv,hasIgnoreComment:fv,isCallLikeExpression:dv,getCallArguments:hv,isCallExpression:gv,isMemberExpression:mv,isObjectProperty:yv,getComments:Dv,CommentCheckFlags:Ev}=lC,{locStart:Cv,locEnd:bv}=Xh;function vv(e,t){const n=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));n?tv(n,t):rv(e,t)}function Av(e,t){"BlockStatement"===e.type?vv(e,t):tv(e,t)}function Fv(e){let{comment:t,followingNode:n}=e;return!(!n||!Zv(t))&&(tv(n,t),!0)}function xv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(!r||"IfStatement"!==r.type||!o)return!1;return")"===Zb(i,t,bv)?(nv(n,t),!0):n===r.consequent&&o===r.alternate?("BlockStatement"===n.type?nv(n,t):rv(r,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):"IfStatement"===o.type?(Av(o.consequent,t),!0):r.consequent===o&&(tv(o,t),!0)}function Sv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(!r||"WhileStatement"!==r.type||!o)return!1;return")"===Zb(i,t,bv)?(nv(n,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):r.body===o&&(tv(o,t),!0)}function wv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!(!r||"TryStatement"!==r.type&&"CatchClause"!==r.type||!o)&&("CatchClause"===r.type&&n?(nv(n,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):"TryStatement"===o.type?(Av(o.finalizer,t),!0):"CatchClause"===o.type&&(Av(o.body,t),!0))}function Tv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!mv(n)||!r||"Identifier"!==r.type)&&(tv(n,t),!0)}function Bv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;const u=n&&!ev(i,bv(n),Cv(t));return!(n&&u||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!o)&&(tv(o,t),!0)}function Nv(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!(!yv(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(nv(r.value.left,t),!0)}function kv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;if(r&&("ClassDeclaration"===r.type||"ClassExpression"===r.type||"DeclareClass"===r.type||"DeclareInterface"===r.type||"InterfaceDeclaration"===r.type||"TSInterfaceDeclaration"===r.type)){if(iv(r.decorators)&&(!o||"Decorator"!==o.type))return nv(Yb(r.decorators),t),!0;if(r.body&&o===r.body)return vv(r.body,t),!0;if(o)for(const e of["implements","extends","mixins"])if(r[e]&&o===r[e][0])return!n||n!==r.id&&n!==r.typeParameters&&n!==r.superClass?rv(r,t,e):nv(n,t),!0}return!1}function Pv(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Zb(o,n,bv)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type&&"TSAbstractPropertyDefinition"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(nv(n,t),!0)}function Ov(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return"("===Zb(o,t,bv)&&(!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(nv(n,t),!0))}function Iv(e){let{comment:t,enclosingNode:n,text:r}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const o=ov(r,t,bv);return!1!==o&&"=>"===r.slice(o,o+2)&&(rv(n,t),!0)}function Lv(e){let{comment:t,enclosingNode:n,text:r}=e;return")"===Zb(r,t,bv)&&(n&&(Qv(n)&&0===sv(n).length||dv(n)&&0===hv(n).length)?(rv(n,t),!0):!(!n||"MethodDefinition"!==n.type&&"TSAbstractMethodDefinition"!==n.type||0!==sv(n.value).length)&&(rv(n.value,t),!0))}function jv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&o&&"FunctionTypeParam"!==o.type)return nv(n,t),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&Qv(r)&&")"===Zb(i,t,bv))return nv(n,t),!0;if(r&&"FunctionDeclaration"===r.type&&o&&"BlockStatement"===o.type){const e=(()=>{const e=sv(r);if(e.length>0)return Qb(i,bv(Yb(e)));const t=Qb(i,bv(r.id));return!1!==t&&Qb(i,t+1)})();if(Cv(t)>e)return vv(o,t),!0}return!1}function _v(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ImportSpecifier"!==n.type)&&(tv(n,t),!0)}function Mv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"LabeledStatement"!==n.type)&&(tv(n,t),!0)}function Rv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ContinueStatement"!==n.type&&"BreakStatement"!==n.type||n.label)&&(nv(n,t),!0)}function Vv(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!(gv(r)&&n&&r.callee===n&&r.arguments.length>0)&&(tv(r.arguments[0],t),!0)}function $v(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!r||"UnionTypeAnnotation"!==r.type&&"TSUnionType"!==r.type?(o&&("UnionTypeAnnotation"===o.type||"TSUnionType"===o.type)&&av(t)&&(o.types[0].prettierIgnore=!0,t.unignore=!0),!1):(av(t)&&(o.prettierIgnore=!0,t.unignore=!0),!!n&&(nv(n,t),!0))}function Wv(e){let{comment:t,enclosingNode:n}=e;return!!yv(n)&&(tv(n,t),!0)}function qv(e){let{comment:t,enclosingNode:n,followingNode:r,ast:o,isLastComment:i}=e;return o&&o.body&&0===o.body.length?(i?rv(o,t):tv(o,t),!0):n&&"Program"===n.type&&0===n.body.length&&!iv(n.directives)?(i?rv(n,t):tv(n,t),!0):!(!r||"Program"!==r.type||0!==r.body.length||!n||"ModuleExpression"!==n.type)&&(rv(r,t),!0)}function Uv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ForInStatement"!==n.type&&"ForOfStatement"!==n.type)&&(tv(n,t),!0)}function Gv(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Kb(o,bv(t)))&&(nv(n,t),!0)}function zv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"AssignmentPattern"!==n.type)&&(tv(n,t),!0)}function Hv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"TypeAlias"!==n.type)&&(tv(n,t),!0)}function Jv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!n||"VariableDeclarator"!==n.type&&"AssignmentExpression"!==n.type||!r||"ObjectExpression"!==r.type&&"ArrayExpression"!==r.type&&"TemplateLiteral"!==r.type&&"TaggedTemplateExpression"!==r.type&&!uv(t))&&(tv(r,t),!0)}function Xv(e){let{comment:t,enclosingNode:n,followingNode:r,text:o}=e;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Zb(o,t,bv))&&(nv(n,t),!0)}function Yv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(av(t)&&n&&"TSMappedType"===n.type&&r&&"TSTypeParameter"===r.type&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function Kv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!(!r||"TSMappedType"!==r.type)&&(o&&"TSTypeParameter"===o.type&&o.name?(tv(o.name,t),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(nv(n.constraint,t),!0))}function Qv(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Zv(e){return uv(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var eA={handleOwnLineComment:function(e){return[Yv,jv,Tv,xv,Sv,wv,kv,_v,Uv,$v,qv,Gv,zv,Pv,Mv].some((t=>t(e)))},handleEndOfLineComment:function(e){return[Fv,jv,Bv,_v,xv,Sv,wv,kv,Mv,Vv,Wv,qv,Hv,Jv].some((t=>t(e)))},handleRemainingComment:function(e){return[Yv,xv,Sv,Nv,Lv,Pv,qv,Iv,Ov,Kv,Rv,Xv].some((t=>t(e)))},isTypeCastComment:Zv,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===sv(e.value).length&&!e.value.returnType&&!iv(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(cv(t)||lv(t)||gv(n)&&(e=>pv(Dv(e,Ev.Leading))||pv(Dv(e,Ev.Trailing)))(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!fv(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const tA=su,{getFunctionParameters:nA,getLeftSidePathName:rA,hasFlowShorthandAnnotationComment:oA,hasNakedLeftSide:iA,hasNode:uA,isBitwiseOperator:sA,startsWithNoLookaheadToken:aA,shouldFlatten:cA,getPrecedence:lA,isCallExpression:pA,isMemberExpression:fA,isObjectProperty:dA}=lC;function hA(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){if("ObjectExpression"===e.type)return!0;return!1}(o)&&gA(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(o))return!1;if("flow"!==t.parser&&oA(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name))||"left"===r&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return mA(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){let e=!1,n=!1,r=o;for(;r;)switch(r.type){case"MemberExpression":n=!0,r=r.object;break;case"CallExpression":if(n||e)return"typescript"!==t.parser;e=!0,r=r.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(aA(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&aA(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type)return!0;if("in"===o.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":{const{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;const i=lA(e),u=n.operator,s=lA(u);return s>i||("right"===r&&s===i||(s===i&&!cA(u,e)||(s<i&&"%"===e?"+"===u||"-"===u:!!sA(u))))}default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!o.argument&&"|>"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===r&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&nA(o).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&(("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&("AssignmentExpression"!==n.type&&(("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&(("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)))))}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&fA(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||pA(n)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!pA(n)&&!dA(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return uA(e,(e=>"ObjectTypeAnnotation"===e.type&&uA(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(o)}return!1}function gA(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(gA);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return tA(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(gA);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(gA);break;case"UnaryExpression":if(n.prefix)return e.callParent(gA)}return!1}function mA(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!hA(e,t):!(!iA(n)||"ExportDefaultDeclaration"!==r.type&&hA(e,t))&&e.call((e=>mA(e,t)),...rA(e,n))}var yA=hA;var DA=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{join:EA,line:CA,group:bA,softline:vA,indent:AA}}=Gc;var FA={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((e=>{const t=EA([",",CA],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",AA([vA,bA(t)]),vA,")"]}),"program","body",0):t.__isVueBindings?e.call((e=>EA([",",CA],e.map(n,"params"))),"program","body",0):void 0}};const{printComments:xA}=zy,{getLast:SA}=ic,{builders:{join:wA,line:TA,softline:BA,group:NA,indent:kA,align:PA,ifBreak:OA,indentIfBreak:IA},utils:{cleanDoc:LA,getDocParts:jA,isConcat:_A}}=Gc,{hasLeadingOwnLineComment:MA,isBinaryish:RA,isJsxNode:VA,shouldFlatten:$A,hasComment:WA,CommentCheckFlags:qA,isCallExpression:UA,isMemberExpression:GA,isObjectProperty:zA,isEnabledHackPipeline:HA}=lC;let JA=0;function XA(e,t,n,r,o){const i=e.getValue();if(!RA(i))return[NA(t())];let u=[];$A(i.operator,i.left.operator)?u=e.call((e=>XA(e,t,n,!0,o)),"left"):u.push(NA(t("left")));const s=YA(i),a=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===n.parser)&&!MA(n.originalText,i.right),c="NGPipeExpression"===i.type?"|":i.operator,l="NGPipeExpression"===i.type&&i.arguments.length>0?NA(kA([BA,": ",wA([BA,":",OA(" ")],e.map(t,"arguments").map((e=>PA(2,NA(e)))))])):"";let p;if(s)p=[c," ",t("right"),l];else{const r=HA(n)&&"|>"===c?e.call((e=>XA(e,t,n,!0,o)),"right"):t("right");p=[a?TA:"",c,a?" ":TA,r,l]}const f=e.getParentNode(),d=WA(i.left,qA.Trailing|qA.Line),h=d||!(o&&"LogicalExpression"===i.type)&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(u.push(a?"":" ",h?NA(p,{shouldBreak:d}):p),r&&WA(i)){const t=LA(xA(e,u,n));return _A(t)||"fill"===t.type?jA(t):[t]}return u}function YA(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||("ArrayExpression"===e.right.type&&e.right.elements.length>0||!!VA(e.right)))}var KA={printBinaryishExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i=e.getParentNode(1),u=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),s=HA(t)&&"|>"===r.operator,a=XA(e,n,t,!1,u);if(u)return a;if(s)return NA(a);if(UA(o)&&o.callee===r||"UnaryExpression"===o.type||GA(o)&&!o.computed)return NA([kA([BA,...a]),BA]);const c="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===i.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===i.type&&1===i.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==i.type&&"ThrowStatement"!==i.type&&!UA(i)||"TemplateLiteral"===o.type,l="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractPropertyDefinition"===o.type||"ClassPrivateProperty"===o.type||zA(o),p=RA(r.left)&&$A(r.operator,r.left.operator);if(c||YA(r)&&!p||!YA(r)&&l)return NA(a);if(0===a.length)return"";const f=VA(r.right),d=a.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),h=a.slice(0,-1===d?1:d+1),g=a.slice(h.length,f?-1:void 0),m=Symbol("logicalChain-"+ ++JA),y=NA([...h,kA(g)],{id:m});if(!f)return y;const D=SA(a);return NA([y,IA(D,{groupId:m})])},shouldInlineLogicalExpression:YA};const{builders:{join:QA,line:ZA,group:eF}}=Gc,{hasNode:tF,hasComment:nF,getComments:rF}=lC,{printBinaryishExpression:oF}=KA;function iF(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var uF={printAngular:function(e,t,n){const r=e.getValue();if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),nF(r.node)?" //"+rF(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return oF(e,t,n);case"NGChainedExpression":return eF(QA([";",ZA],e.map((e=>function(e){return tF(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":iF(e.getValue(),t,r)?" ":[";",ZA],n()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),o=e.getParentNode(),i=iF(r,t,o)||(1===t&&("then"===r.key.name||"else"===r.key.name)||2===t&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===o.body[t-1].type&&"then"===o.body[t-1].key.name)&&"NGMicrosyntaxExpression"===o.body[0].type;return[n("key"),i?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(r.type),"."))}}};const{printComments:sF,printDanglingComments:aF}=zy,{builders:{line:cF,hardline:lF,softline:pF,group:fF,indent:dF,conditionalGroup:hF,fill:gF,ifBreak:mF,lineSuffixBoundary:yF,join:DF},utils:{willBreak:EF}}=Gc,{getLast:CF,getPreferredQuote:bF}=ic,{isJsxNode:vF,rawText:AF,isLiteral:FF,isCallExpression:xF,isStringLiteral:SF,isBinaryish:wF,hasComment:TF,CommentCheckFlags:BF,hasNodeIgnoreComment:NF}=lC,kF=yA,{willPrintOwnComments:PF}=eA,OF=e=>""===e||e===cF||e===lF||e===pF;function IF(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return FF(t)&&!WF(t)}(r))return[n("openingElement"),n("closingElement")];const o="JSXElement"===r.type?n("openingElement"):n("openingFragment"),i="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[o,...e.map(n,"children"),i];r.children=r.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&FF(e.expression)&&" "===e.expression.value&&!TF(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));const u=r.children.some(vF),s=r.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1;let c=EF(o)||u||a||s;const l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":mF([p,pF]," "),d=function(e,t,n,r,o){const i=[];return e.each(((e,t,u)=>{const s=e.getValue();if(FF(s)){const e=AF(s);if(WF(s)){const n=e.split(RF);if(""===n[0]){if(i.push(""),n.shift(),/\n/.test(n[0])){const e=u[t+1];i.push(jF(o,n[1],s,e))}else i.push(r);n.shift()}let a;if(""===CF(n)&&(n.pop(),a=n.pop()),0===n.length)return;for(const[e,t]of n.entries())e%2==1?i.push(cF):i.push(t);if(void 0!==a)if(/\n/.test(a)){const e=u[t+1];i.push(jF(o,CF(i),s,e))}else i.push(r);else{const e=u[t+1];i.push(LF(o,CF(i),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&i.push("",lF):i.push("",r)}else{const e=n();i.push(e);const r=u[t+1];if(r&&WF(r)){const e=$F(AF(r)).split(RF)[0];i.push(LF(o,e,s,r))}else i.push(lF)}}),"children"),i}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((e=>WF(e)));for(let e=d.length-2;e>=0;e--){const t=""===d[e]&&""===d[e+1],n=d[e]===lF&&""===d[e+1]&&d[e+2]===lF,r=(d[e]===pF||d[e]===lF)&&""===d[e+1]&&d[e+2]===f,o=d[e]===f&&""===d[e+1]&&(d[e+2]===pF||d[e+2]===lF),i=d[e]===f&&""===d[e+1]&&d[e+2]===f,u=d[e]===pF&&""===d[e+1]&&d[e+2]===lF||d[e]===lF&&""===d[e+1]&&d[e+2]===pF;n&&h||t||r||i||u?d.splice(e,2):o&&d.splice(e+1,2)}for(;d.length>0&&OF(CF(d));)d.pop();for(;d.length>1&&OF(d[0])&&OF(d[1]);)d.shift(),d.shift();const g=[];for(const[e,t]of d.entries()){if(t===f){if(1===e&&""===d[e-1]){if(2===d.length){g.push(p);continue}g.push([p,lF]);continue}if(e===d.length-1){g.push(p);continue}if(""===d[e-1]&&d[e-2]===lF){g.push(p);continue}}g.push(t),EF(t)&&(c=!0)}const m=h?gF(g):fF(g,{shouldBreak:!0});if(l)return m;const y=fF([o,dF([lF,m]),lF,i]);return c?y:hF([fF([o,...d,i]),y])}function LF(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?pF:lF:pF}function jF(e,t,n,r){return e?lF:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?lF:pF:lF}function _F(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const o=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),xF,(e=>"JSXExpressionContainer"===e.type)),i=kF(e,n);return fF([i?"":mF("("),dF([pF,t]),pF,i?"":mF(")")],{shouldBreak:o})}(e,sF(e,IF(e,t,n),t),t)}function MF(e,t,n){const r=e.getValue();return["{",e.call((e=>{const r=["...",n()],o=e.getValue();return TF(o)&&PF(e)?[dF([pF,sF(e,r,t)]),pF]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}const RF=new RegExp("([ \n\r\t]+)"),VF=new RegExp("[^ \n\r\t]"),$F=e=>e.replace(new RegExp("(?:^"+RF.source+"|"+RF.source+"$)"),"");function WF(e){return FF(e)&&(VF.test(AF(e))||!/\n/.test(AF(e)))}var qF={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&vF(t)&&vF(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||WF(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&NF(r.expression)},printJsx:function(e,t,n){const r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return function(e,t,n){const r=e.getValue(),o=[];if(o.push(n("name")),r.value){let e;if(SF(r.value)){let n=AF(r.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const{escaped:o,quote:i,regex:u}=bF(n,t.jsxSingleQuote?"'":'"');n=n.replace(u,o),e=[i,n,i]}else e=n("value");o.push("=",e)}return o}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return DF(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return DF(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return MF(e,t,n);case"JSXSpreadChild":return MF(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!TF(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||xF(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||vF(o)&&("ConditionalExpression"===r.expression.type||wF(r.expression)));return fF(i?["{",n("expression"),yF,"}"]:["{",dF([pF,n("expression")]),pF,yF,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return _F(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),o=r.name&&TF(r.name)||r.typeParameters&&TF(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!o)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&SF(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!TF(r.attributes[0]))return fF(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const i=r.attributes.length>0&&TF(CF(r.attributes),BF.Trailing),u=0===r.attributes.length&&!o||(t.bracketSameLine||t.jsxBracketSameLine)&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some((e=>e.value&&SF(e.value)&&e.value.value.includes("\n")));return fF(["<",n("name"),n("typeParameters"),dF(e.map((()=>[cF,n()]),"attributes")),r.selfClosing?cF:u?">":pF,r.selfClosing?"/>":u?"":">"],{shouldBreak:s})}(e,t,n);case"JSXClosingElement":return function(e,t,n){const r=e.getValue(),o=[];o.push("</");const i=n("name");return TF(r.name,BF.Leading|BF.Line)?o.push(dF([lF,i]),lF):TF(r.name,BF.Leading|BF.Block)?o.push(" ",i):o.push(i),o.push(">"),o}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){const n=e.getValue(),r=TF(n),o=TF(n,BF.Line),i="JSXOpeningFragment"===n.type;return[i?"<":"</",dF([o?lF:r&&!i?" ":"",aF(e,t,!0)]),o?lF:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=TF(n,BF.Line);return[aF(e,t,!r),r?lF:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(r.type),"."))}}},UF=Cu,GF=Qe,zF=dr,HF=ur,JF=$u;to({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=GF(this),n=zF(t),r=JF(t,0);return r.length=UF(r,t,t,n,0,void 0===e?1:HF(e)),r}});var XF,YF=Fr,KF=xr,QF=Object.keys||function(e){return YF(e,KF)},ZF=Ut,ex=Xt,tx=oe,nx=QF,rx=B?Object.defineProperties:function(e,t){ex(e);for(var n,r=tx(t),o=nx(t),i=o.length,u=0;i>u;)ZF.f(e,n=o[u++],r[n]);return e},ox=pe("document","documentElement"),ix=Xt,ux=rx,sx=xr,ax=vn,cx=ox,lx=Pt,px=bn("IE_PROTO"),fx=function(){},dx=function(e){return"<script>"+e+"<\/script>"},hx=function(e){e.write(dx("")),e.close();var t=e.parentWindow.Object;return e=null,t},gx=function(){try{XF=new ActiveXObject("htmlfile")}catch(e){}gx="undefined"!=typeof document?document.domain&&XF?hx(XF):function(){var e,t=lx("iframe");return t.style.display="none",cx.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(dx("document.F=Object")),e.close(),e.F}():hx(XF);for(var e=sx.length;e--;)delete gx.prototype[sx[e]];return gx()};ax[px]=!0;var mx=Object.create||function(e,t){var n;return null!==e?(fx.prototype=ix(e),n=new fx,fx.prototype=null,n[px]=e):n=gx(),void 0===t?n:ux(n,t)},yx=Ut,Dx=yt("unscopables"),Ex=Array.prototype;null==Ex[Dx]&&yx.f(Ex,Dx,{configurable:!0,value:mx(null)});var Cx=function(e){Ex[Dx][e]=!0};Cx("flat");const{isNonEmptyArray:bx}=ic,{builders:{indent:vx,join:Ax,line:Fx}}=Gc,{isFlowAnnotationComment:xx}=lC;function Sx(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const o=e.getParentNode(),i=r.definite||o&&"VariableDeclarator"===o.type&&o.definite,u="DeclareFunction"===o.type&&o.id===r;return xx(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[u?"":i?"!: ":": ",n("typeAnnotation")]}var wx={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return bx(r.modifiers)?[Ax(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:Sx,printRestSpread:function(e,t,n){return["...",n("argument"),Sx(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:vx([Fx,t])}};const{printDanglingComments:Tx}=zy,{builders:{line:Bx,softline:Nx,hardline:kx,group:Px,indent:Ox,ifBreak:Ix,fill:Lx}}=Gc,{getLast:jx,hasNewline:_x}=ic,{shouldPrintComma:Mx,hasComment:Rx,CommentCheckFlags:Vx,isNextLineEmpty:$x,isNumericLiteral:Wx,isSignedNumericLiteral:qx}=lC,{locStart:Ux}=Xh,{printOptionalToken:Gx,printTypeAnnotation:zx}=wx;function Hx(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(Wx(e)||qx(e)&&!Rx(e.argument))&&!Rx(e,Vx.Trailing|Vx.Line,(e=>!_x(t.originalText,Ux(e),{backwards:!0})))))}function Jx(e,t,n,r){const o=[];let i=[];return e.each((e=>{o.push(i,Px(r())),i=[",",Bx],e.getValue()&&$x(e.getValue(),t)&&i.push(Nx)}),n),o}function Xx(e,t,n,r){const o=[];return e.each(((e,i,u)=>{const s=i===u.length-1;o.push([n(),s?r:","]),s||o.push($x(e.getValue(),t)?[kx,kx]:Rx(u[i+1],Vx.Leading|Vx.Line)?kx:Bx)}),"elements"),Lx(o)}var Yx={printArray:function(e,t,n){const r=e.getValue(),o=[],i="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Rx(r,Vx.Dangling)?o.push(Px([i,Tx(e,t),Nx,"]"])):o.push(i,"]");else{const u=jx(r.elements),s=!(u&&"RestElement"===u.type),a=null===u,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every(((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const o=n[t+1];if(o&&r!==o.type)return!1;const i="ArrayExpression"===r?"elements":"properties";return e[i]&&e[i].length>1})),p=Hx(r,t),f=s?a?",":Mx(t)?p?Ix(",","",{groupId:c}):Ix(","):"":"";o.push(Px([i,Ox([Nx,p?Xx(e,t,n,f):[Jx(e,t,"elements",n),f],Tx(e,t,!0)]),Nx,"]"],{shouldBreak:l,id:c}))}return o.push(Gx(e),zx(e,t,n)),o},printArrayItems:Jx,isConciselyPrintedArray:Hx};const{printDanglingComments:Kx}=zy,{getLast:Qx,getPenultimate:Zx}=ic,{getFunctionParameters:eS,hasComment:tS,CommentCheckFlags:nS,isFunctionCompositionArgs:rS,isJsxNode:oS,isLongCurriedCallExpression:iS,shouldPrintComma:uS,getCallArguments:sS,iterateCallArgumentsPath:aS,isNextLineEmpty:cS,isCallExpression:lS,isStringLiteral:pS,isObjectProperty:fS}=lC,{builders:{line:dS,hardline:hS,softline:gS,group:mS,indent:yS,conditionalGroup:DS,ifBreak:ES,breakParent:CS},utils:{willBreak:bS}}=Gc,{ArgExpansionBailout:vS}=pp,{isConciselyPrintedArray:AS}=Yx;function FS(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||tS(e))||"ArrayExpression"===e.type&&(e.elements.length>0||tS(e))||"TSTypeAssertion"===e.type&&FS(e.expression)||"TSAsExpression"===e.type&&FS(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||xS(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&FS(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(lS(e.body)||"ConditionalExpression"===e.body.type)||oS(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function xS(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||tS(e,nS.Dangling))}var SS=function(e,t,n){const r=e.getValue(),o="ImportExpression"===r.type,i=sS(r);if(0===i.length)return["(",Kx(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===eS(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>tS(e)))}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let u=!1,s=!1;const a=i.length-1,c=[];aS(e,((e,r)=>{const o=e.getNode(),i=[n()];r===a||(cS(o,t)?(0===r&&(s=!0),u=!0,i.push(",",hS,hS)):i.push(",",dS)),c.push(i)}));const l=o||r.callee&&"Import"===r.callee.type||!uS(t,"all")?"":",";function p(){return mS(["(",yS([dS,...c]),l,dS,")"],{shouldBreak:!0})}if(u||"Decorator"!==e.getParentNode().type&&rS(i))return p();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;if("ModuleExpression"===t.type&&function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&fS(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&pS(e.properties[0].value)&&"module"===e.properties[0].value.value}(n))return!0;return!tS(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!FS(n)}(i),d=function(e,t){const n=Qx(e),r=Zx(e);return!tS(n,nS.Leading)&&!tS(n,nS.Trailing)&&FS(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&AS(n,t))}(i,t);if(f||d){if(f?c.slice(1).some(bS):c.slice(0,-1).some(bS))return p();let t=[];try{e.try((()=>{aS(e,((e,r)=>{f&&0===r&&(t=[[n([],{expandFirstArg:!0}),c.length>1?",":"",s?hS:dS,s?hS:""],...c.slice(1)]),d&&r===a&&(t=[...c.slice(0,-1),n([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof vS)return p();throw e}return[c.some(bS)?CS:"",DS([["(",...t,")"],f?["(",mS(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...c.slice(0,-1),mS(Qx(t),{shouldBreak:!0}),")"],p()])]}const h=["(",yS([gS,...c]),ES(l),gS,")"];return iS(e)?h:mS(h,{shouldBreak:c.some(bS)||u})};const{builders:{softline:wS,group:TS,indent:BS,label:NS}}=Gc,{isNumericLiteral:kS,isMemberExpression:PS,isCallExpression:OS}=lC,{printOptionalToken:IS}=wx;function LS(e,t,n){const r=n("property"),o=e.getValue(),i=IS(e);return o.computed?!o.property||kS(o.property)?[i,"[",r,"]"]:TS([i,"[",BS([wS,r]),wS,"]"]):[i,".",r]}var jS={printMemberExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode();let i,u=0;do{i=e.getParentNode(u),u++}while(i&&(PS(i)||"TSNonNullExpression"===i.type));const s=n("object"),a=LS(e,t,n),c=i&&("NewExpression"===i.type||"BindExpression"===i.type||"AssignmentExpression"===i.type&&"Identifier"!==i.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!PS(o)||("AssignmentExpression"===o.type||"VariableDeclarator"===o.type)&&(OS(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&OS(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return NS("member-chain"===s.label?"member-chain":"member",[s,c?a:TS(BS([wS,a]))])},printMemberLookup:LS};const{printComments:_S}=zy,{getLast:MS,isNextLineEmptyAfterIndex:RS,getNextNonSpaceNonCommentCharacterIndex:VS}=ic,$S=yA,{isCallExpression:WS,isMemberExpression:qS,isFunctionOrArrowExpression:US,isLongCurriedCallExpression:GS,isMemberish:zS,isNumericLiteral:HS,isSimpleCallArgument:JS,hasComment:XS,CommentCheckFlags:YS,isNextLineEmpty:KS}=lC,{locEnd:QS}=Xh,{builders:{join:ZS,hardline:ew,group:tw,indent:nw,conditionalGroup:rw,breakParent:ow,label:iw},utils:{willBreak:uw}}=Gc,sw=SS,{printMemberLookup:aw}=jS,{printOptionalToken:cw,printFunctionTypeParameters:lw,printBindExpressionCallee:pw}=wx;var fw=function(e,t,n){const r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,i=[];function u(e){const{originalText:n}=t,r=VS(n,e,QS);return")"===n.charAt(r)?!1!==r&&RS(n,r+1):KS(e,t)}function s(e){const r=e.getValue();WS(r)&&(zS(r.callee)||WS(r.callee))?(i.unshift({node:r,printed:[_S(e,[cw(e),lw(e,t,n),sw(e,t,n)],t),u(r)?ew:""]}),e.call((e=>s(e)),"callee")):zS(r)?(i.unshift({node:r,needsParens:$S(e,t),printed:_S(e,qS(r)?aw(e,t,n):pw(e,t,n),t)}),e.call((e=>s(e)),"object")):"TSNonNullExpression"===r.type?(i.unshift({node:r,printed:_S(e,"!",t)}),e.call((e=>s(e)),"expression")):i.unshift({node:r,printed:n()})}const a=e.getValue();i.unshift({node:a,printed:[cw(e),lw(e,t,n),sw(e,t,n)]}),a.callee&&e.call((e=>s(e)),"callee");const c=[];let l=[i[0]],p=1;for(;p<i.length&&("TSNonNullExpression"===i[p].node.type||WS(i[p].node)||qS(i[p].node)&&i[p].node.computed&&HS(i[p].node.property));++p)l.push(i[p]);if(!WS(i[0].node))for(;p+1<i.length&&(zS(i[p].node)&&zS(i[p+1].node));++p)l.push(i[p]);c.push(l),l=[];let f=!1;for(;p<i.length;++p){if(f&&zS(i[p].node)){if(i[p].node.computed&&HS(i[p].node.property)){l.push(i[p]);continue}c.push(l),l=[],f=!1}(WS(i[p].node)||"ImportExpression"===i[p].node.type)&&(f=!0),l.push(i[p]),XS(i[p].node,YS.Trailing)&&(c.push(l),l=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}l.length>0&&c.push(l);const h=c.length>=2&&!XS(c[1][0].node)&&function(e){const n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||o&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=MS(e[0]).node;return qS(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(c);function g(e){const t=e.map((e=>e.printed));return e.length>0&&MS(e).needsParens?["(",...t,")"]:t}const m=c.map(g),y=m,D=h?3:2,E=c.flat(),C=E.slice(1,-1).some((e=>XS(e.node,YS.Leading)))||E.slice(0,-1).some((e=>XS(e.node,YS.Trailing)))||c[D]&&XS(c[D][0].node,YS.Leading);if(c.length<=D&&!C)return GS(e)?y:tw(y);const b=MS(c[h?1:0]).node,v=!WS(b)&&u(b),A=[g(c[0]),h?c.slice(1,2).map(g):"",v?ew:"",function(e){return 0===e.length?"":nw(tw([ew,ZS(ew,e.map(g))]))}(c.slice(h?2:1))],F=i.map((e=>{let{node:t}=e;return t})).filter(WS);let x;return x=C||F.length>2&&F.some((e=>!e.arguments.every((e=>JS(e,0)))))||m.slice(0,-1).some(uw)||function(){const e=MS(MS(c)).node,t=MS(m);return WS(e)&&uw(t)&&F.slice(0,-1).some((e=>e.arguments.some(US)))}()?tw(A):[uw(y)||v?ow:"",rw([y,A])],iw("member-chain",x)};const{builders:{join:dw,group:hw}}=Gc,gw=yA,{getCallArguments:mw,hasFlowAnnotationComment:yw,isCallExpression:Dw,isMemberish:Ew,isStringLiteral:Cw,isTemplateOnItsOwnLine:bw,isTestCall:vw,iterateCallArgumentsPath:Aw}=lC,Fw=fw,xw=SS,{printOptionalToken:Sw,printFunctionTypeParameters:ww}=wx;var Tw={printCallExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i="NewExpression"===r.type,u="ImportExpression"===r.type,s=Sw(e),a=mw(r);if(a.length>0&&(!u&&!i&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){const n=mw(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&Cw(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,o)||1===a.length&&bw(a[0],t.originalText)||!i&&vw(r,o))){const r=[];return Aw(e,(()=>{r.push(n())})),[i?"new ":"",n("callee"),s,ww(e,t,n),"(",dw(", ",r),")"]}const c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&yw(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!u&&!i&&Ew(r.callee)&&!e.call((e=>gw(e,t)),"callee"))return Fw(e,t,n);const l=[i?"new ":"",u?"import":n("callee"),s,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",ww(e,t,n),xw(e,t,n)];return u||Dw(r.callee)?hw(l):l}};const{isNonEmptyArray:Bw,getStringWidth:Nw}=ic,{builders:{line:kw,group:Pw,indent:Ow,indentIfBreak:Iw},utils:{cleanDoc:Lw,willBreak:jw,canBreak:_w}}=Gc,{hasLeadingOwnLineComment:Mw,isBinaryish:Rw,isStringLiteral:Vw,isLiteral:$w,isNumericLiteral:Ww,isCallExpression:qw,isMemberExpression:Uw,getCallArguments:Gw,rawText:zw,hasComment:Hw,isSignedNumericLiteral:Jw,isObjectProperty:Xw}=lC,{shouldInlineLogicalExpression:Yw}=KA,{printCallExpression:Kw}=Tw;function Qw(e,t,n,r,o,i){const u=function(e,t,n,r,o){const i=e.getValue(),u=i[o];if(!u)return"only-left";const s=!Zw(u),a=e.match(Zw,eT,(e=>!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type));if(a)return s?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&Zw(u.right)||Mw(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(eT(e)){const t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>Xw(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}(i)||function(e){const t=function(e){if(function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params)return e.typeParameters.params;return null}(e);if(Bw(t)){const n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[n]||e.default)))return!0}return!1}(i)||function(e){if("VariableDeclarator"!==e.type)return!1;const{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;const n=nT(t.typeAnnotation);return Bw(n)&&n.length>1&&n.some((e=>Bw(nT(e))||"TSConditionalType"===e.type))}(i)||tT(i)&&_w(r))return"break-lhs";const c=function(e,t,n){if(!Xw(e))return!1;t=Lw(t);const r=3;return"string"==typeof t&&Nw(t)<n.tabWidth+r}(i,r,t);if(e.call((()=>function(e,t,n,r){const o=e.getValue();if(Rw(o)&&!Yw(o))return!0;switch(o.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:e}=o;return Rw(e)&&!Yw(e)}case"ClassExpression":return Bw(o.decorators)}if(r)return!1;let i=o;const u=[];for(;;)if("UnaryExpression"===i.type)i=i.argument,u.push("argument");else{if("TSNonNullExpression"!==i.type)break;i=i.expression,u.push("expression")}if(Vw(i)||e.call((()=>rT(e,t,n)),...u))return!0;return!1}(e,t,n,c)),o))return"break-after-operator";if(c||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||"BooleanLiteral"===u.type||Ww(u)||"ClassExpression"===u.type)return"never-break-after-operator";return"fluid"}(e,t,n,r,i),s=n(i,{assignmentLayout:u});switch(u){case"break-after-operator":return Pw([Pw(r),o,Pw(Ow([kw,s]))]);case"never-break-after-operator":return Pw([Pw(r),o," ",s]);case"fluid":{const e=Symbol("assignment");return Pw([Pw(r),o,Pw(Ow(kw),{id:e}),Iw(s,{groupId:e})])}case"break-lhs":return Pw([r,o," ",Pw(s)]);case"chain":return[Pw(r),o,kw,s];case"chain-tail":return[Pw(r),o,Ow([kw,s])];case"chain-tail-arrow-chain":return[Pw(r),o,s];case"only-left":return r}}function Zw(e){return"AssignmentExpression"===e.type}function eT(e){return Zw(e)||"VariableDeclarator"===e.type}function tT(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function nT(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function rT(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=e.getValue(),i=()=>rT(e,t,n,!0);if("TSNonNullExpression"===o.type)return e.call(i,"expression");if(qw(o)){if("member-chain"===Kw(e,t,n).label)return!1;const r=Gw(o);return!!(0===r.length||1===r.length&&oT(r[0],t))&&(!iT(o,n)&&e.call(i,"callee"))}return Uw(o)?e.call(i,"object"):r&&("Identifier"===o.type||"ThisExpression"===o.type)}function oT(e,t){let{printWidth:n}=t;if(Hw(e))return!1;const r=.25*n;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||Jw(e)&&!Hw(e.argument))return!0;const o="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return o?o.length<=r:Vw(e)?zw(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):$w(e)}function iT(e,t){const n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(Bw(n)){if(n.length>1)return!0;if(1===n.length){const e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type)return!0}const r=e.typeParameters?"typeParameters":"typeArguments";if(jw(t(r)))return!0}return!1}var uT={printVariableDeclarator:function(e,t,n){return Qw(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){const r=e.getValue();return Qw(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:Qw,isArrowFunctionVariableDeclarator:tT};const{getNextNonSpaceNonCommentCharacter:sT}=ic,{printDanglingComments:aT}=zy,{builders:{line:cT,hardline:lT,softline:pT,group:fT,indent:dT,ifBreak:hT},utils:{removeLines:gT,willBreak:mT}}=Gc,{getFunctionParameters:yT,iterateFunctionParametersPath:DT,isSimpleType:ET,isTestCall:CT,isTypeAnnotationAFunction:bT,isObjectType:vT,isObjectTypePropertyAFunction:AT,hasRestParameter:FT,shouldPrintComma:xT,hasComment:ST,isNextLineEmpty:wT}=lC,{locEnd:TT}=Xh,{ArgExpansionBailout:BT}=pp,{printFunctionTypeParameters:NT}=wx;function kT(e){if(!e)return!1;const t=yT(e);if(1!==t.length)return!1;const[n]=t;return!ST(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&vT(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&vT(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var PT={printFunctionParameters:function(e,t,n,r,o){const i=e.getValue(),u=yT(i),s=o?NT(e,n,t):"";if(0===u.length)return[s,"(",aT(e,n,!0,(e=>")"===sT(n.originalText,e,TT))),")"];const a=e.getParentNode(),c=CT(a),l=kT(i),p=[];if(DT(e,((e,r)=>{const o=r===u.length-1;o&&i.rest&&p.push("..."),p.push(t()),o||(p.push(","),c||l?p.push(" "):wT(u[r],n)?p.push(lT,lT):p.push(cT))})),r){if(mT(s)||mT(p))throw new BT;return fT([gT(s),"(",gT(p),")"])}const f=u.every((e=>!e.decorators));return l&&f||c?[s,"(",...p,")"]:(AT(a)||bT(a)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===i)&&1===u.length&&null===u[0].name&&i.this!==u[0]&&u[0].typeAnnotation&&null===i.typeParameters&&ET(u[0].typeAnnotation)&&!i.rest?"always"===n.arrowParens?["(",...p,")"]:p:[s,"(",dT([pT,...p]),hT(!FT(i)&&xT(n,"all")?",":""),pT,")"]},shouldHugFunctionParameters:kT,shouldGroupFunctionParameters:function(e,t){const n=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;const r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){const e=r[0];if(e.constraint||e.default)return!1}}return 1===yT(e).length&&(vT(n)||mT(t))}};const{printComments:OT,printDanglingComments:IT}=zy,{getLast:LT}=ic,{builders:{group:jT,join:_T,line:MT,softline:RT,indent:VT,align:$T,ifBreak:WT}}=Gc,qT=yA,{locStart:UT}=Xh,{isSimpleType:GT,isObjectType:zT,hasLeadingOwnLineComment:HT,isObjectTypePropertyAFunction:JT,shouldPrintComma:XT}=lC,{printAssignment:YT}=uT,{printFunctionParameters:KT,shouldGroupFunctionParameters:QT}=PT,{printArrayItems:ZT}=Yx;function eB(e){if(GT(e)||zT(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,n=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&n)return!0}return!1}var tB={printOpaqueType:function(e,t,n){const r=t.semi?";":"",o=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),o.supertype&&i.push(": ",n("supertype")),o.impltype&&i.push(" = ",n("impltype")),i.push(r),i},printTypeAlias:function(e,t,n){const r=t.semi?";":"",o=e.getValue(),i=[];o.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));const u="TSTypeAliasDeclaration"===o.type?"typeAnnotation":"right";return[YT(e,t,n,i," =",u),r]},printIntersectionType:function(e,t,n){const r=e.getValue(),o=e.map(n,"types"),i=[];let u=!1;for(let e=0;e<o.length;++e)0===e?i.push(o[e]):zT(r.types[e-1])&&zT(r.types[e])?i.push([" & ",u?VT(o[e]):o[e]]):zT(r.types[e-1])||zT(r.types[e])?(e>1&&(u=!0),i.push(" & ",e>1?VT(o[e]):o[e])):i.push(VT([" &",MT,o[e]]));return jT(i)},printUnionType:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i=!("TypeParameterInstantiation"===o.type||"TSTypeParameterInstantiation"===o.type||"GenericTypeAnnotation"===o.type||"TSTypeReference"===o.type||"TSTypeAssertion"===o.type||"TupleTypeAnnotation"===o.type||"TSTupleType"===o.type||"FunctionTypeParam"===o.type&&!o.name&&e.getParentNode(1).this!==o||("TypeAlias"===o.type||"VariableDeclarator"===o.type||"TSTypeAliasDeclaration"===o.type)&&HT(t.originalText,r)),u=eB(r),s=e.map((e=>{let r=n();return u||(r=$T(2,r)),OT(e,r,t)}),"types");if(u)return _T(" | ",s);const a=i&&!HT(t.originalText,r),c=[WT([a?MT:"","| "]),_T([MT,"| "],s)];return qT(e,t)?jT([VT(c),RT]):"TupleTypeAnnotation"===o.type&&o.types.length>1||"TSTupleType"===o.type&&o.elementTypes.length>1?jT([VT([WT(["(",RT]),c]),RT,WT(")")]):jT(i?VT(c):c)},printFunctionType:function(e,t,n){const r=e.getValue(),o=[],i=e.getParentNode(0),u=e.getParentNode(1),s=e.getParentNode(2);let a="TSFunctionType"===r.type||!(("ObjectTypeProperty"===i.type||"ObjectTypeInternalSlot"===i.type)&&!i.variance&&!i.optional&&UT(i)===UT(r)||"ObjectTypeCallProperty"===i.type||s&&"DeclareFunction"===s.type),c=a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type);const l=c&&a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type)&&"ArrowFunctionExpression"===u.type;JT(i)&&(a=!0,c=!0),l&&o.push("(");const p=KT(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=QT(r,f);return o.push(d?jT(p):p),f&&o.push(f),l&&o.push(")"),jT(o)},printTupleType:function(e,t,n){const r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",i=r[o].length>0&&"TSRestType"===LT(r[o]).type;return jT(["[",VT([RT,ZT(e,t,o,n)]),WT(XT(t,"all")&&!i?",":""),IT(e,t,!0),RT,"]"])},printIndexedAccessType:function(e,t,n){const r=e.getValue(),o="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),o,n("indexType"),"]"]},shouldHugType:eB};const{printDanglingComments:nB}=zy,{builders:{join:rB,line:oB,hardline:iB,softline:uB,group:sB,indent:aB,ifBreak:cB}}=Gc,{isTestCall:lB,hasComment:pB,CommentCheckFlags:fB,isTSXFile:dB,shouldPrintComma:hB,getFunctionParameters:gB,isObjectType:mB}=lC,{createGroupIdMapper:yB}=ic,{shouldHugType:DB}=tB,{isArrowFunctionVariableDeclarator:EB}=uT,CB=yB("typeParameters");function bB(e,t){const n=e.getValue();if(!pB(n,fB.Dangling))return"";const r=!pB(n,fB.Line),o=nB(e,t,r);return r?o:[o,iB]}var vB={printTypeParameter:function(e,t,n){const r=e.getValue(),o=[],i=e.getParentNode();return"TSMappedType"===i.type?(o.push("[",n("name")),r.constraint&&o.push(" in ",n("constraint")),i.nameType&&o.push(" as ",e.callParent((()=>n("nameType")))),o.push("]"),o):(r.variance&&o.push(n("variance")),o.push(n("name")),r.bound&&o.push(": ",n("bound")),r.constraint&&o.push(" extends ",n("constraint")),r.default&&o.push(" = ",n("default")),o)},printTypeParameters:function(e,t,n,r){const o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return n(r);const i=e.getNode(2),u=i&&lB(i),s=e.match((e=>!(1===e[r].length&&mB(e[r][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),EB);if(!s&&(u||0===o[r].length||1===o[r].length&&("NullableTypeAnnotation"===o[r][0].type||DB(o[r][0]))))return["<",rB(", ",e.map(n,r)),bB(e,t),">"];const a="TSTypeParameterInstantiation"===o.type?"":1===gB(o).length&&dB(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":hB(t,"all")?cB(","):"";return sB(["<",aB([uB,rB([",",oB],e.map(n,r))]),a,uB,">"],{id:CB(o)})},getTypeParametersGroupId:CB};const{printComments:AB}=zy,{printString:FB,printNumber:xB}=ic,{isNumericLiteral:SB,isSimpleNumber:wB,isStringLiteral:TB,isStringPropSafeToUnquote:BB,rawText:NB}=lC,{printAssignment:kB}=uT,PB=new WeakMap;function OB(e,t,n){const r=e.getNode();if(r.computed)return["[",n("key"),"]"];const o=e.getParentNode(),{key:i}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===i.type)return["#",n("key")];if("consistent"===t.quoteProps&&!PB.has(o)){const e=(o.properties||o.body||o.members).some((e=>!e.computed&&e.key&&TB(e.key)&&!BB(e,t)));PB.set(o,e)}if(("Identifier"===i.type||SB(i)&&wB(xB(NB(i)))&&String(i.value)===xB(NB(i))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&PB.get(o))){const n=FB(JSON.stringify("Identifier"===i.type?i.name:i.value.toString()),t);return e.call((e=>AB(e,n,t)),"key")}return BB(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!PB.get(o))?e.call((e=>AB(e,/^\d/.test(i.value)?xB(i.value):i.value,t)),"key"):n("key")}var IB={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):kB(e,t,n,OB(e,t,n),":","value")},printPropertyKey:OB};const LB=Ey,{printDanglingComments:jB,printCommentsSeparately:_B}=zy,MB=su,{getNextNonSpaceNonCommentCharacterIndex:RB}=ic,{builders:{line:VB,softline:$B,group:WB,indent:qB,ifBreak:UB,hardline:GB,join:zB,indentIfBreak:HB},utils:{removeLines:JB,willBreak:XB}}=Gc,{ArgExpansionBailout:YB}=pp,{getFunctionParameters:KB,hasLeadingOwnLineComment:QB,isFlowAnnotationComment:ZB,isJsxNode:eN,isTemplateOnItsOwnLine:tN,shouldPrintComma:nN,startsWithNoLookaheadToken:rN,isBinaryish:oN,isLineComment:iN,hasComment:uN,getComments:sN,CommentCheckFlags:aN,isCallLikeExpression:cN,isCallExpression:lN,getCallArguments:pN,hasNakedLeftSide:fN,getLeftSide:dN}=lC,{locEnd:hN}=Xh,{printFunctionParameters:gN,shouldGroupFunctionParameters:mN}=PT,{printPropertyKey:yN}=IB,{printFunctionTypeParameters:DN}=wx;function EN(e,t,n){const r=e.getNode(),o=gN(e,n,t),i=bN(e,n,t),u=mN(r,i),s=[DN(e,t,n),WB([u?WB(o):o,i])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function CN(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){const t=KB(e);return!(1!==t.length||e.typeParameters||uN(e,aN.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||uN(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}return!1}function bN(e,t,n){const r=e.getValue(),o=t("returnType");if(r.returnType&&ZB(n.originalText,r.returnType))return[" /*: ",o," */"];const i=[o];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i}function vN(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];r.argument&&(!function(e,t){if(QB(e.originalText,t))return!0;if(fN(t)){let n,r=t;for(;n=dN(r);)if(r=n,QB(e.originalText,r))return!0}return!1}(t,r.argument)?oN(r.argument)||"SequenceExpression"===r.argument.type?i.push(WB([UB(" ("," "),qB([$B,n("argument")]),$B,UB(")")])):i.push(" ",n("argument")):i.push([" (",qB([GB,n("argument")]),GB,")"]));const u=sN(r),s=MB(u),a=s&&iN(s);return a&&i.push(o),uN(r,aN.Dangling)&&i.push(" ",jB(e,t,!0)),a||i.push(o),i}var AN={printFunction:function(e,t,n,r){const o=e.getValue();let i=!1;if(("FunctionDeclaration"===o.type||"FunctionExpression"===o.type)&&r&&r.expandLastArg){const t=e.getParentNode();lN(t)&&pN(t).length>1&&(i=!0)}const u=[];"TSDeclareFunction"===o.type&&o.declare&&u.push("declare "),o.async&&u.push("async "),o.generator?u.push("function* "):u.push("function "),o.id&&u.push(t("id"));const s=gN(e,t,n,i),a=bN(e,t,n),c=mN(o,a);return u.push(DN(e,n,t),WB([c?WB(s):s,a]),o.body?" ":"",t("body")),!n.semi||!o.declare&&o.body||u.push(";"),u},printArrowFunction:function(e,t,n,r){let o=e.getValue();const i=[],u=[];let s=!1;if(function a(){const c=function(e,t,n,r){const o=[];if(e.getValue().async&&o.push("async "),CN(e,t))o.push(n(["params",0]));else{const i=r&&(r.expandLastArg||r.expandFirstArg);let u=bN(e,n,t);if(i){if(XB(u))throw new YB;u=WB(JB(u))}o.push(WB([gN(e,n,t,i,!0),u]))}const i=jB(e,t,!0,(e=>{const n=RB(t.originalText,e,hN);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return i&&o.push(" ",i),o}(e,t,n,r);if(0===i.length)i.push(c);else{const{leading:n,trailing:r}=_B(e,t);i.push([n,c]),u.unshift(r)}s=s||o.returnType&&KB(o).length>0||o.typeParameters||KB(o).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==o.body.type||r&&r.expandLastArg?u.unshift(n("body",r)):(o=o.body,e.call(a,"body"))}(),i.length>1)return function(e,t,n,r,o,i){const u=e.getName(),s=e.getParentNode(),a=cN(s)&&"callee"===u,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type&&"SequenceExpression"!==i.body.type,p=a&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return"SequenceExpression"===i.body.type&&(o=WB(["(",qB([$B,o]),$B,")"])),WB([WB(qB([a||c?$B:"",WB(zB([" =>",VB],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",HB(l?qB([VB,o]):[" ",o],{groupId:f}),a?UB($B,"",{groupId:f}):""])}(e,r,i,s,u,o);const a=i;if(a.push(" =>"),!QB(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||eN(o.body)||tN(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return WB([...a," ",u]);if("SequenceExpression"===o.body.type)return WB([...a,WB([" (",qB([$B,u]),$B,")"])]);const c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!uN(o),l=r&&r.expandLastArg&&nN(t,"all"),p="ConditionalExpression"===o.body.type&&!rN(o.body,!1);return WB([...a,WB([qB([VB,p?UB("","("):"",u,p?UB("",")"):""]),c?[UB(l?",":""),$B]:""])])},printMethod:function(e,t,n){const r=e.getNode(),{kind:o}=r,i=r.value||r,u=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(LB.ok("get"===o||"set"===o),u.push(o," ")):i.async&&u.push("async "),i.generator&&u.push("*"),u.push(yN(e,t,n),r.optional||r.key.optional?"?":""),r===i?u.push(EN(e,t,n)):"FunctionExpression"===i.type?u.push(e.call((e=>EN(e,t,n)),"value")):u.push(n("value")),u},printReturnStatement:function(e,t,n){return["return",vN(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",vN(e,t,n)]},printMethodInternal:EN,shouldPrintParamsWithoutParens:CN};const{isNonEmptyArray:FN,hasNewline:xN}=ic,{builders:{line:SN,hardline:wN,join:TN,breakParent:BN,group:NN}}=Gc,{locStart:kN,locEnd:PN}=Xh,{getParentExportDeclaration:ON}=lC;function IN(e,t){return e.decorators.some((e=>xN(t.originalText,PN(e))))}function LN(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return FN(t)&&kN(e,{ignoreDecorators:!0})>kN(t[0])}var jN={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:o}=r;if(!FN(o)||LN(e.getParentNode()))return;const i="ClassExpression"===r.type||"ClassDeclaration"===r.type||IN(r,t);return[ON(e)?wN:i?BN:"",TN(SN,e.map(n,"decorators")),SN]},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return NN([TN(SN,e.map(n,"decorators")),IN(r,t)?wN:SN])},printDecoratorsBeforeExport:function(e,t,n){return[TN(wN,e.map(n,"declaration","decorators")),wN]},hasDecoratorsBeforeExport:LN};const{isNonEmptyArray:_N,createGroupIdMapper:MN}=ic,{printComments:RN,printDanglingComments:VN}=zy,{builders:{join:$N,line:WN,hardline:qN,softline:UN,group:GN,indent:zN,ifBreak:HN}}=Gc,{hasComment:JN,CommentCheckFlags:XN}=lC,{getTypeParametersGroupId:YN}=vB,{printMethod:KN}=AN,{printOptionalToken:QN,printTypeAnnotation:ZN}=wx,{printPropertyKey:ek}=IB,{printAssignment:tk}=uT,{printClassMemberDecorators:nk}=jN;const rk=MN("heritageGroup");function ok(e){return e.typeParameters&&!JN(e.typeParameters,XN.Trailing|XN.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}(e)}function ik(e,t,n,r){const o=e.getValue();if(!_N(o[r]))return"";const i=VN(e,t,!0,(e=>{let{marker:t}=e;return t===r}));return[ok(o)?HN(" ",WN,{groupId:YN(o.typeParameters)}):WN,i,i&&qN,r,GN(zN([WN,$N([",",WN],e.map(n,r))]))]}function uk(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?GN(HN(["(",zN([UN,r]),UN,")"],r)):r}var sk={printClass:function(e,t,n){const r=e.getValue(),o=[];r.declare&&o.push("declare "),r.abstract&&o.push("abstract "),o.push("class");const i=r.id&&JN(r.id,XN.Trailing)||r.superClass&&JN(r.superClass)||_N(r.extends)||_N(r.mixins)||_N(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){const r=["extends ",uk(e,t,n),n("superTypeParameters")],o=e.call((e=>RN(e,r,t)),"superClass");i?s.push(WN,GN(o)):s.push(" ",o)}else s.push(ik(e,t,n,"extends"));if(s.push(ik(e,t,n,"mixins"),ik(e,t,n,"implements")),i){let e;e=ok(r)?[...u,zN(s)]:zN([...u,s]),o.push(GN(e,{id:rk(r)}))}else o.push(...u,...s);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){const r=e.getValue(),o=[];return _N(r.decorators)&&o.push(nk(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.readonly&&o.push("readonly "),r.declare&&o.push("declare "),r.static&&o.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),r.override&&o.push("override "),o.push(KN(e,t,n)),o},printClassProperty:function(e,t,n){const r=e.getValue(),o=[],i=t.semi?";":"";return _N(r.decorators)&&o.push(nk(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.declare&&o.push("declare "),r.static&&o.push("static "),("TSAbstractPropertyDefinition"===r.type||r.abstract)&&o.push("abstract "),r.override&&o.push("override "),r.readonly&&o.push("readonly "),r.variance&&o.push(n("variance")),o.push(ek(e,t,n),QN(e),ZN(e,t,n)),[tk(e,t,n,o," =","value"),i]},printHardlineAfterHeritage:function(e){return HN(qN,"",{groupId:rk(e)})}};const{isNonEmptyArray:ak}=ic,{builders:{join:ck,line:lk,group:pk,indent:fk,ifBreak:dk}}=Gc,{hasComment:hk,identity:gk,CommentCheckFlags:mk}=lC,{getTypeParametersGroupId:yk}=vB,{printTypeScriptModifiers:Dk}=wx;var Ek={printInterface:function(e,t,n){const r=e.getValue(),o=[];r.declare&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",Dk(e,t,n)),o.push("interface");const i=[],u=[];"InterfaceTypeAnnotation"!==r.type&&i.push(" ",n("id"),n("typeParameters"));const s=r.typeParameters&&!hk(r.typeParameters,mk.Trailing|mk.Line);return ak(r.extends)&&u.push(s?dk(" ",lk,{groupId:yk(r.typeParameters)}):lk,"extends ",(1===r.extends.length?gk:fk)(ck([",",lk],e.map(n,"extends")))),r.id&&hk(r.id,mk.Trailing)||ak(r.extends)?s?o.push(pk([...i,fk(u)])):o.push(pk(fk([...i,...u]))):o.push(...i,...u),o.push(" ",n("body")),pk(o)}};const{isNonEmptyArray:Ck}=ic,{builders:{softline:bk,group:vk,indent:Ak,join:Fk,line:xk,ifBreak:Sk,hardline:wk}}=Gc,{printDanglingComments:Tk}=zy,{hasComment:Bk,CommentCheckFlags:Nk,shouldPrintComma:kk,needsHardlineAfterDanglingComment:Pk}=lC,{locStart:Ok,hasSameLoc:Ik}=Xh,{hasDecoratorsBeforeExport:Lk,printDecoratorsBeforeExport:jk}=jN;function _k(e,t,n){const r=e.getValue();if(!r.source)return"";const o=[];return Rk(r,t)||o.push(" from"),o.push(" ",n("source")),o}function Mk(e,t,n){const r=e.getValue();if(Rk(r,t))return"";const o=[" "];if(Ck(r.specifiers)){const i=[],u=[];if(e.each((()=>{const t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)i.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));u.push(n())}}),"specifiers"),o.push(Fk(", ",i)),u.length>0){i.length>0&&o.push(", ");u.length>1||i.length>0||r.specifiers.some((e=>Bk(e)))?o.push(vk(["{",Ak([t.bracketSpacing?xk:bk,Fk([",",xk],u)]),Sk(kk(t)?",":""),t.bracketSpacing?xk:bk,"}"])):o.push(["{",t.bracketSpacing?" ":"",...u,t.bracketSpacing?" ":"","}"])}}else o.push("{}");return o}function Rk(e,t){const{type:n,importKind:r,source:o,specifiers:i}=e;return"ImportDeclaration"===n&&!Ck(i)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(Ok(e),Ok(o)))}function Vk(e,t,n){const r=e.getNode();return Ck(r.assertions)?[" assert {",t.bracketSpacing?" ":"",Fk(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var $k={printImportDeclaration:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[],{importKind:u}=r;return i.push("import"),u&&"value"!==u&&i.push(" ",u),i.push(Mk(e,t,n),_k(e,t,n),Vk(e,t,n),o),i},printExportDeclaration:function(e,t,n){const r=e.getValue(),o=[];Lk(r)&&o.push(jk(e,t,n));const{type:i,exportKind:u,declaration:s}=r;return o.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&o.push(" default"),Bk(r,Nk.Dangling)&&(o.push(" ",Tk(e,t,!0)),Pk(r)&&o.push(wk)),s?o.push(" ",n("declaration")):o.push("type"===u?" type":"",Mk(e,t,n),_k(e,t,n),Vk(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,o=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:i}=r;if(o&&"ClassDeclaration"!==i&&"FunctionDeclaration"!==i&&"TSInterfaceDeclaration"!==i&&"DeclareClass"!==i&&"DeclareFunction"!==i&&"TSDeclareFunction"!==i&&"EnumDeclaration"!==i)return!0;return!1}(r,t)&&o.push(";"),o},printExportAllDeclaration:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[],{exportKind:u,exported:s}=r;return i.push("export"),"type"===u&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(_k(e,t,n),Vk(e,t,n),o),i},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:o}=r,i=[],u="ImportSpecifier"===o?r.importKind:r.exportKind;u&&"value"!==u&&i.push(u," ");const s=o.startsWith("Import"),a=s?"imported":"local",c=s?"local":"exported";let l="",p="";return"ExportNamespaceSpecifier"===o||"ImportNamespaceSpecifier"===o?l="*":r[a]&&(l=n(a)),!r[c]||r[a]&&Ik(r[a],r[c])||(p=n(c)),i.push(l,l&&p?" as ":"",p),i}};const{printDanglingComments:Wk}=zy,{builders:{line:qk,softline:Uk,group:Gk,indent:zk,ifBreak:Hk,hardline:Jk}}=Gc,{getLast:Xk,hasNewlineInRange:Yk,hasNewline:Kk,isNonEmptyArray:Qk}=ic,{shouldPrintComma:Zk,hasComment:eP,getComments:tP,CommentCheckFlags:nP,isNextLineEmpty:rP}=lC,{locStart:oP,locEnd:iP}=Xh,{printOptionalToken:uP,printTypeAnnotation:sP}=wx,{shouldHugFunctionParameters:aP}=PT,{shouldHugType:cP}=tB,{printHardlineAfterHeritage:lP}=sk;var pP={printObject:function(e,t,n){const r=t.semi?";":"",o=e.getValue();let i;i="TSTypeLiteral"===o.type?"members":"TSInterfaceBody"===o.type?"body":"properties";const u="ObjectTypeAnnotation"===o.type,s=[i];u&&s.push("indexers","callProperties","internalSlots");const a=s.map((e=>o[e][0])).sort(((e,t)=>oP(e)-oP(t)))[0],c=e.getParentNode(0),l=u&&c&&("InterfaceDeclaration"===c.type||"DeclareInterface"===c.type||"DeclareClass"===c.type)&&"body"===e.getName(),p="TSInterfaceBody"===o.type||l||"ObjectPattern"===o.type&&"FunctionDeclaration"!==c.type&&"FunctionExpression"!==c.type&&"ArrowFunctionExpression"!==c.type&&"ObjectMethod"!==c.type&&"ClassMethod"!==c.type&&"ClassPrivateMethod"!==c.type&&"AssignmentPattern"!==c.type&&"CatchClause"!==c.type&&o.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==o.type&&a&&Yk(t.originalText,oP(o),oP(a)),f=l?";":"TSInterfaceBody"===o.type||"TSTypeLiteral"===o.type?Hk(r,";"):",",d="RecordExpression"===o.type?"#{":o.exact?"{|":"{",h=o.exact?"|}":"}",g=[];for(const t of s)e.each((e=>{const t=e.getValue();g.push({node:t,printed:n(),loc:oP(t)})}),t);s.length>1&&g.sort(((e,t)=>e.loc-t.loc));let m=[];const y=g.map((e=>{const n=[...m,Gk(e.printed)];return m=[f,qk],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!eP(e.node,nP.PrettierIgnore)||m.shift(),rP(e.node,t)&&m.push(Jk),n}));if(o.inexact){let n;if(eP(o,nP.Dangling)){const r=eP(o,nP.Line);n=[Wk(e,t,!0),r||Kk(t.originalText,iP(Xk(tP(o))))?Jk:qk,"..."]}else n=["..."];y.push([...m,...n])}const D=Xk(o[i]),E=!(o.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&eP(D,nP.PrettierIgnore));let C;if(0===y.length){if(!eP(o,nP.Dangling))return[d,h,sP(e,t,n)];C=Gk([d,Wk(e,t),Uk,h,uP(e),sP(e,t,n)])}else C=[l&&Qk(o.properties)?lP(c):"",d,zk([t.bracketSpacing?qk:Uk,...y]),Hk(E&&(","!==f||Zk(t))?f:""),t.bracketSpacing?qk:Uk,h,uP(e),sP(e,t,n)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,n)=>aP(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||e.match(cP,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,n)=>aP(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||!p&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?C:Gk(C,{shouldBreak:p})}};const fP=Ey,{printDanglingComments:dP}=zy,{printString:hP,printNumber:gP}=ic,{builders:{hardline:mP,softline:yP,group:DP,indent:EP}}=Gc,{getParentExportDeclaration:CP,isFunctionNotation:bP,isGetterOrSetter:vP,rawText:AP,shouldPrintComma:FP}=lC,{locStart:xP,locEnd:SP}=Xh,{printClass:wP}=sk,{printOpaqueType:TP,printTypeAlias:BP,printIntersectionType:NP,printUnionType:kP,printFunctionType:PP,printTupleType:OP,printIndexedAccessType:IP}=tB,{printInterface:LP}=Ek,{printTypeParameter:jP,printTypeParameters:_P}=vB,{printExportDeclaration:MP,printExportAllDeclaration:RP}=$k,{printArrayItems:VP}=Yx,{printObject:$P}=pP,{printPropertyKey:WP}=IB,{printOptionalToken:qP,printTypeAnnotation:UP,printRestSpread:GP}=wx;function zP(e,t){const n=CP(e);return n?(fP.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var HP={printFlow:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];switch(r.type){case"DeclareClass":return zP(e,wP(e,t,n));case"DeclareFunction":return zP(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),o]);case"DeclareModule":return zP(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return zP(e,["module.exports",": ",n("typeAnnotation"),o]);case"DeclareVariable":return zP(e,["var ",n("id"),o]);case"DeclareOpaqueType":return zP(e,TP(e,t,n));case"DeclareInterface":return zP(e,LP(e,t,n));case"DeclareTypeAlias":return zP(e,BP(e,t,n));case"DeclareExportDeclaration":return zP(e,MP(e,t,n));case"DeclareExportAllDeclaration":return zP(e,RP(e,t,n));case"OpaqueType":return TP(e,t,n);case"TypeAlias":return BP(e,t,n);case"IntersectionTypeAnnotation":return NP(e,t,n);case"UnionTypeAnnotation":return kP(e,t,n);case"FunctionTypeAnnotation":return PP(e,t,n);case"TupleTypeAnnotation":return OP(e,t,n);case"GenericTypeAnnotation":return[n("id"),_P(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return IP(e,t,n);case"TypeAnnotation":return n("typeAnnotation");case"TypeParameter":return jP(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(r.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===r.type||r.explicitType){let e=null;switch(r.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}i.push("of ",e," ")}if(0!==r.members.length||r.hasUnknownMembers){const o=r.members.length>0?[mP,VP(e,t,"members",n),r.hasUnknownMembers||FP(t)?",":""]:[];i.push(DP(["{",EP([...o,...r.hasUnknownMembers?[mP,"..."]:[]]),dP(e,t,!0),mP,"}"]))}else i.push(DP(["{",dP(e,t),yP,"}"]));return i;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof r.init?n("init"):String(r.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":{const t=r.name?n("name"):e.getParentNode().this===r?"this":"";return[t,qP(e),t?": ":"",n("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return LP(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{const{kind:e}=r;return fP.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return r.static&&i.push("static "),i.push(n("value")),i;case"ObjectTypeIndexer":return[r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let o="";return r.proto?o="proto ":r.static&&(o="static "),[o,vP(r)?r.kind+" ":"",r.variance?n("variance"):"",WP(e,t,n),qP(e),bP(r)?"":": ",n("value")]}case"ObjectTypeAnnotation":return $P(e,t,n);case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",qP(e),r.method?"":": ",n("value")];case"ObjectTypeSpreadProperty":return GP(e,t,n);case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return hP(AP(r),t);case"NumberLiteralTypeAnnotation":fP.strictEqual(typeof r.value,"number");case"BigIntLiteralTypeAnnotation":return r.extra?gP(r.extra.raw):gP(r.raw);case"TypeCastExpression":return["(",n("expression"),UP(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const o=_P(e,t,n,"params");if("flow"===t.parser){const e=xP(r),n=SP(r),i=t.originalText.lastIndexOf("/*",e),u=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==u){const e=t.originalText.slice(i+2,u).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",o," */"]}}return o}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(r.type))}}};const{hasNewlineInRange:JP}=ic,{isJsxNode:XP,isBlockComment:YP,getComments:KP,isCallExpression:QP,isMemberExpression:ZP}=lC,{locStart:eO,locEnd:tO}=Xh,{builders:{line:nO,softline:rO,group:oO,indent:iO,align:uO,ifBreak:sO,dedent:aO,breakParent:cO}}=Gc;function lO(e,t,n){const r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"alternate":"falseType",u=e.getParentNode(),s=o?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return u.type===r.type&&u[i]===r?uO(2,s):s}const pO=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var fO={printTernary:function(e,t,n){const r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"consequent":"trueType",u=o?"alternate":"falseType",s=o?["test"]:["checkType","extendsType"],a=r[i],c=r[u],l=[];let p=!1;const f=e.getParentNode(),d=f.type===r.type&&s.some((e=>f[e]===r));let h,g,m=f.type===r.type&&!d,y=0;do{g=h||r,h=e.getParentNode(y),y++}while(h&&h.type===r.type&&s.every((e=>h[e]!==g)));const D=h||f,E=g;if(o&&(XP(r[s[0]])||XP(a)||XP(c)||function(e){const t=[e];for(let e=0;e<t.length;e++){const n=t[e];for(const e of["test","consequent","alternate"]){const r=n[e];if(XP(r))return!0;"ConditionalExpression"===r.type&&t.push(r)}}return!1}(E))){p=!0,m=!0;const e=e=>[sO("("),iO([rO,e]),rO,sO(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;l.push(" ? ",t(a)?n(i):e(n(i))," : ",c.type===r.type||t(c)?n(u):e(n(u)))}else{const e=[nO,"? ",a.type===r.type?sO("","("):"",uO(2,n(i)),a.type===r.type?sO("",")"):"",nO,": ",c.type===r.type?n(u):uO(2,n(u))];l.push(f.type!==r.type||f[u]===r||d?e:t.useTabs?aO(iO(e)):uO(Math.max(0,t.tabWidth-2),e))}const C=[...s.map((e=>KP(r[e]))),KP(a),KP(c)].flat().some((e=>YP(e)&&JP(t.originalText,eO(e),tO(e)))),b=!p&&(ZP(f)||"NGPipeExpression"===f.type&&f.left===r)&&!f.computed,v=function(e){const t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let t=0;!n;t++){const o=e.getParentNode(t);QP(o)&&o.callee===r||ZP(o)&&o.object===r||"TSNonNullExpression"===o.type&&o.expression===r?r=o:"NewExpression"===o.type&&o.callee===r||"TSAsExpression"===o.type&&o.expression===r?(n=e.getParentNode(t+1),r=o):n=o}return r!==t&&n[pO.get(n.type)]===r}(e),A=(e=>f===D?oO(e,{shouldBreak:C}):C?[e,cO]:e)([lO(e,0,n),m?l:iO(l),o&&b&&!v?rO:""]);return d||v?oO([iO([rO,A]),rO]):A}};const{builders:{hardline:dO}}=Gc,hO=yA,{getLeftSidePathName:gO,hasNakedLeftSide:mO,isJsxNode:yO,isTheOnlyJsxElementInMarkdown:DO,hasComment:EO,CommentCheckFlags:CO,isNextLineEmpty:bO}=lC,{shouldPrintParamsWithoutParens:vO}=AN;function AO(e,t,n,r){const o=e.getValue(),i=[],u="ClassBody"===o.type,s=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if("EmptyStatement"!==n.type)return n}}(o[r]);return e.each(((e,r,o)=>{const a=e.getValue();if("EmptyStatement"===a.type)return;const c=n();t.semi||u||DO(t,e)||!function(e,t){if("ExpressionStatement"!==e.getNode().type)return!1;return e.call((e=>FO(e,t)),"expression")}(e,t)?i.push(c):EO(a,CO.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",c),!t.semi&&u&&xO(a)&&function(e,t){const n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){const e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(xO(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;const e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(a,o[r+1])&&i.push(";"),a!==s&&(i.push(dO),bO(a,t)&&i.push(dO))}),r),i}function FO(e,t){const n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!vO(e,t))return!0;break;case"UnaryExpression":{const{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(yO(n))return!0}return!!hO(e,t)||!!mO(n)&&e.call((e=>FO(e,t)),...gO(e,n))}const xO=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t};var SO={printBody:function(e,t,n){return AO(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return AO(e,t,n,"consequent")}};const{printDanglingComments:wO}=zy,{isNonEmptyArray:TO}=ic,{builders:{hardline:BO,indent:NO}}=Gc,{hasComment:kO,CommentCheckFlags:PO,isNextLineEmpty:OO}=lC,{printHardlineAfterHeritage:IO}=sk,{printBody:LO}=SO;function jO(e,t,n){const r=e.getValue(),o=TO(r.directives),i=r.body.some((e=>"EmptyStatement"!==e.type)),u=kO(r,PO.Dangling);if(!o&&!i&&!u)return"";const s=[];if(o&&e.each(((e,r,o)=>{s.push(n()),(r<o.length-1||i||u)&&(s.push(BO),OO(e.getValue(),t)&&s.push(BO))}),"directives"),i&&s.push(LO(e,t,n)),u&&s.push(wO(e,t,!0)),"Program"===r.type){const t=e.getParentNode();t&&"ModuleExpression"===t.type||s.push(BO)}return s}var _O={printBlock:function(e,t,n){const r=e.getValue(),o=[];if("StaticBlock"===r.type&&o.push("static "),"ClassBody"===r.type&&TO(r.body)){const t=e.getParentNode();o.push(IO(t))}o.push("{");const i=jO(e,t,n);if(i)o.push(NO([BO,i]),BO);else{const t=e.getParentNode(),n=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!n.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===r.type||"ClassBody"===r.type||o.push(BO)}return o.push("}"),o},printBlockBody:jO};const{printDanglingComments:MO}=zy,{hasNewlineInRange:RO}=ic,{builders:{join:VO,line:$O,hardline:WO,softline:qO,group:UO,indent:GO,conditionalGroup:zO,ifBreak:HO}}=Gc,{isLiteral:JO,getTypeScriptMappedTypeModifier:XO,shouldPrintComma:YO,isCallExpression:KO,isMemberExpression:QO}=lC,{locStart:ZO,locEnd:eI}=Xh,{printOptionalToken:tI,printTypeScriptModifiers:nI}=wx,{printTernary:rI}=fO,{printFunctionParameters:oI,shouldGroupFunctionParameters:iI}=PT,{printTemplateLiteral:uI}=NC,{printArrayItems:sI}=Yx,{printObject:aI}=pP,{printClassProperty:cI,printClassMethod:lI}=sk,{printTypeParameter:pI,printTypeParameters:fI}=vB,{printPropertyKey:dI}=IB,{printFunction:hI,printMethodInternal:gI}=AN,{printInterface:mI}=Ek,{printBlock:yI}=_O,{printTypeAlias:DI,printIntersectionType:EI,printUnionType:CI,printFunctionType:bI,printTupleType:vI,printIndexedAccessType:AI}=tB;var FI={printTypescript:function(e,t,n){const r=e.getValue();if(!r.type.startsWith("TS"))return;if(r.type.endsWith("Keyword"))return r.type.slice(2,-7).toLowerCase();const o=t.semi?";":"",i=[];switch(r.type){case"TSThisType":return"this";case"TSTypeAssertion":{const e=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),t=UO(["<",GO([qO,n("typeAnnotation")]),qO,">"]),o=[HO("("),GO([qO,n("expression")]),qO,HO(")")];return e?zO([[t,n("expression")],[t,UO(o,{shouldBreak:!0})],[t,n("expression")]]):UO([t,n("expression")])}case"TSDeclareFunction":return hI(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),o];case"TSModuleBlock":return yI(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return aI(e,t,n);case"TSTypeAliasDeclaration":return DI(e,t,n);case"TSQualifiedName":return VO(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return lI(e,t,n);case"TSAbstractPropertyDefinition":return cI(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return uI(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return mI(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return fI(e,t,n,"params");case"TSTypeParameter":return pI(e,t,n);case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));const t=e.getParentNode();return KO(t)&&t.callee===r||QO(t)&&t.object===r?UO([GO([qO,...i]),qO]):i}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.readonly&&i.push("readonly "),i.push(dI(e,t,n),tI(e)),r.typeAnnotation&&i.push(": ",n("typeAnnotation")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return r.accessibility&&i.push(r.accessibility+" "),r.export&&i.push("export "),r.static&&i.push("static "),r.override&&i.push("override "),r.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{const i=e.getParentNode(),u=r.parameters.length>1?HO(YO(t)?",":""):"",s=UO([GO([qO,VO([", ",qO],e.map(n,"parameters"))]),u,qO]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?s:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===i.type?o:""]}case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",fI(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return AI(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&i.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&i.push("new "),i.push(UO(oI(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){const e="TSConstructorType"===r.type;i.push(e?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const i=RO(t.originalText,ZO(r),eI(r));return UO(["{",GO([t.bracketSpacing?$O:qO,r.readonly?[XO(r.readonly,"readonly")," "]:"",nI(e,t,n),n("typeParameter"),r.optional?XO(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),HO(o)]),MO(e,t,!0),t.bracketSpacing?$O:qO,"}"],{shouldBreak:i})}case"TSMethodSignature":{const o=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";i.push(r.accessibility?[r.accessibility," "]:"",o,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",tI(e));const u=oI(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",a=r[s],c=a?n(s):"",l=iI(r,c);return i.push(l?UO(u):u),a&&i.push(": ",UO(c)),UO(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),UO(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push(nI(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),0===r.members.length?i.push(UO(["{",MO(e,t),qO,"}"])):i.push(UO(["{",GO([WO,sI(e,t,"members",n),YO(t,"es5")?",":""]),MO(e,t,!0),WO,"}"])),i;case"TSEnumMember":return i.push(n("id")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return r.isExport&&i.push("export "),i.push("import "),r.importKind&&"value"!==r.importKind&&i.push(r.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),UO(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const u=e.getParentNode(),s=JO(r.id),a="TSModuleDeclaration"===u.type,c=r.body&&"TSModuleDeclaration"===r.body.type;if(a)i.push(".");else{r.declare&&i.push("declare "),i.push(nI(e,t,n));const o=t.originalText.slice(ZO(r),ZO(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(o)||i.push(s||/(?:^|\s)module(?:\s|$)/.test(o)?"module ":"namespace ")}return i.push(n("id")),c?i.push(n("body")):r.body?i.push(" ",UO(n("body"))):i.push(o),i}case"TSConditionalType":return rI(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return EI(e,t,n);case"TSUnionType":return CI(e,t,n);case"TSFunctionType":return bI(e,t,n);case"TSTupleType":return vI(e,t,n);case"TSTypeReference":return[n("typeName"),fI(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return gI(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(r.type),"."))}}};const{hasNewline:xI}=ic,{builders:{join:SI,hardline:wI},utils:{replaceTextEndOfLine:TI}}=Gc,{isLineComment:BI,isBlockComment:NI}=lC,{locStart:kI,locEnd:PI}=Xh;var OI={printComment:function(e,t){const n=e.getValue();if(BI(n))return t.originalText.slice(kI(n),PI(n)).trimEnd();if(NI(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(n)){const e=function(e){const t=e.value.split("\n");return["/*",SI(wI,t.map(((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())))),"*/"]}(n);return n.trailing&&!xI(t.originalText,kI(n),{backwards:!0})?[wI,e]:e}const e=PI(n),r="*-/"===t.originalText.slice(e-3,e);return["/*",TI(n.value),r?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}};const{printString:II,printNumber:LI}=ic;function jI(e){return e.toLowerCase()}function _I(e){let{pattern:t,flags:n}=e;return n=[...n].sort().join(""),"/".concat(t,"/").concat(n)}var MI={printLiteral:function(e,t){const n=e.getNode();switch(n.type){case"RegExpLiteral":return _I(n);case"BigIntLiteral":return jI(n.bigint||n.extra.raw);case"NumericLiteral":return LI(n.extra.raw);case"StringLiteral":return II(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return LI(n.value)+"m";case"Literal":{if(n.regex)return _I(n.regex);if(n.bigint)return jI(n.raw);if(n.decimal)return LI(n.decimal)+"m";const{value:e}=n;return"number"==typeof e?LI(n.raw):"string"==typeof e?II(n.raw,t):String(e)}}}};const{printDanglingComments:RI}=zy,{hasNewline:VI}=ic,{builders:{join:$I,line:WI,hardline:qI,softline:UI,group:GI,indent:zI},utils:{replaceTextEndOfLine:HI}}=Gc,JI=Cb,XI=xb,{insertPragma:YI}=Xb,KI=eA,QI=yA,ZI=DA,{hasFlowShorthandAnnotationComment:eL,hasComment:tL,CommentCheckFlags:nL,isTheOnlyJsxElementInMarkdown:rL,isBlockComment:oL,isLineComment:iL,isNextLineEmpty:uL,needsHardlineAfterDanglingComment:sL,rawText:aL,hasIgnoreComment:cL,isCallExpression:lL,isMemberExpression:pL}=lC,{locStart:fL,locEnd:dL}=Xh,{printHtmlBinding:hL,isVueEventBindingExpression:gL}=FA,{printAngular:mL}=uF,{printJsx:yL,hasJsxIgnoreComment:DL}=qF,{printFlow:EL}=HP,{printTypescript:CL}=FI,{printOptionalToken:bL,printBindExpressionCallee:vL,printTypeAnnotation:AL,adjustClause:FL,printRestSpread:xL}=wx,{printImportDeclaration:SL,printExportDeclaration:wL,printExportAllDeclaration:TL,printModuleSpecifier:BL}=$k,{printTernary:NL}=fO,{printTemplateLiteral:kL}=NC,{printArray:PL}=Yx,{printObject:OL}=pP,{printClass:IL,printClassMethod:LL,printClassProperty:jL}=sk,{printProperty:_L}=IB,{printFunction:ML,printArrowFunction:RL,printMethod:VL,printReturnStatement:$L,printThrowStatement:WL}=AN,{printCallExpression:qL}=Tw,{printVariableDeclarator:UL,printAssignmentExpression:GL}=uT,{printBinaryishExpression:zL}=KA,{printSwitchCaseConsequent:HL}=SO,{printMemberExpression:JL}=jS,{printBlock:XL,printBlockBody:YL}=_O,{printComment:KL}=OI,{printLiteral:QL}=MI,{printDecorators:ZL}=jN;function ej(e,t){const n=aL(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;const o=t.singleQuote?"'":'"';return o+r+o}var tj={preprocess:ZI,print:function(e,t,n,r){const o=function(e,t,n,r){const o=e.getValue(),i=t.semi?";":"";if(!o)return"";if("string"==typeof o)return o;for(const r of[QL,hL,mL,yL,EL,CL]){const o=r(e,t,n);if(void 0!==o)return o}let u=[];switch(o.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),qI];case"File":return o.program&&o.program.interpreter&&u.push(n(["program","interpreter"])),u.push(n("program")),u;case"Program":return YL(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(o.directive)return[ej(o.expression,t),i];if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===o)return[n("expression"),gL(o.expression)?";":""]}return[n("expression"),rL(t,e)?"":i];case"ParenthesizedExpression":return!tL(o.expression)&&("ObjectExpression"===o.expression.type||"ArrayExpression"===o.expression.type)?["(",n("expression"),")"]:GI(["(",zI([UI,n("expression")]),UI,")"]);case"AssignmentExpression":return GL(e,t,n);case"VariableDeclarator":return UL(e,t,n);case"BinaryExpression":case"LogicalExpression":return zL(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return JL(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return o.object&&u.push(n("object")),u.push(GI(zI([UI,vL(e,t,n)]))),u;case"Identifier":return[o.name,bL(e),AL(e,t,n)];case"V8IntrinsicIdentifier":return["%",o.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return xL(e,t,n);case"FunctionDeclaration":case"FunctionExpression":return ML(e,n,t,r);case"ArrowFunctionExpression":return RL(e,t,n,r);case"YieldExpression":return u.push("yield"),o.delegate&&u.push("*"),o.argument&&u.push(" ",n("argument")),u;case"AwaitExpression":if(u.push("await"),o.argument){u.push(" ",n("argument"));const t=e.getParentNode();if(lL(t)&&t.callee===o||pL(t)&&t.object===o){u=[zI([UI,...u]),UI];const t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return GI(u)}}return u;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return wL(e,t,n);case"ExportAllDeclaration":return TL(e,t,n);case"ImportDeclaration":return SL(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return BL(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return XL(e,t,n);case"ThrowStatement":return WL(e,t,n);case"ReturnStatement":return $L(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return qL(e,t,n);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return OL(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?VL(e,t,n):_L(e,t,n);case"ObjectMethod":return VL(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return PL(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(((e,r)=>{0===r?t.push(n()):t.push(",",zI([WI,n()]))}),"expressions"),GI(t)}return GI($I([",",WI],e.map(n,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),i];case"DirectiveLiteral":return ej(o,t);case"UnaryExpression":return u.push(o.operator),/[a-z]$/.test(o.operator)&&u.push(" "),tL(o.argument)?u.push(GI(["(",zI([UI,n("argument")]),UI,")"])):u.push(n("argument")),u;case"UpdateExpression":return u.push(n("argument"),o.operator),o.prefix&&u.reverse(),u;case"ConditionalExpression":return NL(e,t,n);case"VariableDeclaration":{const t=e.map(n,"declarations"),r=e.getParentNode(),s="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,a=o.declarations.some((e=>e.init));let c;return 1!==t.length||tL(o.declarations[0])?t.length>0&&(c=zI(t[0])):c=t[0],u=[o.declare?"declare ":"",o.kind,c?[" ",c]:"",zI(t.slice(1).map((e=>[",",a&&!s?qI:WI,e])))],s&&r.body!==o||u.push(i),GI(u)}case"WithStatement":return GI(["with (",n("object"),")",FL(o.body,n("body"))]);case"IfStatement":{const r=FL(o.consequent,n("consequent")),i=GI(["if (",GI([zI([UI,n("test")]),UI]),")",r]);if(u.push(i),o.alternate){const r=tL(o.consequent,nL.Trailing|nL.Line)||sL(o),i="BlockStatement"===o.consequent.type&&!r;u.push(i?" ":qI),tL(o,nL.Dangling)&&u.push(RI(e,t,!0),r?qI:" "),u.push("else",GI(FL(o.alternate,n("alternate"),"IfStatement"===o.alternate.type)))}return u}case"ForStatement":{const r=FL(o.body,n("body")),i=RI(e,t,!0),u=i?[i,UI]:"";return o.init||o.test||o.update?[u,GI(["for (",GI([zI([UI,n("init"),";",WI,n("test"),";",WI,n("update")]),UI]),")",r])]:[u,GI(["for (;;)",r])]}case"WhileStatement":return GI(["while (",GI([zI([UI,n("test")]),UI]),")",FL(o.body,n("body"))]);case"ForInStatement":return GI(["for (",n("left")," in ",n("right"),")",FL(o.body,n("body"))]);case"ForOfStatement":return GI(["for",o.await?" await":""," (",n("left")," of ",n("right"),")",FL(o.body,n("body"))]);case"DoWhileStatement":{const e=FL(o.body,n("body"));return u=[GI(["do",e])],"BlockStatement"===o.body.type?u.push(" "):u.push(qI),u.push("while (",GI([zI([UI,n("test")]),UI]),")",i),u}case"DoExpression":return[o.async?"async ":"","do ",n("body")];case"BreakStatement":return u.push("break"),o.label&&u.push(" ",n("label")),u.push(i),u;case"ContinueStatement":return u.push("continue"),o.label&&u.push(" ",n("label")),u.push(i),u;case"LabeledStatement":return"EmptyStatement"===o.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),o.handler?[" ",n("handler")]:"",o.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(o.param){const e=tL(o.param,(e=>!oL(e)||e.leading&&VI(t.originalText,dL(e))||e.trailing&&VI(t.originalText,fL(e),{backwards:!0}))),r=n("param");return["catch ",e?["(",zI([UI,r]),UI,") "]:["(",r,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[GI(["switch (",zI([UI,n("discriminant")]),UI,")"])," {",o.cases.length>0?zI([qI,$I(qI,e.map(((e,r,o)=>{const i=e.getValue();return[n(),r!==o.length-1&&uL(i,t)?qI:""]}),"cases"))]):"",qI,"}"];case"SwitchCase":{o.test?u.push("case ",n("test"),":"):u.push("default:");const r=o.consequent.filter((e=>"EmptyStatement"!==e.type));if(r.length>0){const o=HL(e,t,n);u.push(1===r.length&&"BlockStatement"===r[0].type?[" ",o]:zI([qI,o]))}return u}case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return IL(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return LL(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return jL(e,t,n);case"TemplateElement":return HI(o.value.raw);case"TemplateLiteral":return kL(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return u.push("#!",o.value,qI),uL(o,t)&&u.push(qI),u;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{u.push("module {");const e=n("body");return e&&u.push(zI([qI,e]),qI),u.push("}"),u}default:throw new Error("unknown type: "+JSON.stringify(o.type))}}(e,t,n,r);if(!o)return"";const i=e.getValue(),{type:u}=i;if("ClassMethod"===u||"ClassPrivateMethod"===u||"ClassProperty"===u||"PropertyDefinition"===u||"TSAbstractPropertyDefinition"===u||"ClassPrivateProperty"===u||"MethodDefinition"===u||"TSAbstractMethodDefinition"===u||"TSDeclareMethod"===u)return o;const s=ZL(e,t,n);if(s)return GI([...s,o]);if(!QI(e,t))return r&&r.needsSemi?[";",o]:o;const a=[r&&r.needsSemi?";(":"(",o];if(eL(i)){const[e]=i.trailingComments;a.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return a.push(")"),a},embed:JI,insertPragma:YI,massageAstNode:XI,hasPrettierIgnore:e=>cL(e)||DL(e),willPrintOwnComments:KI.willPrintOwnComments,canAttachComment:function(e){return e.type&&!oL(e)&&!iL(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:KL,isBlockComment:oL,handleComments:{avoidAstMutation:!0,ownLine:KI.handleOwnLineComment,endOfLine:KI.handleEndOfLineComment,remaining:KI.handleRemainingComment},getCommentChildNodes:KI.getCommentChildNodes};const{builders:{hardline:nj,indent:rj,join:oj}}=Gc,ij=DA;const uj=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function sj(e,t){const{type:n}=e;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(const[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}sj.ignoredProperties=uj;var aj={preprocess:ij,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),nj];case"ArrayExpression":{if(0===r.elements.length)return"[]";const t=e.map((()=>null===e.getValue()?"null":n()),"elements");return["[",rj([nj,oj([",",nj],t)]),nj,"]"]}case"ObjectExpression":return 0===r.properties.length?"{}":["{",rj([nj,oj([",",nj],e.map(n,"properties"))]),nj,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":{const t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===r?JSON.stringify(r.name):r.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:sj};var cj={bracketSpacing:{since:"0.0.0",category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:"Common",type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."}};var lj={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},pj={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},fj={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},dj={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},hj={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".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"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},gj={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175};const mj=fE,yj=tj,Dj=aj,Ej={arrowParens:{since:"1.9.0",category:"JavaScript",type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:cj.bracketSameLine,bracketSpacing:cj.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},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:cj.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)."}]}},Cj=[mj(lj,(e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),mj(lj,(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),mj(lj,(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),mj(pj,(e=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],extensions:[...e.extensions,".mts",".cts"]}))),mj(fj,(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),mj(dj,(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}))),mj(dj,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),mj(hj,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]}))),mj(gj,(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))];var bj={languages:Cj,options:Ej,printers:{estree:yj,"estree-json":Dj},parsers:undefined};const{isFrontMatterNode:vj}=ic,Aj=su,Fj=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function xj(e,t,n){if(vj(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||vj(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&Aj(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,n)=>{const r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}xj.ignoredProperties=Fj;var Sj=xj;const{builders:{hardline:wj,markAsRoot:Tj}}=Gc;var Bj=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Tj([e.startDelimiter,wj,r,r?wj:"",e.endDelimiter])}};const{builders:{hardline:Nj}}=Gc,kj=Bj;var Pj=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=kj(r,n);return e?[e,Nj]:""}};const Oj=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var Ij=function(e){const t=e.match(Oj);if(!t)return{content:e};const{startDelimiter:n,language:r,value:o="",endDelimiter:i}=t.groups;let u=r.trim()||"yaml";if("+++"===n&&(u="toml"),"yaml"!==u&&n!==i)return{content:e};const[s]=t;return{frontMatter:{type:"front-matter",lang:u,value:o,startDelimiter:n,endDelimiter:i,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)}};const Lj=Xb,jj=Ij;var _j={hasPragma:function(e){return Lj.hasPragma(jj(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=jj(e);return(t?t.raw+"\n\n":"")+Lj.insertPragma(n)}};const{isNonEmptyArray:Mj}=ic,Rj=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]),Vj=new Set(["import","use","forward"]);function $j(e,t){const n=Array.isArray(t)?t:[t];let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function Wj(e,t){const n=$j(e,t);return-1===n?null:e.getParentNode(n)}function qj(e){return"value-operator"===e.type&&"*"===e.value}function Uj(e){return"value-operator"===e.type&&"/"===e.value}function Gj(e){return"value-operator"===e.type&&"+"===e.value}function zj(e){return"value-operator"===e.type&&"-"===e.value}function Hj(e){return"value-operator"===e.type&&"%"===e.value}function Jj(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function Xj(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&Jj(e.groups[0])}function Yj(e){return e&&"value-colon"===e.type}var Kj={getAncestorCounter:$j,getAncestorNode:Wj,getPropOfDeclNode:function(e){const t=Wj(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(Mj(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(Mj(e))for(let t=0;t<e.length;t++)if("string"===e[t].type||"func"===e[t].type)return!0;return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){const n=Wj(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=Wj(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){const n=Array.isArray(t)?t:[t],r=Wj(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=Wj(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=Wj(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},isSCSSVariable:function(e){return Boolean(e&&"word"===e.type&&e.value.startsWith("$"))},isLastNode:function(e,t){const n=e.getParentNode();if(!n)return!1;const{nodes:r}=n;return r&&r.indexOf(t)===r.length-1},isLessParser:function(e){return"css"===e.parser||"less"===e.parser},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:qj,isDivisionNode:Uj,isAdditionNode:Gj,isSubtractionNode:zj,isModuloNode:Hj,isMathOperatorNode:function(e){return qj(e)||Uj(e)||Gj(e)||zj(e)||Hj(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:Jj,isKeyValuePairInParenGroupNode:Xj,isKeyInValuePairNode:function(e,t){if(!Jj(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&Yj(n[r+1])},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(Xj(t)||n&&Xj(n)))return!1;const r=Wj(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||(!!Xj(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:Yj,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&Rj.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups){return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce(((n,r,o)=>n+e(r)+("comma_group"===t.groups[0].type&&o!==t.groups.length-1?",":"")),"")+(t.close&&t.close.value?t.close.value:"")}const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")},isModuleRuleName:function(e){return Vj.has(e)},isConfigurationNode:function(e,t){if(!e.open||"("!==e.open.value||!e.close||")"!==e.close.value||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){const n=t.groups.indexOf(e)-1,r=t.groups[n];if(r&&"value-word"===r.type&&"with"===r.value)return!0}return!1},isParenGroupNode:function(e){return"value-paren_group"===e.type&&e.open&&"("===e.open.value&&e.close&&")"===e.close.value}};const Qj=function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf("\n",n)+1;return n+e.column},{getLast:Zj,skipEverythingButNewLine:e_}=ic;function t_(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?Qj(e.source.start,t)-1:null}function n_(e,t){if("css-comment"===e.type&&e.inline)return e_(t,e.source.startOffset);const n=e.nodes&&Zj(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?Qj(e.source.end,t):null}function r_(e,t,n){e.source&&(e.source.startOffset=t_(e,n)+t,e.source.endOffset=n_(e,n)+t);for(const r in e){const o=e[r];"source"!==r&&o&&"object"==typeof o&&r_(o,t,n)}}function o_(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}var i_={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=t_(t,n),t.source.endOffset=n_(t,n));for(const r in t){const o=t[r];"source"!==r&&o&&"object"==typeof o&&("value-root"===o.type||"value-unknown"===o.type?r_(o,o_(t),o.text||o.value):e(o,n))}},replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",o=!1;const i=[];for(let u=0;u<e.length;u++){const s=e[u];switch(n){case"initial":if("'"===s){n="single-quotes";continue}if('"'===s){n="double-quotes";continue}if(("u"===s||"U"===s)&&"url("===e.slice(u,u+4).toLowerCase()){n="url",u+=3;continue}if("*"===s&&"/"===e[u-1]){n="comment-block";continue}if("/"===s&&"/"===e[u-1]){n="comment-inline",t=u-1;continue}continue;case"single-quotes":if("'"===s&&"\\"!==e[u-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"double-quotes":if('"'===s&&"\\"!==e[u-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"url":if(")"===s&&(n="initial"),"\n"===s||"\r"===s)return e;if("'"===s){n="single-quotes",r="url";continue}if('"'===s){n="double-quotes",r="url";continue}continue;case"comment-block":"/"===s&&"*"===e[u-1]&&(n="initial");continue;case"comment-inline":'"'!==s&&"'"!==s&&"*"!==s||(o=!0),"\n"!==s&&"\r"!==s||(o&&i.push([t,u]),n="initial",o=!1);continue}}for(const[t,n]of i)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g," ")+e.slice(n);return e}};const u_=su,{printNumber:s_,printString:a_,hasNewline:c_,isFrontMatterNode:l_,isNextLineEmpty:p_,isNonEmptyArray:f_}=ic,{builders:{join:d_,line:h_,hardline:g_,softline:m_,group:y_,fill:D_,indent:E_,dedent:C_,ifBreak:b_,breakParent:v_},utils:{removeLines:A_,getDocParts:F_}}=Gc,x_=Sj,S_=Pj,{insertPragma:w_}=_j,{getAncestorNode:T_,getPropOfDeclNode:B_,maybeToLowerCase:N_,insideValueFunctionNode:k_,insideICSSRuleNode:P_,insideAtRuleNode:O_,insideURLFunctionInImportAtRuleNode:I_,isKeyframeAtRuleKeywords:L_,isWideKeywords:j_,isSCSS:__,isLastNode:M_,isLessParser:R_,isSCSSControlDirectiveNode:V_,isDetachedRulesetDeclarationNode:$_,isRelationalOperatorNode:W_,isEqualityOperatorNode:q_,isMultiplicationNode:U_,isDivisionNode:G_,isAdditionNode:z_,isSubtractionNode:H_,isMathOperatorNode:J_,isEachKeywordNode:X_,isForKeywordNode:Y_,isURLFunctionNode:K_,isIfElseKeywordNode:Q_,hasComposesNode:Z_,hasParensAroundNode:eM,hasEmptyRawBefore:tM,isKeyValuePairNode:nM,isKeyInValuePairNode:rM,isDetachedRulesetCallNode:oM,isTemplatePlaceholderNode:iM,isTemplatePropNode:uM,isPostcssSimpleVarNode:sM,isSCSSMapItemNode:aM,isInlineValueCommentNode:cM,isHashNode:lM,isLeftCurlyBraceNode:pM,isRightCurlyBraceNode:fM,isWordNode:dM,isColonNode:hM,isMediaAndSupportsKeywords:gM,isColorAdjusterFuncNode:mM,lastLineHasInlineComment:yM,isAtWordPlaceholderNode:DM,isConfigurationNode:EM,isParenGroupNode:CM}=Kj,{locStart:bM,locEnd:vM}=i_;function AM(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function FM(e,t,n){const r=[];return e.each(((e,o,i)=>{const u=i[o-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){const n=e.getValue();r.push(t.originalText.slice(bM(n),vM(n)))}else r.push(n());o!==i.length-1&&("css-comment"===i[o+1].type&&!c_(t.originalText,bM(i[o+1]),{backwards:!0})&&!l_(i[o])||"css-atrule"===i[o+1].type&&"else"===i[o+1].name&&"css-comment"!==i[o].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?h_:g_),p_(t.originalText,e.getValue(),vM)&&!l_(i[o])&&r.push(g_)))}),"nodes"),r}const xM=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,SM=new RegExp(xM.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function wM(e,t){return e.replace(xM,(e=>a_(e,t)))}function TM(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function BM(e){return e.replace(SM,((e,t,n,r,o)=>!n&&r?NM(r)+N_(o||""):e))}function NM(e){return s_(e).replace(/\.0(?=$|e)/,"")}var kM={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return[r.raw,g_];case"css-root":{const o=FM(e,t,n),i=r.raws.after.trim();return[o,i?" ".concat(i):"",F_(o).length>0?g_:""]}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(bM(r),vM(r));return e?n.trimEnd():n}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&yM(r.selector.value)?h_:" ","{",r.nodes.length>0?E_([g_,FM(e,t,n)]):"",g_,"}",$_(r)?";":""]:";"];case"css-decl":{const o=e.getParentNode(),{between:i}=r.raws,u=i.trim(),s=":"===u;let a=Z_(r)?A_(n("value")):n("value");return!s&&yM(u)&&(a=E_([g_,C_(a)])),[r.raws.before.replace(/[\s;]/g,""),P_(e)?r.prop:N_(r.prop),u.startsWith("//")?" ":"",u,r.extend?"":" ",R_(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",a,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",E_([m_,FM(e,t,n)]),m_,"}"]:uM(r)&&!o.raws.semicolon&&";"!==t.originalText[vM(r)-1]?"":t.__isHTMLStyleAttribute&&M_(e,r)?b_(";"):";"]}case"css-atrule":{const o=e.getParentNode(),i=iM(r)&&!o.raws.semicolon&&";"!==t.originalText[vM(r)-1];if(R_(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",i?"":";"];if(r.function)return[r.name,n("params"),i?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",E_([r.nodes.length>0?m_:"",FM(e,t,n)]),m_,"}"]:"",i?"":";"]}return["@",oM(r)||r.name.endsWith(":")?r.name:N_(r.name),r.params?[oM(r)?"":iM(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[g_,g_]:/^\s*\n/.test(r.raws.afterName)?g_:" ":" ",n("params")]:"",r.selector?E_([" ",n("selector")]):"",r.value?y_([" ",n("value"),V_(r)?eM(r)?" ":h_:""]):"else"===r.name?" ":"",r.nodes?[V_(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&yM(r.selector.value)||!r.selector&&"string"==typeof r.params&&yM(r.params)?h_:" ","{",E_([r.nodes.length>0?m_:"",FM(e,t,n)]),m_,"}"]:i?"":";"]}case"media-query-list":{const t=[];return e.each((e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),y_(E_(d_(h_,t)))}case"media-query":return[d_(" ",e.map(n,"nodes")),M_(e,r)?"":","];case"media-type":case"media-value":return BM(wM(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return N_(wM(r.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[r.value," "];case"media-keyword":case"selector-string":return wM(r.value,t);case"media-url":return wM(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return r.value;case"selector-root":return y_([O_(e,"custom-selector")?[T_(e,"css-atrule").customSelector,h_]:"",d_([",",O_(e,["extend","custom-selector","nest"])?h_:g_],e.map(n,"nodes"))]);case"selector-selector":return y_(E_(e.map(n,"nodes")));case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),o=n&&t.nodes[n-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===o.type?r.value:BM(L_(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",BM(wM(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?TM(wM(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===r?"":h_,r.value,M_(e,r)?"":" "]}return[r.value.trim().startsWith("(")?h_:"",BM(wM(r.value.trim(),t))||h_];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[N_(r.value),f_(r.nodes)?["(",d_(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":{const n=T_(e,"css-rule");if(n&&n.isSCSSNesterProperty)return BM(wM(N_(r.value),t));const o=e.getParentNode();if(o.raws&&o.raws.selector){const e=bM(o),n=e+o.raws.selector.length;return t.originalText.slice(e,n).trim()}const i=e.getParentNode(1);if("value-paren_group"===o.type&&i&&"value-func"===i.type&&"selector"===i.value){const e=bM(o.open)+1,n=vM(o.close)-1,r=t.originalText.slice(e,n).trim();return yM(r)?[v_,r]:r}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(bM(r),vM(r));case"value-comma_group":{const t=e.getParentNode(),o=e.getParentNode(1),i=B_(e),u=i&&"value-value"===t.type&&("grid"===i||i.startsWith("grid-template")),s=T_(e,"css-atrule"),a=s&&V_(s),c=r.groups.some((e=>cM(e))),l=e.map(n,"groups"),p=[],f=k_(e,"url");let d=!1,h=!1;for(let n=0;n<r.groups.length;++n){p.push(l[n]);const i=r.groups[n-1],c=r.groups[n],g=r.groups[n+1],m=r.groups[n+2];if(f){(g&&z_(g)||z_(c))&&p.push(" ");continue}if(O_(e,"forward")&&"value-word"===c.type&&c.value&&void 0!==i&&"value-word"===i.type&&"as"===i.value&&"value-operator"===g.type&&"*"===g.value)continue;if(!g)continue;if("value-word"===c.type&&c.value.endsWith("-")&&DM(g))continue;const y="value-string"===c.type&&c.value.startsWith("#{"),D=d&&"value-string"===g.type&&g.value.endsWith("}");if(y||D){d=!d;continue}if(d)continue;if(hM(c)||hM(g))continue;if("value-atword"===c.type&&""===c.value)continue;if("~"===c.value)continue;if(c.value&&c.value.includes("\\")&&g&&"value-comment"!==g.type)continue;if(i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===c.type&&"/"===c.value)continue;if("\\"===c.value)continue;if(sM(c,g))continue;if(lM(c)||pM(c)||fM(g)||pM(g)&&tM(g)||fM(c)&&tM(g))continue;if("--"===c.value&&lM(g))continue;const E=J_(c),C=J_(g);if((E&&lM(g)||C&&fM(c))&&tM(g))continue;if(!i&&G_(c))continue;if(k_(e,"calc")&&(z_(c)||z_(g)||H_(c)||H_(g))&&tM(g))continue;const b=(z_(c)||H_(c))&&0===n&&("value-number"===g.type||g.isHex)&&o&&mM(o)&&!tM(g),v=m&&"value-func"===m.type||m&&dM(m)||"value-func"===c.type||dM(c),A="value-func"===g.type||dM(g)||i&&"value-func"===i.type||i&&dM(i);if(U_(g)||U_(c)||k_(e,"calc")||b||!(G_(g)&&!v||G_(c)&&!A||z_(g)&&!v||z_(c)&&!A||H_(g)||H_(c))||!(tM(g)||E&&(!i||i&&J_(i))))if(cM(c)){if("value-paren_group"===t.type){p.push(C_(g_));continue}p.push(g_)}else a&&(q_(g)||W_(g)||Q_(g)||X_(c)||Y_(c))||s&&"namespace"===s.name.toLowerCase()?p.push(" "):u?c.source&&g.source&&c.source.start.line!==g.source.start.line?(p.push(g_),h=!0):p.push(" "):C?p.push(" "):g&&"..."===g.value||DM(c)&&DM(g)&&vM(c)===bM(g)||(DM(c)&&CM(g)&&vM(c)===bM(g.open)?p.push(m_):"with"===c.value&&CM(g)?p.push(" "):p.push(h_))}return c&&p.push(v_),h&&p.unshift(g_),a?y_(E_(p)):I_(e)?y_(D_(p)):y_(E_(D_(p)))}case"value-paren_group":{const o=e.getParentNode();if(o&&K_(o)&&(1===r.groups.length||r.groups.length>0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",d_(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",h_]),r.push(t[e]);return y_(E_(D_(r)))}const i=aM(e),u=u_(r.groups),s=u&&"value-comment"===u.type,a=rM(r,o),c=EM(r,o),l=c||i&&!a,p=c||a,f=y_([r.open?n("open"):"",E_([m_,d_([",",h_],e.map((e=>{const t=e.getValue(),r=n();if(nM(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){const e=F_(r.contents.contents);return e[1]=y_(e[1]),y_(C_(r))}return r}),"groups"))]),b_(!s&&__(t.parser,t.originalText)&&i&&AM(t)?",":""),m_,r.close?n("close"):""],{shouldBreak:l});return p?C_(f):f}case"value-func":return[r.value,O_(e,"supports")&&gM(r)?" ":"",n("group")];case"value-number":return[NM(r.value),N_(r.unit)];case"value-word":return r.isColor&&r.isHex||j_(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),o=n&&t.groups[n-1];return[r.value,o&&"string"==typeof o.value&&"\\"===u_(o.value)||k_(e,"url")?"":h_]}case"value-string":return a_(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:S_,insertPragma:w_,massageAstNode:x_};var PM={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},OM={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},IM={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329};const LM=fE,jM=kM,_M={singleQuote:cj.singleQuote},MM=[LM({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),LM(PM,(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),LM(OM,(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),LM(IM,(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))];var RM={languages:MM,options:_M,printers:{postcss:jM},parsers:undefined};var VM={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function $M(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}$M.ignoredProperties=new Set(["loc","selfClosing"]);var WM=$M;const qM=su;const UM=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function GM(e){return zM(e,["TextNode"])&&!/\S/.test(e.chars)}function zM(e,t){return e&&t.includes(e.type)}function HM(e,t){return zM(e.getParentNode(0),t)}function JM(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},o=r.children||r.body||r.parts||[],i=o.indexOf(n);return-1!==i&&o[i+t]}function XM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return JM(e,-t)}function YM(e){return JM(e,1)}function KM(e){return zM(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var QM={getNextNode:YM,getPreviousNode:XM,hasPrettierIgnore:function(e){const t=e.getValue(),n=XM(e,2);return KM(t)||KM(n)},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!HM(e,["ElementNode"])||qM(n.children)!==t)||!(!HM(e,["Block"])||qM(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return zM(YM(e),t)},isNodeOfSomeType:zM,isParentOfSomeType:HM,isPreviousNodeOfSomeType:function(e,t){return zM(XM(e),t)},isVoid:function(e){return function(e){return zM(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>GM(e)))||UM.has(e.tag)},isWhitespaceNode:GM};const{builders:{dedent:ZM,fill:eR,group:tR,hardline:nR,ifBreak:rR,indent:oR,join:iR,line:uR,softline:sR},utils:{getDocParts:aR,replaceTextEndOfLine:cR}}=Gc,{getPreferredQuote:lR,isNonEmptyArray:pR}=ic,{locStart:fR,locEnd:dR}=VM,hR=WM,{getNextNode:gR,getPreviousNode:mR,hasPrettierIgnore:yR,isLastNodeOfSiblings:DR,isNextNodeOfSomeType:ER,isNodeOfSomeType:CR,isParentOfSomeType:bR,isPreviousNodeOfSomeType:vR,isVoid:AR,isWhitespaceNode:FR}=QM;function xR(e,t){return fR(e)-fR(t)}function SR(e,t,n){const r=e.getValue().children.every((e=>FR(e)));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map(((e,r)=>{const o=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[sR,o]:o}),"children")}function wR(e){return AR(e)?rR([sR,"/>"],[" />",sR]):rR([sR,">"],">")}function TR(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function BR(e){const t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function NR(e){return[TR(e),e.closeStrip.open?"~":"","/"]}function kR(e){const t=BR(e);return[e.closeStrip.close?"~":"",t]}function PR(e){return[TR(e),e.inverseStrip.open?"~":""]}function OR(e){const t=BR(e);return[e.inverseStrip.close?"~":"",t]}function IR(e,t){const n=e.getValue(),r=function(e){return[TR(e),e.openStrip.open?"~":"","#"]}(n),o=function(e){const t=BR(e);return[e.openStrip.close?"~":"",t]}(n),i=[JR(e,t)],u=XR(e,t);if(u&&i.push(uR,u),pR(n.program.blockParams)){const e=YR(n.program);i.push(uR,e)}return tR([r,oR(i),sR,o])}function LR(e,t){return["ignore"===t.htmlWhitespaceSensitivity?nR:"",PR(e),"else",OR(e)]}function jR(e,t){const n=e.getParentNode(1);return[PR(n),"else if ",XR(e,t),OR(n)]}function _R(e,t,n){const r=e.getValue();if("ignore"===n.htmlWhitespaceSensitivity){return[MR(r)?sR:nR,NR(r),t("path"),kR(r)]}return[NR(r),t("path"),kR(r)]}function MR(e){return CR(e,["BlockStatement"])&&e.program.body.every((e=>FR(e)))}function RR(e){return CR(e,["BlockStatement"])&&e.inverse}function VR(e,t,n){if(MR(e.getValue()))return"";const r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?oR([nR,r]):oR(r)}function $R(e,t,n){const r=e.getValue(),o=t("inverse"),i="ignore"===n.htmlWhitespaceSensitivity?[nR,o]:o;return function(e){return RR(e)&&1===e.inverse.body.length&&CR(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?i:RR(r)?[LR(r,n),oR(i)]:""}function WR(e){return aR(iR(uR,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function qR(e){return(e="string"==typeof e?e:"").split("\n").length-1}function UR(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(nR)}function GR(e,t){const{quote:n,regex:r}=lR(e,t);return[n,e.replace(r,"\\".concat(n)),n]}function zR(e,t){const n=JR(e,t),r=XR(e,t);return r?oR([n,uR,tR(r)]):n}function HR(e,t){const n=JR(e,t),r=XR(e,t);return r?[oR([n,uR,r]),sR]:n}function JR(e,t){return t("path")}function XR(e,t){const n=e.getValue(),r=[];if(n.params.length>0){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const e=t("hash");r.push(e)}return 0===r.length?"":iR(uR,r)}function YR(e){return["as |",e.blockParams.join(" "),"|"]}var KR={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(yR(e))return t.originalText.slice(fR(r),dR(r));const o=t.singleQuote?"'":'"';switch(r.type){case"Block":case"Program":case"Template":return tR(e.map(n,"body"));case"ElementNode":{const o=tR(function(e,t){const n=e.getValue(),r=["attributes","modifiers","comments"].filter((e=>pR(n[e]))),o=r.flatMap((e=>n[e])).sort(xR);for(const n of r)e.each((e=>{const n=o.indexOf(e.getValue());o.splice(n,1,[uR,t()])}),n);pR(n.blockParams)&&o.push(uR,YR(n));return["<",n.tag,oR(o),wR(n)]}(e,n)),i="ignore"===t.htmlWhitespaceSensitivity&&ER(e,["ElementNode"])?sR:"";if(AR(r))return[o,i];const u=["</",r.tag,">"];return 0===r.children.length?[o,oR(u),i]:"ignore"===t.htmlWhitespaceSensitivity?[o,oR(SR(e,t,n)),nR,oR(u),i]:[o,oR(tR(SR(e,t,n))),oR(u),i]}case"BlockStatement":{const o=e.getParentNode(1);return o&&o.inverse&&1===o.inverse.body.length&&o.inverse.body[0]===r&&"if"===o.inverse.body[0].path.parts[0]?[jR(e,n),VR(e,n,t),$R(e,n,t)]:[IR(e,n),tR([VR(e,n,t),$R(e,n,t),_R(e,n,t)])]}case"ElementModifierStatement":return tR(["{{",HR(e,n),"}}"]);case"MustacheStatement":return tR([TR(r),HR(e,n),BR(r)]);case"SubExpression":return tR(["(",zR(e,n),sR,")"]);case"AttrNode":{const e="TextNode"===r.value.type;if(e&&""===r.value.chars&&fR(r.value)===dR(r.value))return r.name;const t=e?lR(r.value.chars,o).quote:"ConcatStatement"===r.value.type?lR(r.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),o).quote:"",i=n("value");return[r.name,"=",t,"class"===r.name&&t?tR(oR(i)):i,t]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return iR(uR,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let n=r.chars.replace(/{{/g,"\\{{");const o=function(e){for(let t=0;t<2;t++){const n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(o){if("class"===o){const t=n.trim().split(/\s+/).join(" ");let r=!1,o=!1;return bR(e,["ConcatStatement"])&&(vR(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),ER(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(o=!0)),[r?uR:"",t,o?uR:""]}return cR(n)}const i=/^[\t\n\f\r ]*$/.test(n),u=!mR(e),s=!gR(e);if("ignore"!==t.htmlWhitespaceSensitivity){const t=/^[\t\n\f\r ]*/,r=/[\t\n\f\r ]*$/,o=s&&bR(e,["Template"]),a=u&&bR(e,["Template"]);if(i){if(a||o)return"";let t=[uR];const r=qR(n);return r&&(t=UR(r)),DR(e)&&(t=t.map((e=>ZM(e)))),t}const[c]=n.match(t),[l]=n.match(r);let p=[];if(c){p=[uR];const e=qR(c);e&&(p=UR(e)),n=n.replace(t,"")}let f=[];if(l){if(!o){f=[uR];const t=qR(l);t&&(f=UR(t)),DR(e)&&(f=f.map((e=>ZM(e))))}n=n.replace(r,"")}return[...p,eR(WR(n)),...f]}const a=qR(n);let c=function(e){return qR(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(n),l=function(e){return qR(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(n);if((u||s)&&i&&bR(e,["Block","ElementNode","Template"]))return"";i&&a?(c=Math.min(a,2),l=0):(ER(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)),vR(e,["BlockStatement","ElementNode"])&&(c=Math.max(c,1)));let p="",f="";return 0===l&&ER(e,["MustacheStatement"])&&(f=" "),0===c&&vR(e,["MustacheStatement"])&&(p=" "),u&&(c=0,p=""),s&&(l=0,f=""),n=n.replace(/^[\t\n\f\r ]+/g,p).replace(/[\t\n\f\r ]+$/,f),[...UR(c),eR(WR(n)),...UR(l)]}case"MustacheCommentStatement":{const e=fR(r),n=dR(r),o="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(n-3),u=r.value.includes("}}")?"--":"";return["{{",o?"~":"","!",u,r.value,u,i?"~":"","}}"]}case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":if(function(e){let t=0,n=e.getParentNode(t);for(;n&&CR(n,["SubExpression"]);)t++,n=e.getParentNode(t);if(n&&CR(e.getParentNode(t+1),["ConcatStatement"])&&CR(e.getParentNode(t+2),["AttrNode"]))return!0;return!1}(e)){const e=t.singleQuote?'"':"'";return GR(r.value,e)}return GR(r.value,o);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:hR};const QR=KR;var ZR={languages:[fE({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],printers:{glimmer:QR},parsers:undefined};var eV={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};var tV={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{join:nV,hardline:rV,line:oV,softline:iV,group:uV,indent:sV,ifBreak:aV}}=Gc,{isNextLineEmpty:cV,isNonEmptyArray:lV}=ic,{insertPragma:pV}=eV,{locStart:fV,locEnd:dV}=tV;function hV(e,t,n){if(0===n.directives.length)return"";const r=nV(oV,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?uV([oV,r]):[" ",uV(sV([iV,r]))]}function gV(e,t,n){const r=e.getValue().length;return e.map(((e,o)=>{const i=n();return cV(t.originalText,e.getValue(),dV)&&o<r-1?[i,rV]:i}))}function mV(e,t,n){const r=e.getNode(),o=[],{interfaces:i}=r,u=e.map((e=>n(e)),"interfaces");for(let e=0;e<i.length;e++){const n=i[e];o.push(u[e]);const r=i[e+1];if(r){const e=t.originalText.slice(n.loc.end,r.loc.start),i=e.includes("#"),u=e.replace(/#.*/g,"").trim();o.push(","===u?",":" &",i?oV:" ")}}return o}function yV(){}yV.ignoredProperties=new Set(["loc","comments"]);var DV={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":{const r=[];return e.each(((e,o,i)=>{r.push(n()),o!==i.length-1&&(r.push(rV),cV(t.originalText,e.getValue(),dV)&&r.push(rV))}),"definitions"),[...r,rV]}case"OperationDefinition":{const o="{"!==t.originalText[fV(r)],i=Boolean(r.name);return[o?r.operation:"",o&&i?[" ",n("name")]:"",o&&!i&&lV(r.variableDefinitions)?" ":"",lV(r.variableDefinitions)?uV(["(",sV([iV,nV([aV("",", "),iV],e.map(n,"variableDefinitions"))]),iV,")"]):"",hV(e,n,r),r.selectionSet&&(o||i)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),lV(r.variableDefinitions)?uV(["(",sV([iV,nV([aV("",", "),iV],e.map(n,"variableDefinitions"))]),iV,")"]):""," on ",n("typeCondition"),hV(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"selections"))]),rV,"}"];case"Field":return uV([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?uV(["(",sV([iV,nV([aV("",", "),iV],e.call((e=>gV(e,t,n)),"arguments"))]),iV,")"]):"",hV(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":return r.block?['"""',rV,nV(rV,r.value.replace(/"""/g,"\\$&").split("\n")),rV,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return uV(["[",sV([iV,nV([aV("",", "),iV],e.map(n,"values"))]),iV,"]"]);case"ObjectValue":return uV(["{",t.bracketSpacing&&r.fields.length>0?" ":"",sV([iV,nV([aV("",", "),iV],e.map(n,"fields"))]),iV,aV("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?uV(["(",sV([iV,nV([aV("",", "),iV],e.call((e=>gV(e,t,n)),"arguments"))]),iV,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",hV(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?rV:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...mV(e,t,n)]:"",hV(e,n,r),r.fields.length>0?[" {",sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"fields"))]),rV,"}"]:""];case"FieldDefinition":return[n("description"),r.description?rV:"",n("name"),r.arguments.length>0?uV(["(",sV([iV,nV([aV("",", "),iV],e.call((e=>gV(e,t,n)),"arguments"))]),iV,")"]):"",": ",n("type"),hV(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?rV:"","directive ","@",n("name"),r.arguments.length>0?uV(["(",sV([iV,nV([aV("",", "),iV],e.call((e=>gV(e,t,n)),"arguments"))]),iV,")"]):"",r.repeatable?" repeatable":""," on ",nV(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?rV:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),hV(e,n,r),r.values.length>0?[" {",sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"values"))]),rV,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?rV:"",n("name"),hV(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?rV:oV:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",hV(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?rV:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),hV(e,n,r),r.fields.length>0?[" {",sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"fields"))]),rV,"}"]:""];case"SchemaDefinition":return["schema",hV(e,n,r)," {",r.operationTypes.length>0?sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"operationTypes"))]):"",rV,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?rV:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...mV(e,t,n)]:"",hV(e,n,r),r.fields.length>0?[" {",sV([rV,nV(rV,e.call((e=>gV(e,t,n)),"fields"))]),rV,"}"]:""];case"FragmentSpread":return["...",n("name"),hV(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",hV(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return uV([n("description"),r.description?rV:"",uV(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),hV(e,n,r),r.types.length>0?[" =",aV(""," "),sV([aV([oV,"  "]),nV([oV,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?rV:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),hV(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:yV,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:pV,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}};const EV=DV,CV={bracketSpacing:cj.bracketSpacing};var bV={languages:[fE({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],options:CV,printers:{graphql:EV},parsers:undefined};var vV={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:AV}=ic,{locStart:FV,locEnd:xV}=vV,{cjkPattern:SV,kPattern:wV,punctuationPattern:TV}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},BV=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],NV=[...BV,"tableCell","paragraph","heading"],kV=new RegExp(wV),PV=new RegExp(TV);function OV(e,t){const[,n,r,o]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:o}}var IV={mapAst:function(e,t){return function e(n,r,o){const i=Object.assign({},t(n,r,o));return i.children&&(i.children=i.children.map(((t,n)=>e(t,n,[i,...o])))),i}(e,null,[])},splitText:function(e,t){const n="non-cjk",r="cj-letter",o="cjk-punctuation",i=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(SV,")\n(").concat(SV,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(const[e,t]of u.entries()){if(e%2==1){i.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===u.length-1)&&""===t)continue;const a=t.split(new RegExp("(".concat(SV,")")));for(const[e,t]of a.entries())(0!==e&&e!==a.length-1||""!==t)&&(e%2!=0?s(PV.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:kV.test(t)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==t&&s({type:"word",value:t,kind:n,hasLeadingPunctuation:PV.test(t[0]),hasTrailingPunctuation:PV.test(AV(t))}))}return i;function s(e){const t=AV(i);var u,s;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(u=n,s=o,t.kind===u&&e.kind===s||t.kind===s&&e.kind===u||[t.value,e.value].some((e=>/\u3000/.test(e)))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:TV,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:OV,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(OV(e.children[0],t.originalText).numberText),r=Number(OV(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(OV(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:BV,INLINE_NODE_WRAPPER_TYPES:NV,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&FV(e)===FV(t)&&xV(e)===xV(t)}};const{inferParserByLanguage:LV,getMaxContinuousCount:jV}=ic,{builders:{hardline:_V,markAsRoot:MV},utils:{replaceEndOfLine:RV}}=Gc,VV=Bj,{getFencedCodeBlockValue:$V}=IV;var WV=function(e,t,n,r){const o=e.getValue();if("code"===o.type&&null!==o.lang){const e=LV(o.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",i=t.repeat(Math.max(3,jV(o.value,t)+1)),u={parser:e};"tsx"===o.lang&&(u.filepath="dummy.tsx");const s=n($V(o,r.originalText),u,{stripTrailingHardline:!0});return MV([i,o.lang,o.meta?" "+o.meta:"",_V,RV(s),_V,i])}}switch(o.type){case"front-matter":return VV(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),_V];case"jsx":return n("<$>".concat(o.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const qV=Ij,UV=["format","prettier"];function GV(e){const t="@(".concat(UV.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var zV={startWithPragma:GV,hasPragma:e=>GV(qV(e).content.trimStart()),insertPragma:e=>{const t=qV(e),n="\x3c!-- @".concat(UV[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const HV=su,{getOrderedListItemInfo:JV,mapAst:XV,splitText:YV}=IV,KV=/^.$/us;function QV(e,t,n){return XV(e,(e=>{if(!e.children)return e;const r=e.children.reduce(((e,r)=>{const o=HV(e);return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e}),[]);return Object.assign(Object.assign({},e),{},{children:r})}))}var ZV=function(e,t){return e=function(e,t){return XV(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&KV.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t),e=function(e,t){return XV(e,((e,n,r)=>{if("code"===e.type){const n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){const t=r[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return XV(e,(e=>"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return QV(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e)),t),e=function(e,t){return XV(e,((e,t,n)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<n.length;t++){const r=n[t];if("list"===r.type&&!r.isAligned)return e.isAligned=!1,e}e.isAligned=r(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function r(e){if(!e.ordered)return!0;const[r,o]=e.children;if(JV(r,t.originalText).leadingSpaces.length>1)return!0;const i=n(r);if(-1===i)return!1;if(1===e.children.length)return i%t.tabWidth==0;if(i!==n(o))return!1;if(i%t.tabWidth==0)return!0;return JV(o,t.originalText).leadingSpaces.length>1}}(e,t),e=function(e,t){return XV(e,((e,n,r)=>{let[o]=r;if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===o.type&&(0===n&&(i=i.trimStart()),n===o.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:YV(i,t)}}))}(e,t),e=function(e){return QV(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return XV(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e))};const{isFrontMatterNode:e$}=ic,{startWithPragma:t$}=zV,n$=new Set(["position","raw"]);function r$(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||e$(n.children[0])&&n.children[1]===e)&&"html"===e.type&&t$(e.value)?null:void 0)}r$.ignoredProperties=n$;var o$=r$;const{getLast:i$,getMinNotPresentContinuousCount:u$,getMaxContinuousCount:s$,getStringWidth:a$,isNonEmptyArray:c$}=ic,{builders:{breakParent:l$,join:p$,line:f$,literalline:d$,markAsRoot:h$,hardline:g$,softline:m$,ifBreak:y$,fill:D$,align:E$,indent:C$,group:b$,hardlineWithoutBreakParent:v$},utils:{normalizeDoc:A$,replaceTextEndOfLine:F$},printer:{printDocToString:x$}}=Gc,S$=WV,{insertPragma:w$}=zV,{locStart:T$,locEnd:B$}=vV,N$=ZV,k$=o$,{getFencedCodeBlockValue:P$,hasGitDiffFriendlyOrderedList:O$,splitText:I$,punctuationPattern:L$,INLINE_NODE_TYPES:j$,INLINE_NODE_WRAPPER_TYPES:_$,isAutolink:M$}=IV,R$=new Set(["importExport"]),V$=["heading","tableCell","link","wikiLink"],$$=new Set(["listItem","definition","footnoteDefinition"]);function W$(e,t,n,r){const o=e.getValue(),i=null===o.checked?"":o.checked?"[x] ":"[ ] ";return[i,J$(e,t,n,{processor:(e,o)=>{if(0===o&&"list"!==e.getValue().type)return E$(" ".repeat(i.length),n());const u=" ".repeat(function(e,t,n){return e<t?t:e>n?n:e}(t.tabWidth-r.length,0,3));return[u,E$(u,n())]}})]}function q$(e,t){return function(e,t,n){let r=-1;for(const o of t.children)if(o.type===e.type&&n(o)?r++:r=-1,o===e)return r}(e,t,(t=>t.ordered===e.ordered))}function U$(e,t){const n=Array.isArray(t)?t:[t];let r,o=-1;for(;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function G$(e,t){const n=U$(e,t);return-1===n?null:e.getParentNode(n)}function z$(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return g$;const r="always"===n.proseWrap&&!G$(e,V$);return""!==t?r?f$:" ":r?m$:""}function H$(e,t,n){const r=[];let o=null;const{children:i}=e.getValue();for(const[e,t]of i.entries())switch(Y$(t)){case"start":null===o&&(o={index:e,offset:t.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:e,offset:t.position.start.offset}}),o=null)}return J$(e,t,n,{processor:(e,o)=>{if(r.length>0){const e=r[0];if(o===e.start.index)return[i[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),i[e.end.index].value];if(e.start.index<o&&o<e.end.index)return!1;if(o===e.end.index)return r.shift(),!1}return n()}})}function J$(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{postprocessor:o}=r,i=r.processor||(()=>n()),u=e.getValue(),s=[];let a;return e.each(((e,n)=>{const r=e.getValue(),o=i(e,n);if(!1!==o){const e={parts:s,prevNode:a,parentNode:u,options:t};K$(r,e)&&(s.push(g$),a&&R$.has(a.type)||(Q$(r,e)||Z$(r,e))&&s.push(g$),Z$(r,e)&&s.push(g$)),s.push(o),a=r}}),"children"),o?o(s):s}function X$(e){let t=e;for(;c$(t.children);)t=i$(t.children);return t}function Y$(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let n;"esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]?t[1]:"next")}function K$(e,t){const n=0===t.parts.length,r=j$.includes(e.type),o="html"===e.type&&_$.includes(t.parentNode.type);return!n&&!r&&!o}function Q$(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&$$.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,i="next"===Y$(t.prevNode),u="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(n||r||i||u||s)}function Z$(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function eW(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map((e=>"\\".concat(e))).join("|")).test(e)?"<".concat(e,">"):e}function tW(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return"";if(n)return" "+tW(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,o=e.split('"').length-1,i=r>o?'"':o>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}var nW={preprocess:N$,print:function(e,t,n){const r=e.getValue();if(function(e){const t=G$(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return I$(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((n=>"word"===n.type?n.value:""===n.value?"":z$(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[A$(H$(e,t,n)),R$.has(X$(r).type)?"":g$];case"paragraph":return J$(e,t,n,{postprocessor:D$});case"sentence":return J$(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(L$,")(_+)"),"(_+)(".concat(L$,"|$)")].join("|"),"g"),((e,t,n,r,o)=>(n?"".concat(t).concat(n):"".concat(r).concat(o)).replace(/_/g,"\\_")));const n=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,t,n)=>M$(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,o)||e.match(void 0,n,((e,t,n)=>"emphasis"===e.type&&0===n),o))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{const n=e.getParentNode(),o=n.children.indexOf(r),i=n.children[o+1],u=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return z$(e,r.value,{proseWrap:u})}case"emphasis":{let o;if(M$(r.children[0]))o=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),i=t.children[n-1],u=t.children[n+1];o=i&&"sentence"===i.type&&i.children.length>0&&"word"===i$(i.children).type&&!i$(i.children).hasTrailingPunctuation||u&&"sentence"===u.type&&u.children.length>0&&"word"===u.children[0].type&&!u.children[0].hasLeadingPunctuation||G$(e,"emphasis")?"*":"_"}return[o,J$(e,t,n),o]}case"strong":return["**",J$(e,t,n),"**"];case"delete":return["~~",J$(e,t,n),"~~"];case"inlineCode":{const e=u$(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return[t,n,r.value,n,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:";return["<",r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url,">"]}case"[":return["[",J$(e,t,n),"](",eW(r.url,")"),tW(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",eW(r.url,")"),tW(r.title,t),")"];case"blockquote":return["> ",E$("> ",J$(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",J$(e,t,n)];case"code":{if(r.isIndented){const e=" ".repeat(4);return E$(e,[e,...F$(r.value,g$)])}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,s$(r.value,e)+1));return[n,r.lang||"",r.meta?" "+r.meta:"",g$,...F$(P$(r,t.originalText),g$),g$,n]}case"html":{const t=e.getParentNode(),n="root"===t.type&&i$(t.children)===r?r.value.trimEnd():r.value,o=/^<!--.*-->$/s.test(n);return F$(n,o?g$:h$(d$))}case"list":{const o=q$(r,e.getParentNode()),i=O$(r,t);return J$(e,t,n,{processor:(e,u)=>{const s=function(){const e=r.ordered?(0===u?r.start:i?1:r.start+u)+(o%2==0?". ":") "):o%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[s,W$(e,t,n,s)]:[s,E$(" ".repeat(s.length),W$(e,t,n,s))]}})}case"thematicBreak":{const t=U$(e,"list");if(-1===t)return"---";return q$(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",J$(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":return"full"===r.referenceType?["![",r.alt||"","][",r.identifier,"]"]:["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];case"definition":{const e="always"===t.proseWrap?f$:" ";return b$(["[",r.identifier,"]:",C$([e,eW(r.url),null===r.title?"":[e,tW(r.title,t,!1)]])])}case"footnote":return["[^",J$(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const o=e.getParentNode().children[e.getName()+1],i=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",i?J$(e,t,n):b$([E$(" ".repeat(4),J$(e,t,n,{processor:(e,t)=>0===t?b$([m$,n()]):n()})),o&&"footnoteDefinition"===o.type?m$:""])]}case"table":return function(e,t,n){const r=e.getValue(),o=[],i=e.map((e=>e.map(((e,r)=>{const i=x$(n(),t).formatted,u=a$(i);return o[r]=Math.max(o[r]||3,u),{text:i,width:u}}),"children")),"children"),u=a(!1);if("never"!==t.proseWrap)return[l$,u];const s=a(!0);return[l$,b$(y$(s,u))];function a(e){const t=[l(i[0],e),c(e)];return i.length>1&&t.push(p$(v$,i.slice(1).map((t=>l(t,e))))),p$(v$,t)}function c(e){const t=o.map(((t,n)=>{const o=r.align[n],i="center"===o||"left"===o?":":"-",u="center"===o||"right"===o?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(i).concat(s).concat(u)}));return"| ".concat(t.join(" | ")," |")}function l(e,t){const n=e.map(((e,n)=>{let{text:i,width:u}=e;if(t)return i;const s=o[n]-u,a=r.align[n];let c=0;"right"===a?c=s:"center"===a&&(c=Math.floor(s/2));const l=s-c;return"".concat(" ".repeat(c)).concat(i).concat(" ".repeat(l))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return J$(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?["  ",h$(d$)]:["\\",g$];case"liquidNode":return F$(r.value,g$);case"importExport":return[r.value,g$];case"esComment":return["{/* ",r.value," */}"];case"jsx":return r.value;case"math":return["$$",g$,r.value?[...F$(r.value,g$),g$]:"","$$"];case"inlineMath":return t.originalText.slice(T$(r),B$(r));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:S$,massageAstNode:k$,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===Y$(e.getParentNode().children[t-1])},insertPragma:w$};var rW={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222};const oW=fE,iW=nW,uW={proseWrap:cj.proseWrap,singleQuote:cj.singleQuote},sW=[oW(rW,(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),oW(rW,(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))];var aW={languages:sW,options:uW,printers:{mdast:iW},parsers:undefined};const{isFrontMatterNode:cW}=ic,lW=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function pW(e,t){return"text"===e.type||"comment"===e.type||cW(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}pW.ignoredProperties=lW;var fW=pW;const dW=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"],hW={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},{inferParserByLanguage:gW,isFrontMatterNode:mW}=ic,{builders:{line:yW,hardline:DW,join:EW},utils:{getDocParts:CW,replaceTextEndOfLine:bW}}=Gc,{CSS_DISPLAY_TAGS:vW,CSS_DISPLAY_DEFAULT:AW,CSS_WHITE_SPACE_TAGS:FW,CSS_WHITE_SPACE_DEFAULT:xW}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},SW=OW(dW),wW=function(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))n[r]=t(o,r);return n}(hW,OW),TW=new Set(["\t","\n","\f","\r"," "]),BW=e=>e.replace(/[\t\n\f\r ]+$/,""),NW=e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(BW(e)),kW=e=>e.split(/[\t\n\f\r ]+/),PW=e=>e.match(/^[\t\n\f\r ]*/)[0];function OW(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function IW(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||GW(e)&&("script"===e.name||"style"===e.name))}function LW(e){return zW(e).startsWith("pre")}function jW(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function _W(e){return $W(e)||"element"===e.type&&"br"===e.fullName||MW(e)}function MW(e){return RW(e)&&VW(e)}function RW(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function VW(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function $W(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function WW(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function qW(e){return"block"===e||"list-item"===e||e.startsWith("table")}function UW(e){return zW(e).startsWith("pre")}function GW(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function zW(e){return"element"===e.type&&(!e.namespace||GW(e))&&FW[e.name]||xW}function HW(e){let t=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!TW.has(n[0]))return 0;const e=PW(n).length;n.length!==e&&(e<t&&(t=e))}return t===Number.POSITIVE_INFINITY?0:t}function JW(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:HW(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}const XW=new Set(["template","style","script"]);function YW(e,t){return KW(e,t)&&!XW.has(e.fullName)}function KW(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function QW(e,t){return KW(e,t)&&(YW(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var ZW={HTML_ELEMENT_ATTRIBUTES:wW,HTML_TAGS:SW,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(BW(e)),htmlTrimPreserveIndentation:NW,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!IW(e)},countChars:function(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n},countParents:function(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){const o=e.stack[r];o&&"object"==typeof o&&!Array.isArray(o)&&t(o)&&n++}return n},dedentString:JW,forceBreakChildren:jW,forceBreakContent:function(e){return jW(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&RW(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||VW(e.lastChild))},forceNextEmptyLine:function(e){return mW(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||GW(e))&&vW[e.name]||AW}},getNodeCssStyleWhiteSpace:zW,hasPrettierIgnore:function(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&QW(e,t)?WW(e)||!("src"in e.attrMap)&&gW(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?WW(e):"babel"},isVueCustomBlock:YW,isVueNonHtmlBlock:QW,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!KW(n,t))return!1;const r=n.fullName,o=e.fullName;return"script"===r&&"setup"===o||"style"===r&&"vars"===o},isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,qW(t)||"inline-block"===t||IW(e));var t},isIndentationSensitiveNode:LW,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){if(mW(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(UW(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||UW(e)&&e.parent||IW(e.parent)||YW(e.parent,t)||(n=e.parent.cssDisplay,qW(n)||"inline-block"===n)))return!1;var n;if(e.prev&&!function(e){return!qW(e)}(e.prev.cssDisplay))return!1;return!0}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:UW,isScriptLikeTag:IW,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!mW(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!UW(e.parent)||!(!e.next&&("root"===e.parent.type||UW(e)&&e.parent||IW(e.parent)||YW(e.parent,t)||(n=e.parent.cssDisplay,qW(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!qW(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return IW(e)||"interpolation"===e.type||LW(e)},isUnknownNamespace:GW,preferHardlineAsLeadingSpaces:function(e){return $W(e)||e.prev&&_W(e.prev)||MW(e)},preferHardlineAsTrailingSpaces:_W,shouldPreserveContent:function(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||("ieConditionalComment"===e.type&&!e.complete||(!(!UW(e)||!e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type)))||!(!QW(e,t)||IW(e)||"interpolation"===e.type)))},unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?bW(t):bW(JW(NW(t)),DW):CW(EW(yW,kW(t)))}},eq={},tq={};!function(e){function t(t){return e.$0<=t&&t<=e.$9}
 /**
    * @license
    * Copyright Google Inc. All Rights Reserved.
@@ -20,23 +6,22 @@ PERFORMANCE OF THIS SOFTWARE.
    * Use of this source code is governed by an MIT-style license that can be
    * found in the LICENSE file at https://angular.io/license
    */
-Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),IS=je((function(e,t){
+Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||t(n)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}(tq);var nq={},rq={};
 /**
  * @license
  * Copyright Google Inc. All Rights Reserved.
  *
  * Use of this source code is governed by an MIT-style license that can be
  * found in the LICENSE file at https://angular.io/license
  */
-Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}t.StaticSymbol=n;t.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,t,r){const o=(r=r||[]).length?".".concat(r.join(".")):"",u='"'.concat(e,'".').concat(t).concat(o);let i=this.cache.get(u);return i||(i=new n(e,t,r),this.cache.set(u,i)),i}}})),LS=je((function(e,t){
+ * @license
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+Object.defineProperty(rq,"__esModule",{value:!0});class oq{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}rq.StaticSymbol=oq;rq.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,t,n){const r=(n=n||[]).length?".".concat(n.join(".")):"",o='"'.concat(e,'".').concat(t).concat(r);let i=this.cache.get(o);return i||(i=new oq(e,t,n),this.cache.set(o,i)),i}};var iq={};
 /**
-   * @license
-   * Copyright Google Inc. All Rights Reserved.
-   *
-   * Use of this source code is governed by an MIT-style license that can be
-   * found in the LICENSE file at https://angular.io/license
-   */
-Object.defineProperty(t,"__esModule",{value:!0});const n=/-+([a-z0-9])/g;function r(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function o(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===a?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}t.dashCaseToCamelCase=function(e){return e.replace(n,((...e)=>e[1].toUpperCase()))},t.splitAtColon=function(e,t){return r(e,":",t)},t.splitAtPeriod=function(e,t){return r(e,".",t)},t.visitValue=o,t.isDefined=function(e){return null!=e},t.noUndefined=function(e){return void 0===e?null:e};t.ValueTransformer=class{visitArray(e,t){return e.map((e=>o(e,this,t)))}visitStringMap(e,t){const n={};return Object.keys(e).forEach((r=>{n[r]=o(e[r],this,t)})),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},t.SyncAsync={assertSync:e=>{if(s(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>s(e)?e.then(t):t(e),all:e=>e.some(s)?Promise.all(e):e},t.error=function(e){throw new Error("Internal Error: ".concat(e))},t.syntaxError=function(e,t){const n=Error(e);return n[u]=!0,t&&(n[i]=t),n};const u="ngSyntaxError",i="ngParseErrors";t.isSyntaxError=function(e){return e[u]},t.getParseErrors=function(e){return e[i]||[]},t.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const a=Object.getPrototypeOf({});function s(e){return!!e&&"function"==typeof e.then}t.utf8Encode=function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},t.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},t.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},t.isPromise=s;t.Version=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const l="undefined"!=typeof window&&window,c="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,p=void 0!==Me&&Me||l||c;t.global=p})),MS=je((function(e,t){
+ * @license
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */Object.defineProperty(iq,"__esModule",{value:!0});const uq=/-+([a-z0-9])/g;function sq(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function aq(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===pq}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}iq.dashCaseToCamelCase=function(e){return e.replace(uq,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))},iq.splitAtColon=function(e,t){return sq(e,":",t)},iq.splitAtPeriod=function(e,t){return sq(e,".",t)},iq.visitValue=aq,iq.isDefined=function(e){return null!=e},iq.noUndefined=function(e){return void 0===e?null:e};iq.ValueTransformer=class{visitArray(e,t){return e.map((e=>aq(e,this,t)))}visitStringMap(e,t){const n={};return Object.keys(e).forEach((r=>{n[r]=aq(e[r],this,t)})),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},iq.SyncAsync={assertSync:e=>{if(fq(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>fq(e)?e.then(t):t(e),all:e=>e.some(fq)?Promise.all(e):e},iq.error=function(e){throw new Error("Internal Error: ".concat(e))},iq.syntaxError=function(e,t){const n=Error(e);return n[cq]=!0,t&&(n[lq]=t),n};const cq="ngSyntaxError",lq="ngParseErrors";iq.isSyntaxError=function(e){return e[cq]},iq.getParseErrors=function(e){return e[lq]||[]},iq.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const pq=Object.getPrototypeOf({});function fq(e){return!!e&&"function"==typeof e.then}iq.utf8Encode=function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},iq.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},iq.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},iq.isPromise=fq;iq.Version=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const dq="undefined"!=typeof window&&window,hq="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,gq=void 0!==e&&e||dq||hq;iq.global=gq,function(e){
 /**
    * @license
    * Copyright Google Inc. All Rights Reserved.
@@ -44,7 +29,7 @@ Object.defineProperty(t,"__esModule",{value:!0});const n=/-+([a-z0-9])/g;functio
    * Use of this source code is governed by an MIT-style license that can be
    * found in the LICENSE file at https://angular.io/license
    */
-Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let o=0;function u(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof IS.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=LS.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=r(n),n}var i;t.identifierName=u,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof IS.StaticSymbol?t.filePath:"./".concat(LS.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(u({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(u({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(u({reference:e}))},t.componentFactoryName=function(e){return"".concat(u({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(i=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):u(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=s(t),this.styleUrls=s(n)}};t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:o,styleUrls:u,externalStylesheets:i,animations:a,ngContentSelectors:c,interpolation:p,isInline:d,preserveWhitespaces:f}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=s(o),this.styleUrls=s(u),this.externalStylesheets=s(i),this.animations=a?l(a):[],this.ngContentSelectors=c||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class a{static create({isHost:e,type:t,isComponent:r,selector:o,exportAs:u,changeDetection:i,inputs:s,outputs:l,host:c,providers:p,viewProviders:d,queries:f,guards:h,viewQueries:m,entryComponents:g,template:D,componentViewType:y,rendererType:E,componentFactory:C}){const b={},v={},A={};null!=c&&Object.keys(c).forEach((e=>{const t=c[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(b[r[2]]=t)}));const F={};null!=s&&s.forEach((e=>{const t=LS.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));const x={};return null!=l&&l.forEach((e=>{const t=LS.splitAtColon(e,[e,e]);x[t[0]]=t[1]})),new a({isHost:e,type:t,isComponent:!!r,selector:o,exportAs:u,changeDetection:i,inputs:F,outputs:x,hostListeners:b,hostProperties:v,hostAttributes:A,providers:p,viewProviders:d,queries:f,guards:h,viewQueries:m,entryComponents:g,template:D,componentViewType:y,rendererType:E,componentFactory:C})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:o,changeDetection:u,inputs:i,outputs:a,hostListeners:l,hostProperties:c,hostAttributes:p,providers:d,viewProviders:f,queries:h,guards:m,viewQueries:g,entryComponents:D,template:y,componentViewType:E,rendererType:C,componentFactory:b}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=o,this.changeDetection=u,this.inputs=i,this.outputs=a,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=s(d),this.viewProviders=s(f),this.queries=s(h),this.guards=m,this.viewQueries=s(g),this.entryComponents=s(D),this.template=y,this.componentViewType=E,this.rendererType=C,this.componentFactory=b}toSummary(){return{summaryKind:i.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}t.CompileDirectiveMetadata=a;t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:i.Pipe,type:this.type,name:this.name,pure:this.pure}}};t.CompileShallowModuleMetadata=class{};t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:o,exportedPipes:u,entryComponents:i,bootstrapComponents:a,importedModules:l,exportedModules:c,schemas:p,transitiveModule:d,id:f}){this.type=e||null,this.declaredDirectives=s(n),this.exportedDirectives=s(r),this.declaredPipes=s(o),this.exportedPipes=s(u),this.providers=s(t),this.entryComponents=s(i),this.bootstrapComponents=s(a),this.importedModules=s(l),this.exportedModules=s(c),this.schemas=s(p),this.id=f||null,this.transitiveModule=d||null}toSummary(){const e=this.transitiveModule;return{summaryKind:i.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function s(e){return e||[]}t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function l(e){return e.reduce(((e,t)=>{const n=Array.isArray(t)?l(t):t;return e.concat(n)}),[])}function c(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:o,deps:u,multi:i}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=o||null,this.dependencies=u||null,this.multi=!!i}},t.flatten=l,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof IS.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(u(e),"/").concat(u(t.type),".html"):n.templateUrl,t.type.reference instanceof IS.StaticSymbol?r:c(r)},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return c("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return c("".concat(u(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return c("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}})),jS=je((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});
+Object.defineProperty(e,"__esModule",{value:!0});const t=rq,n=iq,r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function o(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=o;let i=0;function u(e){if(!e||!e.reference)return null;const r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;let u=n.stringify(r);return u.indexOf("(")>=0?(u="anonymous_".concat(i++),r.__anonymousType=u):u=o(u),u}var s;e.identifierName=u,e.identifierModuleUrl=function(e){const r=e.reference;return r instanceof t.StaticSymbol?r.filePath:"./".concat(n.stringify(r))},e.viewClassName=function(e,t){return"View_".concat(u({reference:e}),"_").concat(t)},e.rendererTypeName=function(e){return"RenderType_".concat(u({reference:e}))},e.hostViewClassName=function(e){return"HostView_".concat(u({reference:e}))},e.componentFactoryName=function(e){return"".concat(u({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(s=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(e){return null!=e.value?o(e.value):u(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(n)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:o,styles:i,styleUrls:u,externalStylesheets:s,animations:a,ngContentSelectors:p,interpolation:f,isInline:d,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=o,this.styles=c(i),this.styleUrls=c(u),this.externalStylesheets=c(s),this.animations=a?l(a):[],this.ngContentSelectors=p||[],f&&2!=f.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=f,this.isInline=d,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class a{static create(e){let{isHost:t,type:o,isComponent:i,selector:u,exportAs:s,changeDetection:c,inputs:l,outputs:p,host:f,providers:d,viewProviders:h,queries:g,guards:m,viewQueries:y,entryComponents:D,template:E,componentViewType:C,rendererType:b,componentFactory:v}=e;const A={},F={},x={};null!=f&&Object.keys(f).forEach((e=>{const t=f[e],n=e.match(r);null===n?x[e]=t:null!=n[1]?F[n[1]]=t:null!=n[2]&&(A[n[2]]=t)}));const S={};null!=l&&l.forEach((e=>{const t=n.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));const w={};return null!=p&&p.forEach((e=>{const t=n.splitAtColon(e,[e,e]);w[t[0]]=t[1]})),new a({isHost:t,type:o,isComponent:!!i,selector:u,exportAs:s,changeDetection:c,inputs:S,outputs:w,hostListeners:A,hostProperties:F,hostAttributes:x,providers:d,viewProviders:h,queries:g,guards:m,viewQueries:y,entryComponents:D,template:E,componentViewType:C,rendererType:b,componentFactory:v})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:o,exportAs:i,changeDetection:u,inputs:s,outputs:a,hostListeners:l,hostProperties:p,hostAttributes:f,providers:d,viewProviders:h,queries:g,guards:m,viewQueries:y,entryComponents:D,template:E,componentViewType:C,rendererType:b,componentFactory:v}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=o,this.exportAs=i,this.changeDetection=u,this.inputs=s,this.outputs=a,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=f,this.providers=c(d),this.viewProviders=c(h),this.queries=c(g),this.guards=m,this.viewQueries=c(y),this.entryComponents=c(D),this.template=E,this.componentViewType=C,this.rendererType=b,this.componentFactory=v}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}e.CompileDirectiveMetadata=a;e.CompilePipeMetadata=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:o,declaredPipes:i,exportedPipes:u,entryComponents:s,bootstrapComponents:a,importedModules:l,exportedModules:p,schemas:f,transitiveModule:d,id:h}=e;this.type=t||null,this.declaredDirectives=c(r),this.exportedDirectives=c(o),this.declaredPipes=c(i),this.exportedPipes=c(u),this.providers=c(n),this.entryComponents=c(s),this.bootstrapComponents=c(a),this.importedModules=c(l),this.exportedModules=c(p),this.schemas=c(f),this.id=h||null,this.transitiveModule=d||null}toSummary(){const e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function c(e){return e||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function l(e){return e.reduce(((e,t)=>{const n=Array.isArray(t)?l(t):t;return e.concat(n)}),[])}function p(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:o,useFactory:i,deps:u,multi:s}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=o,this.useFactory=i||null,this.dependencies=u||null,this.multi=!!s}},e.flatten=l,e.templateSourceUrl=function(e,n,r){let o;return o=r.isInline?n.type.reference instanceof t.StaticSymbol?"".concat(n.type.reference.filePath,".").concat(n.type.reference.name,".html"):"".concat(u(e),"/").concat(u(n.type),".html"):r.templateUrl,n.type.reference instanceof t.StaticSymbol?o:p(o)},e.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return p("css/".concat(t).concat(r,".ngstyle.js"))},e.ngModuleJitUrl=function(e){return p("".concat(u(e.type),"/module.ngfactory.js"))},e.templateJitUrl=function(e,t){return p("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}}(nq),function(e){Object.defineProperty(e,"__esModule",{value:!0});
 /**
    * @license
    * Copyright Google Inc. All Rights Reserved.
@@ -52,4 +37,4 @@ Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(
    * Use of this source code is governed by an MIT-style license that can be
    * found in the LICENSE file at https://angular.io/license
    */
-class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const t=this.file.content,r=t.length;let o=this.offset,u=this.line,i=this.col;for(;o>0&&e<0;){o--,e++;if(t.charCodeAt(o)==OS.$LF){u--;const e=t.substr(0,o-1).lastIndexOf(String.fromCharCode(OS.$LF));i=e>0?o-e:o}else i--}for(;o<r&&e>0;){const n=t.charCodeAt(o);o++,e--,n==OS.$LF?(u++,i=0):i++}return new n(this.file,o,u,i)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let o=r,u=0,i=0;for(;u<e&&r>0&&(r--,u++,"\n"!=n[r]||++i!=t););for(u=0,i=0;u<e&&o<n.length-1&&(o++,u++,"\n"!=n[o]||++i!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,o+1)}}return null}}t.ParseLocation=n;class r{constructor(e,t){this.content=e,this.url=t}}t.ParseSourceFile=r;class o{constructor(e,t,n=null){this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var u;t.ParseSourceSpan=o,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new o(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(u=t.ParseErrorLevel||(t.ParseErrorLevel={}));t.ParseError=class{constructor(e,t,n=u.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(u[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},t.typeSourceSpan=function(e,t){const u=MS.identifierModuleUrl(t),i=null!=u?"in ".concat(e," ").concat(MS.identifierName(t)," in ").concat(u):"in ".concat(e," ").concat(MS.identifierName(t)),a=new r("",i);return new o(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,u){const i="in ".concat(e," ").concat(t," in ").concat(u),a=new r("",i);return new o(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}}));const{ParseSourceSpan:_S}=jS,{htmlTrim:RS,getLeadingAndTrailingHtmlWhitespace:VS,hasHtmlWhitespace:$S,canHaveInterpolation:qS,getNodeCssStyleDisplay:WS,isDanglingSpaceSensitiveNode:US,isIndentationSensitiveNode:JS,isLeadingSpaceSensitiveNode:zS,isTrailingSpaceSensitiveNode:GS,isWhitespaceSensitiveNode:HS}=PS,XS=[function(e){return e.map((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e}))},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(!n[r+1])if(n[r]){const e=o.prev,n=o.firstChild,r=new _S(e.sourceSpan.start,n.sourceSpan.end),u=new _S(r.start,o.sourceSpan.end);t.push(o.clone({condition:e.condition,sourceSpan:u,startSourceSpan:r,children:o.children.slice(1)}))}else t.push(o)}return e.clone({children:t})}}return e}))},function(e){return function(e,t,n){return e.map((e=>{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let o=0;o<e.children.length;o++){const u=e.children[o];if("text"!==u.type&&!r[o]){t.push(u);continue}const i="text"===u.type?u:u.clone({type:"text",value:n(u)});if(0===t.length||"text"!==t[t.length-1].type){t.push(i);continue}const a=t.pop();t.push(a.clone({value:a.value+i.value,sourceSpan:new _S(a.sourceSpan.start,i.sourceSpan.end)}))}return e.clone({children:t})}}return e}))}(e,(e=>"cdata"===e.type),(e=>"<![CDATA[".concat(e.value,"]]>")))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map((e=>{if(!qS(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,o=null;const u=r.value.split(n);for(let n=0;n<u.length;n++,e=o){const r=u[n];n%2!=0?(o=e.moveBy(r.length+4),t.push({type:"interpolation",sourceSpan:new _S(e,o),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new _S(e.moveBy(2),o.moveBy(-2))}]})):(o=e.moveBy(r.length),0!==r.length&&t.push({type:"text",value:r,sourceSpan:new _S(e,o)}))}}return e.clone({children:t})}))},function(e){const t="whitespace";return e.map((e=>{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===RS(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const n=HS(e),r=JS(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce(((e,r)=>{if("text"!==r.type||n)return e.concat(r);const o=[],{leadingWhitespace:u,text:i,trailingWhitespace:a}=VS(r.value);return u&&o.push({type:t}),i&&o.push({type:"text",value:i,sourceSpan:new _S(r.sourceSpan.start.moveBy(u.length),r.sourceSpan.end.moveBy(-a.length))}),a&&o.push({type:t}),e.concat(o)}),[]).reduce(((e,n,r,o)=>{if(n.type===t)return e;const u=0!==r&&o[r-1].type===t,i=r!==o.length-1&&o[r+1].type===t;return e.concat(Object.assign({},n,{hasLeadingSpaces:u,hasTrailingSpaces:i}))}),[])})}))},function(e,t){return e.map((e=>Object.assign(e,{cssDisplay:WS(e,t)})))},function(e){return e.map((e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})))},function(e,t){return e.map((e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})))},function(e,t){return e.map((e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:US(e)}):e.clone({children:e.children.map((e=>Object.assign({},e,{isLeadingSpaceSensitive:zS(e,t),isTrailingSpaceSensitive:GS(e,t)}))).map(((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})))}):e))},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!$S(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(n[r]){const n=t.pop(),u=e.children[++r],{isTrailingSpaceSensitive:i,hasTrailingSpaces:a}=u;t.push(n.clone({value:n.value+"<".concat(o.rawName,">")+o.firstChild.value+"</".concat(o.rawName,">")+u.value,sourceSpan:new _S(n.sourceSpan.start,u.sourceSpan.end),isTrailingSpaceSensitive:i,hasTrailingSpaces:a}))}else t.push(o)}return e.clone({children:t})}}return e}))}];var YS=function(e,t){for(const n of XS)e=n(e,t);return e};var KS={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};var QS={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{builders:{concat:ZS,group:ew}}=rn;var tw={isVueEventBindingExpression:function(e){const t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:o}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,o=e.match(t);if(!o)return;const u={};u.for=o[3].trim();const i=o[1].trim().replace(r,""),a=i.match(n);a?(u.alias=i.replace(n,""),u.iterator1=a[1].trim(),a[2]&&(u.iterator2=a[2].trim())):u.alias=i;return{left:"".concat([u.alias,u.iterator1,u.iterator2].filter(Boolean).join(",")),operator:o[2],right:u.for}}(e);return ZS([ew(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0},{stripTrailingHardline:!0})}},nw=je((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Me,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function o(t){var n,r=t.exec(e.substring(D));if(r)return n=r[0],D+=n.length,n}for(var u,i,a,s,l,c=e.length,p=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,f=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,D=0,y=[];;){if(o(d),D>=c)return y;u=o(f),i=[],","===u.slice(-1)?(u=u.replace(h,""),C()):E()}function E(){for(o(p),a="",s="in descriptor";;){if(l=e.charAt(D),"in descriptor"===s)if(r(l))a&&(i.push(a),a="",s="after descriptor");else{if(","===l)return D+=1,a&&i.push(a),void C();if("("===l)a+=l,s="in parens";else{if(""===l)return a&&i.push(a),void C();a+=l}}else if("in parens"===s)if(")"===l)a+=l,s="in descriptor";else{if(""===l)return i.push(a),void C();a+=l}else if("after descriptor"===s)if(r(l));else{if(""===l)return void C();s="in descriptor",D-=1}D+=1}}function C(){var t,r,o,a,s,l,c,p,d,f=!1,h={};for(a=0;a<i.length;a++)l=(s=i[a])[s.length-1],c=s.substring(0,s.length-1),p=parseInt(c,10),d=parseFloat(c),m.test(c)&&"w"===l?((t||r)&&(f=!0),0===p?f=!0:t=p):g.test(c)&&"x"===l?((t||r||o)&&(f=!0),d<0?f=!0:r=d):m.test(c)&&"h"===l?((o||r)&&(f=!0),0===p?f=!0:o=p):f=!0;f?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(h.url=u,t&&(h.w=t),r&&(h.d=r),o&&(h.h=o),y.push(h))}}}))}));const{builders:{concat:rw,ifBreak:ow,join:uw,line:iw}}=rn;var aw={printImgSrcset:function(e){const t=nw(e,{logger:{error(e){throw new Error(e)}}}),n=t.some((({w:e})=>e)),r=t.some((({h:e})=>e));if(n+r+t.some((({d:e})=>e))>1)throw new Error("Mixed descriptor in srcset is not supported");const o=n?"w":r?"h":"d",u=n?"w":r?"h":"x",i=e=>Math.max(...e),a=t.map((e=>e.url)),s=i(a.map((e=>e.length))),l=t.map((e=>e[o])).map((e=>e?e.toString():"")),c=l.map((e=>{const t=e.indexOf(".");return-1===t?e.length:t})),p=i(c);return uw(rw([",",iw]),a.map(((e,t)=>{const n=[e],r=l[t];if(r){const o=s-e.length+1,i=p-c[t],a=" ".repeat(o+i);n.push(ow(a," "),r+u)}return rw(n)})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:sw,utils:{mapDoc:lw,normalizeParts:cw}}=rn,{replaceEndOfLineWith:pw}=Nt,{print:dw}=XC,{breakParent:fw,dedentToRoot:hw,fill:mw,group:gw,hardline:Dw,ifBreak:yw,indent:Ew,join:Cw,line:bw,literalline:vw,softline:Aw}=sw,{htmlTrimPreserveIndentation:Fw,splitByHtmlWhitespace:xw,countChars:Sw,countParents:ww,dedentString:Tw,forceBreakChildren:Bw,forceBreakContent:Nw,forceNextEmptyLine:kw,getLastDescendant:Pw,getPrettierIgnoreAttributeCommentData:Ow,hasPrettierIgnore:Iw,inferScriptParser:Lw,isVueCustomBlock:Mw,isVueNonHtmlBlock:jw,isVueSlotAttribute:_w,isVueSfcBindingsAttribute:Rw,isScriptLikeTag:Vw,isTextLikeNode:$w,preferHardlineAsLeadingSpaces:qw,shouldNotPrintClosingTag:Ww,shouldPreserveContent:Uw,unescapeQuoteEntities:Jw,isPreLikeNode:zw}=PS,{insertPragma:Gw}=KS,{locStart:Hw,locEnd:Xw}=QS,{printVueFor:Yw,printVueBindings:Kw,isVueEventBindingExpression:Qw}=tw,{printImgSrcset:Zw,printClassNames:eT}=aw;function tT(e){const t=cw(e);return 0===t.length?"":1===t.length?t[0]:sw.concat(t)}function nT(e,t,n){const r=e.getValue();if(Bw(r))return tT([fw,tT(e.map((e=>{const t=e.getValue(),n=t.prev?i(t.prev,t):"";return tT([n?tT([n,kw(t.prev)?Dw:""]):"",u(e)])}),"children"))]);const o=r.children.map((()=>Symbol("")));return tT(e.map(((e,t)=>{const n=e.getValue();if($w(n)){if(n.prev&&$w(n.prev)){const t=i(n.prev,n);if(t)return kw(n.prev)?tT([Dw,Dw,u(e)]):tT([t,u(e)])}return u(e)}const r=[],a=[],s=[],l=[],c=n.prev?i(n.prev,n):"",p=n.next?i(n,n.next):"";return c&&(kw(n.prev)?r.push(Dw,Dw):c===Dw?r.push(Dw):$w(n.prev)?a.push(c):a.push(yw("",Aw,{groupId:o[t-1]}))),p&&(kw(n)?$w(n.next)&&l.push(Dw,Dw):p===Dw?$w(n.next)&&l.push(Dw):s.push(p)),tT([].concat(r,gw(tT([tT(a),gw(tT([u(e),tT(s)]),{id:o[t]})])),l))}),"children"));function u(e){const r=e.getValue();return Iw(r)?tT([].concat(gT(r,t),pw(t.originalText.slice(Hw(r)+(r.prev&&pT(r.prev)?ET(r).length:0),Xw(r)-(r.next&&fT(r.next)?vT(r,t).length:0)),vw),yT(r,t))):n(e)}function i(e,t){return $w(e)&&$w(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?qw(t)?Dw:bw:"":qw(t)?Dw:Aw:pT(e)&&(Iw(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&fT(t)?"":!t.isLeadingSpaceSensitive||qw(t)||fT(t)&&e.lastChild&&mT(e.lastChild)&&e.lastChild.lastChild&&mT(e.lastChild.lastChild)?Dw:t.hasLeadingSpaces?bw:Aw}}function rT(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&dT(e.firstChild)&&(n-=CT(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&mT(e.lastChild)?r+=bT(e,t).length:hT(e)&&(r-=vT(e.lastChild,t).length),t.originalText.slice(n,r)}function oT(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const o=r.prev&&"comment"===r.prev.type&&Ow(r.prev.value),u="boolean"==typeof o?()=>o:Array.isArray(o)?e=>o.includes(e.rawName):()=>!1,i=e.map((e=>{const r=e.getValue();return u(r)?tT(pw(t.originalText.slice(Hw(r),Xw(r)),vw)):n(e)}),"attrs"),a="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,s=[Ew(tT([a?" ":bw,Cw(bw,i)]))];return r.firstChild&&dT(r.firstChild)||r.isSelfClosing&&hT(r.parent)||a?s.push(r.isSelfClosing?" ":""):s.push(r.isSelfClosing?bw:Aw),tT(s)}function uT(e,t,n){const r=e.getValue();return tT([iT(r,t),oT(e,t,n),r.isSelfClosing?"":aT(r)])}function iT(e,t){return e.prev&&pT(e.prev)?"":tT([gT(e,t),ET(e)])}function aT(e){return e.firstChild&&dT(e.firstChild)?"":CT(e)}function sT(e,t){return tT([e.isSelfClosing?"":lT(e,t),cT(e,t)])}function lT(e,t){return e.lastChild&&mT(e.lastChild)?"":tT([DT(e,t),bT(e,t)])}function cT(e,t){return(e.next?fT(e.next):hT(e.parent))?"":tT([vT(e,t),yT(e,t)])}function pT(e){return e.next&&!$w(e.next)&&$w(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function dT(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function fT(e){return e.prev&&"docType"!==e.prev.type&&!$w(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function hT(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!$w(Pw(e.lastChild))&&!zw(e)}function mT(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&$w(Pw(e))}function gT(e,t){return dT(e)?CT(e.parent):fT(e)?vT(e.prev,t):""}function DT(e,t){return hT(e)?vT(e.lastChild,t):""}function yT(e,t){return mT(e)?bT(e.parent,t):pT(e)?ET(e.next):""}function ET(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function CT(e){switch(Xi(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function bT(e,t){if(Xi(!e.isSelfClosing),Ww(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function vT(e,t){if(Ww(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function AT(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?pw(t,vw):pw(Tw(Fw(t)),Dw):Cw(bw,xw(t)).parts}var FT={preprocess:YS,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return tT(pw(r.raw,vw));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),sw.concat([gw(nT(e,t,n)),Dw]);case"element":case"ieConditionalComment":{if(Uw(r,t))return tT([].concat(gT(r,t),gw(uT(e,t,n)),pw(rT(r,t),vw),sT(r,t),yT(r,t)));const u=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return tT([gw(tT([gw(uT(e,t,n),{id:i}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?bw:"":tT([Nw(r)?fw:"",(o=tT([u?yw(Aw,"",{groupId:i}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?bw:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?hw(Aw):Aw,nT(e,t,n)]),u?yw(Ew(o),o,{groupId:i}):!Vw(r)&&!Mw(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?Ew(o):o),(r.next?fT(r.next):hT(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":u?yw(Aw,"",{groupId:i}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?bw:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*ww(e,(e=>e.parent&&"root"!==e.parent.type)),"}$")).test(r.lastChild.value)?"":Aw])])),sT(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return tT([iT(r),cT(r)]);case"interpolation":return tT([iT(r,t),tT(e.map(n,"children")),cT(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return tT([tT(pw(n,vw)),t?Dw:""])}return mw(cw([].concat(gT(r,t),AT(r),yT(r,t))));case"docType":return tT([gw(tT([iT(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),cT(r,t)]);case"comment":return tT([gT(r,t),tT(pw(t.originalText.slice(Hw(r),Xw(r)),vw)),yT(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=Jw(r.value),t=Sw(e,"'")<Sw(e,'"')?"'":'"';return tT([r.rawName,tT(["=",t,tT(pw('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;"),vw)),t])])}default:throw new Error("Unexpected node type ".concat(r.type))}var o},insertPragma:Gw,massageAstNode:Zx,embed:function(e,t,n,r){const o=e.getValue();switch(o.type){case"element":if(Vw(o)||"interpolation"===o.type)return;if(!o.isSelfClosing&&jw(o,r)){const u=Lw(o,r);if(!u)return;const i=rT(o,r);let a=/^\s*$/.test(i),s="";return a||(s=n(Fw(i),{parser:u},{stripTrailingHardline:!0}),a=""===s),tT([gT(o,r),gw(uT(e,r,t)),a?"":Dw,s,a?"":Dw,sT(o,r),yT(o,r)])}break;case"text":if(Vw(o.parent)){const e=Lw(o.parent);if(e){const t="markdown"===e?Tw(o.value.replace(/^[^\S\n]*?\n/,"")):o.value,u={parser:e};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=o.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),u.__babelSourceType=e}return sw.concat([tT([fw,gT(o,r),n(t,u,{stripTrailingHardline:!0}),yT(o,r)])])}}else if("interpolation"===o.parent.type)return tT([Ew(tT([bw,n(o.value,Object.assign({__isInHtmlInterpolation:!0},"angular"===r.parser?{parser:"__ng_interpolation",trailingComma:"none"}:"vue"===r.parser?{parser:"__vue_expression"}:{parser:"__js_expression"}),{stripTrailingHardline:!0})])),o.parent.next&&fT(o.parent.next)?" ":bw]);break;case"attribute":{if(!o.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return tT([o.rawName,"=",o.value]);if("lwc"===r.parser){if(/^{[\S\s]*}$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return tT([o.rawName,"=",o.value])}const e=function(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),o=()=>Jw(e.value);let u=!1;const i=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(u=!0)},a=e=>gw(e),s=(e,t=!0)=>gw(tT([Ew(tT([Aw,e])),t?Aw:""])),l=e=>u?a(e):s(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:i},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return s(Zw(o()));if("class"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return eT(e)}if("style"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return s(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return Yw(o(),c);if(_w(e)||Rw(e,n))return Kw(o(),c);const t=["^:","^v-bind:"],u=["^v-"];if(r(["^@","^v-on:"])){const e=o();return l(c(e,{parser:Qw(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(o(),{parser:"__vue_expression"}));if(r(u))return l(c(o(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],i=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(o(),{parser:"__ng_action"}));if(r(u))return l(t(o(),{parser:"__ng_binding"}));if(r(i)){const t=o().trim();return s(mw(AT(e,t)),!t.includes("@@"))}if(r(n))return l(t(o(),{parser:"__ng_directive"}));const a=/{{([\S\s]+?)}}/g,p=o();if(a.test(p)){const e=[];return p.split(a).forEach(((n,r)=>{if(r%2==0)e.push(tT(pw(n,vw)));else try{e.push(gw(tT(["{{",Ew(tT([bw,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),bw,"}}"])))}catch(t){e.push("{{",tT(pw(n,vw)),"}}")}})),gw(tT(e))}}return null}(o,((e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0})),r);if(e)return tT([o.rawName,'="',gw(lw(e,(e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e))),'"']);break}case"front-matter":return dw(o,n)}}};var xT={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."}},ST={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],languageId:146},wT={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391};var TT={languages:[xs(ST,(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),xs(ST,(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])}))),xs(ST,(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),xs(wT,(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],printers:{html:FT},options:xT,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}};var BT={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}};var NT={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:kT}=Nt;function PT(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function OT(e){return"prettier-ignore"===e.value.trim()}function IT(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function LT(e){return e&&e.middleComments&&0!==e.middleComments.length}function MT(e){return e&&e.indicatorComment}function jT(e){return e&&e.trailingComment}function _T(e){return e&&e.endComments&&0!==e.endComments.length}function RT(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var VT={getLast:kT,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let o=0;o<r;o++){const r=e.stack[o];PT(r)&&t(r)&&n++}return n},isNode:PT,isEmptyNode:function(e){return!(e.children&&0!==e.children.length||function(e){return IT(e)||LT(e)||MT(e)||jT(e)||_T(e)}(e))},mapNode:function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map((r=>e(r,n,t)))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let o=e.position.end.offset-1;o<r;o++){const e=t[o];if("\n"===e&&n++,1===n&&/\S/.test(e))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}const t=e.stack.length;for(let n=1;n<t;n++){const t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&"number"==typeof t&&t!==r.length-1)return!1}return!0},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){const o=e.position.start.line===e.position.end.line?"":r.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],u=null===e.indent?(i=o.match(/^( *)\S/m))?i[1].length:1/0:e.indent-1+t;var i;const a=o.split("\n").map((e=>e.slice(u)));return"preserve"===r.proseWrap||"blockLiteral"===e.type?s(a.map((e=>0===e.length?[]:[e]))):s(a.map((e=>0===e.length?[]:RT(e))).reduce(((e,t,n)=>0===n||0===a[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(kT(e))?e.concat([t]):e.concat([e.pop().concat(t)])),[]).map((e=>e.reduce(((e,t)=>0!==e.length&&/\s$/.test(kT(e))?e.concat(e.pop()+" "+t):e.concat(t)),[]))).map((e=>"never"===r.proseWrap?[e.join(" ")]:e)));function s(t){if("keep"===e.chomping)return 0===kT(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map(((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?r.map((e=>0===e.length?[]:[e])):r.map((e=>0===e.length?[]:RT(e))).reduce(((t,n,o)=>0===o||0===r[o-1].length||0===n.length||"quoteDouble"===e&&kT(kT(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)])),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(kT(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return _T(t.head)&&OT(kT(t.head.endComments))}return IT(t)&&OT(kT(t.leadingComments))},hasLeadingComments:IT,hasMiddleComments:LT,hasIndicatorComment:MT,hasTrailingComment:jT,hasEndComments:_T};const $T=rn.builders,{conditionalGroup:qT,breakParent:WT,concat:UT,dedent:JT,dedentToRoot:zT,fill:GT,group:HT,hardline:XT,ifBreak:YT,join:KT,line:QT,lineSuffix:ZT,literalline:eB,markAsRoot:tB,softline:nB}=$T,{replaceEndOfLineWith:rB,isPreviousLineEmpty:oB}=Nt,{insertPragma:uB,isPragma:iB}=BT,{locStart:aB}=NT,{getAncestorCount:sB,getBlockValueLineContents:lB,getFlowScalarLineContents:cB,getLast:pB,getLastDescendantNode:dB,hasLeadingComments:fB,hasMiddleComments:hB,hasIndicatorComment:mB,hasTrailingComment:gB,hasEndComments:DB,hasPrettierIgnore:yB,isLastDescendantNode:EB,isNextLineEmpty:CB,isNode:bB,isEmptyNode:vB,defineShortcut:AB,mapNode:FB}=VT;function xB(e){switch(e.type){case"document":AB(e,"head",(()=>e.children[0])),AB(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":AB(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":AB(e,"key",(()=>e.children[0])),AB(e,"value",(()=>e.children[1]))}return e}function SB(e,t,n,r,o){switch(e.type){case"root":return UT([KT(XT,n.map(((t,r)=>{const u=e.children[r],i=e.children[r+1];return UT([o(t),NB(u,i)?UT([XT,"...",gB(u)?UT([" ",n.call(o,"trailingComment")]):""]):!i||gB(i.head)?"":UT([XT,"---"])])}),"children")),0===e.children.length||(i=dB(e),bB(i,["blockLiteral","blockFolded"])&&"keep"===i.chomping)?"":XT]);case"document":{const u=t.children[n.getName()+1];return KT(XT,["head"===kB(e,u,t,r)?KT(XT,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(o,"head"),UT(["---",gB(e.head)?UT([" ",n.call(o,"head","trailingComment")]):""])].filter(Boolean)):"",BB(e)?n.call(o,"body"):""].filter(Boolean))}case"documentHead":return KT(XT,[].concat(n.map(o,"children"),n.map(o,"endComments")));case"documentBody":{const t=KT(XT,n.map(o,"children")).parts,r=KT(XT,n.map(o,"endComments")).parts,u=0===t.length||0===r.length?"":(e=>bB(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":UT([XT,XT]):XT)(dB(e));return UT([].concat(t,u,r))}case"directive":return UT(["%",KT(" ",[e.name].concat(e.parameters))]);case"comment":return UT(["#",e.value]);case"alias":return UT(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return UT(["&",e.value]);case"plain":return jB(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',o=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&o.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(o)){const u="quoteDouble"===e.type?n:t;return UT([u,jB(e.type,o,r),u])}if(o.includes(n))return UT([t,jB(e.type,"quoteDouble"===e.type?o.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):o,r),t]);if(o.includes(t))return UT([n,jB(e.type,"quoteSingle"===e.type?o.replace(/''/g,t):o,r),n]);const u=r.singleQuote?t:n;return UT([u,jB(e.type,o,r),u])}case"blockFolded":case"blockLiteral":{const t=sB(n,(e=>bB(e,["sequence","mapping"]))),u=EB(n);return UT(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",mB(e)?UT([" ",n.call(o,"indicatorComment")]):"",(null===e.indent?JT:zT)(wB(null===e.indent?r.tabWidth:e.indent-1+t,UT(lB(e,{parentIndent:t,isLastDescendant:u,options:r}).reduce(((t,n,r,o)=>t.concat(0===r?XT:"",GT(KT(QT,n).parts),r!==o.length-1?0===n.length?XT:tB(eB):"keep"===e.chomping&&u?0===n.length?zT(XT):zT(eB):"")),[]))))])}case"sequence":return KT(XT,n.map(o,"children"));case"sequenceItem":return UT(["- ",wB(2,e.content?n.call(o,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(o,"content"):"";case"mapping":return KT(XT,n.map(o,"children"));case"mappingItem":case"flowMappingItem":{const u=vB(e.key),i=vB(e.value);if(u&&i)return UT([": "]);const s=n.call(o,"key"),l=n.call(o,"value");if(i)return"flowMappingItem"===e.type&&"flowMapping"===t.type?s:"mappingItem"!==e.type||!PB(e.key.content,r)||gB(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?UT(["? ",wB(2,s)]):UT([s,OB(e)?" ":"",":"]);if(u)return UT([": ",wB(2,l)]);const c=Symbol("mappingKey");return fB(e.value)||!TB(e.key.content)?UT(["? ",wB(2,s),XT,KT("",n.map(o,"value","leadingComments").map((e=>UT([e,XT])))),": ",wB(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||fB(e.key.content)||hB(e.key.content)||gB(e.key.content)||DB(e.key)||fB(e.value.content)||hB(e.value.content)||DB(e.value)||!PB(e.value.content,r)?qT([UT([HT(UT([YT("? "),HT(wB(2,s),{id:c})])),YT(UT([XT,": ",wB(2,l)]),a(UT([OB(e)?" ":"",":",fB(e.value.content)||DB(e.value)&&e.value.content&&!bB(e.value.content,["mapping","sequence"])||"mapping"===t.type&&gB(e.key.content)&&TB(e.value.content)||bB(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?XT:e.value.content?QT:"",l])),{groupId:c})])]):UT([s,OB(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",i="flowMapping"===e.type?"}":"]",s="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?QT:nB,l=0!==e.children.length&&("flowMappingItem"===(u=pB(e.children)).type&&vB(u.key)&&vB(u.value)),c="none"===r.trailingComma?"":YT(",","");return UT([t,a(UT([s,UT(n.map(((t,n)=>UT([o(t),n===e.children.length-1?"":UT([",",QT,e.children[n].position.start.line!==e.children[n+1].position.start.line?MB(t,r.originalText):""])])),"children")),c,DB(e)?UT([XT,KT(XT,n.map(o,"endComments"))]):""])),l?"":s,i])}case"flowSequenceItem":return n.call(o,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var u,i;function a(e){return $T.align(" ".repeat(r.tabWidth),e)}}function wB(e,t){return"number"==typeof e&&e>0?$T.align(" ".repeat(e),t):$T.align(e,t)}function TB(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function BB(e){return 0!==e.body.children.length||DB(e.body)}function NB(e,t){return gB(e)||t&&(0!==t.head.children.length||DB(t.head))}function kB(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(aB(e),aB(e)+4))||0!==e.head.children.length||DB(e.head)||gB(e.head)?"head":!NB(e,t)&&(!!t&&"root")}function PB(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function OB(e){return e.key.content&&"alias"===e.key.content.type}function IB(e){return DB(e)&&!bB(e,["documentHead","documentBody","flowMapping","flowSequence"])}const LB=new WeakMap;function MB(e,t){const n=e.getValue(),r=e.stack[0];let o;return LB.has(r)?o=LB.get(r):(o=new Set,LB.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!CB(n,t)||IB(e.getParentNode()))?"":nB}function jB(e,t,n){const r=cB(e,t,n);return KT(XT,r.map((e=>GT(KT(QT,e).parts))))}var _B={preprocess:function(e){return FB(e,xB)},print:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),u=r.tag?e.call(n,"tag"):"",i=r.anchor?e.call(n,"anchor"):"",a=bB(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!EB(e)?MB(e,t.originalText):"";return UT(["mappingValue"!==r.type&&fB(r)?UT([KT(XT,e.map(n,"leadingComments")),XT]):"",u,u&&i?" ":"",i,u||i?bB(r,["sequence","mapping"])&&!hB(r)?XT:" ":"",hB(r)?UT([1===r.middleComments.length?"":XT,KT(XT,e.map(n,"middleComments")),XT]):"",yB(e)?UT(rB(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),eB)):HT(SB(r,o,e,t,n)),gB(r)&&!bB(r,["document","documentHead"])?ZT(UT(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===o.type&&"mapping"===e.getParentNode(2).type&&TB(r)?"":WT,e.call(n,"trailingComment")])):"",IB(r)?wB("sequenceItem"===r.type?2:0,UT([XT,KT(XT,e.map((e=>UT([oB(t.originalText,e.getValue(),aB)?XT:"",n(e)])),"endComments"))])):"",a])},massageAstNode:function(e,t){if(bB(t))switch(delete t.position,t.type){case"comment":if(iB(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:uB},RB={bracketSpacing:kC.bracketSpacing,singleQuote:kC.singleQuote,proseWrap:kC.proseWrap};var VB=[VC,Uv,YA,DF,Xx,TT,{languages:[xs({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter((e=>"yarn.lock"!==e))})))],printers:{yaml:_B},options:RB,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:$B}=n,{getSupportInfo:qB}=pt,WB=VB.map((t=>e(t,["parsers"])));function UB(e,t=1){return(...n)=>{const r=n[t]||{},o=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...WB,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}const JB=UB(es.formatWithCursor);var zB={formatWithCursor:JB,format:(e,t)=>JB(e,t).formatted,check(e,t){const{formatted:n}=JB(e,t);return n===e},doc:rn,getSupportInfo:UB(qB,0),version:$B,util:Fs,__debug:{parse:UB(es.parse),formatAST:UB(es.formatAST),formatDoc:UB(es.formatDoc),printToDoc:UB(es.printToDoc),printDocToString:UB(es.printDocToString)}};export default zB;
+const t=tq,n=nq;class r{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const n=this.file.content,o=n.length;let i=this.offset,u=this.line,s=this.col;for(;i>0&&e<0;){i--,e++;if(n.charCodeAt(i)==t.$LF){u--;const e=n.substr(0,i-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?i-e:i}else s--}for(;i<o&&e>0;){const r=n.charCodeAt(i);i++,e--,r==t.$LF?(u++,s=0):s++}return new r(this.file,i,u,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let o=r,i=0,u=0;for(;i<e&&r>0&&(r--,i++,"\n"!=n[r]||++u!=t););for(i=0,u=0;i<e&&o<n.length-1&&(o++,i++,"\n"!=n[o]||++u!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,o+1)}}return null}}e.ParseLocation=r;class o{constructor(e,t){this.content=e,this.url=t}}e.ParseSourceFile=o;class i{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var u;e.ParseSourceSpan=i,e.EMPTY_PARSE_LOCATION=new r(new o("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new i(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(u=e.ParseErrorLevel||(e.ParseErrorLevel={}));e.ParseError=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(u[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},e.typeSourceSpan=function(e,t){const u=n.identifierModuleUrl(t),s=null!=u?"in ".concat(e," ").concat(n.identifierName(t)," in ").concat(u):"in ".concat(e," ").concat(n.identifierName(t)),a=new o("",s);return new i(new r(a,-1,-1,-1),new r(a,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,n){const u="in ".concat(e," ").concat(t," in ").concat(n),s=new o("",u);return new i(new r(s,-1,-1,-1),new r(s,-1,-1,-1))}}(eq);const{ParseSourceSpan:mq}=eq,yq=su,{htmlTrim:Dq,getLeadingAndTrailingHtmlWhitespace:Eq,hasHtmlWhitespace:Cq,canHaveInterpolation:bq,getNodeCssStyleDisplay:vq,isDanglingSpaceSensitiveNode:Aq,isIndentationSensitiveNode:Fq,isLeadingSpaceSensitiveNode:xq,isTrailingSpaceSensitiveNode:Sq,isWhitespaceSensitiveNode:wq}=ZW,Tq=[function(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;e.setChildren(1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n])}}))},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(!n[r+1])if(n[r]){const e=o.prev,n=o.firstChild,r=new mq(e.sourceSpan.start,n.sourceSpan.end),i=new mq(r.start,o.sourceSpan.end);t.push(o.clone({condition:e.condition,sourceSpan:i,startSourceSpan:r,children:o.children.slice(1)}))}else t.push(o)}e.setChildren(t)}}}))},function(e){return function(e,t,n){e.walk((e=>{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let o=0;o<e.children.length;o++){const i=e.children[o];if("text"!==i.type&&!r[o]){t.push(i);continue}const u="text"===i.type?i:i.clone({type:"text",value:n(i)});if(0===t.length||"text"!==yq(t).type){t.push(u);continue}const s=t.pop();t.push(s.clone({value:s.value+u.value,sourceSpan:new mq(s.sourceSpan.start,u.sourceSpan.end)}))}e.setChildren(t)}}}))}(e,(e=>"cdata"===e.type),(e=>"<![CDATA[".concat(e.value,"]]>")))},function(e,t){if("html"===t.parser)return;const n=/{{(.+?)}}/s;e.walk((e=>{if(!bq(e))return;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,o=null;const i=r.value.split(n);for(let n=0;n<i.length;n++,e=o){const r=i[n];n%2!=0?(o=e.moveBy(r.length+4),t.push({type:"interpolation",sourceSpan:new mq(e,o),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new mq(e.moveBy(2),o.moveBy(-2))}]})):(o=e.moveBy(r.length),r.length>0&&t.push({type:"text",value:r,sourceSpan:new mq(e,o)}))}}e.setChildren(t)}))},function(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===Dq(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);const t=wq(e),n=Fq(e);e.setChildren(e.children.flatMap((e=>{if("text"!==e.type||t)return e;const n=[],{leadingWhitespace:r,text:o,trailingWhitespace:i}=Eq(e.value);return r&&n.push(Bq),o&&n.push({type:"text",value:o,sourceSpan:new mq(e.sourceSpan.start.moveBy(r.length),e.sourceSpan.end.moveBy(-i.length))}),i&&n.push(Bq),n})).map(((e,t,n)=>{if(e!==Bq)return Object.assign(Object.assign({},e),{},{hasLeadingSpaces:n[t-1]===Bq,hasTrailingSpaces:n[t+1]===Bq})})).filter(Boolean)),e.isWhitespaceSensitive=t,e.isIndentationSensitive=n}))},function(e,t){e.walk((e=>Object.assign(e,{cssDisplay:vq(e,t)})))},function(e){e.walk((e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})))},function(e,t){e.walk((e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})))},function(e,t){e.walk((e=>{e.children&&(0!==e.children.length?e.setChildren(e.children.map((e=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:xq(e,t),isTrailingSpaceSensitive:Sq(e,t)}))).map(((e,t,n)=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})))):e.isDanglingSpaceSensitive=Aq(e))}))},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!Cq(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const o=e.children[r];if(n[r]){const n=t.pop(),i=e.children[++r],{isTrailingSpaceSensitive:u,hasTrailingSpaces:s}=i;t.push(n.clone({value:n.value+"<".concat(o.rawName,">")+o.firstChild.value+"</".concat(o.rawName,">")+i.value,sourceSpan:new mq(n.sourceSpan.start,i.sourceSpan.end),isTrailingSpaceSensitive:u,hasTrailingSpaces:s}))}else t.push(o)}e.setChildren(t)}}}))}];const Bq={type:"whitespace"};var Nq=function(e,t){const n=e.map((e=>e));for(const e of Tq)e(n,t);return n};var kq={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};var Pq={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const Oq=Ey,{isNonEmptyArray:Iq}=ic,{builders:{indent:Lq,join:jq,line:_q,softline:Mq},utils:{replaceTextEndOfLine:Rq}}=Gc,{locStart:Vq,locEnd:$q}=Pq,{isTextLikeNode:Wq,getLastDescendant:qq,isPreLikeNode:Uq,hasPrettierIgnore:Gq,shouldPreserveContent:zq}=ZW;function Hq(e,t){return e.lastChild&&nU(e.lastChild)?"":[Xq(e,t),Kq(e,t)]}function Jq(e,t){return(e.next?eU(e.next):tU(e.parent))?"":[Qq(e,t),Yq(e,t)]}function Xq(e,t){return tU(e)?Qq(e.lastChild,t):""}function Yq(e,t){return nU(e)?Kq(e.parent,t):rU(e)?cU(e.next):""}function Kq(e,t){if(Oq(!e.isSelfClosing),Zq(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function Qq(e,t){if(Zq(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Zq(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Gq(e)||zq(e.parent,t))}function eU(e){return e.prev&&"docType"!==e.prev.type&&!Wq(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function tU(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Wq(qq(e.lastChild))&&!Uq(e)}function nU(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Wq(qq(e))}function rU(e){return e.next&&!Wq(e.next)&&Wq(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function oU(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function iU(e,t,n){const r=e.getValue();if(!Iq(r.attrs))return r.isSelfClosing?" ":"";const o=r.prev&&"comment"===r.prev.type&&function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(r.prev.value),i="boolean"==typeof o?()=>o:Array.isArray(o)?e=>o.includes(e.rawName):()=>!1,u=e.map((e=>{const r=e.getValue();return i(r)?Rq(t.originalText.slice(Vq(r),$q(r))):n()}),"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[Lq([s?" ":_q,jq(_q,u)])];return r.firstChild&&oU(r.firstChild)||r.isSelfClosing&&tU(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(t.bracketSameLine?r.isSelfClosing?" ":"":r.isSelfClosing?_q:Mq),a}function uU(e){return e.firstChild&&oU(e.firstChild)?"":lU(e)}function sU(e,t){return e.prev&&rU(e.prev)?"":[aU(e,t),cU(e)]}function aU(e,t){return oU(e)?lU(e.parent):eU(e)?Qq(e.prev,t):""}function cU(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function lU(e){switch(Oq(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}var pU={printClosingTag:function(e,t){return[e.isSelfClosing?"":Hq(e,t),Jq(e,t)]},printClosingTagStart:Hq,printClosingTagStartMarker:Kq,printClosingTagEndMarker:Qq,printClosingTagSuffix:Yq,printClosingTagEnd:Jq,needsToBorrowLastChildClosingTagEndMarker:tU,needsToBorrowParentClosingTagStartMarker:nU,needsToBorrowPrevClosingTagEndMarker:eU,printOpeningTag:function(e,t,n){const r=e.getValue();return[sU(r,t),iU(e,t,n),r.isSelfClosing?"":uU(r)]},printOpeningTagStart:sU,printOpeningTagPrefix:aU,printOpeningTagStartMarker:cU,printOpeningTagEndMarker:lU,needsToBorrowNextOpeningTagStartMarker:rU,needsToBorrowParentOpeningTagEndMarker:oU},fU={exports:{}};!function(t){var n,r;n=e,r=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function o(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var i,u,s,a,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,g=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,D=[];;){if(o(f),y>=l)return D;i=o(d),u=[],","===i.slice(-1)?(i=i.replace(h,""),C()):E()}function E(){for(o(p),s="",a="in descriptor";;){if(c=e.charAt(y),"in descriptor"===a)if(r(c))s&&(u.push(s),s="",a="after descriptor");else{if(","===c)return y+=1,s&&u.push(s),void C();if("("===c)s+=c,a="in parens";else{if(""===c)return s&&u.push(s),void C();s+=c}}else if("in parens"===a)if(")"===c)s+=c,a="in descriptor";else{if(""===c)return u.push(s),void C();s+=c}else if("after descriptor"===a)if(r(c));else{if(""===c)return void C();a="in descriptor",y-=1}y+=1}}function C(){var t,r,o,s,a,c,l,p,f,d=!1,h={};for(s=0;s<u.length;s++)c=(a=u[s])[a.length-1],l=a.substring(0,a.length-1),p=parseInt(l,10),f=parseFloat(l),g.test(l)&&"w"===c?((t||r)&&(d=!0),0===p?d=!0:t=p):m.test(l)&&"x"===c?((t||r||o)&&(d=!0),f<0?d=!0:r=f):g.test(l)&&"h"===c?((o||r)&&(d=!0),0===p?d=!0:o=p):d=!0;d?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(h.url=i,t&&(h.w=t),r&&(h.d=r),o&&(h.h=o),D.push(h))}}},t.exports?t.exports=r():n.parseSrcset=r()}(fU);const dU=fU.exports,{builders:{ifBreak:hU,join:gU,line:mU}}=Gc;var yU={printImgSrcset:function(e){const t=dU(e,{logger:{error(e){throw new Error(e)}}}),n=t.some((e=>{let{w:t}=e;return t})),r=t.some((e=>{let{h:t}=e;return t}));if(n+r+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");const o=n?"w":r?"h":"d",i=n?"w":r?"h":"x",u=e=>Math.max(...e),s=t.map((e=>e.url)),a=u(s.map((e=>e.length))),c=t.map((e=>e[o])).map((e=>e?e.toString():"")),l=c.map((e=>{const t=e.indexOf(".");return-1===t?e.length:t})),p=u(l);return gU([",",mU],s.map(((e,t)=>{const n=[e],r=c[t];if(r){const o=a-e.length+1,u=p-l[t],s=" ".repeat(o+u);n.push(hU(s," "),r+i)}return n})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:{group:DU}}=Gc;var EU={isVueEventBindingExpression:function(e){const t=e.trim();return/^(?:[\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:o}=function(e){const t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,o=e.match(t);if(!o)return;const i={};i.for=o[3].trim();const u=o[1].trim().replace(r,""),s=u.match(n);s?(i.alias=u.replace(n,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=u;return{left:"".concat([i.alias,i.iterator1,i.iterator2].filter(Boolean).join(",")),operator:o[2],right:i.for}}(e);return[DU(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}};const{needsToBorrowParentClosingTagStartMarker:CU,printClosingTagStartMarker:bU,needsToBorrowLastChildClosingTagEndMarker:vU,printClosingTagEndMarker:AU,needsToBorrowParentOpeningTagEndMarker:FU,printOpeningTagEndMarker:xU}=pU;var SU=function(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&FU(e.firstChild)&&(n-=xU(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&CU(e.lastChild)?r+=bU(e,t).length:vU(e)&&(r-=AU(e.lastChild,t).length),t.originalText.slice(n,r)};const{builders:{breakParent:wU,group:TU,hardline:BU,indent:NU,line:kU,fill:PU,softline:OU},utils:{mapDoc:IU,replaceTextEndOfLine:LU}}=Gc,jU=Bj,{printClosingTag:_U,printClosingTagSuffix:MU,needsToBorrowPrevClosingTagEndMarker:RU,printOpeningTagPrefix:VU,printOpeningTag:$U}=pU,{printImgSrcset:WU,printClassNames:qU}=yU,{printVueFor:UU,printVueBindings:GU,isVueEventBindingExpression:zU}=EU,{isScriptLikeTag:HU,isVueNonHtmlBlock:JU,inferScriptParser:XU,htmlTrimPreserveIndentation:YU,dedentString:KU,unescapeQuoteEntities:QU,isVueSlotAttribute:ZU,isVueSfcBindingsAttribute:eG,getTextValueParts:tG}=ZW,nG=SU;function rG(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),o=()=>QU(e.value);let i=!1;const u=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(i=!0)},s=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return TU([NU([OU,e]),t?OU:""])},a=e=>i?(e=>TU(e))(e):s(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:u,__embeddedInHtml:!0},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return s(WU(o()));if("class"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return qU(e)}if("style"===e.fullName&&!n.parentParser){const e=o();if(!e.includes("{{"))return s(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return UU(o(),c);if(ZU(e)||eG(e,n))return GU(o(),c);const t=["^:","^v-bind:"],i=["^v-"];if(r(["^@","^v-on:"])){const e=o();return a(c(e,{parser:zU(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return a(c(o(),{parser:"__vue_expression"}));if(r(i))return a(c(o(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),n=["^\\*"],i=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],u=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return a(t(o(),{parser:"__ng_action"}));if(r(i))return a(t(o(),{parser:"__ng_binding"}));if(r(u)){const t=o().trim();return s(PU(tG(e,t)),!t.includes("@@"))}if(r(n))return a(t(o(),{parser:"__ng_directive"}));const l=/{{(.+?)}}/s,p=o();if(l.test(p)){const e=[];for(const[n,r]of p.split(l).entries())if(n%2==0)e.push(LU(r));else try{e.push(TU(["{{",NU([kU,t(r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),kU,"}}"]))}catch{e.push("{{",LU(r),"}}")}return TU(e)}}return null}var oG=function(e,t,n,r){const o=e.getValue();switch(o.type){case"element":if(HU(o)||"interpolation"===o.type)return;if(!o.isSelfClosing&&JU(o,r)){const i=XU(o,r);if(!i)return;const u=nG(o,r);let s=/^\s*$/.test(u),a="";return s||(a=n(YU(u),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=""===a),[VU(o,r),TU($U(e,r,t)),s?"":BU,a,s?"":BU,_U(o,r),MU(o,r)]}break;case"text":if(HU(o.parent)){const e=XU(o.parent);if(e){const t="markdown"===e?KU(o.value.replace(/^[^\S\n]*?\n/,"")):o.value,i={parser:e,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=o.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),i.__babelSourceType=e}return[wU,VU(o,r),n(t,i,{stripTrailingHardline:!0}),MU(o,r)]}}else if("interpolation"===o.parent.type){const e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===r.parser?e.parser="__vue_expression":e.parser="__js_expression",[NU([kU,n(o.value,e,{stripTrailingHardline:!0})]),o.parent.next&&RU(o.parent.next)?" ":kU]}break;case"attribute":{if(!o.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return[o.rawName,"=",o.value];if("lwc"===r.parser){if(/^{.*}$/s.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return[o.rawName,"=",o.value]}const e=rG(o,((e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),r);if(e)return[o.rawName,'="',TU(IU(e,(e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e))),'"'];break}case"front-matter":return jU(o,n)}};const{builders:{breakParent:iG,group:uG,ifBreak:sG,line:aG,softline:cG,hardline:lG},utils:{replaceTextEndOfLine:pG}}=Gc,{locStart:fG,locEnd:dG}=Pq,{forceBreakChildren:hG,forceNextEmptyLine:gG,isTextLikeNode:mG,hasPrettierIgnore:yG,preferHardlineAsLeadingSpaces:DG}=ZW,{printOpeningTagPrefix:EG,needsToBorrowNextOpeningTagStartMarker:CG,printOpeningTagStartMarker:bG,needsToBorrowPrevClosingTagEndMarker:vG,printClosingTagEndMarker:AG,printClosingTagSuffix:FG,needsToBorrowParentClosingTagStartMarker:xG}=pU;function SG(e,t,n){const r=e.getValue();return yG(r)?[EG(r,t),...pG(t.originalText.slice(fG(r)+(r.prev&&CG(r.prev)?bG(r).length:0),dG(r)-(r.next&&vG(r.next)?AG(r,t).length:0))),FG(r,t)]:n()}function wG(e,t){return mG(e)&&mG(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?DG(t)?lG:aG:"":DG(t)?lG:cG:CG(e)&&(yG(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&vG(t)?"":!t.isLeadingSpaceSensitive||DG(t)||vG(t)&&e.lastChild&&xG(e.lastChild)&&e.lastChild.lastChild&&xG(e.lastChild.lastChild)?lG:t.hasLeadingSpaces?aG:cG}var TG={printChildren:function(e,t,n){const r=e.getValue();if(hG(r))return[iG,...e.map((e=>{const r=e.getValue(),o=r.prev?wG(r.prev,r):"";return[o?[o,gG(r.prev)?lG:""]:"",SG(e,t,n)]}),"children")];const o=r.children.map((()=>Symbol("")));return e.map(((e,r)=>{const i=e.getValue();if(mG(i)){if(i.prev&&mG(i.prev)){const r=wG(i.prev,i);if(r)return gG(i.prev)?[lG,lG,SG(e,t,n)]:[r,SG(e,t,n)]}return SG(e,t,n)}const u=[],s=[],a=[],c=[],l=i.prev?wG(i.prev,i):"",p=i.next?wG(i,i.next):"";return l&&(gG(i.prev)?u.push(lG,lG):l===lG?u.push(lG):mG(i.prev)?s.push(l):s.push(sG("",cG,{groupId:o[r-1]}))),p&&(gG(i)?mG(i.next)&&c.push(lG,lG):p===lG?mG(i.next)&&c.push(lG):a.push(p)),[...u,uG([...s,uG([SG(e,t,n),...a],{id:o[r]})]),...c]}),"children")}};const{builders:{breakParent:BG,dedentToRoot:NG,group:kG,ifBreak:PG,indentIfBreak:OG,indent:IG,line:LG,softline:jG},utils:{replaceTextEndOfLine:_G}}=Gc,MG=SU,{shouldPreserveContent:RG,isScriptLikeTag:VG,isVueCustomBlock:$G,countParents:WG,forceBreakContent:qG}=ZW,{printOpeningTagPrefix:UG,printOpeningTag:GG,printClosingTagSuffix:zG,printClosingTag:HG,needsToBorrowPrevClosingTagEndMarker:JG,needsToBorrowLastChildClosingTagEndMarker:XG}=pU,{printChildren:YG}=TG;var KG={printElement:function(e,t,n){const r=e.getValue();if(RG(r,t))return[UG(r,t),kG(GG(e,t,n)),..._G(MG(r,t)),...HG(r,t),zG(r,t)];const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),u=o=>kG([kG(GG(e,t,n),{id:i}),o,HG(r,t)]);return 0===r.children.length?u(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?LG:""):u([qG(r)?BG:"",(s=[o?PG(jG,"",{groupId:i}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?LG:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?NG(jG):jG,YG(e,t,n)],o?OG(s,{groupId:i}):!VG(r)&&!$G(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?IG(s):s),(r.next?JG(r.next):XG(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?PG(jG,"",{groupId:i}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?LG:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*WG(e,(e=>e.parent&&"root"!==e.parent.type)),"}$")).test(r.lastChild.value)?"":jG]);var s}};const{builders:{fill:QG,group:ZG,hardline:ez,literalline:tz},utils:{cleanDoc:nz,getDocParts:rz,isConcat:oz,replaceTextEndOfLine:iz}}=Gc,uz=fW,{countChars:sz,unescapeQuoteEntities:az,getTextValueParts:cz}=ZW,lz=Nq,{insertPragma:pz}=kq,{locStart:fz,locEnd:dz}=Pq,hz=oG,{printClosingTagSuffix:gz,printClosingTagEnd:mz,printOpeningTagPrefix:yz,printOpeningTagStart:Dz}=pU,{printElement:Ez}=KG,{printChildren:Cz}=TG;var bz={preprocess:lz,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return iz(r.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[ZG(Cz(e,t,n)),ez];case"element":case"ieConditionalComment":return Ez(e,t,n);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Dz(r),mz(r)];case"interpolation":return[Dz(r,t),...e.map(n,"children"),mz(r,t)];case"text":{if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return[...iz(n),t?ez:""]}const e=nz([yz(r,t),...cz(r),gz(r,t)]);return oz(e)||"fill"===e.type?QG(rz(e)):e}case"docType":return[ZG([Dz(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),mz(r,t)];case"comment":return[yz(r,t),...iz(t.originalText.slice(fz(r),dz(r)),tz),gz(r,t)];case"attribute":{if(null===r.value)return r.rawName;const e=az(r.value),t=sz(e,"'")<sz(e,'"')?"'":'"';return[r.rawName,"=",t,...iz('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;")),t]}default:throw new Error("Unexpected node type ".concat(r.type))}},insertPragma:pz,massageAstNode:uz,embed:hz};var vz={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},Az={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391};const Fz=fE,xz=bz,Sz={bracketSameLine:cj.bracketSameLine,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."}},wz=[Fz(vz,(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),Fz(vz,(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),Fz(vz,(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),Fz(Az,(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))];var Tz={languages:wz,printers:{html:xz},options:Sz,parsers:undefined};var Bz={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}};var Nz={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};var kz=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))};const{getLast:Pz,isNonEmptyArray:Oz}=ic;function Iz(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function Lz(e){return"prettier-ignore"===e.value.trim()}function jz(e){return e&&Oz(e.leadingComments)}function _z(e){return e&&Oz(e.middleComments)}function Mz(e){return e&&e.indicatorComment}function Rz(e){return e&&e.trailingComment}function Vz(e){return e&&Oz(e.endComments)}function $z(e){const t=[];let n;for(const r of e.split(/( +)/))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var Wz={getLast:Pz,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let o=0;o<r;o++){const r=e.stack[o];Iz(r)&&t(r)&&n++}return n},isNode:Iz,isEmptyNode:function(e){return!Oz(e.children)&&!function(e){return jz(e)||_z(e)||Mz(e)||Rz(e)||Vz(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,n,r){return n("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((r=>e(r,n,t)))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let o=e.position.end.offset-1;o<r;o++){const e=t[o];if("\n"===e&&n++,1===n&&/\S/.test(e))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}const t=e.stack.length;for(let n=1;n<t;n++){const t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&"number"==typeof t&&t!==r.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){let{parentIndent:n,isLastDescendant:r,options:o}=t;const i=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n(.*)$/s)[1],u=null===e.indent?(e=>e?e[1].length:Number.POSITIVE_INFINITY)(i.match(/^( *)\S/m)):e.indent-1+n,s=i.split("\n").map((e=>e.slice(u)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?a(s.map((e=>0===e.length?[]:[e]))):a(s.map((e=>0===e.length?[]:$z(e))).reduce(((e,t,n)=>0!==n&&s[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(Pz(e))?[...e.slice(0,-1),[...Pz(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(Pz(e))?[...e.slice(0,-1),Pz(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function a(t){if("keep"===e.chomping)return 0===Pz(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!r?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map(((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?r.map((e=>0===e.length?[]:[e])):r.map((e=>0===e.length?[]:$z(e))).reduce(((t,n,o)=>0!==o&&r[o-1].length>0&&n.length>0&&("quoteDouble"!==e||!Pz(Pz(t)).endsWith("\\"))?[...t.slice(0,-1),[...Pz(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return Oz(t.children)?e(Pz(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return Vz(t.head)&&Lz(Pz(t.head.endComments))}return jz(t)&&Lz(Pz(t.leadingComments))},hasLeadingComments:jz,hasMiddleComments:_z,hasIndicatorComment:Mz,hasTrailingComment:Rz,hasEndComments:Vz};const{defineShortcut:qz,mapNode:Uz}=Wz;function Gz(e){switch(e.type){case"document":qz(e,"head",(()=>e.children[0])),qz(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":qz(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":qz(e,"key",(()=>e.children[0])),qz(e,"value",(()=>e.children[1]))}return e}var zz=function(e){return Uz(e,Gz)};const{builders:{softline:Hz,align:Jz}}=Gc,{hasEndComments:Xz,isNextLineEmpty:Yz,isNode:Kz}=Wz,Qz=new WeakMap;function Zz(e){return Xz(e)&&!Kz(e,["documentHead","documentBody","flowMapping","flowSequence"])}var eH={alignWithSpaces:function(e,t){return Jz(" ".repeat(e),t)},shouldPrintEndComments:Zz,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let o;return Qz.has(r)?o=Qz.get(r):(o=new Set,Qz.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!Yz(n,t)||Zz(e.getParentNode()))?"":Hz}};const{builders:{ifBreak:tH,line:nH,softline:rH,hardline:oH,join:iH}}=Gc,{isEmptyNode:uH,getLast:sH,hasEndComments:aH}=Wz,{printNextEmptyLine:cH,alignWithSpaces:lH}=eH;function pH(e,t,n){const r=e.getValue(),o="flowMapping"===r.type,i=o?"{":"[",u=o?"}":"]";let s=rH;o&&r.children.length>0&&n.bracketSpacing&&(s=nH);const a=sH(r.children),c=a&&"flowMappingItem"===a.type&&uH(a.key)&&uH(a.value);return[i,lH(n.tabWidth,[s,fH(e,t,n),"none"===n.trailingComma?"":tH(","),aH(r)?[oH,iH(oH,e.map(t,"endComments"))]:""]),c?"":s,u]}function fH(e,t,n){const r=e.getValue();return e.map(((e,o)=>[t(),o===r.children.length-1?"":[",",nH,r.children[o].position.start.line!==r.children[o+1].position.start.line?cH(e,n.originalText):""]]),"children")}var dH={printFlowMapping:pH,printFlowSequence:pH};const{builders:{conditionalGroup:hH,group:gH,hardline:mH,ifBreak:yH,join:DH,line:EH}}=Gc,{hasLeadingComments:CH,hasMiddleComments:bH,hasTrailingComment:vH,hasEndComments:AH,isNode:FH,isEmptyNode:xH,isInlineNode:SH}=Wz,{alignWithSpaces:wH}=eH;function TH(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var BH=function(e,t,n,r,o){const{key:i,value:u}=e,s=xH(i),a=xH(u);if(s&&a)return": ";const c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!TH(i.content,o)||vH(i.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",wH(2,c)]:[c,l,":"];const p=r("value");if(s)return[": ",wH(2,p)];if(CH(u)||!SH(i.content))return["? ",wH(2,c),mH,DH("",n.map(r,"value","leadingComments").map((e=>[e,mH]))),": ",wH(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!CH(i.content)&&!bH(i.content)&&!vH(i.content)&&!AH(i)&&!CH(u.content)&&!bH(u.content)&&!AH(u)&&TH(u.content,o))return[c,l,": ",p];const f=Symbol("mappingKey"),d=gH([yH("? "),gH(wH(2,c),{id:f})]),h=[mH,": ",wH(2,p)],g=[l,":"];CH(u.content)||AH(u)&&u.content&&!FH(u.content,["mapping","sequence"])||"mapping"===t.type&&vH(i.content)&&SH(u.content)||FH(u.content,["mapping","sequence"])&&null===u.content.tag&&null===u.content.anchor?g.push(mH):u.content&&g.push(EH),g.push(p);const m=wH(o.tabWidth,g);return!TH(i.content,o)||CH(i.content)||bH(i.content)||AH(i)?hH([[d,yH(h,m,{groupId:f})]]):hH([[c,m]])};const{builders:{dedent:NH,dedentToRoot:kH,fill:PH,hardline:OH,join:IH,line:LH,literalline:jH,markAsRoot:_H},utils:{getDocParts:MH}}=Gc,{getAncestorCount:RH,getBlockValueLineContents:VH,hasIndicatorComment:$H,isLastDescendantNode:WH,isNode:qH}=Wz,{alignWithSpaces:UH}=eH;var GH=function(e,t,n){const r=e.getValue(),o=RH(e,(e=>qH(e,["sequence","mapping"]))),i=WH(e),u=["blockFolded"===r.type?">":"|"];null!==r.indent&&u.push(r.indent.toString()),"clip"!==r.chomping&&u.push("keep"===r.chomping?"+":"-"),$H(r)&&u.push(" ",t("indicatorComment"));const s=VH(r,{parentIndent:o,isLastDescendant:i,options:n}),a=[];for(const[e,t]of s.entries())0===e&&a.push(OH),a.push(PH(MH(IH(LH,t)))),e!==s.length-1?a.push(0===t.length?OH:_H(jH)):"keep"===r.chomping&&i&&a.push(kH(0===t.length?OH:jH));return null===r.indent?u.push(NH(UH(n.tabWidth,a))):u.push(kH(UH(r.indent-1+o,a))),u};const{builders:{breakParent:zH,fill:HH,group:JH,hardline:XH,join:YH,line:KH,lineSuffix:QH,literalline:ZH},utils:{getDocParts:eJ,replaceTextEndOfLine:tJ}}=Gc,{isPreviousLineEmpty:nJ}=ic,{insertPragma:rJ,isPragma:oJ}=Bz,{locStart:iJ}=Nz,uJ=kz,{getFlowScalarLineContents:sJ,getLastDescendantNode:aJ,hasLeadingComments:cJ,hasMiddleComments:lJ,hasTrailingComment:pJ,hasEndComments:fJ,hasPrettierIgnore:dJ,isLastDescendantNode:hJ,isNode:gJ,isInlineNode:mJ}=Wz,yJ=zz,{alignWithSpaces:DJ,printNextEmptyLine:EJ,shouldPrintEndComments:CJ}=eH,{printFlowMapping:bJ,printFlowSequence:vJ}=dH,AJ=BH,FJ=GH;function xJ(e,t){return pJ(e)||t&&(t.head.children.length>0||fJ(t.head))}function SJ(e,t,n){const r=sJ(e,t,n);return YH(XH,r.map((e=>HH(eJ(YH(KH,e))))))}var wJ={preprocess:yJ,embed:uJ,print:function(e,t,n){const r=e.getValue(),o=[];"mappingValue"!==r.type&&cJ(r)&&o.push([YH(XH,e.map(n,"leadingComments")),XH]);const{tag:i,anchor:u}=r;i&&o.push(n("tag")),i&&u&&o.push(" "),u&&o.push(n("anchor"));let s="";gJ(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!hJ(e)&&(s=EJ(e,t.originalText)),(i||u)&&(gJ(r,["sequence","mapping"])&&!lJ(r)?o.push(XH):o.push(" ")),lJ(r)&&o.push([1===r.middleComments.length?"":XH,YH(XH,e.map(n,"middleComments")),XH]);const a=e.getParentNode();return dJ(e)?o.push(tJ(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),ZH)):o.push(JH(function(e,t,n,r,o){switch(e.type){case"root":{const{children:t}=e,r=[];n.each(((e,n)=>{const i=t[n],u=t[n+1];0!==n&&r.push(XH),r.push(o()),xJ(i,u)?(r.push(XH,"..."),pJ(i)&&r.push(" ",o("trailingComment"))):u&&!pJ(u.head)&&r.push(XH,"---")}),"children");const i=aJ(e);return gJ(i,["blockLiteral","blockFolded"])&&"keep"===i.chomping||r.push(XH),r}case"document":{const i=[];return"head"===function(e,t,n,r){if(n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(iJ(e),iJ(e)+4))||e.head.children.length>0||fJ(e.head)||pJ(e.head))return"head";if(xJ(e,t))return!1;return!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&i.push(o("head")),pJ(e.head)?i.push(["---"," ",o(["head","trailingComment"])]):i.push("---")),function(e){return e.body.children.length>0||fJ(e.body)}(e)&&i.push(o("body")),YH(XH,i)}case"documentHead":return YH(XH,[...n.map(o,"children"),...n.map(o,"endComments")]);case"documentBody":{const{children:t,endComments:r}=e;let i="";if(t.length>0&&r.length>0){const t=aJ(e);gJ(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(i=[XH,XH]):i=XH}return[YH(XH,n.map(o,"children")),i,YH(XH,n.map(o,"endComments"))]}case"directive":return["%",YH(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return SJ(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',o=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&o.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(o)){const i="quoteDouble"===e.type?n:t;return[i,SJ(e.type,o,r),i]}if(o.includes(n))return[t,SJ(e.type,"quoteDouble"===e.type?o.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):o,r),t];if(o.includes(t))return[n,SJ(e.type,"quoteSingle"===e.type?o.replace(/''/g,t):o,r),n];const i=r.singleQuote?t:n;return[i,SJ(e.type,o,r),i]}case"blockFolded":case"blockLiteral":return FJ(n,o,r);case"mapping":case"sequence":return YH(XH,n.map(o,"children"));case"sequenceItem":return["- ",DJ(2,e.content?o("content"):"")];case"mappingKey":case"mappingValue":return e.content?o("content"):"";case"mappingItem":case"flowMappingItem":return AJ(e,t,n,o,r);case"flowMapping":return bJ(n,o,r);case"flowSequence":return vJ(n,o,r);case"flowSequenceItem":return o("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(r,a,e,t,n))),pJ(r)&&!gJ(r,["document","documentHead"])&&o.push(QH(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&mJ(r)?"":zH,n("trailingComment")])),CJ(r)&&o.push(DJ("sequenceItem"===r.type?2:0,[XH,YH(XH,e.map((e=>[nJ(t.originalText,e.getValue(),iJ)?XH:"",n()]),"endComments"))])),o.push(s),o},massageAstNode:function(e,t){if(gJ(t))switch(delete t.position,t.type){case"comment":if(oJ(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:rJ};const TJ=wJ,BJ={bracketSpacing:cj.bracketSpacing,singleQuote:cj.singleQuote,proseWrap:cj.proseWrap},NJ=[fE({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc"]})))];var kJ=[bj,RM,ZR,bV,aW,Tz,{languages:NJ,printers:{yaml:TJ},options:BJ,parsers:undefined}];const{version:PJ}=n,OJ=VD,{getSupportInfo:IJ}=_a,LJ=lE,jJ=kJ,_J=Gc;function MJ(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const i=r[t]||{},u=i.plugins||[];return r[t]=Object.assign(Object.assign({},i),{},{plugins:[...jJ,...Array.isArray(u)?u:Object.values(u)]}),e(...r)}}const RJ=MJ(OJ.formatWithCursor);var VJ={formatWithCursor:RJ,format:(e,t)=>RJ(e,t).formatted,check(e,t){const{formatted:n}=RJ(e,t);return n===e},doc:_J,getSupportInfo:MJ(IJ,0),version:PJ,util:LJ,__debug:{parse:MJ(OJ.parse),formatAST:MJ(OJ.formatAST),formatDoc:MJ(OJ.formatDoc),printToDoc:MJ(OJ.printToDoc),printDocToString:MJ(OJ.printDocToString)}};export{VJ as default};