altair-static 4.1.0 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/build/dist/100.js +1 -0
  2. package/build/dist/108.js +1 -0
  3. package/build/dist/267.js +1 -0
  4. package/build/dist/379.js +1 -0
  5. package/build/dist/3rdpartylicenses.txt +844 -93
  6. package/build/dist/471.js +1 -0
  7. package/build/dist/527.js +1 -0
  8. package/build/dist/604.js +1 -0
  9. package/build/dist/729.js +1 -0
  10. package/build/dist/747.js +1 -0
  11. package/build/dist/790.js +1 -0
  12. package/build/dist/794.js +1 -0
  13. package/build/dist/873.js +1 -0
  14. package/build/dist/929.js +1 -0
  15. package/build/dist/934.js +1 -0
  16. package/build/dist/assets/i18n/ach-UG.json +157 -153
  17. package/build/dist/assets/i18n/cs-CZ.json +4 -0
  18. package/build/dist/assets/i18n/da-DK.json +4 -0
  19. package/build/dist/assets/i18n/de-DE.json +4 -0
  20. package/build/dist/assets/i18n/default.json +10 -1
  21. package/build/dist/assets/i18n/en-US.json +4 -0
  22. package/build/dist/assets/i18n/es-ES.json +4 -0
  23. package/build/dist/assets/i18n/fi-FI.json +4 -0
  24. package/build/dist/assets/i18n/fr-FR.json +4 -0
  25. package/build/dist/assets/i18n/hu-HU.json +4 -0
  26. package/build/dist/assets/i18n/it-IT.json +4 -0
  27. package/build/dist/assets/i18n/ja-JP.json +4 -0
  28. package/build/dist/assets/i18n/ko-KR.json +4 -0
  29. package/build/dist/assets/i18n/nl-NL.json +4 -0
  30. package/build/dist/assets/i18n/no-NO.json +4 -0
  31. package/build/dist/assets/i18n/pl-PL.json +4 -0
  32. package/build/dist/assets/i18n/pt-BR.json +4 -0
  33. package/build/dist/assets/i18n/pt-PT.json +4 -0
  34. package/build/dist/assets/i18n/ro-RO.json +4 -0
  35. package/build/dist/assets/i18n/ru-RU.json +30 -26
  36. package/build/dist/assets/i18n/sr-SP.json +4 -0
  37. package/build/dist/assets/i18n/sv-SE.json +4 -0
  38. package/build/dist/assets/i18n/tr-TR.json +4 -0
  39. package/build/dist/assets/i18n/uk-UA.json +4 -0
  40. package/build/dist/assets/i18n/vi-VN.json +4 -0
  41. package/build/dist/assets/i18n/zh-CN.json +12 -8
  42. package/build/dist/assets/i18n/zh-TW.json +4 -0
  43. package/build/dist/index.html +3 -3
  44. package/build/dist/main.js +1 -0
  45. package/build/dist/polyfills.js +1 -0
  46. package/build/dist/runtime.js +1 -0
  47. package/build/dist/styles.css +2 -2
  48. package/build/index.d.ts +1 -0
  49. package/build/index.js +4 -1
  50. package/build/index.test.d.ts +1 -0
  51. package/build/index.test.js +17 -6
  52. package/build/utils/get-altair-html.d.ts +1 -0
  53. package/build/utils/get-dist.d.ts +1 -0
  54. package/package.json +4 -4
  55. package/src/index.test.ts +21 -6
  56. package/src/index.ts +6 -3
  57. package/tsconfig.json +1 -0
  58. package/build/dist/108-es2018.js +0 -1
  59. package/build/dist/108-es5.js +0 -1
  60. package/build/dist/283-es2018.js +0 -1
  61. package/build/dist/283-es5.js +0 -1
  62. package/build/dist/379-es2018.js +0 -1
  63. package/build/dist/379-es5.js +0 -1
  64. package/build/dist/471-es2018.js +0 -1
  65. package/build/dist/471-es5.js +0 -1
  66. package/build/dist/527-es2018.js +0 -1
  67. package/build/dist/527-es5.js +0 -1
  68. package/build/dist/604-es2018.js +0 -1
  69. package/build/dist/604-es5.js +0 -1
  70. package/build/dist/672-es2018.js +0 -1
  71. package/build/dist/672-es5.js +0 -1
  72. package/build/dist/709-es2018.js +0 -1
  73. package/build/dist/709-es5.js +0 -1
  74. package/build/dist/729-es2018.js +0 -1
  75. package/build/dist/729-es5.js +0 -1
  76. package/build/dist/747-es2018.js +0 -1
  77. package/build/dist/747-es5.js +0 -1
  78. package/build/dist/790-es2018.js +0 -1
  79. package/build/dist/790-es5.js +0 -1
  80. package/build/dist/794-es2018.js +0 -1
  81. package/build/dist/794-es5.js +0 -1
  82. package/build/dist/866-es2018.js +0 -1
  83. package/build/dist/866-es5.js +0 -1
  84. package/build/dist/873-es2018.js +0 -1
  85. package/build/dist/873-es5.js +0 -1
  86. package/build/dist/934-es2018.js +0 -1
  87. package/build/dist/934-es5.js +0 -1
  88. package/build/dist/main-es2018.js +0 -1
  89. package/build/dist/main-es5.js +0 -1
  90. package/build/dist/polyfills-es2018.js +0 -1
  91. package/build/dist/polyfills-es5.js +0 -1
  92. package/build/dist/runtime-es2018.js +0 -1
  93. package/build/dist/runtime-es5.js +0 -1
  94. package/build/index.js.map +0 -1
  95. package/build/index.test.js.map +0 -1
  96. package/build/utils/get-altair-html.js.map +0 -1
  97. package/build/utils/get-dist.js.map +0 -1
  98. package/scripts/prepare_dist.js +0 -77
@@ -1 +0,0 @@
1
- (self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[379],{48379:function(e){e.exports=function(){"use strict";function e(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=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.3.0",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":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",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.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.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.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","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.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},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 --no-inline-config --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"}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var u,s=i(function(e,t){function n(){}function r(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 o(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;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 n=-1*l;n<=l;n+=2){var i=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var m=p&&p.newPos+1<a,g=d&&0<=h&&h<c;if(m||g){if(!m||g&&p.newPos<d.newPos?(i=o(d),u.pushComponent(i.components,void 0,!0)):((i=p).newPos++,u.pushComponent(i.components,!0,void 0)),h=u.extractCommon(i,t,e,n),i.newPos+1>=a&&h+1>=c)return s(r(u,i.components,t,e,u.useLongestToken));f[n]=i}else f[n]=void 0}l++}if(i)!function e(){setTimeout(function(){if(l>p)return i();h()||e()},0)}();else for(;l<=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,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("")}}}),a=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new((n=s)&&n.__esModule?n:{default:n}).default;t.characterDiff=r}),c=Object.defineProperty({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}},"__esModule",{value:!0}),l=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,c.generateOptions)(n,{ignoreWhitespace:!0}),u.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return u.diff(e,t,n)},t.wordDiff=void 0;var n,r=(n=s)&&n.__esModule?n:{default:n},o=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,i=/\S/,u=new r.default;t.wordDiff=u,u.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!i.test(e)&&!i.test(t)},u.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]&&o.test(t[n])&&o.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}}),p=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return r.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var o=(0,c.generateOptions)(n,{ignoreWhitespace:!0});return r.diff(e,t,o)},t.lineDiff=void 0;var r=new((n=s)&&n.__esModule?n:{default:n}).default;t.lineDiff=r,r.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}}),f=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return r.diff(e,t,n)},t.sentenceDiff=void 0;var r=new((n=s)&&n.__esModule?n:{default:n}).default;t.sentenceDiff=r,r.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}}),d=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return r.diff(e,t,n)},t.cssDiff=void 0;var r=new((n=s)&&n.__esModule?n:{default:n}).default;t.cssDiff=r,r.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}}),h=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return u.diff(e,t,n)},t.canonicalize=a,t.jsonDiff=void 0;var n,r=(n=s)&&n.__esModule?n:{default:n};function o(e){return(o="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)}var i=Object.prototype.toString,u=new r.default;function a(e,t,n,r,u){var s,c;for(t=t||[],n=n||[],r&&(e=r(u,e)),s=0;s<t.length;s+=1)if(t[s]===e)return n[s];if("[object Array]"===i.call(e)){for(t.push(e),c=new Array(e.length),n.push(c),s=0;s<e.length;s+=1)c[s]=a(e[s],t,n,r,u);return t.pop(),n.pop(),c}if(e&&e.toJSON&&(e=e.toJSON()),"object"===o(e)&&null!==e){t.push(e),n.push(c={});var l,p=[];for(l in e)e.hasOwnProperty(l)&&p.push(l);for(p.sort(),s=0;s<p.length;s+=1)c[l=p[s]]=a(e[l],t,n,r,l);t.pop(),n.pop()}else c=e;return c}t.jsonDiff=u,u.useLongestToken=!0,u.tokenize=p.lineDiff.tokenize,u.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(a(e,null,null,o),o," ")},u.equals=function(e,t){return r.default.prototype.equals.call(u,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}}),m=i(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return r.diff(e,t,n)},t.arrayDiff=void 0;var r=new((n=s)&&n.__esModule?n:{default:n}).default;t.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}}),g=Object.defineProperty({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}},"__esModule",{value:!0}),y=(u=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.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())}}}))&&u.__esModule?u:{default:u};function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,g.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 m=s[h],D=0,E=f+m.oldStart-1,b=(0,y.default)(E,p,i.length-m.oldLines);void 0!==D;D=b())if(d(m,E+D)){m.offset=f+=D;break}if(void 0===D)return!1;p=m.offset+m.oldStart+m.oldLines}for(var C=0,v=0;v<s.length;v++){var A=s[v],F=A.oldStart+A.offset+C-1;C+=A.newLines-A.oldLines;for(var x=0;x<A.lines.length;x++){var S=A.lines[x],w=S.length>0?S[0]:" ",T=S.length>0?S.substr(1):S,B=A.linedelimiters[x];if(" "===w)F++;else if("-"===w)i.splice(F,1),u.splice(F,1);else if("+"===w)i.splice(F,0,T),u.splice(F,0,B),F++;else if("\\"===w){var k=A.lines[x-1]?A.lines[x-1][0]:null;"+"===k?r=!0:"-"===k&&(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 E=Object.defineProperty({applyPatch:D,applyPatches:function(e,t){"string"==typeof e&&(e=(0,g.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=D(n,o,t);t.patched(o,i,function(e){if(e)return t.complete(e);r()})})}()}},"__esModule",{value:!0});function b(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(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 C(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 v(e,t,n,r,o,i,u){u||(u={}),void 0===u.context&&(u.context=4);var s=(0,p.diffLines)(n,r,u);function a(e){return e.map(function(e){return" "+e})}s.push({value:"",lines:[]});for(var c=[],l=0,f=0,d=[],h=1,m=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 p=s[e-1];l=h,f=m,p&&(d=u.context>0?a(p.lines.slice(-u.context)):[],l-=d.length,f-=d.length)}(i=d).push.apply(i,b(o.map(function(e){return(t.added?"+":"-")+e}))),t.added?m+=o.length:h+=o.length}else{if(l)if(o.length<=2*u.context&&e<s.length-2){var g;(g=d).push.apply(g,b(a(o)))}else{var y,D=Math.min(o.length,u.context);(y=d).push.apply(y,b(a(o.slice(0,D))));var E={oldStart:l,oldLines:h-l+D,newStart:f,newLines:m-f+D,lines:d};if(e>=s.length-2&&o.length<=u.context){var C=/\n$/.test(n),v=/\n$/.test(r),A=0==o.length&&d.length>E.oldLines;!C&&A&&n.length>0&&d.splice(E.oldLines,0,"\"),(C||A)&&v||d.push("\")}c.push(E),l=0,f=0,d=[]}h+=o.length,m+=o.length}},y=0;y<s.length;y++)g(y);return{oldFileName:e,newFileName:t,oldHeader:o,newHeader:i,hunks:c}}function A(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 F(e,t,n,r,o,i,u){return A(v(e,t,n,r,o,i,u))}var x=Object.defineProperty({structuredPatch:v,formatPatch:A,createTwoFilesPatch:F,createPatch:function(e,t,n,r,o,i){return F(e,e,t,n,r,o,i)}},"__esModule",{value:!0});function S(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}var w=Object.defineProperty({arrayEqual:function(e,t){return e.length===t.length&&S(e,t)},arrayStartsWith:S},"__esModule",{value:!0});function T(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(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 B(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 k(e){var t=z(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 N(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,g.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,x.structuredPatch)(void 0,void 0,t,e)}return e}function P(e){return e.newFileName&&e.newFileName!==e.oldFileName}function O(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function I(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function j(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function L(e,t,n,r,o){var i={offset:t,lines:n,index:0},u={offset:r,lines:o,index:0};for(V(e,i,u),V(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,T(q(i)))}else if("+"===a[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,T(q(u)))}else"-"===s[0]&&" "===a[0]?M(e,i,u):"-"===a[0]&&" "===s[0]?M(e,u,i,!0):s===a?(e.lines.push(s),i.index++,u.index++):R(e,q(i),q(u));else _(e,i,u)}$(e,i),$(e,u),k(e)}function _(e,t,n){var r=q(t),o=q(n);if(W(r)&&W(o)){var i,u;if((0,w.arrayStartsWith)(r,o)&&U(n,r,r.length-o.length))return void(i=e.lines).push.apply(i,T(r));if((0,w.arrayStartsWith)(o,r)&&U(t,o,o.length-r.length))return void(u=e.lines).push.apply(u,T(o))}else if((0,w.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,T(r))}R(e,r,o)}function M(e,t,n,r){var o,i=q(t),u=function(e,t){for(var n=[],r=[],o=0,i=!1,u=!1;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}if("+"===(t[o]||"")[0]&&i&&(u=!0),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,T(u.merged)):R(e,r?u:i,r?i:u)}function R(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function V(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 $(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function q(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 W(e){return e.reduce(function(e,t){return e&&"-"===t[0]},!0)}function U(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 z(e){var t=0,n=0;return e.forEach(function(e){if("string"!=typeof e){var r=z(e.mine),o=z(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 H=Object.defineProperty({calcLineCount:k,merge:function(e,t,n){e=N(e,n),t=N(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(P(e)?P(t)?(r.oldFileName=O(r,e.oldFileName,t.oldFileName),r.newFileName=O(r,e.newFileName,t.newFileName),r.oldHeader=O(r,e.oldHeader,t.oldHeader),r.newHeader=O(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,i=0,u=0,s=0;o<e.hunks.length||i<t.hunks.length;){var a=e.hunks[o]||{oldStart:1/0},c=t.hunks[i]||{oldStart:1/0};if(I(a,c))r.hunks.push(j(a,u)),o++,s+=a.newLines-a.oldLines;else if(I(c,a))r.hunks.push(j(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:[]};L(l,a.oldStart,a.lines,c.oldStart,c.lines),i++,o++,r.hunks.push(l)}}return r}},"__esModule",{value:!0}),J=Object.defineProperty({convertChangesToDMP:function(e){for(var t,n=[],r=0;r<e.length;r++)n.push([(t=e[r]).added?1:t.removed?-1:0,t.value]);return n}},"__esModule",{value:!0});function G(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}var X=Object.defineProperty({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(G(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")}},"__esModule",{value:!0}),Y=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return a.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return l.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return l.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return p.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return p.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return f.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return d.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return h.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return h.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return m.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return E.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return E.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return g.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return H.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return x.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return x.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return x.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return J.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return X.convertChangesToXML}});var n,r=(n=s)&&n.__esModule?n:{default:n}});function K(e){return{type:"concat",parts:e}}function Q(e){return{type:"indent",contents:e}}function Z(e,t){return{type:"align",contents:t,n:e}}function ee(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}const te={type:"break-parent"},ne={type:"line",hard:!0},re={type:"line",hard:!0,literal:!0},oe=K([ne,te]),ie=K([re,te]);var ue={concat:K,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return K(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:oe,literalline:ie,group:ee,conditionalGroup:function(e,t){return ee(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:te,ifBreak:function(e,t,n={}){return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:Q,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:Z,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=Q(r);r=Z(t%n,r),r=Z(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return Z({type:"root"},e)},dedentToRoot:function(e){return Z(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return Z(-1,e)},hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:re,label:function(e,t){return{type:"label",label:e,contents:t}}};const se=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 ae=se;ae.default=se;const ce=e=>{if("string"!=typeof e||0===e.length||0===(e=(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)(e)).length)return 0;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," ");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+=ae(r)?2:1)}return t};var le=ce;le.default=ce;var pe=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},fe=e=>e[e.length-1],de=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},he=void 0!==he?he:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function me(){throw new Error("setTimeout has not been defined")}function ge(){throw new Error("clearTimeout has not been defined")}var ye=me,De=ge;function Ee(e){if(ye===setTimeout)return setTimeout(e,0);if((ye===me||!ye)&&setTimeout)return ye=setTimeout,setTimeout(e,0);try{return ye(e,0)}catch(t){try{return ye.call(null,e,0)}catch(n){return ye.call(this,e,0)}}}"function"==typeof he.setTimeout&&(ye=setTimeout),"function"==typeof he.clearTimeout&&(De=clearTimeout);var be,Ce=[],ve=!1,Ae=-1;function Fe(){ve&&be&&(ve=!1,be.length?Ce=be.concat(Ce):Ae=-1,Ce.length&&xe())}function xe(){if(!ve){var e=Ee(Fe);ve=!0;for(var t=Ce.length;t;){for(be=Ce,Ce=[];++Ae<t;)be&&be[Ae].run();Ae=-1,t=Ce.length}be=null,ve=!1,function(e){if(De===clearTimeout)return clearTimeout(e);if((De===ge||!De)&&clearTimeout)return De=clearTimeout,clearTimeout(e);try{De(e)}catch(t){try{return De.call(null,e)}catch(n){return De.call(this,e)}}}(e)}}function Se(e,t){this.fun=e,this.array=t}function we(){}Se.prototype.run=function(){this.fun.apply(null,this.array)};var Te=we,Be=we,ke=we,Ne=we,Pe=we,Oe=we,Ie=we,je=he.performance||{},Le=je.now||je.mozNow||je.msNow||je.oNow||je.webkitNow||function(){return(new Date).getTime()},_e=new Date,Me={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];Ce.push(new Se(e,t)),1!==Ce.length||ve||Ee(xe)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Te,addListener:Be,once:ke,off:Ne,removeListener:Pe,removeAllListeners:Oe,emit:Ie,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*Le.call(je),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-_e)/1e3}},Re="object"==typeof Me&&Me.env&&Me.env.NODE_DEBUG&&/\bsemver\b/i.test(Me.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},Ve={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},$e=i(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Ve,r=(t=e.exports={}).re=[],o=t.src=[],i=t.t={};let u=0;const s=(e,t,n)=>{const s=u++;Re(s,t),i[e]=s,o[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),s("FULL","^".concat(o[i.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),s("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});const qe=["includePrerelease","loose","rtl"];const We=/^[0-9]+$/,Ue=(e,t)=>{const n=We.test(e),r=We.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var ze={compareIdentifiers:Ue,rcompareIdentifiers:(e,t)=>Ue(t,e)};const{MAX_LENGTH:He,MAX_SAFE_INTEGER:Je}=Ve,{re:Ge,t:Xe}=$e,{compareIdentifiers:Ye}=ze;class Ke{constructor(e,t){if(t=(e=>e?"object"!=typeof e?{loose:!0}:qe.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{})(t),e instanceof Ke){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>He)throw new TypeError("version is longer than ".concat(He," characters"));Re("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Ge[Xe.LOOSE]:Ge[Xe.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>Je||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Je||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Je||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Je)return t}return e}):[],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(Re("SemVer.compare",this.version,this.options,e),!(e instanceof Ke)){if("string"==typeof e&&e===this.version)return 0;e=new Ke(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof Ke||(e=new Ke(e,this.options)),Ye(this.major,e.major)||Ye(this.minor,e.minor)||Ye(this.patch,e.patch)}comparePre(e){if(e instanceof Ke||(e=new Ke(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(Re("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 Ye(n,r)}while(++t)}compareBuild(e){e instanceof Ke||(e=new Ke(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(Re("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 Ye(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 Qe,Ze,et,tt,nt,rt,ot=Ke,it=(e,t,n)=>new ot(e,n).compare(new ot(t,n)),ut=i(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 m=function e(t){var n=r(),o=r();return u(function r(i){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(h(i)){var l=i,g=(s[0]===r||s[0]===m)&&p.test(l[0])&&c.test(l[1]),y=g?o:n,D=y.get(l);return D||(D=f(l,g,t),y.set(l,D)),0===s.length?D[0]:d(D,g?s.slice(1):s)}return e(u(u({},t),i||{}))},{string:function(e){return f([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(g){}});const{outdent:st}=ut,at="Editor",ct="Other",lt="Global",pt="Special",ft={cursorOffset:{since:"1.4.0",category:pt,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:st(Qe||(Qe=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 "]))),cliCategory:at},endOfLine:{since:"1.15.0",category:lt,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:st(Ze||(Ze=t(["\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:pt,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:ct,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:pt,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:ct},parser:{since:"0.0.10",category:lt,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:lt,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:lt,description:st(et||(et=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 "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:lt,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:pt,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:st(tt||(tt=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 "]))),cliCategory:at},rangeStart:{since:"1.4.0",category:pt,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:st(nt||(nt=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 "]))),cliCategory:at},requirePragma:{since:"1.7.0",category:pt,type:"boolean",default:!1,description:st(rt||(rt=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 "]))),cliCategory:ct},tabWidth:{type:"int",category:lt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:lt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:lt,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."}]}},dt=it,ht=(e,t,n)=>it(e,t,n)<0,mt=(e,t,n)=>it(e,t,n)>=0,gt=n.version,yt=ft;var Dt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:o=!1}={}){const i=gt.split("-",1)[0],u=t.reduce((e,t)=>[...e,...t.languages||[]],[]).filter(c),s=(a=Object.assign({},...t.map(({options:e})=>e),yt),"name",Object.entries(a).map(([e,t])=>Object.assign({name:e},t))).filter(e=>c(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(function(t){return o?t: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(c).sort((e,t)=>dt(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>c(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 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})}}(e,u,t));const n=de(t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).map(t=>[t.name,t.defaultOptions[e.name]]));return Object.assign({},e,{pluginDefaults:n})});var a;return{languages:u,options:s};function c(e){return n||!("since"in e)||e.since&&mt(i,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&ht(i,e.deprecated)}}};const{getSupportInfo:Et}=Dt,bt=/[^\x20-\x7F]/;function Ct(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 vt=Ct(/\s/),At=Ct(" \t"),Ft=Ct(",; \t"),xt=Ct(/[^\n\r]/);function St(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 wt(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?xt(e,t):t)}function Tt(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 Bt(e,t,n={}){const r=At(e,n.backwards?t-1:t,n);return r!==Tt(e,r,n)}function kt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Ft(e,r),r=St(e,r),r=At(e,r);return r=wt(e,r),r=Tt(e,r),!1!==r&&Bt(e,r)}function Nt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=At(e,r),r=St(e,r),r=wt(e,r),r=Tt(e,r);return r}function Pt(e,t,n){return Nt(e,n(t))}function Ot(e,t,n=0){let r=0;for(let o=n;o<e.length;++o)"\t"===e[o]?r=r+t-r%t:r++;return r}function It(e,t){const n=e.slice(1,-1),r={quote:'"',regex:/"/g},o={quote:"'",regex:/'/g},i="'"===t?o:r,u=i===o?r:o;let s=i.quote;return(n.includes(i.quote)||n.includes(u.quote))&&(s=(n.match(i.regex)||[]).length>(n.match(u.regex)||[]).length?u.quote:i.quote),s}function jt(e,t,n){const r='"'===t?"'":'"',o=e.replace(/\\([\S\s])|(["'])/g,(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 Lt(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||"");return n.length>20&&(n=n.slice(0,19)+"\u2026"),t+(n?" "+n:"")}(e)}var _t={inferParserByLanguage:function(e,t){const{languages:n}=Et({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"))n.length>0&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?bt.test(e)?le(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(pe(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(pe(t),")+"),"g"));if(null===n)return 0;const r=new Map;let o=0;for(const i of n){const e=i.length/t.length;r.set(e,!0),e>o&&(o=e)}for(let i=1;i<o;i++)if(!r.get(i))return i;return o+1},getPenultimate:e=>e[e.length-2],getLast:fe,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Nt,getNextNonSpaceNonCommentCharacterIndex:Pt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Pt(e,t,n))},skip:Ct,skipWhitespace:vt,skipSpaces:At,skipToLineEnd:Ft,skipEverythingButNewLine:xt,skipInlineComment:St,skipTrailingComment:wt,skipNewline:Tt,isNextLineEmptyAfterIndex:kt,isNextLineEmpty:function(e,t,n){return kt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=At(e,r,{backwards:!0}),r=Tt(e,r,{backwards:!0}),r=At(e,r,{backwards:!0}),r!==Tt(e,r,{backwards:!0})},hasNewline:Bt,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 At(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Ot,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:Ot(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:It,printString:function(e,t){return jt(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":It(e,t.singleQuote?"'":'"'),!("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:jt,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Lt(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Lt(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Lt(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)}}},Mt={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{literalline:Rt}=ue,Vt=e=>Array.isArray(e)||e&&"concat"===e.type,$t=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},qt={};function Wt(e,t,n,r){const o=[e];for(;o.length>0;){const e=o.pop();if(e!==qt){if(n&&o.push(e,qt),!t||!1!==t(e))if(Vt(e)||"fill"===e.type){const t=$t(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 Ut(e,t){const n=new Map;return function e(r){if(n.has(r))return n.get(r);const o=function(n){if(Array.isArray(n))return t(n.map(e));if("concat"===n.type||"fill"===n.type){const r=n.parts.map(e);return t(Object.assign({},n,{parts:r}))}if("if-break"===n.type){const r=n.breakContents&&e(n.breakContents),o=n.flatContents&&e(n.flatContents);return t(Object.assign({},n,{breakContents:r,flatContents:o}))}if("group"===n.type&&n.expandedStates){const r=n.expandedStates.map(e);return t(Object.assign({},n,{contents:r[0],expandedStates:r}))}if(n.contents){const r=e(n.contents);return t(Object.assign({},n,{contents:r}))}return t(n)}(r);return n.set(r,o),o}(e)}function zt(e,t,n){let r=n,o=!1;return Wt(e,function(e){const n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1}),r}function Ht(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Jt(e){if(e.length>0){const t=fe(e);t.expandedStates||t.break||(t.break="propagated")}return null}function Gt(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const Xt=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function Yt(e){if(!e)return e;if(Vt(e)||"fill"===e.type){const t=$t(e);for(;t.length>1&&Xt(...t.slice(-2));)t.length-=2;if(t.length>0){const e=Yt(fe(t));t[t.length-1]=e}return Array.isArray(e)?t: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=Yt(e.contents);return Object.assign({},e,{contents:t})}case"if-break":{const t=Yt(e.breakContents),n=Yt(e.flatContents);return Object.assign({},e,{breakContents:t,flatContents:n})}}return e}function Kt(e){return Ut(e,e=>function(e){switch(e.type){case"fill":if(0===e.parts.length||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(!Vt(e))return e;const t=[];for(const n of $t(e)){if(!n)continue;const[e,...r]=Vt(n)?$t(n):[n];"string"==typeof e&&"string"==typeof fe(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({},e,{parts:t})}(e))}function Qt(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(Vt(e)?n.unshift(...$t(e)):t.length>0&&"string"==typeof fe(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}var Zt={isConcat:Vt,getDocParts:$t,willBreak:function(e){return zt(e,Ht,!1)},traverseDoc:Wt,findInDoc:zt,mapDoc:Ut,propagateBreaks:function(e){const t=new Set,n=[];Wt(e,function(e){if("break-parent"===e.type&&Jt(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}},function(e){"group"===e.type&&n.pop().break&&Jt(n)},!0)},removeLines:function(e){return Ut(e,Gt)},stripTrailingHardline:function(e){return Yt(Kt(e))},normalizeParts:Qt,normalizeDoc:function(e){return Ut(e,e=>Array.isArray(e)?Qt(e):e.parts?Object.assign({},e,{parts:Qt(e.parts)}):e)},cleanDoc:Kt,replaceNewlinesWithLiterallines:function(e){return Ut(e,e=>"string"==typeof e&&e.includes("\n")?e.split(/(\n)/g).map((e,t)=>t%2==0?e:Rt):e)}};const{getStringWidth:en,getLast:tn}=_t,{convertEndOfLineToChars:nn}=Mt,{fill:rn,cursor:on,indent:un}=ue,{isConcat:sn,getDocParts:an}=Zt;let cn;function ln(e,t){return fn(e,{type:"indent"},t)}function pn(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?fn(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):fn(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function fn(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 d of r)switch(d.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=d.n,i+=d.n.length;break;case"numberAlign":u+=1,s+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return p(),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?(u>0&&a(u),f()):p()}function p(){s>0&&c(s),f()}function f(){u=0,s=0}}function dn(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof tn(e)&&/^[\t ]*$/.test(tn(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof tn(e)){const n=tn(e).replace(/[\t ]*$/,"");t+=tn(e).length-n.length,e[e.length-1]=n}return t}function hn(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-=en(l);else if(sn(l)){const t=an(l);for(let n=t.length-1;n>=0;n--)s.push([e,c,t[n]])}else switch(l.type){case"indent":s.push([ln(e,r),c,l.contents]);break;case"align":s.push([pn(e,l.n,r),c,l.contents]);break;case"trim":n+=dn(a);break;case"group":{if(i&&l.break)return!1;const t=l.break?1:c;s.push([e,t,l.expandedStates&&1===t?tn(l.expandedStates):l.contents]),l.id&&(cn[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?cn[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:un(l.contents);t&&s.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?un(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 mn={printDocToString:function(e,t){cn={};const n=t.printWidth,r=nn(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+=en(e)}else if(sn(l)){const t=an(l);for(let n=t.length-1;n>=0;n--)i.push([e,c,t[n]])}else switch(l.type){case"cursor":u.push(on.placeholder);break;case"indent":i.push([ln(e,t),c,l.contents]);break;case"align":i.push([pn(e,l.n,t),c,l.contents]);break;case"trim":o-=dn(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&&hn(r,i,u,t,c))i.push(r);else if(l.expandedStates){const n=tn(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(hn(n,i,u,t,c)){i.push(n);break}}}}else i.push([e,1,l.contents]);break}}l.id&&(cn[l.id]=tn(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=hn(f,[],r,t,a.length>0,!0);if(1===u.length){i.push(h?f:d);break}const m=[e,2,p],g=[e,1,p];if(2===u.length){h?i.push(m,f):i.push(g,d);break}u.splice(0,2);const y=[e,c,rn(u)];hn([e,2,[s,p,u[0]]],[],r,t,a.length>0,!0)?i.push(y,m,f):i.push(y,g,h?f:d);break}case"if-break":case"indent-if-break":{const t=l.groupId?cn[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:un(l.contents);t&&i.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?un(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-=dn(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(on.placeholder);if(-1!==c){const e=u.indexOf(on.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:gn,getDocParts:yn}=Zt;function Dn(e){if(!e)return"";if(gn(e)){const t=[];for(const n of yn(e))if(gn(n))t.push(...Dn(n).parts);else{const e=Dn(n);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign({},e,{breakContents:Dn(e.breakContents),flatContents:Dn(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:Dn(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Dn)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Dn)}:e.contents?Object.assign({},e,{contents:Dn(e.contents)}):e}var En={builders:ue,printer:mn,utils:Zt,debug:{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(gn(t)){const n=yn(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)}(Dn(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),")")}}}}},bn=Object.freeze({__proto__:null,default:{}});function Cn(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 vn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,An=function(e){return vn.exec(e).slice(1)};function Fn(){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(t?"/":"")+(e=Cn(Pn(e.split("/"),function(e){return!!e}),!t).join("/"))||"."}function xn(e){var t=Sn(e),n="/"===On(e,-1);return(e=Cn(Pn(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Sn(e){return"/"===e.charAt(0)}function wn(){return xn(Pn(Array.prototype.slice.call(arguments,0),function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Tn(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=Fn(e).substr(1),t=Fn(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 Bn(e){var t=An(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function kn(e,t){var n=An(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Nn(e){return An(e)[3]}function Pn(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 On=function(e,t,n){return e.substr(t,n)},In=Object.freeze({__proto__:null,resolve:Fn,normalize:xn,isAbsolute:Sn,join:wn,relative:Tn,sep:"/",delimiter:":",dirname:Bn,basename:kn,extname:Nn,default:{extname:Nn,basename:kn,dirname:Bn,sep:"/",delimiter:":",relative:Tn,join:wn,isAbsolute:Sn,normalize:xn,resolve:Fn}}),jn=[],Ln=[],_n="undefined"!=typeof Uint8Array?Uint8Array:Array,Mn=!1;function Rn(){Mn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)jn[t]=e[t],Ln[e.charCodeAt(t)]=t;Ln["-".charCodeAt(0)]=62,Ln["_".charCodeAt(0)]=63}function Vn(e,t,n){for(var r,o=[],i=t;i<n;i+=3)o.push(jn[(r=(e[i]<<16)+(e[i+1]<<8)+e[i+2])>>18&63]+jn[r>>12&63]+jn[r>>6&63]+jn[63&r]);return o.join("")}function $n(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 qn(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,m=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*m}var Wn={}.toString,Un=Array.isArray||function(e){return"[object Array]"==Wn.call(e)};function zn(){return Jn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Hn(e,t){if(zn()<t)throw new RangeError("Invalid typed array length");return Jn.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Jn.prototype:(null===e&&(e=new Jn(t)),e.length=t),e}function Jn(e,t,n){if(!(Jn.TYPED_ARRAY_SUPPORT||this instanceof Jn))return new Jn(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 Yn(this,e)}return Gn(this,e,t,n)}function Gn(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(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");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),Jn.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Jn.prototype:e=Kn(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!Jn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|er(t,n),o=(e=Hn(e,r)).write(t,n);return o!==r&&(e=e.slice(0,o)),e}(e,t,n):function(e,t){if(Zn(t)){var n=0|Qn(t.length);return 0===(e=Hn(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?Hn(e,0):Kn(e,t);if("Buffer"===t.type&&Un(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 Xn(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 Yn(e,t){if(Xn(t),e=Hn(e,t<0?0:0|Qn(t)),!Jn.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|Qn(t.length);e=Hn(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Qn(e){if(e>=zn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+zn().toString(16)+" bytes");return 0|e}function Zn(e){return!(null==e||!e._isBuffer)}function er(e,t){if(Zn(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 wr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Tr(e).length;default:if(r)return wr(e).length;t=(""+t).toLowerCase(),r=!0}}function tr(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return gr(this,t,n);case"utf8":case"utf-8":return fr(this,t,n);case"ascii":return hr(this,t,n);case"latin1":case"binary":return mr(this,t,n);case"base64":return pr(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function nr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function rr(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=Jn.from(t,r)),Zn(t))return 0===t.length?-1:or(e,t,n,r,o);if("number"==typeof t)return t&=255,Jn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):or(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function or(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 ir(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 ur(e,t,n,r){return Br(wr(t,e.length-n),e,n,r)}function sr(e,t,n,r){return Br(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function ar(e,t,n,r){return sr(e,t,n,r)}function cr(e,t,n,r){return Br(Tr(t),e,n,r)}function lr(e,t,n,r){return Br(function(e,t){for(var n,r,o=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o.push(n%256),o.push(r);return o}(t,e.length-n),e,n,r)}function pr(e,t,n){return function(e){var t;Mn||Rn();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;s<a;s+=u)i.push(Vn(e,s,s+u>a?a:s+u));return 1===r?(o+=jn[(t=e[n-1])>>2],o+=jn[t<<4&63],o+="=="):2===r&&(o+=jn[(t=(e[n-2]<<8)+e[n-1])>>10],o+=jn[t>>4&63],o+=jn[t<<2&63],o+="="),i.push(o),i.join("")}(0===t&&n===e.length?e:e.slice(t,n))}function fr(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:u=e[o+2],128==(192&(i=e[o+1]))&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:u=e[o+2],s=e[o+3],128==(192&(i=e[o+1]))&&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&&(r.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return function(e){var t=e.length;if(t<=dr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=dr));return n}(r)}Jn.TYPED_ARRAY_SUPPORT=void 0===he.TYPED_ARRAY_SUPPORT||he.TYPED_ARRAY_SUPPORT,Jn.poolSize=8192,Jn._augment=function(e){return e.__proto__=Jn.prototype,e},Jn.from=function(e,t,n){return Gn(null,e,t,n)},Jn.TYPED_ARRAY_SUPPORT&&(Jn.prototype.__proto__=Uint8Array.prototype,Jn.__proto__=Uint8Array),Jn.alloc=function(e,t,n){return r=null,i=t,u=n,Xn(o=e),o<=0?Hn(r,o):void 0!==i?"string"==typeof u?Hn(r,o).fill(i,u):Hn(r,o).fill(i):Hn(r,o);var r,o,i,u},Jn.allocUnsafe=function(e){return Yn(null,e)},Jn.allocUnsafeSlow=function(e){return Yn(null,e)},Jn.isBuffer=kr,Jn.compare=function(e,t){if(!Zn(e)||!Zn(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},Jn.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}},Jn.concat=function(e,t){if(!Un(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Jn.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=Jn.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!Zn(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},Jn.byteLength=er,Jn.prototype._isBuffer=!0,Jn.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)nr(this,t,t+1);return this},Jn.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)nr(this,t,t+3),nr(this,t+1,t+2);return this},Jn.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)nr(this,t,t+7),nr(this,t+1,t+6),nr(this,t+2,t+5),nr(this,t+3,t+4);return this},Jn.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?fr(this,0,e):tr.apply(this,arguments)},Jn.prototype.equals=function(e){if(!Zn(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Jn.compare(this,e)},Jn.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+">"},Jn.prototype.compare=function(e,t,n,r,o){if(!Zn(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},Jn.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Jn.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)},Jn.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)},Jn.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 ir(this,e,t,n);case"utf8":case"utf-8":return ur(this,e,t,n);case"ascii":return sr(this,e,t,n);case"latin1":case"binary":return ar(this,e,t,n);case"base64":return cr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lr(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},Jn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var dr=4096;function hr(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 mr(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 gr(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+=Sr(e[i]);return o}function yr(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 Dr(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 Er(e,t,n,r,o,i){if(!Zn(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 br(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 Cr(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 vr(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 Ar(e,t,n,r,o){return o||vr(e,0,n,4),qn(e,t,n,r,23,4),n+4}function Fr(e,t,n,r,o){return o||vr(e,0,n,8),qn(e,t,n,r,52,8),n+8}Jn.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),Jn.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Jn.prototype;else{var o=t-e;n=new Jn(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},Jn.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Dr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},Jn.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Dr(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},Jn.prototype.readUInt8=function(e,t){return t||Dr(e,1,this.length),this[e]},Jn.prototype.readUInt16LE=function(e,t){return t||Dr(e,2,this.length),this[e]|this[e+1]<<8},Jn.prototype.readUInt16BE=function(e,t){return t||Dr(e,2,this.length),this[e]<<8|this[e+1]},Jn.prototype.readUInt32LE=function(e,t){return t||Dr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Jn.prototype.readUInt32BE=function(e,t){return t||Dr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Jn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Dr(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},Jn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Dr(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},Jn.prototype.readInt8=function(e,t){return t||Dr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Jn.prototype.readInt16LE=function(e,t){t||Dr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Jn.prototype.readInt16BE=function(e,t){t||Dr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Jn.prototype.readInt32LE=function(e,t){return t||Dr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Jn.prototype.readInt32BE=function(e,t){return t||Dr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Jn.prototype.readFloatLE=function(e,t){return t||Dr(e,4,this.length),$n(this,e,!0,23,4)},Jn.prototype.readFloatBE=function(e,t){return t||Dr(e,4,this.length),$n(this,e,!1,23,4)},Jn.prototype.readDoubleLE=function(e,t){return t||Dr(e,8,this.length),$n(this,e,!0,52,8)},Jn.prototype.readDoubleBE=function(e,t){return t||Dr(e,8,this.length),$n(this,e,!1,52,8)},Jn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Er(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},Jn.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Er(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},Jn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,1,255,0),Jn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Jn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,2,65535,0),Jn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):br(this,e,t,!0),t+2},Jn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,2,65535,0),Jn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):br(this,e,t,!1),t+2},Jn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,4,4294967295,0),Jn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Cr(this,e,t,!0),t+4},Jn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,4,4294967295,0),Jn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Cr(this,e,t,!1),t+4},Jn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Er(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},Jn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Er(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},Jn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,1,127,-128),Jn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Jn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,2,32767,-32768),Jn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):br(this,e,t,!0),t+2},Jn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,2,32767,-32768),Jn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):br(this,e,t,!1),t+2},Jn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,4,2147483647,-2147483648),Jn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Cr(this,e,t,!0),t+4},Jn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Er(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Jn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Cr(this,e,t,!1),t+4},Jn.prototype.writeFloatLE=function(e,t,n){return Ar(this,e,t,!0,n)},Jn.prototype.writeFloatBE=function(e,t,n){return Ar(this,e,t,!1,n)},Jn.prototype.writeDoubleLE=function(e,t,n){return Fr(this,e,t,!0,n)},Jn.prototype.writeDoubleBE=function(e,t,n){return Fr(this,e,t,!1,n)},Jn.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||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||!Jn.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},Jn.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&&!Jn.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=Zn(e)?e:wr(new Jn(e,r).toString()),s=u.length;for(i=0;i<n-t;++i)this[i+t]=u[i%s]}return this};var xr=/[^+\/0-9A-Za-z-_]/g;function Sr(e){return e<16?"0"+e.toString(16):e.toString(16)}function wr(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 Tr(e){return function(e){var t,n,r,o,i,u;Mn||Rn();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");u=new _n(3*s/4-(i="="===e[s-2]?2:"="===e[s-1]?1:0)),r=i>0?s-4:s;var a=0;for(t=0,n=0;t<r;t+=4,n+=3)o=Ln[e.charCodeAt(t)]<<18|Ln[e.charCodeAt(t+1)]<<12|Ln[e.charCodeAt(t+2)]<<6|Ln[e.charCodeAt(t+3)],u[a++]=o>>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=Ln[e.charCodeAt(t)]<<2|Ln[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=Ln[e.charCodeAt(t)]<<10|Ln[e.charCodeAt(t+1)]<<4|Ln[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u}(function(e){if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(xr,"")).length<2)return"";for(var t;e.length%4!=0;)e+="=";return e}(e))}function Br(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 kr(e){return null!=e&&(!!e._isBuffer||Nr(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&Nr(t.slice(0,0)));var t}function Nr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Pr=o(bn);class Or extends Error{}class Ir extends Error{}class jr extends Error{}class Lr extends Error{}var _r={ConfigError:Or,DebugError:Ir,UndefinedParserError:jr,ArgExpansionBailout:Lr},Mr=function(e,t){return(Mr=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)},Rr=function(){return(Rr=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 Vr(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 $r(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(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function qr(e){return this instanceof qr?(this.v=e,this):new qr(e)}var Wr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Mr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Rr},__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(t){i(t)}}function s(e){try{a(r.throw(e))}catch(t){i(t)}}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=(o=u.trys).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(s){i=[6,s],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:Vr,__read:$r,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($r(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:qr,__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 qr?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}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:qr(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=Vr(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){var i,u,s;i=r,u=o,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){i({value:e,done:s})},u)})}}},__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}}),Ur=i(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})}}),zr=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(Ur,t)}),Hr=/[|\\{}()[\]^$+*?.]/g,Jr=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Hr,"\\$&")},Gr={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]},Xr=i(function(e){var t={};for(var n in Gr)Gr.hasOwnProperty(n)&&(t[Gr[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 i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.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]},r.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]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,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,i,u=1/0;for(var s in Gr)if(Gr.hasOwnProperty(s)){var a=(o=e,i=Gr[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));a<u&&(u=a,r=s)}return r},r.keyword.rgb=function(e){return Gr[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],i=t[2];return o/=100,i/=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-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.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--,o[c]=255*(i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return o},r.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)),(r+n)/2*100]},r.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]}},r.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)]},r.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]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},r.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))]},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;t=e[1]/500+(n=(e[0]+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),i=Math.pow(t,3),u=Math.pow(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]},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[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},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,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)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,o=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(o=(r-.5*t)/(1-t)),[e[0],100*t,100*o]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var r,o=[0,0,0],i=e[0]/360%1*6,u=i%1,s=1-u;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[255*(t*o[0]+(r=(1-t)*n)),255*(t*o[1]+r),255*(t*o[2]+r)]},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=1-e[2]/100,n=t-e[1]/100,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},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 Yr(e,t){return function(n){return t(e(n))}}function Kr(e,t){for(var n=[t[e].parent,e],r=Xr[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Yr(Xr[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var Qr={};Object.keys(Xr).forEach(function(e){Qr[e]={},Object.defineProperty(Qr[e],"channels",{value:Xr[e].channels}),Object.defineProperty(Qr[e],"labels",{value:Xr[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(Xr),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(Xr[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}(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var u=r[i];null!==t[u].parent&&(n[u]=Kr(u,t))}return n}(e);Object.keys(t).forEach(function(n){var r,o,i=t[n];Qr[e][n]=(o=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var t=r(e);if("object"==typeof t)for(var n=t.length,o=0;o<n;o++)t[o]=Math.round(t[o]);return t},"conversion"in(r=i)&&(o.conversion=r.conversion),o),Qr[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}(i)})});var Zr,eo=Qr,to=i(function(e){const t=(e,t)=>function(){const n=e.apply(eo,arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(eo,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(eo,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 i=e=>e,u=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(let s of Object.keys(eo)){if("object"!=typeof eo[s])continue;const e=eo[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(o.color.ansi[s]=t(e.ansi16,0),o.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(o.color.ansi256[s]=n(e.ansi256,0),o.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(o.color.ansi16m[s]=r(e.rgb,0),o.bgColor.ansi16m[s]=r(e.rgb,10))}return o}})});function no(){if(void 0===Zr){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Zr="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Zr="LE"}}return Zr}function ro(){return void 0!==he.location?he.location.hostname:""}function oo(){return[]}function io(){return 0}function uo(){return Number.MAX_VALUE}function so(){return Number.MAX_VALUE}function ao(){return[]}function co(){return"Browser"}function lo(){return void 0!==he.navigator?he.navigator.appVersion:""}function po(){}function fo(){}function ho(){return"javascript"}function mo(){return"browser"}function go(){return"/tmp"}var yo=(e,t)=>{t=t||Me.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},Do=o(Object.freeze({__proto__:null,endianness:no,hostname:ro,loadavg:oo,uptime:io,freemem:uo,totalmem:so,cpus:ao,type:co,release:lo,networkInterfaces:po,getNetworkInterfaces:fo,arch:ho,platform:mo,tmpDir:go,tmpdir:go,EOL:"\n",default:{EOL:"\n",arch:ho,platform:mo,tmpdir:go,tmpDir:go,networkInterfaces:po,getNetworkInterfaces:fo,release:lo,type:co,cpus:ao,totalmem:so,freemem:uo,uptime:io,loadavg:oo,hostname:ro,endianness:no}}));const Eo=Me.env;let bo;function Co(e){return 0!==(t=function(e){if(!1===bo)return 0;if(yo("color=16m")||yo("color=full")||yo("color=truecolor"))return 3;if(yo("color=256"))return 2;if(e&&!e.isTTY&&!0!==bo)return 0;const t=bo?1:0;if("win32"===Me.platform){const e=Do.release().split(".");return Number(Me.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Eo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Eo)||"codeship"===Eo.CI_NAME?1:t;if("TEAMCITY_VERSION"in Eo)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Eo.TEAMCITY_VERSION)?1:0;if("truecolor"===Eo.COLORTERM)return 3;if("TERM_PROGRAM"in Eo){const e=parseInt((Eo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Eo.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Eo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Eo.TERM)||"COLORTERM"in Eo?1:t}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}yo("no-color")||yo("no-colors")||yo("color=false")?bo=!1:(yo("color")||yo("colors")||yo("color=true")||yo("color=always"))&&(bo=!0),"FORCE_COLOR"in Eo&&(bo=0===Eo.FORCE_COLOR.length||0!==parseInt(Eo.FORCE_COLOR,10));var vo={supportsColor:Co,stdout:Co(Me.stdout),stderr:Co(Me.stderr)};const Ao=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Fo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,xo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,So=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,wo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function To(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):wo.get(e)||e}function Bo(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const i of r)if(isNaN(i)){if(!(o=i.match(xo)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(o[2].replace(So,(e,t,n)=>t?To(t):n))}else n.push(Number(i));return n}function ko(e){Fo.lastIndex=0;const t=[];let n;for(;null!==(n=Fo.exec(e));){const e=n[1];if(n[2]){const r=Bo(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function No(e,t){const n={};for(const o of t)for(const e of o.styles)n[e[0]]=o.inverse?null:e.slice(1);let r=e;for(const o of Object.keys(n))if(Array.isArray(n[o])){if(!(o in r))throw new Error("Unknown Chalk style: ".concat(o));r=n[o].length>0?r[o].apply(r,n[o]):r[o]}return r}var Po=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Ao,(t,i,u,s,a,c)=>{if(i)o.push(To(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:No(e,n)(t)),n.push({inverse:u,styles:ko(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(No(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("")},Oo=i(function(e){const t=vo.stdout,n="win32"===Me.platform&&!(Me.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){e.level=void 0===(n=n||{}).level?t?t.level:0:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return u(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}u(this,e)}n&&(to.blue.open="\x1b[94m");for(const f of Object.keys(to))to[f].closeRe=new RegExp(Jr(to[f].close),"g"),i[f]={get(){const e=to[f];return c.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},to.color.closeRe=new RegExp(Jr(to.color.close),"g");for(const f of Object.keys(to.color.ansi))o.has(f)||(i[f]={get(){const e=this.level;return function(){const t={open:to.color[r[e]][f].apply(null,arguments),close:to.color.close,closeRe:to.color.closeRe};return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,f)}}});to.bgColor.closeRe=new RegExp(Jr(to.bgColor.close),"g");for(const f of Object.keys(to.bgColor.ansi))o.has(f)||(i["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t={open:to.bgColor[r[e]][f].apply(null,arguments),close:to.bgColor.close,closeRe:to.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,f)}}});const a=Object.defineProperties(()=>{},i);function c(e,t,n){const r=function(){return l.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__=a,r}function l(){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=to.dim.open;n&&this.hasGrey&&(to.dim.open="");for(const n of this._styles.slice().reverse())r=n.open+r.replace(n.closeRe,n.open)+n.close,r=r.replace(/\r?\n/g,"".concat(n.close,"$&").concat(n.open));return to.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 o=1;o<t.length;o++)r.push(String(n[o-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[o]));return Po(e,r.join(""))}Object.defineProperties(s.prototype,i),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports}),Io=Object.defineProperty({commonDeprecatedHandler:(e,t,{descriptor:n})=>{const r=["".concat(Oo.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(Oo.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}},"__esModule",{value:!0}),jo=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(Io,t)}),Lo=Object.defineProperty({commonInvalidHandler:(e,t,n)=>["Invalid ".concat(Oo.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Oo.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Oo.default.red(n.descriptor.value(t)),".")].join(" ")},"__esModule",{value:!0}),_o=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(Lo,t)}),Mo=[],Ro=[],Vo=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:o})=>{const i=["Ignored unknown option ".concat(Oo.default.yellow(n.pair({key:e,value:t})),".")],u=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 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;)Ro[c+l]=e.charCodeAt(c+l),Mo[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===Ro[c+l]?s:s+1,u=Mo[l]=(s=Mo[l])>u?a>u?u+1:a:a>s?s+1:a;return u}(e,t)<3);u&&i.push("Did you mean ".concat(Oo.default.blue(n.key(u)),"?")),r.warn(i.join(" "))}},"__esModule",{value:!0}),$o=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(Vo,t)}),qo=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(jo,t),Wr.__exportStar(_o,t),Wr.__exportStar($o,t)});const Wo=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Uo(e,t){const n=new e(t),r=Object.create(n);for(const o of Wo)o in t&&(r[o]=Jo(t[o],n,Ho.prototype[o].length));return r}var zo=Uo;class Ho{constructor(e){this.name=e.name}static create(e){return Uo(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 Jo(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var Go=Object.defineProperty({createSchema:zo,Schema:Ho},"__esModule",{value:!0});var Xo=Object.defineProperty({AliasSchema:class extends Go.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}}},"__esModule",{value:!0});var Yo=Object.defineProperty({AnySchema:class extends Go.Schema{expected(){return"anything"}validate(){return!0}}},"__esModule",{value:!0});function Ko({from:e,to:t}){return{from:[e],to:t}}var Qo=Object.defineProperty({ArraySchema:class extends Go.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Wr.__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 r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Ko))}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(Ko))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}}},"__esModule",{value:!0});var Zo=Object.defineProperty({BooleanSchema:class extends Go.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}},"__esModule",{value:!0});function ei(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 ti(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>ei(e,t)):[ei(e,t)]}var ni=Object.defineProperty({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},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},createAutoChecklist:function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},partition:function(e,t){const n=[],r=[];for(const o of e)t(o)?n.push(o):r.push(o);return[n,r]},isInt:function(e){return e===Math.floor(e)},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)},normalizeDefaultResult:function(e){return void 0===e?{}:e},normalizeValidateResult:function(e,t){return!0===e||(!1===e?{value:t}:e)},normalizeDeprecatedResult:function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},normalizeTransferResult:ei,normalizeForwardResult:ti,normalizeRedirectResult:function(e,t){const n=ti("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}}},"__esModule",{value:!0});var ri=Object.defineProperty({ChoiceSchema:class extends Go.Schema{constructor(e){super(e),this._choices=ni.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(ni.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}}},"__esModule",{value:!0});var oi=Object.defineProperty({NumberSchema:class extends Go.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}},"__esModule",{value:!0});var ii=Object.defineProperty({IntegerSchema:class extends oi.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&ni.isInt(e)}}},"__esModule",{value:!0});var ui=Object.defineProperty({StringSchema:class extends Go.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}},"__esModule",{value:!0}),si=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(Xo,t),Wr.__exportStar(Yo,t),Wr.__exportStar(Qo,t),Wr.__exportStar(Zo,t),Wr.__exportStar(ri,t),Wr.__exportStar(ii,t),Wr.__exportStar(oi,t),Wr.__exportStar(ui,t)}),ai=Object.defineProperty({defaultDescriptor:Ur.apiDescriptor,defaultUnknownHandler:Vo.levenUnknownHandler,defaultInvalidHandler:_o.commonInvalidHandler,defaultDeprecatedHandler:Io.commonDeprecatedHandler},"__esModule",{value:!0});class ci{constructor(e,t){const{logger:n=console,descriptor:r=ai.defaultDescriptor,unknown:o=ai.defaultUnknownHandler,invalid:i=ai.defaultInvalidHandler,deprecated:u=ai.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:ni.recordFromArray(e,"name"),normalizeDefaultResult:ni.normalizeDefaultResult,normalizeDeprecatedResult:ni.normalizeDeprecatedResult,normalizeForwardResult:ni.normalizeForwardResult,normalizeRedirectResult:ni.normalizeRedirectResult,normalizeValidateResult:ni.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=ni.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 o of Object.keys(this._utils.schemas)){const e=this._utils.schemas[o];if(!(o in t)){const t=ni.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[o]:t.value})}}r();for(const o of Object.keys(this._utils.schemas)){const e=this._utils.schemas[o];o in t&&(t[o]=e.postprocess(t[o],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,o]=ni.partition(Object.keys(e),e=>e in this._utils.schemas);for(const i of r){const r=this._utils.schemas[i],o=r.preprocess(e[i],this._utils),u=ni.normalizeValidateResult(r.validate(o,this._utils),o);if(!0!==u){const{value:e}=u,t=this._invalidHandler(i,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},a=({value:e,redirectTo:t})=>{const n=ni.normalizeDeprecatedResult(r.deprecated(e,this._utils),o,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,t,this._utils));else for(const{value:r}of n){const e={key:i,value:r};this._hasDeprecationWarned(e)||this._utils.logger.warn(this._deprecatedHandler(e,"string"==typeof t?{key:t,value:r}:t,this._utils))}};ni.normalizeForwardResult(r.forward(o,this._utils),o).forEach(s);const c=ni.normalizeRedirectResult(r.redirect(o,this._utils),o);if(c.redirect.forEach(s),"remain"in c){const e=c.remain;t[i]=i in t?r.overlap(t[i],e,this._utils):e,a({value:e})}for(const{from:e,to:t}of c.redirect)a({value:e,redirectTo:t})}for(const i of o){const r=this._unknownHandler(i,e[i],this._utils);if(r)for(const e of Object.keys(r)){const o={[e]:r[e]};e in this._utils.schemas?n.push(o):Object.assign(t,o)}}return n}}var li=Object.defineProperty({normalize:(e,t,n)=>new ci(t,n).normalize(e),Normalizer:ci},"__esModule",{value:!0}),pi=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Wr.__exportStar(zr,t),Wr.__exportStar(qo,t),Wr.__exportStar(si,t),Wr.__exportStar(li,t),Wr.__exportStar(Go,t)});const fi=[],di=[],hi=(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;)di[l]=e.charCodeAt(c+l),fi[l]=++l;for(;p<o;)for(i=t.charCodeAt(c+p),s=p++,u=p,l=0;l<r;l++)a=i===di[l]?s:s+1,s=fi[l],u=fi[l]=s>u?a>u?u+1:a:a>s?s+1:a;return u};var mi=hi;mi.default=hi;var gi={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 yi={};for(const Jj of Object.keys(gi))yi[gi[Jj]]=Jj;const Di={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 Ei=Di;for(const Jj of Object.keys(Di)){if(!("channels"in Di[Jj]))throw new Error("missing channels property: "+Jj);if(!("labels"in Di[Jj]))throw new Error("missing channel labels property: "+Jj);if(Di[Jj].labels.length!==Di[Jj].channels)throw new Error("channel and label counts mismatch: "+Jj);const{channels:e,labels:t}=Di[Jj];delete Di[Jj].channels,delete Di[Jj].labels,Object.defineProperty(Di[Jj],"channels",{value:e}),Object.defineProperty(Di[Jj],"labels",{value:t})}function bi(e,t){return function(n){return t(e(n))}}function Ci(e,t){const n=[t[e].parent,e];let r=Ei[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=bi(Ei[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}Di.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]},Di.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]},Di.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=Di.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]},Di.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]},Di.rgb.keyword=function(e){const t=yi[e];if(t)return t;let n,r=1/0;for(const u of Object.keys(gi)){const t=((o=e)[0]-(i=gi[u])[0])**2+(o[1]-i[1])**2+(o[2]-i[2])**2;t<r&&(r=t,n=u)}var o,i;return n},Di.keyword.rgb=function(e){return gi[e]},Di.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return 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,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Di.rgb.lab=function(e){const t=Di.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];return 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,[116*r-16,500*(n-r),200*(r-o)]},Di.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 c=0;c<3;c++)i=t+1/3*-(c-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[c]=255*u;return a},Di.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);return r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},Di.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]}},Di.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]},Di.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]},Di.cmyk.rgb=function(e){const t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},Di.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]},Di.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return 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,[116*n-16,500*(t-n),200*(n-r)]},Di.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]},Di.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;return o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},Di.lch.lab=function(e){const t=e[1],n=e[2]/360*2*Math.PI;return[e[0],t*Math.cos(n),t*Math.sin(n)]},Di.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let i=null===t?Di.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},Di.hsv.ansi16=function(e){return Di.rgb.ansi16(Di.hsv.rgb(e),e[2])},Di.rgb.ansi256=function(e){const 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)},Di.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]},Di.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Di.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},Di.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]},Di.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]},Di.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]},Di.hsv.hcg=function(e){const t=e[2]/100,n=e[1]/100*t;let r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},Di.hcg.rgb=function(e){const t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];const r=[0,0,0],o=e[0]/360%1*6,i=o%1,u=1-i;let s=0;switch(Math.floor(o)){case 0:r[0]=1,r[1]=i,r[2]=0;break;case 1:r[0]=u,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=i;break;case 3:r[0]=0,r[1]=u,r[2]=1;break;case 4:r[0]=i,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=u}return s=(1-t)*n,[255*(t*r[0]+s),255*(t*r[1]+s),255*(t*r[2]+s)]},Di.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]},Di.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]},Di.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)]},Di.hwb.hcg=function(e){const t=1-e[2]/100,n=t-e[1]/100;let r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},Di.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Di.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Di.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Di.gray.hsl=function(e){return[0,0,e[0]]},Di.gray.hsv=Di.gray.hsl,Di.gray.hwb=function(e){return[0,100,e[0]]},Di.gray.cmyk=function(e){return[0,0,0,e[0]]},Di.gray.lab=function(e){return[e[0],0,0]},Di.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},Di.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const vi={};Object.keys(Ei).forEach(e=>{vi[e]={},Object.defineProperty(vi[e],"channels",{value:Ei[e].channels}),Object.defineProperty(vi[e],"labels",{value:Ei[e].labels});const t=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(Ei);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(Ei[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}(e),n={},r=Object.keys(t);for(let o=r.length,i=0;i<o;i++){const e=r[i];null!==t[e].parent&&(n[e]=Ci(e,t))}return n}(e);Object.keys(t).forEach(n=>{const r=t[n];vi[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,o=0;o<e;o++)r[o]=Math.round(r[o]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),vi[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 Ai=vi,Fi=i(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,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=Ai);const o=r?10:0,i={};for(const[u,a]of Object.entries(s)){const r="ansi16"===u?"ansi":u;u===t?i[r]=e(n,o):"object"==typeof a&&(i[r]=e(a[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}})});function xi(){return!1}function Si(){throw new Error("tty.ReadStream is not implemented")}function wi(){throw new Error("tty.ReadStream is not implemented")}var Ti=(e,t=Me.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)},Bi=o(Object.freeze({__proto__:null,isatty:xi,ReadStream:Si,WriteStream:wi,default:{isatty:xi,ReadStream:Si,WriteStream:wi}}));const{env:ki}=Me;let Ni;function Pi(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Oi(e,t){if(0===Ni)return 0;if(Ti("color=16m")||Ti("color=full")||Ti("color=truecolor"))return 3;if(Ti("color=256"))return 2;if(e&&!t&&void 0===Ni)return 0;const n=Ni||0;if("dumb"===ki.TERM)return n;if("win32"===Me.platform){const e=Do.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ki)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in ki)||"codeship"===ki.CI_NAME?1:n;if("TEAMCITY_VERSION"in ki)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ki.TEAMCITY_VERSION)?1:0;if("truecolor"===ki.COLORTERM)return 3;if("TERM_PROGRAM"in ki){const e=parseInt((ki.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ki.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ki.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ki.TERM)||"COLORTERM"in ki?1:n}Ti("no-color")||Ti("no-colors")||Ti("color=false")||Ti("color=never")?Ni=0:(Ti("color")||Ti("colors")||Ti("color=true")||Ti("color=always"))&&(Ni=1),"FORCE_COLOR"in ki&&(Ni="true"===ki.FORCE_COLOR?1:"false"===ki.FORCE_COLOR?0:0===ki.FORCE_COLOR.length?1:Math.min(parseInt(ki.FORCE_COLOR,10),3));var Ii={supportsColor:function(e){return Pi(Oi(e,e&&e.isTTY))},stdout:Pi(Oi(!0,Bi.isatty(1))),stderr:Pi(Oi(!0,Bi.isatty(2)))};const ji=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Li=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,_i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Mi=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Ri=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Vi(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)):Ri.get(e)||e}function $i(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const i of r){const t=Number(i);if(Number.isNaN(t)){if(!(o=i.match(_i)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(o[2].replace(Mi,(e,t,n)=>t?Vi(t):n))}else n.push(t)}return n}function qi(e){Li.lastIndex=0;const t=[];let n;for(;null!==(n=Li.exec(e));){const e=n[1];if(n[2]){const r=$i(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Wi(e,t){const n={};for(const o of t)for(const e of o.styles)n[e[0]]=o.inverse?null:e.slice(1);let r=e;for(const[o,i]of Object.entries(n))if(Array.isArray(i)){if(!(o in r))throw new Error("Unknown Chalk style: ".concat(o));r=i.length>0?r[o](...i):r[o]}return r}var Ui=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(ji,(t,i,u,s,a,c)=>{if(i)o.push(Vi(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Wi(e,n)(t)),n.push({inverse:u,styles:qi(s)})}else if(a){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(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{stdout:zi,stderr:Hi}=Ii,{stringReplaceAll:Ji,stringEncaseCRLFWithFirstIndex:Gi}={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}},{isArray:Xi}=Array,Yi=["ansi","ansi","ansi256","ansi16m"],Ki=Object.create(null);class Qi{constructor(e){return Zi(e)}}const Zi=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");e.level=void 0===t.level?zi?zi.level:0:t.level})(t,e),t.template=(...e)=>su(t.template,...e),Object.setPrototypeOf(t,eu.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Qi,t.template};function eu(e){return Zi(e)}for(const[Jj,Gj]of Object.entries(Fi))Ki[Jj]={get(){const e=ou(this,ru(Gj.open,Gj.close,this._styler),this._isEmpty);return Object.defineProperty(this,Jj,{value:e}),e}};Ki.visible={get(){const e=ou(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const tu=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const Jj of tu)Ki[Jj]={get(){const{level:e}=this;return function(...t){const n=ru(Fi.color[Yi[e]][Jj](...t),Fi.color.close,this._styler);return ou(this,n,this._isEmpty)}}};for(const Jj of tu)Ki["bg"+Jj[0].toUpperCase()+Jj.slice(1)]={get(){const{level:e}=this;return function(...t){const n=ru(Fi.bgColor[Yi[e]][Jj](...t),Fi.bgColor.close,this._styler);return ou(this,n,this._isEmpty)}}};const nu=Object.defineProperties(()=>{},Object.assign({},Ki,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),ru=(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}},ou=(e,t,n)=>{const r=(...e)=>Xi(e[0])&&Xi(e[0].raw)?iu(r,su(r,...e)):iu(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,nu),r._generator=e,r._styler=t,r._isEmpty=n,r},iu=(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=Ji(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=Gi(t,o,r,i)),r+t+o};let uu;const su=(e,...t)=>{const[n]=t;if(!Xi(n)||!Xi(n.raw))return t.join(" ");const r=t.slice(1),o=[n.raw[0]];for(let i=1;i<n.length;i++)o.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[i]));return void 0===uu&&(uu=Ui),uu(e,o.join(""))};Object.defineProperties(eu.prototype,Ki);const au=eu();au.supportsColor=zi,au.stderr=eu({level:Hi?Hi.level:0}),au.stderr.supportsColor=Hi;var cu=au,lu=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},pu="object"==typeof self&&self&&self.Object===Object&&self,fu=("object"==typeof r&&r&&r.Object===Object&&r||pu||Function("return this")()).Symbol,du=Object.prototype,hu=du.hasOwnProperty,mu=du.toString,gu=fu?fu.toStringTag:void 0,yu=Object.prototype.toString,Du=fu?fu.toStringTag:void 0,Eu=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Du&&Du in Object(e)?function(e){var t=hu.call(e,gu),n=e[gu];try{e[gu]=void 0;var r=!0}catch(i){}var o=mu.call(e);return r&&(t?e[gu]=n:delete e[gu]),o}(e):function(e){return yu.call(e)}(e)},bu=function(e){return null!=e&&"object"==typeof e},Cu=function(e){return bu(e)&&"[object Arguments]"==Eu(e)},vu=Object.prototype,Au=vu.hasOwnProperty,Fu=vu.propertyIsEnumerable,xu=Cu(function(){return arguments}())?Cu:function(e){return bu(e)&&Au.call(e,"callee")&&!Fu.call(e,"callee")},Su=Array.isArray,wu=fu?fu.isConcatSpreadable:void 0,Tu=function(e){return Su(e)||xu(e)||!!(wu&&e&&e[wu])},Bu=function e(t,n,r,o,i){var u=-1,s=t.length;for(r||(r=Tu),i||(i=[]);++u<s;){var a=t[u];n>0&&r(a)?n>1?e(a,n-1,r,o,i):lu(i,a):o||(i[i.length]=a)}return i},ku=function(e){return null!=e&&e.length?Bu(e,1):[]};const Nu={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>pi.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Nu.key(e):""===t?"".concat(Nu.key(e)," without an argument"):"".concat(Nu.key(e),"=").concat(t)};class Pu extends pi.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=[...t].sort()}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find(t=>mi(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 Ou;function Iu(t,n,{logger:r,isCLI:o=!1,passThrough:i=!1}={}){const u=i?Array.isArray(i)?(e,t)=>i.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const o=e(r.schemas,["_"]);return pi.levenUnknownHandler(t,n,Object.assign({},r,{schemas:o}))},s=o?Nu:pi.apiDescriptor,a=function(e,{isCLI:t}){const n=[];t&&n.push(pi.AnySchema.create({name:"_"}));for(const r of e)n.push(ju(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(pi.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:o}),c=new pi.Normalizer(a,{logger:r,unknown:u,descriptor:s}),l=!1!==r;l&&Ou&&(c._hasDeprecationWarned=Ou);const p=c.normalize(t);return l&&(Ou=c._hasDeprecationWarned),p}function ju(e,{isCLI:t,optionInfos:n}){let r;const o={name:e.name},i={};switch(e.type){case"int":r=pi.IntegerSchema,t&&(o.preprocess=e=>Number(e));break;case"string":r=pi.StringSchema;break;case"choice":r=pi.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=pi.BooleanSchema;break;case"flag":r=Pu,o.flags=ku(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=pi.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(o.validate=e.exception?(t,n,r)=>e.exception(t)||n.validate(t,r):(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(i.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){const e=o.preprocess||(e=>e);o.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?fe(t):t),r)}return e.array?pi.ArraySchema.create(Object.assign({},t?{preprocess:e=>Array.isArray(e)?e:[e]}:{},i,{valueSchema:r.create(o)})):r.create(Object.assign({},o,i))}var Lu=function(e,t,n){return Iu(e,t,n)};const{isNonEmptyArray:_u}=_t;function Mu(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(_u(t))return Mu(t[0])}return e.range?e.range[0]:e.start}function Ru(e){return e.range?e.range[1]:e.end}function Vu(e,t){return Mu(e)===Mu(t)}var $u={locStart:Mu,locEnd:Ru,hasSameLocStart:Vu,hasSameLoc:function(e,t){return Vu(e,t)&&(n=t,Ru(e)===Ru(n));var n}},qu=Object.defineProperty({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,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}},"__esModule",{value:!0}),Wu=Qu,Uu=Zu;let zu="\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",Hu="\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 Ju=new RegExp("["+zu+"]"),Gu=new RegExp("["+zu+Hu+"]");zu=Hu=null;const Xu=[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],Yu=[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 Ku(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 Qu(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ju.test(String.fromCharCode(e)):Ku(e,Xu)))}function Zu(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Gu.test(String.fromCharCode(e)):Ku(e,Xu)||Ku(e,Yu))))}var es=Object.defineProperty({isIdentifierStart:Wu,isIdentifierChar:Uu,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,!Qu(r))return!1}else if(!Zu(r))return!1}return!t}},"__esModule",{value:!0}),ts=ss,ns=as,rs=cs;const os=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"]),is=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),us=new Set(["eval","arguments"]);function ss(e,t){return t&&"await"===e||"enum"===e}function as(e,t){return ss(e,t)||is.has(e)}function cs(e){return us.has(e)}var ls=Object.defineProperty({isReservedWord:ts,isStrictReservedWord:ns,isStrictBindOnlyReservedWord:rs,isStrictBindReservedWord:function(e,t){return as(e,t)||cs(e)},isKeyword:function(e){return os.has(e)}},"__esModule",{value:!0}),ps=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return es.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return es.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return es.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return ls.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ls.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ls.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return ls.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return ls.isKeyword}})}),fs=/[|\\{}()[\]^$+*?.]/g,ds=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(fs,"\\$&")},hs={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]},ms=i(function(e){var t={};for(var n in hs)hs.hasOwnProperty(n)&&(t[hs[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 i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.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]},r.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]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,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,i,u=1/0;for(var s in hs)if(hs.hasOwnProperty(s)){var a=(o=e,i=hs[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));a<u&&(u=a,r=s)}return r},r.keyword.rgb=function(e){return hs[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],i=t[2];return o/=100,i/=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-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.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--,o[c]=255*(i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return o},r.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)),(r+n)/2*100]},r.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]}},r.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)]},r.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]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},r.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))]},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;t=e[1]/500+(n=(e[0]+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),i=Math.pow(t,3),u=Math.pow(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]},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[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},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,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)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,o=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(o=(r-.5*t)/(1-t)),[e[0],100*t,100*o]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var r,o=[0,0,0],i=e[0]/360%1*6,u=i%1,s=1-u;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[255*(t*o[0]+(r=(1-t)*n)),255*(t*o[1]+r),255*(t*o[2]+r)]},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=1-e[2]/100,n=t-e[1]/100,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},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 gs(e,t){return function(n){return t(e(n))}}function ys(e,t){for(var n=[t[e].parent,e],r=ms[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=gs(ms[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}var Ds={};Object.keys(ms).forEach(function(e){Ds[e]={},Object.defineProperty(Ds[e],"channels",{value:ms[e].channels}),Object.defineProperty(Ds[e],"labels",{value:ms[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(ms),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(ms[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}(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var u=r[i];null!==t[u].parent&&(n[u]=ys(u,t))}return n}(e);Object.keys(t).forEach(function(n){var r,o,i=t[n];Ds[e][n]=(o=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var t=r(e);if("object"==typeof t)for(var n=t.length,o=0;o<n;o++)t[o]=Math.round(t[o]);return t},"conversion"in(r=i)&&(o.conversion=r.conversion),o),Ds[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}(i)})});var Es=Ds,bs=i(function(e){const t=(e,t)=>function(){const n=e.apply(Es,arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(Es,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(Es,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 i=e=>e,u=(e,t,n)=>[e,t,n];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(let s of Object.keys(Es)){if("object"!=typeof Es[s])continue;const e=Es[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(o.color.ansi[s]=t(e.ansi16,0),o.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(o.color.ansi256[s]=n(e.ansi256,0),o.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(o.color.ansi16m[s]=r(e.rgb,0),o.bgColor.ansi16m[s]=r(e.rgb,10))}return o}})});const Cs=Me.env;let vs;function As(e){return 0!==(t=function(e){if(!1===vs)return 0;if(yo("color=16m")||yo("color=full")||yo("color=truecolor"))return 3;if(yo("color=256"))return 2;if(e&&!e.isTTY&&!0!==vs)return 0;const t=vs?1:0;if("win32"===Me.platform){const e=Do.release().split(".");return Number(Me.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Cs)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Cs)||"codeship"===Cs.CI_NAME?1:t;if("TEAMCITY_VERSION"in Cs)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Cs.TEAMCITY_VERSION)?1:0;if("truecolor"===Cs.COLORTERM)return 3;if("TERM_PROGRAM"in Cs){const e=parseInt((Cs.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Cs.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Cs.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Cs.TERM)||"COLORTERM"in Cs?1:t}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}yo("no-color")||yo("no-colors")||yo("color=false")?vs=!1:(yo("color")||yo("colors")||yo("color=true")||yo("color=always"))&&(vs=!0),"FORCE_COLOR"in Cs&&(vs=0===Cs.FORCE_COLOR.length||0!==parseInt(Cs.FORCE_COLOR,10));var Fs={supportsColor:As,stdout:As(Me.stdout),stderr:As(Me.stderr)};const xs=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ss=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ws=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ts=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Bs=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function ks(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Bs.get(e)||e}function Ns(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const i of r)if(isNaN(i)){if(!(o=i.match(ws)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(o[2].replace(Ts,(e,t,n)=>t?ks(t):n))}else n.push(Number(i));return n}function Ps(e){Ss.lastIndex=0;const t=[];let n;for(;null!==(n=Ss.exec(e));){const e=n[1];if(n[2]){const r=Ns(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Os(e,t){const n={};for(const o of t)for(const e of o.styles)n[e[0]]=o.inverse?null:e.slice(1);let r=e;for(const o of Object.keys(n))if(Array.isArray(n[o])){if(!(o in r))throw new Error("Unknown Chalk style: ".concat(o));r=n[o].length>0?r[o].apply(r,n[o]):r[o]}return r}var Is,js=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(xs,(t,i,u,s,a,c)=>{if(i)o.push(ks(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Os(e,n)(t)),n.push({inverse:u,styles:Ps(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Os(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("")},Ls=i(function(e){const t=Fs.stdout,n="win32"===Me.platform&&!(Me.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){e.level=void 0===(n=n||{}).level?t?t.level:0:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return u(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}u(this,e)}n&&(bs.blue.open="\x1b[94m");for(const f of Object.keys(bs))bs[f].closeRe=new RegExp(ds(bs[f].close),"g"),i[f]={get(){const e=bs[f];return c.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},bs.color.closeRe=new RegExp(ds(bs.color.close),"g");for(const f of Object.keys(bs.color.ansi))o.has(f)||(i[f]={get(){const e=this.level;return function(){const t={open:bs.color[r[e]][f].apply(null,arguments),close:bs.color.close,closeRe:bs.color.closeRe};return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,f)}}});bs.bgColor.closeRe=new RegExp(ds(bs.bgColor.close),"g");for(const f of Object.keys(bs.bgColor.ansi))o.has(f)||(i["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t={open:bs.bgColor[r[e]][f].apply(null,arguments),close:bs.bgColor.close,closeRe:bs.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,f)}}});const a=Object.defineProperties(()=>{},i);function c(e,t,n){const r=function(){return l.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__=a,r}function l(){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=bs.dim.open;n&&this.hasGrey&&(bs.dim.open="");for(const n of this._styles.slice().reverse())r=n.open+r.replace(n.closeRe,n.open)+n.close,r=r.replace(/\r?\n/g,"".concat(n.close,"$&").concat(n.open));return bs.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 o=1;o<t.length;o++)r.push(String(n[o-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[o]));return js(e,r.join(""))}Object.defineProperties(s.prototype,i),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports}),_s=Hs,Ms=Js,Rs=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=$s();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]}return n.default=e,t&&t.set(e,n),n}(qu),Vs=(Is=Ls)&&Is.__esModule?Is:{default:Is};function $s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return $s=function(){return e},e}const qs=new Set(["as","async","from","get","of","set"]),Ws=/\r\n|[\n\r\u2028\u2029]/,Us=/^[()[\]{}]$/;let zs;{const{matchToToken:e}=Rs,t=/^[a-z][\w-]*$/i,n=function(e,n,r){if("name"===e.type){if((0,ps.isKeyword)(e.value)||(0,ps.isStrictReservedWord)(e.value,!0)||qs.has(e.value))return"keyword";if(t.test(e.value)&&("<"===r[n-1]||"</"==r.substr(n-2,2)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return"punctuator"===e.type&&Us.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator"};zs=function*(t){let r;for(;r=Rs.default.exec(t);){const o=e(r);yield{type:n(o,r.index,t),value:o.value}}}}function Hs(e){return!!Vs.default.supportsColor||e.forceColor}function Js(e){return e.forceColor?new Vs.default.constructor({enabled:!0,level:1}):Vs.default}var Gs=Zs,Xs=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Ys();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]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:_s,getChalk:Ms,default:function(e,t={}){if(Hs(t)){return function(e,t){let n="";for(const{type:r,value:o}of zs(t)){const t=e[r];n+=t?o.split(Ws).map(e=>t(e)).join("\n"):o}return n}({keyword:(n=Js(t)).cyan,capitalized:n.yellow,jsxIdentifier:n.yellow,punctuator:n.yellow,number:n.magenta,string:n.green,regex:n.magenta,comment:n.grey,invalid:n.white.bgRed.bold},e)}var n;return e}},"__esModule",{value:!0}));function Ys(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ys=function(){return e},e}let Ks=!1;const Qs=/\r\n|[\n\r\u2028\u2029]/;function Zs(e,t,n={}){const r=(n.highlightCode||n.forceColor)&&(0,Xs.shouldHighlight)(n),o=(0,Xs.getChalk)(n),i={gutter:(d=o).grey,marker:d.red.bold,message:d.red.bold},u=(e,t)=>r?e(t):t,s=e.split(Qs),{start:a,end:c,markerLines:l}=function(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 m=0;m<=d;m++){const e=m+s;h[e]=!a||(0===m?[a,t[e-1].length-a+1]:m===d?[0,l]:[0,t[e-m].length])}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h}}(t,s,n),p=t.start&&"number"==typeof t.start.column,f=String(c).length;var d;let h=(r?(0,Xs.default)(e,n):e).split(Qs).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}var ea=Object.defineProperty({codeFrameColumns:Gs,default:function(e,t,n,r={}){if(!Ks){Ks=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";Me.emitWarning?Me.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return Zs(e,{start:{column:n=Math.max(n,0),line:t}},r)}},"__esModule",{value:!0}),ta=o(In);const{ConfigError:na}=_r,{locStart:ra,locEnd:oa}=$u,ia=Object.getOwnPropertyNames,ua=Object.getOwnPropertyDescriptor;function sa(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of ia(n.parsers))Object.defineProperty(t,e,ua(n.parsers,e));return t}function aa(e,t=sa(e)){if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:ra,locEnd:oa};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new na("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var ca={parse:function(e,t){const n=sa(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),o=aa(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(i){const{loc:t}=i;if(t){const{codeFrameColumns:n}=ea;throw i.codeFrame=n(e,t,{highlightCode:!0}),i.message+="\n"+i.codeFrame,i}throw i.stack}},resolveParser:aa};const{UndefinedParserError:la}=_r,{getSupportInfo:pa}=Dt,{resolveParser:fa}=ca,da={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function ha(e,t){const n=ta.basename(e).toLowerCase(),r=pa({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=Pr.openSync(e,"r")}catch(n){return""}try{const e=new class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter=t.newLineCharacter?t.newLineCharacter.charCodeAt(0):10,this.fd="number"==typeof e?e:Pr.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(){Pr.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 Jn(this.options.readChunk);t=Pr.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=Jn.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]=Jn.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;return this.eofReached&&0===this.linesCache.length||(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()))),this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1))),t}}(t).next().toString("utf8"),r=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const o=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return o?o[1]:""}catch(n){return""}finally{try{Pr.closeSync(t)}catch(n){}}}(e);o=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return o&&o.parsers[0]}var ma={normalize:function(e,t={}){const n=Object.assign({},e),r=pa({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign({},da,de(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=ha(n.filepath,n.plugins),!n.parser)throw new la("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=fa(Lu(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=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=u.printers[n.astFormat];const s=de(r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[u.name]).map(e=>[e.name,e.pluginDefaults[u.name]])),a=Object.assign({},o,s);for(const[c,l]of Object.entries(a))null!=n[c]||(n[c]=l);return"json"===n.parser&&(n.trailingComma="none"),Lu(n,r,Object.assign({passThrough:Object.keys(da)},t))},hiddenDefaults:da,inferParser:ha},ga=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[s,a]of Object.entries(t))i.has(s)||"function"==typeof a||(u[s]=e(a,n,t));if(o){const e=o(t,u,r);if(null===e)return;if(e)return e}return u},ya="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 Da(e,t){var n={seen:[],stylize:ba};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Fa(t)?n.showHidden=t:t&&ja(n,t),wa(n.showHidden)&&(n.showHidden=!1),wa(n.depth)&&(n.depth=2),wa(n.colors)&&(n.colors=!1),wa(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ea),Ca(n,e,n.depth)}function Ea(e,t){var n=Da.styles[t];return n?"\x1b["+Da.colors[n][0]+"m"+e+"\x1b["+Da.colors[n][1]+"m":e}function ba(e,t){return e}function Ca(e,t,n){if(e.customInspect&&t&&Pa(t.inspect)&&t.inspect!==Da&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Sa(r)||(r=Ca(e,r,n)),r}var o=function(e,t){if(wa(t))return e.stylize("undefined","undefined");if(Sa(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):Fa(t)?e.stylize(""+t,"boolean"):xa(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var i,u=Object.keys(t),s=(i={},u.forEach(function(e,t){i[e]=!0}),i);if(e.showHidden&&(u=Object.getOwnPropertyNames(t)),Na(t)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return va(t);if(0===u.length){if(Pa(t))return e.stylize("[Function"+(t.name?": "+t.name:"")+"]","special");if(Ta(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ka(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Na(t))return va(t)}var a,c="",l=!1,p=["{","}"];return Array.isArray(t)&&(l=!0,p=["[","]"]),Pa(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),Ta(t)&&(c=" "+RegExp.prototype.toString.call(t)),ka(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Na(t)&&(c=" "+va(t)),0!==u.length||l&&0!=t.length?n<0?Ta(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),a=l?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u<s;++u)La(t,String(u))?i.push(Aa(e,t,n,r,String(u),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(Aa(e,t,n,r,o,!0))}),i}(e,t,n,s,u):u.map(function(r){return Aa(e,t,n,s,r,l)}),e.seen.pop(),function(e,t,n){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(a,c,p)):p[0]+c+p[1]}function va(e){return"["+Error.prototype.toString.call(e)+"]"}function Aa(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=e.stylize(a.set?"[Getter/Setter]":"[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),La(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=xa(n)?Ca(e,a.value,null):Ca(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")),wa(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 Fa(e){return"boolean"==typeof e}function xa(e){return null===e}function Sa(e){return"string"==typeof e}function wa(e){return void 0===e}function Ta(e){return Ba(e)&&"[object RegExp]"===Ia(e)}function Ba(e){return"object"==typeof e&&null!==e}function ka(e){return Ba(e)&&"[object Date]"===Ia(e)}function Na(e){return Ba(e)&&("[object Error]"===Ia(e)||e instanceof Error)}function Pa(e){return"function"==typeof e}function Oa(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Ia(e){return Object.prototype.toString.call(e)}function ja(e,t){if(!t||!Ba(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function La(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _a(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}Da.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]},Da.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Ma,Ra=Object.prototype.hasOwnProperty,Va=Object.keys||function(e){var t=[];for(var n in e)Ra.call(e,n)&&t.push(n);return t},$a=Array.prototype.slice;function qa(){return void 0!==Ma?Ma:Ma="foo"===(function(){}).name}function Wa(e){return Object.prototype.toString.call(e)}function Ua(e){return!kr(e)&&"function"==typeof he.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}function za(e,t){e||Ka(e,!0,t,"==",Qa)}var Ha=/\s*function\s+([^\(\s]*)\s*/;function Ja(e){if(Pa(e)){if(qa())return e.name;var t=e.toString().match(Ha);return t&&t[1]}}function Ga(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=Xa(Ya(this.actual),128)+" "+this.operator+" "+Xa(Ya(this.expected),128),this.generatedMessage=!0);var t=e.stackStartFunction||Ka;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,o=Ja(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 Xa(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function Ya(e){if(qa()||!Pa(e))return Da(e);var t=Ja(e);return"[Function"+(t?": "+t:"")+"]"}function Ka(e,t,n,r,o){throw new Ga({message:n,actual:e,expected:t,operator:r,stackStartFunction:o})}function Qa(e,t){e||Ka(e,!0,t,"==",Qa)}function Za(e,t,n){e!=t&&Ka(e,t,n,"==",Za)}function ec(e,t,n){e==t&&Ka(e,t,n,"!=",ec)}function tc(e,t,n){rc(e,t,!1)||Ka(e,t,n,"deepEqual",tc)}function nc(e,t,n){rc(e,t,!0)||Ka(e,t,n,"deepStrictEqual",nc)}function rc(e,t,n,r){if(e===t)return!0;if(kr(e)&&kr(t))return 0===_a(e,t);if(ka(e)&&ka(t))return e.getTime()===t.getTime();if(Ta(e)&&Ta(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(Ua(e)&&Ua(t)&&Wa(e)===Wa(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===_a(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(kr(e)!==kr(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(Oa(e)||Oa(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=oc(e),i=oc(t);if(o&&!i||!o&&i)return!1;if(o)return rc(e=$a.call(e),t=$a.call(t),n);var u,s,a=Va(e),c=Va(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(!rc(e[u=a[s]],t[u],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function oc(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function ic(e,t,n){rc(e,t,!1)&&Ka(e,t,n,"notDeepEqual",ic)}function uc(e,t,n){rc(e,t,!0)&&Ka(e,t,n,"notDeepStrictEqual",uc)}function sc(e,t,n){e!==t&&Ka(e,t,n,"===",sc)}function ac(e,t,n){e===t&&Ka(e,t,n,"!==",ac)}function cc(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(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function lc(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(n){t=n}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&Ka(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&Na(o)&&i&&cc(o,n)||u)&&Ka(o,n,"Got unwanted exception"+r),e&&o&&n&&!cc(o,n)||!e&&o)throw o}function pc(e,t,n){lc(!0,e,t,n)}function fc(e,t,n){lc(!1,e,t,n)}function dc(e){if(e)throw e}za.AssertionError=Ga,ya(Ga,Error),za.fail=Ka,za.ok=Qa,za.equal=Za,za.notEqual=ec,za.deepEqual=tc,za.deepStrictEqual=nc,za.notDeepEqual=ic,za.notDeepStrictEqual=uc,za.strictEqual=sc,za.notStrictEqual=ac,za.throws=pc,za.doesNotThrow=fc,za.ifError=dc;var hc=o(Object.freeze({__proto__:null,default:za,AssertionError:Ga,fail:Ka,ok:Qa,assert:Qa,equal:Za,notEqual:ec,deepEqual:tc,deepStrictEqual:nc,notDeepEqual:ic,notDeepStrictEqual:uc,strictEqual:sc,notStrictEqual:ac,throws:pc,doesNotThrow:fc,ifError:dc}));const{builders:{line:mc,hardline:gc,breakParent:yc,indent:Dc,lineSuffix:Ec,join:bc,cursor:Cc}}=En,{hasNewline:vc,skipNewline:Ac,skipSpaces:Fc,isPreviousLineEmpty:xc,addLeadingComment:Sc,addDanglingComment:wc,addTrailingComment:Tc}=_t,Bc=new WeakMap;function kc(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(Bc.has(e))return Bc.get(e);const u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(([e])=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(([,e])=>e);if(u){n||Bc.set(e,n=[]);for(const e of u)kc(e,t,n);return n}}function Nc(e,t,n,r){const{locStart:o,locEnd:i}=n,u=o(t),s=i(t),a=kc(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 Nc(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=Mc(e,t,n);c&&Mc(e,c,n)!==o&&(c=null),l&&Mc(e,l,n)!==o&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}const Pc=()=>!1,Oc=e=>!/[\S\n\u2028\u2029]/.test(e);function Ic(e,t,n,r){const{comment:o,precedingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=u(o);if(i)for(let c=r-1;c>=0;c--){const{comment:t,precedingNode:r}=n[c];if(r!==i||!Oc(e.slice(s(t),a)))break;a=u(t)}return vc(e,a,{backwards:!0})}function jc(e,t,n,r){const{comment:o,followingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=s(o);if(i)for(let c=r+1;c<n.length;c++){const{comment:t,followingNode:r}=n[c];if(r!==i||!Oc(e.slice(a,u(t))))break;a=s(t)}return vc(e,a)}function Lc(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];hc.strictEqual(u,o),hc.strictEqual(l,i);const p=t.slice(n.locEnd(r),c);if(!s.test(p))break;c=n.locStart(r)}for(const[l,{comment:p}]of e.entries())l<a?Tc(o,p):Sc(i,p);for(const l of[o,i])l.comments&&l.comments.length>1&&l.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function _c(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Mc(e,t,n){const r=n.locStart(t)-1;for(let o=1;o<e.length;++o)if(r<n.locStart(e[o]))return o-1;return 0}function Rc(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?Cc:"";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=[_c(e,t)],{printer:o,originalText:i,locStart:u,locEnd:s}=t;if(o.isBlockComment&&o.isBlockComment(n)){const e=vc(i,s(n))?vc(i,u(n),{backwards:!0})?gc:mc:" ";r.push(e)}else r.push(gc);const a=Ac(i,Fc(i,s(n)));return!1!==a&&vc(i,a)&&r.push(gc),r}(e,t)):i&&s.push(function(e,t){const n=e.getValue(),r=_c(e,t),{printer:o,originalText:i,locStart:u}=t,s=o.isBlockComment&&o.isBlockComment(n);if(vc(i,u(n),{backwards:!0})){const e=xc(i,n,u);return Ec([gc,e?gc:"",r])}let a=[" ",r];return s||(a=[Ec(a),yc]),a}(e,t))},"comments"),i&&(u.unshift(Cc),s.push(Cc)),{leading:u,trailing:s}}var Vc={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=Pc,endOfLine:l=Pc,remaining:p=Pc}=s,f=e.map((o,i)=>Object.assign({},Nc(t,o,r),{comment:o,text:n,options:r,ast:t,isLastComment:e.length-1===i}));for(const[d,h]of f.entries()){const{comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:s,options:m,ast:g,isLastComment:y}=h;if("json"===m.parser||"json5"===m.parser||"__js_expression"===m.parser||"__vue_expression"===m.parser){if(i(e)-i(g)<=0){Sc(g,e);continue}if(u(e)-u(g)>=0){Tc(g,e);continue}}let D;if(a?D=[h]:(e.enclosingNode=n,e.precedingNode=t,e.followingNode=r,D=[e,s,m,g,y]),Ic(s,m,f,d))e.placement="ownLine",c(...D)||(r?Sc(r,e):t?Tc(t,e):wc(n||g,e));else if(jc(s,m,f,d))e.placement="endOfLine",l(...D)||(t?Tc(t,e):r?Sc(r,e):wc(n||g,e));else if(e.placement="remaining",!p(...D))if(t&&r){const e=o.length;e>0&&o[e-1].followingNode!==r&&Lc(o,s,m),o.push(h)}else t?Tc(t,e):r?Sc(r,e):wc(n||g,e)}if(Lc(o,n,r),!a)for(const d of e)delete d.precedingNode,delete d.enclosingNode,delete d.followingNode},printComments:function(e,t,n,r){const{leading:o,trailing:i}=Rc(e,n,r);return o||i?[o,t,i]:t},printCommentsSeparately:Rc,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(_c(e,t))},"comments"),0===o.length?"":n?bc(gc,o):Dc([gc,bc(gc,o)])):""},getSortedChildNodes:kc,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}}};function $c(e,t){const n=qc(e.stack,t);return-1===n?null:e.stack[n]}function qc(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}const{utils:{stripTrailingHardline:Wc}}=En,{normalize:Uc}=ma;var zc=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 i=Uc(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=ca.parse(e,i),{ast:s}=u;e=u.text;const a=s.comments;delete s.comments,Vc.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];const c=r(s,i);return Vc.ensureAllCommentsPrinted(a),o?"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):Wc(c):c}(e,t,n,r,o),n)};const{builders:{hardline:Hc,addAlignmentToDoc:Jc},utils:{propagateBreaks:Gc}}=En,{printComments:Xc}=Vc;var Yc=function e(t,n,o=0){const{printer:i}=n;i.preprocess&&(t=i.preprocess(t,n));const u=new Map,s=new class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return fe(this.stack)}getNode(e=0){return $c(this,e)}getParentNode(e=0){return $c(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let o=fe(n);for(const u of t)o=o[u],n.push(u,o);const i=e(this);return n.length=r,i}callParent(e,t=0){const n=qc(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=fe(n);for(const i of t)o=o[i],n.push(i,o);for(let i=0;i<o.length;++i)n.push(i,o[i]),e(this,i,o),n.length-=2;n.length=r}map(e,...t){const n=[];return this.each((t,r,o)=>{n[r]=e(t,r,o)},...t),n}try(e){const{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...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}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--]}}}(t);let a=c();return o>0&&(a=Jc([Hc,a],o,n.tabWidth)),Gc(a),a;function c(e,t){return void 0===e||e===s?l(t):Array.isArray(e)?s.call(()=>l(t),...e):s.call(()=>l(t),e)}function l(t){const o=s.getValue(),i=o&&"object"==typeof o&&void 0===t;if(i&&u.has(o))return u.get(o);const a=function(t,n,o,i){const u=t.getValue(),{printer:s}=n;let a,c;if(s.hasPrettierIgnore&&s.hasPrettierIgnore(t))({doc:a,printedComments:c}=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 c of r)o(c)>=u&&i(c)<=s&&(c.printed=!0,a.add(c));return{doc:n.slice(u,s),printedComments:a}}(u,n));else{if(u)try{a=zc(t,o,n,e)}catch(l){if(r.PRETTIER_DEBUG)throw l}a||(a=s.print(t,n,o,i))}return s.willPrintOwnComments&&s.willPrintOwnComments(t,n)||(a=Xc(t,a,n,c)),a}(s,n,c,t);return i&&u.set(o,a),a}};function Kc(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 Qc(e,t,n,r,o=[],i){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 Vc.getSortedChildNodes(e,n)){const s=Qc(u,t,n,r,[e,...o],i);if(s)return s}return!r||r(e,o[0])?{node:e,parentNodes:o}:void 0}}const Zc=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),el=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function tl(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":return r=t.type,"DeclareExportDeclaration"!==(n&&n.type)&&"TypeParameterDeclaration"!==r&&("Directive"===r||"TypeAlias"===r||"TSExportAssignment"===r||r.startsWith("Declare")||r.startsWith("TSDeclare")||r.endsWith("Statement")||r.endsWith("Declaration"));case"json":case"json5":case"json-stringify":return Zc.has(t.type);case"graphql":return el.has(t.kind);case"vue":return"root"!==t.tag}var r;return!1}var nl={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:o,locStart:i,locEnd:u}=t;hc.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=Qc(n,r,t,(e,n)=>tl(t,e,n),[],"rangeStart"),l=a?c:Qc(n,o,t,e=>tl(t,e),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,f;if((({parser:e})=>"json"===e||"json5"===e||"json-stringify"===e)(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(e=>Zc.has(e.type)&&r.has(e))}(c,l);p=e,f=e}else({startNode:p,endNode:f}=function(e,t,{locStart:n,locEnd:r}){let o=e.node,i=t.node;if(o===i)return{startNode:o,endNode:i};const u=n(e.node);for(const a of Kc(t.parentNodes)){if(!(n(a)>=u))break;i=a}const s=r(t.node);for(const a of Kc(e.parentNodes)){if(!(r(a)<=s))break;o=a}return{startNode:o,endNode:i}}(c,l,t));return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))}},findNodeAtOffset:Qc};const{printer:{printDocToString:rl},debug:{printDocToDebug:ol}}=En,{getAlignmentSize:il}=_t,{guessEndOfLine:ul,convertEndOfLineToChars:sl,countEndOfLineChars:al,normalizeEndOfLine:cl}=Mt,ll=ma.normalize,pl=Symbol("cursor");function fl(e,t,n){const r=t.comments;return r&&(delete t.comments,Vc.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function dl(e,t,n=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:o}=ca.parse(e,t);if(t.cursorOffset>=0){const e=nl.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const i=fl(o,r,t),u=Yc(r,t,n),s=rl(u,t);if(Vc.ensureAllCommentsPrinted(i),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+sl(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.split("");c.splice(r,0,pl);const l=a.split(""),p=Y.diffArrays(c,l);let f=u;for(const t of p)if(t.removed){if(t.value.includes(pl))break}else f+=t.count;return{formatted:s.formatted,cursorOffset:f,comments:i}}return{formatted:s.formatted,cursorOffset:-1,comments:i}}function hl(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function ml(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=t;return n=hl(e,n,-1),r=hl(e,r,0),o=hl(e,o,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o})}function gl(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}=ml(e,t);const u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=ul(e)),e.includes("\r")){const t=t=>al(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),o-=t(o),e=cl(e)}return{hasBOM:u,text:e,options:ml(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))}}function yl(e,t){const n=ca.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Dl(e,t){let n,{hasBOM:r,text:o,options:i}=gl(e,ll(t));return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!yl(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<o.length?n=function(e,t){const{ast:n,text:r}=ca.parse(e,t),{rangeStart:o,rangeEnd:i}=nl.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=il(a,t.tabWidth),l=dl(u,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=sl(t.endOfLine);f>=0&&"\r\n"===e&&(f+=al(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&&!yl(o,i)&&(o=i.printer.insertPragma(o)),n=dl(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var El={formatWithCursor:Dl,parse(e,t,n){const{text:r,options:o}=gl(e,ll(t)),i=ca.parse(r,o);return n&&(i.ast=ga(i.ast,o)),i},formatAST(e,t){t=ll(t);const n=Yc(e,t);return rl(n,t)},formatDoc:(e,t)=>Dl(ol(e),Object.assign({},t,{parser:"__js_expression"})).formatted,printToDoc(e,t){t=ll(t);const{ast:n,text:r}=ca.parse(e,t);return fl(r,n,t),Yc(n,t)},printDocToString:(e,t)=>rl(e,ll(t))};const{getMaxContinuousCount:bl,getStringWidth:Cl,getAlignmentSize:vl,getIndentSize:Al,skip:Fl,skipWhitespace:xl,skipSpaces:Sl,skipNewline:wl,skipToLineEnd:Tl,skipEverythingButNewLine:Bl,skipInlineComment:kl,skipTrailingComment:Nl,hasNewline:Pl,hasNewlineInRange:Ol,hasSpaces:Il,isNextLineEmpty:jl,isNextLineEmptyAfterIndex:Ll,isPreviousLineEmpty:_l,getNextNonSpaceNonCommentCharacterIndex:Ml,makeString:Rl,addLeadingComment:Vl,addDanglingComment:$l,addTrailingComment:ql}=_t;var Wl={getMaxContinuousCount:bl,getStringWidth:Cl,getAlignmentSize:vl,getIndentSize:Al,skip:Fl,skipWhitespace:xl,skipSpaces:Sl,skipNewline:wl,skipToLineEnd:Tl,skipEverythingButNewLine:Bl,skipInlineComment:kl,skipTrailingComment:Nl,hasNewline:Pl,hasNewlineInRange:Ol,hasSpaces:Il,isNextLineEmpty:jl,isNextLineEmptyAfterIndex:Ll,isPreviousLineEmpty:_l,getNextNonSpaceNonCommentCharacterIndex:Ml,makeString:Rl,addLeadingComment:Vl,addDanglingComment:$l,addTrailingComment:ql},Ul=function(t,n){const{languageId:r}=t,o=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},o,n(t))},zl=i(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||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}}()}),Hl=i(function(e){!function(){var t,n,r,o,i,u;function s(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),u=0;u<128;++u)o[u]=u>=97&&u<=122||u>=65&&u<=90||36===u||95===u;for(i=new Array(128),u=0;u<128;++u)i[u]=u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||36===u||95===u;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(s(e))},isIdentifierPartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()}),Jl=i(function(e){!function(){var t=Hl;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 i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function u(e){var n,r,o;if(0===e.length||(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 s(e){var n,r,o,i,u;if(0===e.length)return!1;for(u=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(o=e.charCodeAt(n))&&o<=56319){if(++n>=r||!(56320<=(i=e.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536}if(!u(o))return!1;u=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:o,isReservedWordES6:i,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:u,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return u(e)&&!o(e,t)},isIdentifierES6:function(e,t){return s(e)&&!i(e,t)}}}()});const Gl=i(function(e,t){t.ast=zl,t.code=Hl,t.keyword=Jl}).keyword.isIdentifierNameES5,{getLast:Xl,hasNewline:Yl,skipWhitespace:Kl,isNonEmptyArray:Ql,isNextLineEmptyAfterIndex:Zl}=_t,{locStart:ep,locEnd:tp,hasSameLocStart:np}=$u,rp="(?:(?=.)\\s)",op=new RegExp("^".concat(rp,"*:")),ip=new RegExp("^".concat(rp,"*::"));function up(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Cp(e)||vp(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function sp(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function ap(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const cp=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function lp(e){return e&&cp.has(e.type)}function pp(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function fp(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function dp(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function hp(e){return Cp(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function mp(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function gp(e){return"get"===e.kind||"set"===e.kind}function yp(e){return gp(e)||np(e,e.value)}const Dp=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),Ep=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"]),bp=/^(skip|[fx]?(it|describe|test))$/;function Cp(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function vp(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Ap(e,t){return mp(t)?Lp(t):Rp(t,_p.Leading,t=>Yl(e,tp(t)))}function Fp(e){return/^(\d+|\d+\.\d+)$/.test(e)}function xp(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function Sp(e){return e.extra?e.extra.raw:e.raw}const wp={"==":!0,"!=":!0,"===":!0,"!==":!0},Tp={"*":!0,"/":!0,"%":!0},Bp={">>":!0,">>>":!0,"<<":!0},kp={};for(const[Jj,Gj]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const e of Gj)kp[e]=Jj;function Np(e){return kp[e]}const Pp=new WeakMap;function Op(e){if(Pp.has(e))return Pp.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),Pp.set(e,t),t}const Ip=new WeakMap;function jp(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Lp(e){return e&&(e.prettierIgnore||Rp(e,_p.PrettierIgnore))}const _p={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Mp=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,o)=>!(e&_p.Leading&&!n.leading||e&_p.Trailing&&!n.trailing||e&_p.Dangling&&(n.leading||n.trailing)||e&_p.Block&&!sp(n)||e&_p.Line&&!ap(n)||e&_p.First&&0!==r||e&_p.Last&&r!==o.length-1||e&_p.PrettierIgnore&&!jp(n)||t&&!t(n))};function Rp(e,t,n){if(!e||!Ql(e.comments))return!1;const r=Mp(t,n);return!r||e.comments.some(r)}function Vp(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=Mp(t,n);return r?e.comments.filter(r):e.comments}function $p(e){return Cp(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var qp={getFunctionParameters:Op,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(Ip.has(e))return Ip.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return Ip.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=Op(e);return t.length>0&&"RestElement"===Xl(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()&&lp(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&sp(e[0])&&ip.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&Ql(e.trailingComments)&&sp(e.trailingComments[0])&&op.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:Ap,hasNakedLeftSide:up,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 Lp(e.getValue())},hasNodeIgnoreComment:Lp,identity:function(e){return e},isBinaryish:function(e){return Dp.has(e.type)},isBlockComment:sp,isCallLikeExpression:$p,isLineComment:ap,isPrettierIgnoreComment:jp,isCallExpression:Cp,isMemberExpression:vp,isExportDeclaration:lp,isFlowAnnotationComment:function(e,t){const n=ep(t),r=Kl(e,tp(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(dp(n)){if(t+=1,t>1)return!0}else if(Cp(n))for(const e of n.arguments)if(dp(e))return!0;return!1},isFunctionNotation:yp,isFunctionOrArrowExpression:dp,isGetterOrSetter:gp,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:mp,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 Cp(t)&&Cp(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||"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)):"ImportExpression"===t.type?r(t.source):$p(t)?e(t.callee,n)&&t.arguments.every(r):vp(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 vp(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:pp,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&pp(e.argument)},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||yp(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!Ep.has(e.type))},isSimpleNumber:Fp,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(Rp(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(vp(e)){let t=e;for(;vp(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Rp(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:fp,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&fp(e.key)&&Sp(e.key).slice(1,-1)===e.key.value&&(Gl(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Fp(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&&xp(e)||"TaggedTemplateExpression"===e.type&&xp(e.quasi))&&!Yl(t,ep(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(hp(t)&&n&&e(n))return dp(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return hp(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&bp.test(t.callee.name)||function(e){return vp(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&bp.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])||fp(t.arguments[0])))return!(t.arguments[2]&&!pp(t.arguments[2]))&&((2===t.arguments.length?dp(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&Op(t.arguments[1]).length<=1)||hp(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||!mp(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||np(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>Zl(t,tp(e)),needsHardlineAfterDanglingComment:function(e){if(!Rp(e))return!1;const t=Xl(Vp(e,_p.Dangling));return t&&!sp(t)},rawText:Sp,returnArgumentHasLeadingComment:function(e,t){if(Ap(e.originalText,t))return!0;if(up(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,Ap(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 Boolean(Bp[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(Np(t)!==Np(e)||"**"===e||wp[e]&&wp[t]||"%"===t&&Tp[e]||"%"===e&&Tp[t]||t!==e&&Tp[t]&&Tp[e]||Bp[e]&&Bp[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:Np,hasComment:Rp,getComments:Vp,CommentCheckFlags:_p};const{getStringWidth:Wp,getIndentSize:Up}=_t,{builders:{join:zp,hardline:Hp,softline:Jp,group:Gp,indent:Xp,align:Yp,lineSuffixBoundary:Kp,addAlignmentToDoc:Qp},printer:{printDocToString:Zp},utils:{mapDoc:ef}}=En,{isBinaryish:tf,isJestEachTemplateLiteral:nf,isSimpleTemplateLiteral:rf,hasComment:of,isMemberExpression:uf}=qp;function sf(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var af={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&nf(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=>"${"+Zp(e,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=fe(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],Wp(n));return u.push(Kp,"`",Xp([Hp,zp(Hp,p.map(e=>zp(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(l[n]-Wp(t))))))]),Hp,"`"),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=rf(r);return s&&(u=u.map(e=>Zp(e,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted)),i.push(Kp,"`"),e.each(e=>{const a=e.getName();if(i.push(t()),a<u.length){const{tabWidth:t}=n,c=e.getValue(),l=Up(c.value.raw,t);let p=u[a];if(!s){const e=r[o][a];(of(e)||uf(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||tf(e))&&(p=[Xp([Jp,p]),Jp])}const f=0===l&&c.value.raw.endsWith("\n")?Yp(Number.NEGATIVE_INFINITY,p):Qp(p,l,t);i.push(Gp(["${",f,Kp,"}"]))}},"quasis"),i.push("`"),i},printTemplateExpressions:function(e,t){return e.map(e=>function(e,t){const n=e.getValue();let r=t();return of(n)&&(r=Gp([Xp([Jp,r]),Jp])),["${",r,Kp,"}"]}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return ef(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):sf(e):e)},uncookTemplateElementValue:sf};const{builders:{indent:cf,softline:lf,literalline:pf,dedentToRoot:ff}}=En,{escapeTemplateCharacters:df}=af;const{isNonEmptyArray:hf}=_t,{builders:{indent:mf,hardline:gf,softline:yf},utils:{mapDoc:Df,replaceNewlinesWithLiterallines:Ef,cleanDoc:bf}}=En,{printTemplateExpressions:Cf}=af;const{builders:{indent:vf,join:Af,hardline:Ff}}=En,{escapeTemplateCharacters:xf,printTemplateExpressions:Sf}=af;function wf(e){const t=[];let n=!1;const r=e.map(e=>e.trim());for(const[o,i]of r.entries())""!==i&&(t.push(""===r[o-1]&&n?[Ff,i]:i),n=!0);return 0===t.length?null:Af(Ff,t)}const{builders:{indent:Tf,line:Bf,hardline:kf,group:Nf},utils:{mapDoc:Pf}}=En,{printTemplateExpressions:Of,uncookTemplateElementValue:If}=af;let jf=0;const{hasComment:Lf,CommentCheckFlags:_f}=qp;const Mf=[(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 Rf(e){return"Identifier"===e.type&&"styled"===e.name}function Vf(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function $f(e,t){return Lf(e,_f.Block|_f.Leading,({value:e})=>e===" ".concat(t," "))}const{isBlockComment:qf}=qp,Wf=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Uf=e=>{for(const t of e.quasis)delete t.value};function zf(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||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name))for(const{type:o,expression:i}of t.children)"JSXExpressionContainer"===o&&"TemplateLiteral"===i.type&&Uf(i);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Uf(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&&Uf(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&Uf(r.value)}}return"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||Uf(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some(e=>qf(e)&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Uf(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}zf.ignoredProperties=Wf;var Hf=zf;const Jf=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 Gf=Jf;Gf.graceful=e=>"string"==typeof e&&Jf(e)||"\n";function Xf(){const e=Do;return Xf=function(){return e},e}function Yf(){const e=(t=Gf)&&t.__esModule?t:{default:t};var t;return Yf=function(){return e},e}const Kf=/\*\/$/,Qf=/^\/\*\*/,Zf=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ed=/(^|\s+)\/\/([^\r\n]*)/g,td=/^(\r?\n)+/,nd=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,rd=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,od=/(\r?\n|^) *\* ?/g,id=[];function ud(e){const t=(0,Yf().default)(e)||Xf().EOL;e=e.replace(Qf,"").replace(Kf,"").replace(od,"$1");let n="";for(;n!==e;)n=e,e=e.replace(nd,"".concat(t,"$1 $2").concat(t));e=e.replace(td,"").trimRight();const r=Object.create(null),o=e.replace(rd,"").replace(td,"").trimRight();let i;for(;i=rd.exec(e);){const e=i[2].replace(ed,"");r[i[1]]="string"==typeof r[i[1]]||Array.isArray(r[i[1]])?id.concat(r[i[1]],e):e}return{comments:o,pragmas:r}}function sd(e,t){return id.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}var ad=Object.defineProperty({extract:function(e){const t=e.match(Zf);return t?t[0].trimLeft():""},strip:function(e){const t=e.match(Zf);return t&&t[0]?e.substring(t[0].length):e},parse:function(e){return ud(e).pragmas},parseWithComments:ud,print:function({comments:e="",pragmas:t={}}){const n=(0,Yf().default)(e)||Xf().EOL,r=Object.keys(t),o=r.map(e=>sd(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+n).join("");if(!e){if(0===r.length)return"";if(1===r.length&&!Array.isArray(t[r[0]])){const e=t[r[0]];return"".concat("/**"," ").concat(sd(r[0],e)[0]).concat(" */")}}const i=e.split(n).map(e=>"".concat(" *"," ").concat(e)).join(n)+n;return"/**"+n+(e?i:"")+(e&&r.length?" *"+n:"")+o+" */"}},"__esModule",{value:!0});const{parseWithComments:cd,strip:ld,extract:pd,print:fd}=ad,{getShebang:dd}=_t,{normalizeEndOfLine:hd}=Mt;function md(e){const t=dd(e);t&&(e=e.slice(t.length+1));const n=pd(e),{pragmas:r,comments:o}=cd(n);return{shebang:t,text:e,pragmas:r,comments:o}}var gd={hasPragma:function(e){const t=Object.keys(md(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:o}=md(e),i=ld(n),u=fd({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+hd(u)+(i.startsWith("\n")?"\n":"\n\n")+i}};const{getLast:yd,hasNewline:Dd,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ed,getNextNonSpaceNonCommentCharacter:bd,hasNewlineInRange:Cd,addLeadingComment:vd,addTrailingComment:Ad,addDanglingComment:Fd,getNextNonSpaceNonCommentCharacterIndex:xd,isNonEmptyArray:Sd}=_t,{isBlockComment:wd,getFunctionParameters:Td,isPrettierIgnoreComment:Bd,isJsxNode:kd,hasFlowShorthandAnnotationComment:Nd,hasFlowAnnotationComment:Pd,hasIgnoreComment:Od,isCallLikeExpression:Id,getCallArguments:jd,isCallExpression:Ld,isMemberExpression:_d}=qp,{locStart:Md,locEnd:Rd}=$u;function Vd(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?vd(n,t):Fd(e,t)}function $d(e,t){"BlockStatement"===e.type?Vd(e,t):vd(e,t)}function qd({comment:e,followingNode:t}){return!(!t||!yh(e)||(vd(t,e),0))}function Wd({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){return!(!n||"IfStatement"!==n.type||!r||(")"===bd(o,e,Rd)?(Ad(t,e),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Ad(t,e):Fd(n,e),0):"BlockStatement"===r.type?(Vd(r,e),0):"IfStatement"===r.type?($d(r.consequent,e),0):n.consequent!==r||(vd(r,e),0)))}function Ud({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){return!(!n||"WhileStatement"!==n.type||!r||(")"===bd(o,e,Rd)?(Ad(t,e),0):"BlockStatement"===r.type?(Vd(r,e),0):n.body!==r||(vd(r,e),0)))}function zd({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r||("CatchClause"===n.type&&t?(Ad(t,e),0):"BlockStatement"===r.type?(Vd(r,e),0):"TryStatement"===r.type?($d(r.finalizer,e),0):"CatchClause"!==r.type||($d(r.body,e),0)))}function Hd({comment:e,enclosingNode:t,followingNode:n}){return!(!_d(t)||!n||"Identifier"!==n.type||(vd(t,e),0))}function Jd({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){const i=t&&!Cd(o,Rd(t),Md(e));return!(t&&i||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r||(vd(r,e),0))}function Gd({comment:e,precedingNode:t,enclosingNode:n}){return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type||(Ad(n.value.left,e),0))}function Xd({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(Sd(n.decorators)&&(!r||"Decorator"!==r.type))return Ad(yd(n.decorators),e),!0;if(n.body&&r===n.body)return Vd(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?Fd(n,e,o):Ad(t,e),!0}return!1}function Yd({comment:e,precedingNode:t,enclosingNode:n,text:r}){return(n&&t&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===t.type&&n.key===t&&":"!==bd(r,t,Rd)||!(!t||!n||"Decorator"!==t.type||"ClassMethod"!==n.type&&"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type&&"TSAbstractClassProperty"!==n.type&&"TSAbstractMethodDefinition"!==n.type&&"TSDeclareMethod"!==n.type&&"MethodDefinition"!==n.type))&&(Ad(t,e),!0)}function Kd({comment:e,precedingNode:t,enclosingNode:n,text:r}){return"("===bd(r,e,Rd)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(Ad(t,e),!0)}function Qd({comment:e,enclosingNode:t,text:n}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=xd(n,e,Rd);return!1!==r&&"=>"===n.slice(r,r+2)&&(Fd(t,e),!0)}function Zd({comment:e,enclosingNode:t,text:n}){return!(")"!==bd(n,e,Rd)||(t&&(gh(t)&&0===Td(t).length||Id(t)&&0===jd(t).length)?(Fd(t,e),0):!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==Td(t.value).length||(Fd(t.value,e),0)))}function eh({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:o}){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type||t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&gh(n)&&")"===bd(o,e,Rd))return Ad(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{const e=Td(n);if(e.length>0)return Ed(o,Rd(yd(e)));const t=Ed(o,Rd(n.id));return!1!==t&&Ed(o,t+1)})();if(Md(e)>t)return Vd(r,e),!0}return!1}function th({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type||(vd(t,e),0))}function nh({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type||(vd(t,e),0))}function rh({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label||(Ad(t,e),0))}function oh({comment:e,precedingNode:t,enclosingNode:n}){return!!(Ld(n)&&t&&n.callee===t&&n.arguments.length>0)&&(vd(n.arguments[0],e),!0)}function ih({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Bd(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Bd(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Ad(t,e),!0))}function uh({comment:e,enclosingNode:t}){return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type||(vd(t,e),0))}function sh({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:o}){return r&&r.body&&0===r.body.length?(o?Fd(r,e):vd(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&t.directives&&0===t.directives.length?(o?Fd(t,e):vd(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type||(Fd(n,e),0))}function ah({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type||(vd(t,e),0))}function ch({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&Dd(r,Rd(e)))&&(Ad(t,e),!0)}function lh({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type||(vd(t,e),0))}function ph({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type||(vd(t,e),0))}function fh({comment:e,enclosingNode:t,followingNode:n}){return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!wd(e)||(vd(n,e),0))}function dh({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==bd(r,e,Rd)||(Ad(t,e),0))}function hh({comment:e,enclosingNode:t,followingNode:n}){if(Bd(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function mh({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TSMappedType"!==n.type||(r&&"TSTypeParameter"===r.type&&r.name?(vd(r.name,e),0):!t||"TSTypeParameter"!==t.type||!t.constraint||(Ad(t.constraint,e),0)))}function gh(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 yh(e){return wd(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Dh={handleOwnLineComment:function(e){return[hh,eh,Hd,Wd,Ud,zd,Xd,th,ah,ih,sh,ch,lh,Yd,nh].some(t=>t(e))},handleEndOfLineComment:function(e){return[qd,eh,Jd,th,Wd,Ud,zd,Xd,nh,oh,uh,sh,ph,fh].some(t=>t(e))},handleRemainingComment:function(e){return[hh,Wd,Ud,Gd,Zd,Yd,sh,Qd,Kd,mh,rh,dh].some(t=>t(e))},isTypeCastComment:yh,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===Td(e.value).length&&!e.value.returnType&&!Sd(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&&(kd(t)||Nd(t)||Ld(n)&&(Pd(t.leadingComments)||Pd(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!Od(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getFunctionParameters:Eh,getLeftSidePathName:bh,hasFlowShorthandAnnotationComment:Ch,hasNakedLeftSide:vh,hasNode:Ah,isBitwiseOperator:Fh,startsWithNoLookaheadToken:xh,shouldFlatten:Sh,getPrecedence:wh,isCallExpression:Th,isMemberExpression:Bh}=qp;function kh(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)&&Nh(e))return!0;if("BlockStatement"===(i=o).type||"BreakStatement"===i.type||"ClassBody"===i.type||"ClassDeclaration"===i.type||"ClassMethod"===i.type||"ClassProperty"===i.type||"PropertyDefinition"===i.type||"ClassPrivateProperty"===i.type||"ContinueStatement"===i.type||"DebuggerStatement"===i.type||"DeclareClass"===i.type||"DeclareExportAllDeclaration"===i.type||"DeclareExportDeclaration"===i.type||"DeclareFunction"===i.type||"DeclareInterface"===i.type||"DeclareModule"===i.type||"DeclareModuleExports"===i.type||"DeclareVariable"===i.type||"DoWhileStatement"===i.type||"EnumDeclaration"===i.type||"ExportAllDeclaration"===i.type||"ExportDefaultDeclaration"===i.type||"ExportNamedDeclaration"===i.type||"ExpressionStatement"===i.type||"ForInStatement"===i.type||"ForOfStatement"===i.type||"ForStatement"===i.type||"FunctionDeclaration"===i.type||"IfStatement"===i.type||"ImportDeclaration"===i.type||"InterfaceDeclaration"===i.type||"LabeledStatement"===i.type||"MethodDefinition"===i.type||"ReturnStatement"===i.type||"SwitchStatement"===i.type||"ThrowStatement"===i.type||"TryStatement"===i.type||"TSDeclareFunction"===i.type||"TSEnumDeclaration"===i.type||"TSImportEqualsDeclaration"===i.type||"TSInterfaceDeclaration"===i.type||"TSModuleDeclaration"===i.type||"TSNamespaceExportDeclaration"===i.type||"TypeAlias"===i.type||"VariableDeclaration"===i.type||"WhileStatement"===i.type||"WithStatement"===i.type)return!1;var i;if("flow"!==t.parser&&Ch(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 Ph(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(xh(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&xh(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":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||"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=wh(e),u=n.operator,s=wh(u);return s>i||"right"===r&&s===i||s===i&&!Sh(u,e)||(s<i&&"%"===e?"+"===u||"-"===u:!!Fh(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||"expression"===r&&o.argument&&"PipelinePrimaryTopicReference"===o.argument.type&&"PipelineTopicExpression"===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)&&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&&/^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&&Eh(o).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===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"PipelineTopicExpression":return Boolean(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"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":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&&Bh(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||Th(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&&"ObjectProperty"!==n.type&&!Th(n)&&"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 Ah(e,e=>"ObjectTypeAnnotation"===e.type&&Ah(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(o)}return!1}function Nh(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(Nh);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return fe(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Nh);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Nh);break;case"UnaryExpression":if(n.prefix)return e.callParent(Nh)}return!1}function Ph(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!kh(e,t):!(!vh(n)||"ExportDefaultDeclaration"!==r.type&&kh(e,t))&&e.call(e=>Ph(e,t),...bh(e,n))}var Oh=kh,Ih=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:{join:jh,line:Lh,group:_h,softline:Mh,indent:Rh}}=En;var Vh={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=jh([",",Lh],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",Rh([Mh,_h(t)]),Mh,")"]},"program","body",0):t.__isVueBindings?e.call(e=>jh([",",Lh],e.map(n,"params")),"program","body",0):void 0}};const{printComments:$h}=Vc,{getLast:qh}=_t,{builders:{join:Wh,line:Uh,softline:zh,group:Hh,indent:Jh,align:Gh,ifBreak:Xh,indentIfBreak:Yh},utils:{cleanDoc:Kh,getDocParts:Qh,isConcat:Zh}}=En,{hasLeadingOwnLineComment:em,isBinaryish:tm,isJsxNode:nm,shouldFlatten:rm,hasComment:om,CommentCheckFlags:im,isCallExpression:um,isMemberExpression:sm}=qp;let am=0;function cm(e,t,n,r,o){let i=[];const u=e.getValue();if(tm(u)){rm(u.operator,u.left.operator)?i=[...i,...e.call(e=>cm(e,t,n,!0,o),"left")]:i.push(Hh(t("left")));const s=lm(u),a=("|>"===u.operator||"NGPipeExpression"===u.type||"|"===u.operator&&"__vue_expression"===n.parser)&&!em(n.originalText,u.right),c="NGPipeExpression"===u.type?"|":u.operator,l="NGPipeExpression"===u.type&&u.arguments.length>0?Hh(Jh([zh,": ",Wh([zh,":",Xh(" ")],e.map(t,"arguments").map(e=>Gh(2,Hh(e))))])):"",p=s?[c," ",t("right"),l]:[a?Uh:"",c,a?" ":Uh,t("right"),l],f=e.getParentNode(),d=om(u.left,im.Trailing|im.Line);if(i.push(a?"":" ",d||(!o||"LogicalExpression"!==u.type)&&f.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type?Hh(p,{shouldBreak:d}):p),r&&om(u)){const t=Kh($h(e,i,n));i=Zh(t)||"fill"===t.type?Qh(t):[t]}}else i.push(Hh(t()));return i}function lm(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!nm(e.right))}var pm={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=cm(e,n,t,!1,u);if(u)return s;if(um(o)&&o.callee===r||"UnaryExpression"===o.type||sm(o)&&!o.computed)return Hh([Jh([zh,...s]),zh]);const a="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&&!um(i)||"TemplateLiteral"===o.type,c="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ObjectProperty"===o.type||"Property"===o.type,l=tm(r.left)&&rm(r.operator,r.left.operator);if(a||lm(r)&&!l||!lm(r)&&c)return Hh(s);if(0===s.length)return"";const p=nm(r.right),f=s.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),d=s.slice(0,-1===f?1:f+1),h=s.slice(d.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++am),g=Hh([...d,Jh(h)],{id:m});if(!p)return g;const y=qh(s);return Hh([g,Yh(y,{groupId:m})])},shouldInlineLogicalExpression:lm};const{builders:{join:fm,line:dm,group:hm}}=En,{hasNode:mm,hasComment:gm,getComments:ym}=qp,{printBinaryishExpression:Dm}=pm;function Em(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var bm={printAngular:function(e,t,n){const r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),gm(r.node)?" //"+ym(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return Dm(e,t,n);case"NGChainedExpression":return hm(fm([";",dm],e.map(e=>mm(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":Em(e.getValue(),t,r)?" ":[";",dm],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=Em(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")]}}};const{printComments:Cm,printDanglingComments:vm}=Vc,{builders:{line:Am,hardline:Fm,softline:xm,group:Sm,indent:wm,conditionalGroup:Tm,fill:Bm,ifBreak:km,lineSuffixBoundary:Nm,join:Pm},utils:{willBreak:Om}}=En,{getLast:Im,getPreferredQuote:jm}=_t,{isJsxNode:Lm,rawText:_m,isLiteral:Mm,isCallExpression:Rm,isStringLiteral:Vm,isBinaryish:$m,hasComment:qm,CommentCheckFlags:Wm,hasNodeIgnoreComment:Um}=qp,{willPrintOwnComments:zm}=Dh,Hm=e=>""===e||e===Am||e===Fm||e===xm;function Jm(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?xm:Fm:xm}function Gm(e,t,n,r){return e?Fm:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?Fm:xm:Fm}function Xm(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const o=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,Rm,e=>"JSXExpressionContainer"===e.type),i=Oh(e,n);return Sm([i?"":km("("),wm([xm,t]),xm,i?"":km(")")],{shouldBreak:o})}(e,Cm(e,function(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 Mm(t)&&!Zm(t)}(r))return[n("openingElement"),n("closingElement")];const o=n("JSXElement"===r.type?"openingElement":"openingFragment"),i=n("JSXElement"===r.type?"closingElement":"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=>{return"JSXExpressionContainer"===(t=e).type&&Mm(t.expression)&&" "===t.expression.value&&!qm(t.expression)?{type:"JSXText",value:" ",raw:" "}:e;var t});const u=r.children.filter(Lm).length>0,s=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1;let c=Om(o)||u||a||s;const l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":km([p,xm]," "),d=function(e,t,n,r,o){const i=[];return e.each((e,t,u)=>{const s=e.getValue();if(Mm(s)){const e=_m(s);if(Zm(s)){const n=e.split(Ym);let a;if(""===n[0]&&(i.push(""),n.shift(),/\n/.test(n[0])?i.push(Gm(o,n[1],s,u[t+1])):i.push(r),n.shift()),""===Im(n)&&(n.pop(),a=n.pop()),0===n.length)return;for(const[e,t]of n.entries())i.push(e%2==1?Am:t);if(void 0!==a)if(/\n/.test(a)){const e=u[t+1];i.push(Gm(o,Im(i),s,e))}else i.push(r);else{const e=u[t+1];i.push(Jm(o,Im(i),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&i.push("",Fm):i.push("",r)}else{const e=n();i.push(e);const r=u[t+1];if(r&&Zm(r)){const e=Qm(_m(r)).split(Ym)[0];i.push(Jm(o,e,s,r))}else i.push(Fm)}},"children"),i}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some(e=>Zm(e));for(let D=d.length-2;D>=0;D--){const e=""===d[D]&&""===d[D+1],t=(d[D]===xm||d[D]===Fm)&&""===d[D+1]&&d[D+2]===f,n=d[D]===f&&""===d[D+1]&&(d[D+2]===xm||d[D+2]===Fm),r=d[D]===f&&""===d[D+1]&&d[D+2]===f,o=d[D]===xm&&""===d[D+1]&&d[D+2]===Fm||d[D]===Fm&&""===d[D+1]&&d[D+2]===xm;d[D]===Fm&&""===d[D+1]&&d[D+2]===Fm&&h||e||t||r||o?d.splice(D,2):n&&d.splice(D+1,2)}for(;d.length>0&&Hm(Im(d));)d.pop();for(;d.length>1&&Hm(d[0])&&Hm(d[1]);)d.shift(),d.shift();const m=[];for(const[D,E]of d.entries()){if(E===f){if(1===D&&""===d[D-1]){if(2===d.length){m.push(p);continue}m.push([p,Fm]);continue}if(D===d.length-1){m.push(p);continue}if(""===d[D-1]&&d[D-2]===Fm){m.push(p);continue}}m.push(E),Om(E)&&(c=!0)}const g=h?Bm(m):Sm(m,{shouldBreak:!0});if(l)return g;const y=Sm([o,wm([Fm,g]),Fm,i]);return c?y:Tm([Sm([o,...d,i]),y])}(e,t,n),t),t)}const Ym=new RegExp("([ \n\r\t]+)"),Km=new RegExp("[^ \n\r\t]"),Qm=e=>e.replace(new RegExp("(?:^"+Ym.source+"|"+Ym.source+"$)"),"");function Zm(e){return Mm(e)&&(Km.test(_m(e))||!/\n/.test(_m(e)))}var eg={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Lm(t)&&Lm(n)))return!1;let r=null;for(let o=n.children.indexOf(t);o>0;o--){const e=n.children[o-1];if("JSXText"!==e.type||Zm(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&Um(r.expression)},printJsx:function(e,t,n){const r=e.getValue();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(Vm(r.value)){let n=_m(r.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const o=jm(n,t.jsxSingleQuote?"'":'"'),i="'"===o?"&apos;":"&quot;";n=n.slice(1,-1).replace(new RegExp(o,"g"),i),e=[o,n,o]}else e=n("value");o.push("=",e)}return o}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return Pm(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return Pm(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){const r=e.getValue();return["{",e.call(e=>{const r=["...",n()],o=e.getValue();return qm(o)&&zm(e)?[wm([xm,Cm(e,r,t)]),xm]:r},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!qm(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||Rm(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||Lm(o)&&("ConditionalExpression"===r.expression.type||$m(r.expression)));return Sm(i?["{",n("expression"),Nm,"}"]:["{",wm([xm,n("expression")]),xm,Nm,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return Xm(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),o=r.name&&qm(r.name)||r.typeParameters&&qm(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&&Vm(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!qm(r.attributes[0]))return Sm(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const i=r.attributes.length>0&&qm(Im(r.attributes),Wm.Trailing),u=0===r.attributes.length&&!o||t.jsxBracketSameLine&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some(e=>e.value&&Vm(e.value)&&e.value.value.includes("\n"));return Sm(["<",n("name"),n("typeParameters"),wm(e.map(()=>[Am,n()],"attributes")),r.selfClosing?Am:u?">":xm,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 qm(r.name,Wm.Leading|Wm.Line)?o.push(wm([Fm,i]),Fm):qm(r.name,Wm.Leading|Wm.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=qm(n),o=qm(n,Wm.Line),i="JSXOpeningFragment"===n.type;return[i?"<":"</",wm([o?Fm:r&&!i?" ":"",vm(e,t,!0)]),o?Fm:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=qm(n,Wm.Line);return[vm(e,t,!r),r?Fm:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}};const{isNonEmptyArray:tg}=_t,{builders:{indent:ng,join:rg,line:og}}=En,{isFlowAnnotationComment:ig}=qp;var ug={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 tg(r.modifiers)?[rg(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function(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 ig(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[u?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:ng([og,t])}};const{printDanglingComments:sg}=Vc,{builders:{line:ag,softline:cg,hardline:lg,group:pg,indent:fg,ifBreak:dg,fill:hg}}=En,{getLast:mg,hasNewline:gg}=_t,{shouldPrintComma:yg,hasComment:Dg,CommentCheckFlags:Eg,isNextLineEmpty:bg,isNumericLiteral:Cg,isSignedNumericLiteral:vg}=qp,{locStart:Ag}=$u,{printOptionalToken:Fg,printTypeAnnotation:xg}=ug;function Sg(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(Cg(e)||vg(e)&&!Dg(e.argument))&&!Dg(e,Eg.Trailing|Eg.Line,e=>!gg(t.originalText,Ag(e),{backwards:!0})))}function wg(e,t,n,r){const o=[];let i=[];return e.each(e=>{o.push(i,pg(r())),i=[",",ag],e.getValue()&&bg(e.getValue(),t)&&i.push(cg)},n),o}function Tg(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(bg(e.getValue(),t)?[lg,lg]:Dg(u[i+1],Eg.Leading|Eg.Line)?lg:ag)},"elements"),hg(o)}var Bg={printArray:function(e,t,n){const r=e.getValue(),o=[],i="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Dg(r,Eg.Dangling)?o.push(pg([i,sg(e,t),cg,"]"])):o.push(i,"]");else{const u=mg(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=Sg(r,t),f=s?a?",":yg(t)?p?dg(",","",{groupId:c}):dg(","):"":"";o.push(pg([i,fg([cg,p?Tg(e,t,n,f):[wg(e,t,"elements",n),f],sg(e,t,!0)]),cg,"]"],{shouldBreak:l,id:c}))}return o.push(Fg(e),xg(e,t,n)),o},printArrayItems:wg,isConciselyPrintedArray:Sg};const{printDanglingComments:kg}=Vc,{getLast:Ng,getPenultimate:Pg}=_t,{getFunctionParameters:Og,hasComment:Ig,CommentCheckFlags:jg,isFunctionCompositionArgs:Lg,isJsxNode:_g,isLongCurriedCallExpression:Mg,shouldPrintComma:Rg,getCallArguments:Vg,iterateCallArgumentsPath:$g,isNextLineEmpty:qg,isCallExpression:Wg}=qp,{builders:{line:Ug,hardline:zg,softline:Hg,group:Jg,indent:Gg,conditionalGroup:Xg,ifBreak:Yg,breakParent:Kg},utils:{willBreak:Qg}}=En,{ArgExpansionBailout:Zg}=_r,{isConciselyPrintedArray:ey}=Bg;function ty(e,t=!1){return"ObjectExpression"===e.type&&(e.properties.length>0||Ig(e))||"ArrayExpression"===e.type&&(e.elements.length>0||Ig(e))||"TSTypeAssertion"===e.type&&ty(e.expression)||"TSAsExpression"===e.type&&ty(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some(e=>"EmptyStatement"!==e.type)||Ig(n,jg.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&ty(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(Wg(e.body)||"ConditionalExpression"===e.body.type)||_g(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type;var n}var ny=function(e,t,n){const r=e.getValue(),o="ImportExpression"===r.type,i=Vg(r);if(0===i.length)return["(",kg(e,t,!0),")"];if(2===(u=i).length&&"ArrowFunctionExpression"===u[0].type&&0===Og(u[0]).length&&"BlockStatement"===u[0].body.type&&"ArrayExpression"===u[1].type&&!u.some(e=>Ig(e)))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var u;let s=!1,a=!1;const c=i.length-1,l=[];$g(e,(e,r)=>{const o=e.getNode(),i=[n()];r===c||(qg(o,t)?(0===r&&(a=!0),s=!0,i.push(",",zg,zg)):i.push(",",Ug)),l.push(i)});const p=o||r.callee&&"Import"===r.callee.type||!Rg(t,"all")?"":",";function f(){return Jg(["(",Gg([Ug,...l]),p,Ug,")"],{shouldBreak:!0})}if(s||"Decorator"!==e.getParentNode().type&&Lg(i))return f();const d=function(e){if(2!==e.length)return!1;const[t,n]=e;return"ModuleExpression"===t.type&&"ObjectExpression"===(r=n).type&&1===r.properties.length&&"ObjectProperty"===r.properties[0].type&&"Identifier"===r.properties[0].key.type&&"type"===r.properties[0].key.name&&"StringLiteral"===r.properties[0].value.type&&"module"===r.properties[0].value.value||!Ig(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!ty(n);var r}(i),h=function(e,t){const n=Ng(e),r=Pg(e);return!Ig(n,jg.Leading)&&!Ig(n,jg.Trailing)&&ty(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&ey(n,t))}(i,t);if(d||h){if(d?l.slice(1).some(Qg):l.slice(0,-1).some(Qg))return f();let t=[];try{e.try(()=>{$g(e,(e,r)=>{d&&0===r&&(t=[[n([],{expandFirstArg:!0}),l.length>1?",":"",a?zg:Ug,a?zg:""],...l.slice(1)]),h&&r===c&&(t=[...l.slice(0,-1),n([],{expandLastArg:!0})])})})}catch(g){if(g instanceof Zg)return f();throw g}return[l.some(Qg)?Kg:"",Xg([["(",...t,")"],d?["(",Jg(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...l.slice(0,-1),Jg(Ng(t),{shouldBreak:!0}),")"],f()])]}const m=["(",Gg([Hg,...l]),Yg(p),Hg,")"];return Mg(e)?m:Jg(m,{shouldBreak:l.some(Qg)||s})};const{builders:{softline:ry,group:oy,indent:iy,label:uy}}=En,{isNumericLiteral:sy,isMemberExpression:ay,isCallExpression:cy}=qp,{printOptionalToken:ly}=ug;function py(e,t,n){const r=n("property"),o=e.getValue(),i=ly(e);return o.computed?!o.property||sy(o.property)?[i,"[",r,"]"]:oy([i,"[",iy([ry,r]),ry,"]"]):[i,".",r]}var fy={printMemberExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode();let i,u=0;do{i=e.getParentNode(u),u++}while(i&&(ay(i)||"TSNonNullExpression"===i.type));const s=n("object"),a=py(e,0,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&&!ay(o)||("AssignmentExpression"===o.type||"VariableDeclarator"===o.type)&&(cy(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&cy(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return uy("member-chain"===s.label?"member-chain":"member",[s,c?a:oy(iy([ry,a]))])},printMemberLookup:py};const{printComments:dy}=Vc,{getLast:hy,isNextLineEmptyAfterIndex:my,getNextNonSpaceNonCommentCharacterIndex:gy}=_t,{isCallExpression:yy,isMemberExpression:Dy,isFunctionOrArrowExpression:Ey,isLongCurriedCallExpression:by,isMemberish:Cy,isNumericLiteral:vy,isSimpleCallArgument:Ay,hasComment:Fy,CommentCheckFlags:xy,isNextLineEmpty:Sy}=qp,{locEnd:wy}=$u,{builders:{join:Ty,hardline:By,group:ky,indent:Ny,conditionalGroup:Py,breakParent:Oy,label:Iy},utils:{willBreak:jy}}=En,{printMemberLookup:Ly}=fy,{printOptionalToken:_y,printFunctionTypeParameters:My,printBindExpressionCallee:Ry}=ug;var Vy=function(e,t,n){const r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,i=[];function u(e){const{originalText:n}=t,r=gy(n,e,wy);return")"===n.charAt(r)?!1!==r&&my(n,r+1):Sy(e,t)}function s(e){const r=e.getValue();yy(r)&&(Cy(r.callee)||yy(r.callee))?(i.unshift({node:r,printed:[dy(e,[_y(e),My(e,t,n),ny(e,t,n)],t),u(r)?By:""]}),e.call(e=>s(e),"callee")):Cy(r)?(i.unshift({node:r,needsParens:Oh(e,t),printed:dy(e,Dy(r)?Ly(e,t,n):Ry(e,t,n),t)}),e.call(e=>s(e),"object")):"TSNonNullExpression"===r.type?(i.unshift({node:r,printed:dy(e,"!",t)}),e.call(e=>s(e),"expression")):i.unshift({node:r,printed:n()})}const a=e.getValue();i.unshift({node:a,printed:[_y(e),My(e,t,n),ny(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||yy(i[p].node)||Dy(i[p].node)&&i[p].node.computed&&vy(i[p].node.property));++p)l.push(i[p]);if(!yy(i[0].node))for(;p+1<i.length&&Cy(i[p].node)&&Cy(i[p+1].node);++p)l.push(i[p]);c.push(l),l=[];let f=!1;for(;p<i.length;++p){if(f&&Cy(i[p].node)){if(i[p].node.computed&&vy(i[p].node.property)){l.push(i[p]);continue}c.push(l),l=[],f=!1}(yy(i[p].node)||"ImportExpression"===i[p].node.type)&&(f=!0),l.push(i[p]),Fy(i[p].node,xy.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&&!Fy(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&&r.name.length<=t.tabWidth||n)}const r=hy(e[0]).node;return Dy(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(c);function m(e){const t=e.map(e=>e.printed);return e.length>0&&hy(e).needsParens?["(",...t,")"]:t}const g=c.map(m),y=g,D=h?3:2,E=ku(c),b=E.slice(1,-1).some(e=>Fy(e.node,xy.Leading))||E.slice(0,-1).some(e=>Fy(e.node,xy.Trailing))||c[D]&&Fy(c[D][0].node,xy.Leading);if(c.length<=D&&!b)return by(e)?y:ky(y);const C=hy(c[h?1:0]).node,v=!yy(C)&&u(C),A=[m(c[0]),h?c.slice(1,2).map(m):"",v?By:"",(x=c.slice(h?2:1),0===x.length?"":Ny(ky([By,Ty(By,x.map(m))])))],F=i.map(({node:e})=>e).filter(yy);var x;let S;return S=b||F.length>2&&F.some(e=>!e.arguments.every(e=>Ay(e,0)))||g.slice(0,-1).some(jy)||function(){const e=hy(hy(c)).node,t=hy(g);return yy(e)&&jy(t)&&F.slice(0,-1).some(e=>e.arguments.some(Ey))}()?ky(A):[jy(y)||v?Oy:"",Py([y,A])],Iy("member-chain",S)};const{builders:{join:$y,group:qy}}=En,{getCallArguments:Wy,hasFlowAnnotationComment:Uy,isCallExpression:zy,isMemberish:Hy,isStringLiteral:Jy,isTemplateOnItsOwnLine:Gy,isTestCall:Xy,iterateCallArgumentsPath:Yy}=qp,{printOptionalToken:Ky,printFunctionTypeParameters:Qy}=ug;var Zy={printCallExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i="NewExpression"===r.type,u="ImportExpression"===r.type,s=Ky(e),a=Wy(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=Wy(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&Jy(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,o)||1===a.length&&Gy(a[0],t.originalText)||!i&&Xy(r,o))){const r=[];return Yy(e,()=>{r.push(n())}),[i?"new ":"",n("callee"),s,Qy(e,t,n),"(",$y(", ",r),")"]}const c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&Uy(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!u&&!i&&Hy(r.callee)&&!e.call(e=>Oh(e,t),"callee"))return Vy(e,t,n);const l=[i?"new ":"",u?"import":n("callee"),s,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",Qy(e,t,n),ny(e,t,n)];return u||zy(r.callee)?qy(l):l}};const{isNonEmptyArray:eD,getStringWidth:tD}=_t,{builders:{line:nD,group:rD,indent:oD,indentIfBreak:iD},utils:{cleanDoc:uD}}=En,{hasLeadingOwnLineComment:sD,isBinaryish:aD,isStringLiteral:cD,isLiteral:lD,isNumericLiteral:pD,isCallExpression:fD,isMemberExpression:dD,getCallArguments:hD,rawText:mD,hasComment:gD,isSignedNumericLiteral:yD}=qp,{shouldInlineLogicalExpression:DD}=pm,{printCallExpression:ED}=Zy;function bD(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=!CD(u);if(e.match(CD,vD,e=>!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return s?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&CD(u.right)||sD(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(vD(e)){const t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>("ObjectProperty"===e.type||"Property"===e.type)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type))}return!1}(i))return"break-lhs";const a=function(e,t,n){if("ObjectProperty"!==e.type&&"Property"!==e.type)return!1;return"string"==typeof(t=uD(t))&&tD(t)<n.tabWidth+3}(i,r,t);return e.call(()=>function(e,t,n,r){const o=e.getValue();if(aD(o)&&!DD(o))return!0;switch(o.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:e}=o;return aD(e)&&!DD(e)}case"ClassExpression":return eD(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")}return!(!cD(i)&&!e.call(()=>AD(e,t,n),...u))}(e,t,n,a),o)?"break-after-operator":a||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||"BooleanLiteral"===u.type||pD(u)||"ClassExpression"===u.type?"never-break-after-operator":"fluid"}(e,t,n,r,i),s=n(i,{assignmentLayout:u});switch(u){case"break-after-operator":return rD([rD(r),o,rD(oD([nD,s]))]);case"never-break-after-operator":return rD([rD(r),o," ",s]);case"fluid":{const e=Symbol("assignment");return rD([rD(r),o,rD(oD(nD),{id:e}),iD(s,{groupId:e})])}case"break-lhs":return rD([r,o," ",rD(s)]);case"chain":return[rD(r),o,nD,s];case"chain-tail":return[rD(r),o,oD([nD,s])];case"chain-tail-arrow-chain":return[rD(r),o,s];case"only-left":return r}}function CD(e){return"AssignmentExpression"===e.type}function vD(e){return CD(e)||"VariableDeclarator"===e.type}function AD(e,t,n,r=!1){const o=e.getValue(),i=()=>AD(e,t,n,!0);if("TSNonNullExpression"===o.type)return e.call(i,"expression");if(fD(o)){if("member-chain"===ED(e,t,n).label)return!1;const r=hD(o);return!!(0===r.length||1===r.length&&function(e,{printWidth:t}){if(gD(e))return!1;const n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||yD(e)&&!gD(e.argument))return!0;const r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return r?r.length<=n:cD(e)?mD(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):lD(e)}(r[0],t))&&e.call(i,"callee")}return dD(o)?e.call(i,"object"):r&&("Identifier"===o.type||"ThisExpression"===o.type)}var FD={printVariableDeclarator:function(e,t,n){return bD(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){const r=e.getValue();return bD(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:bD};const{getNextNonSpaceNonCommentCharacter:xD}=_t,{printDanglingComments:SD}=Vc,{builders:{line:wD,hardline:TD,softline:BD,group:kD,indent:ND,ifBreak:PD},utils:{removeLines:OD,willBreak:ID}}=En,{getFunctionParameters:jD,iterateFunctionParametersPath:LD,isSimpleType:_D,isTestCall:MD,isTypeAnnotationAFunction:RD,isObjectType:VD,isObjectTypePropertyAFunction:$D,hasRestParameter:qD,shouldPrintComma:WD,hasComment:UD,isNextLineEmpty:zD}=qp,{locEnd:HD}=$u,{ArgExpansionBailout:JD}=_r,{printFunctionTypeParameters:GD}=ug;function XD(e){if(!e)return!1;const t=jD(e);if(1!==t.length)return!1;const[n]=t;return!UD(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&VD(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&VD(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 YD={printFunctionParameters:function(e,t,n,r,o){const i=e.getValue(),u=jD(i),s=o?GD(e,n,t):"";if(0===u.length)return[s,"(",SD(e,n,!0,e=>")"===xD(n.originalText,e,HD)),")"];const a=e.getParentNode(),c=MD(a),l=XD(i),p=[];if(LD(e,(e,r)=>{const o=r===u.length-1;o&&i.rest&&p.push("..."),p.push(t()),o||(p.push(","),c||l?p.push(" "):zD(u[r],n)?p.push(TD,TD):p.push(wD))}),r){if(ID(s)||ID(p))throw new JD;return kD([OD(s),"(",OD(p),")"])}const f=u.every(e=>!e.decorators);return l&&f||c?[s,"(",...p,")"]:($D(a)||RD(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&&_D(u[0].typeAnnotation)&&!i.rest?"always"===n.arrowParens?["(",...p,")"]:p:[s,"(",ND([BD,...p]),PD(!qD(i)&&WD(n,"all")?",":""),BD,")"]},shouldHugFunctionParameters:XD,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===jD(e).length&&(VD(n)||ID(t))}};const{printComments:KD,printDanglingComments:QD}=Vc,{getLast:ZD}=_t,{builders:{group:eE,join:tE,line:nE,softline:rE,indent:oE,align:iE,ifBreak:uE}}=En,{locStart:sE}=$u,{isSimpleType:aE,isObjectType:cE,hasLeadingOwnLineComment:lE,isObjectTypePropertyAFunction:pE,shouldPrintComma:fE}=qp,{printAssignment:dE}=FD,{printFunctionParameters:hE,shouldGroupFunctionParameters:mE}=YD,{printArrayItems:gE}=Bg;function yE(e){if(aE(e)||cE(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 DE={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=[];return o.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters")),[dE(e,t,n,i," =","TSTypeAliasDeclaration"===o.type?"typeAnnotation":"right"),r]},printIntersectionType:function(e,t,n){const r=e.getValue(),o=e.map(n,"types"),i=[];let u=!1;for(let s=0;s<o.length;++s)0===s?i.push(o[s]):cE(r.types[s-1])&&cE(r.types[s])?i.push([" & ",u?oE(o[s]):o[s]]):cE(r.types[s-1])||cE(r.types[s])?(s>1&&(u=!0),i.push(" & ",s>1?oE(o[s]):o[s])):i.push(oE([" &",nE,o[s]]));return eE(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)&&lE(t.originalText,r)),u=yE(r),s=e.map(e=>{let r=n();return u||(r=iE(2,r)),KD(e,r,t)},"types");if(u)return tE(" | ",s);const a=i&&!lE(t.originalText,r),c=[uE([a?nE:"","| "]),tE([nE,"| "],s)];return Oh(e,t)?eE([oE(c),rE]):eE("TupleTypeAnnotation"===o.type&&o.types.length>1||"TSTupleType"===o.type&&o.elementTypes.length>1?[oE([uE(["(",rE]),c]),rE,uE(")")]:i?oE(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&&sE(i)===sE(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;pE(i)&&(a=!0,c=!0),l&&o.push("(");const p=hE(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=mE(r,f);return o.push(d?eE(p):p),f&&o.push(f),l&&o.push(")"),eE(o)},printTupleType:function(e,t,n){const r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",i=r[o].length>0&&"TSRestType"===ZD(r[o]).type;return eE(["[",oE([rE,gE(e,t,o,n)]),uE(fE(t,"all")&&!i?",":""),QD(e,t,!0),rE,"]"])},printIndexedAccessType:function(e,t,n){const r=e.getValue(),o="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),o,n("indexType"),"]"]},shouldHugType:yE};const{printDanglingComments:EE}=Vc,{builders:{join:bE,line:CE,hardline:vE,softline:AE,group:FE,indent:xE,ifBreak:SE}}=En,{isTestCall:wE,hasComment:TE,CommentCheckFlags:BE,isTSXFile:kE,shouldPrintComma:NE,getFunctionParameters:PE}=qp,{createGroupIdMapper:OE}=_t,{shouldHugType:IE}=DE,jE=OE("typeParameters");function LE(e,t){const n=e.getValue();if(!TE(n,BE.Dangling))return"";const r=!TE(n,BE.Line),o=EE(e,t,r);return r?o:[o,vE]}var _E={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);if(i&&wE(i)||0===o[r].length||1===o[r].length&&(IE(o[r][0])||"NullableTypeAnnotation"===o[r][0].type))return["<",bE(", ",e.map(n,r)),LE(e,t),">"];const u="TSTypeParameterInstantiation"===o.type?"":1===PE(o).length&&kE(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":NE(t,"all")?SE(","):"";return FE(["<",xE([AE,bE([",",CE],e.map(n,r))]),u,AE,">"],{id:jE(o)})},getTypeParametersGroupId:jE};const{printComments:ME}=Vc,{printString:RE,printNumber:VE}=_t,{isNumericLiteral:$E,isSimpleNumber:qE,isStringLiteral:WE,isStringPropSafeToUnquote:UE,rawText:zE}=qp,{printAssignment:HE}=FD,JE=new WeakMap;function GE(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&&!JE.has(o)){const e=(o.properties||o.body||o.members).some(e=>!e.computed&&e.key&&WE(e.key)&&!UE(e,t));JE.set(o,e)}if(("Identifier"===i.type||$E(i)&&qE(VE(zE(i)))&&String(i.value)===VE(zE(i))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&JE.get(o))){const n=RE(JSON.stringify("Identifier"===i.type?i.name:i.value.toString()),t);return e.call(e=>ME(e,n,t),"key")}return UE(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!JE.get(o))?e.call(e=>ME(e,/^\d/.test(i.value)?VE(i.value):i.value,t),"key"):n("key")}var XE={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):HE(e,t,n,GE(e,t,n),":","value")},printPropertyKey:GE};const{printDanglingComments:YE,printCommentsSeparately:KE}=Vc,{getNextNonSpaceNonCommentCharacterIndex:QE}=_t,{builders:{line:ZE,softline:eb,group:tb,indent:nb,ifBreak:rb,hardline:ob,join:ib,indentIfBreak:ub}}=En,{getFunctionParameters:sb,hasLeadingOwnLineComment:ab,isFlowAnnotationComment:cb,isJsxNode:lb,isTemplateOnItsOwnLine:pb,shouldPrintComma:fb,startsWithNoLookaheadToken:db,returnArgumentHasLeadingComment:hb,isBinaryish:mb,isLineComment:gb,hasComment:yb,getComments:Db,CommentCheckFlags:Eb,isCallLikeExpression:bb}=qp,{locEnd:Cb}=$u,{printFunctionParameters:vb,shouldGroupFunctionParameters:Ab}=YD,{printPropertyKey:Fb}=XE,{printFunctionTypeParameters:xb}=ug;function Sb(e,t,n){const r=e.getNode(),o=vb(e,n,t),i=Tb(e,n,t),u=Ab(r,i),s=[xb(e,t,n),tb([u?tb(o):o,i])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function wb(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){const t=sb(e);return!(1!==t.length||e.typeParameters||yb(e,Eb.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||yb(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function Tb(e,t,n){const r=e.getValue(),o=t("returnType");if(r.returnType&&cb(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 Bb(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];r.argument&&(hb(t,r.argument)?i.push([" (",nb([ob,n("argument")]),ob,")"]):mb(r.argument)||"SequenceExpression"===r.argument.type?i.push(tb([rb(" ("," "),nb([eb,n("argument")]),eb,rb(")")])):i.push(" ",n("argument")));const u=Db(r),s=fe(u),a=s&&gb(s);return a&&i.push(o),yb(r,Eb.Dangling)&&i.push(" ",YE(e,t,!0)),a||i.push(o),i}var kb={printFunctionDeclaration:function(e,t,n,r){const o=e.getValue(),i=[];"TSDeclareFunction"===o.type&&o.declare&&i.push("declare "),o.async&&i.push("async "),i.push(o.generator?"function* ":"function "),o.id&&i.push(t("id"));const u=vb(e,t,n,r),s=Tb(e,t,n),a=Ab(o,s);return i.push(xb(e,n,t),tb([a?tb(u):u,s]),o.body?" ":"",t("body")),!n.semi||!o.declare&&o.body||i.push(";"),i},printArrowFunctionExpression: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=[];e.getValue().async&&o.push("async "),wb(e,t)?o.push(n(["params",0])):o.push(tb([vb(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Tb(e,n,t)]));const i=YE(e,t,!0,e=>{const n=QE(t.originalText,e,Cb);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}=KE(e,t);i.push([n,c]),u.unshift(r)}s=s||o.returnType&&sb(o).length>0||o.typeParameters||sb(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=bb(s)&&"callee"===u,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type,p=a&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return tb([tb(nb([a||c?eb:"",tb(ib([" =>",ZE],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",ub(l?nb([ZE,o]):[" ",o],{groupId:f}),a?rb(eb,"",{groupId:f}):""])}(e,r,i,s,u,o);const a=i;if(a.push(" =>"),!ab(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||lb(o.body)||pb(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return tb([...a," ",u]);if("SequenceExpression"===o.body.type)return tb([...a,tb([" (",nb([eb,u]),eb,")"])]);const c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!yb(o),l=r&&r.expandLastArg&&fb(t,"all"),p="ConditionalExpression"===o.body.type&&!db(o.body,!1);return tb([...a,tb([nb([ZE,p?rb("","("):"",u,p?rb("",")"):""]),c?[rb(l?",":""),eb]:""])])},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?(hc.ok("get"===o||"set"===o),u.push(o," ")):i.async&&u.push("async "),i.generator&&u.push("*"),u.push(Fb(e,t,n),r.optional||r.key.optional?"?":""),u.push(r===i?Sb(e,t,n):"FunctionExpression"===i.type?e.call(e=>Sb(e,t,n),"value"):n("value")),u},printReturnStatement:function(e,t,n){return["return",Bb(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",Bb(e,t,n)]},printMethodInternal:Sb,shouldPrintParamsWithoutParens:wb};const{isNonEmptyArray:Nb,hasNewline:Pb}=_t,{builders:{line:Ob,hardline:Ib,join:jb,breakParent:Lb,group:_b}}=En,{locStart:Mb,locEnd:Rb}=$u,{getParentExportDeclaration:Vb}=qp;function $b(e,t){return e.decorators.some(e=>Pb(t.originalText,Rb(e)))}function qb(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return Nb(t)&&Mb(e,{ignoreDecorators:!0})>Mb(t[0])}var Wb={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:o}=r;if(!Nb(o)||qb(e.getParentNode()))return;const i="ClassExpression"===r.type||"ClassDeclaration"===r.type||$b(r,t);return[Vb(e)?Ib:i?Lb:"",jb(Ob,e.map(n,"decorators")),Ob]},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return _b([jb(Ob,e.map(n,"decorators")),$b(r,t)?Ib:Ob])},printDecoratorsBeforeExport:function(e,t,n){return[jb(Ib,e.map(n,"declaration","decorators")),Ib]},hasDecoratorsBeforeExport:qb};const{isNonEmptyArray:Ub,createGroupIdMapper:zb}=_t,{printComments:Hb,printDanglingComments:Jb}=Vc,{builders:{join:Gb,line:Xb,hardline:Yb,softline:Kb,group:Qb,indent:Zb,ifBreak:eC}}=En,{hasComment:tC,CommentCheckFlags:nC}=qp,{getTypeParametersGroupId:rC}=_E,{printMethod:oC}=kb,{printOptionalToken:iC,printTypeAnnotation:uC}=ug,{printPropertyKey:sC}=XE,{printAssignment:aC}=FD,{printClassMemberDecorators:cC}=Wb,lC=zb("heritageGroup");function pC(e){return e.typeParameters&&!tC(e.typeParameters,nC.Trailing|nC.Line)&&(t=e,!(["superClass","extends","mixins","implements"].filter(e=>Boolean(t[e])).length>1));var t}function fC(e,t,n,r){const o=e.getValue();if(!Ub(o[r]))return"";const i=Jb(e,t,!0,({marker:e})=>e===r);return[pC(o)?eC(" ",Xb,{groupId:rC(o.typeParameters)}):Xb,i,i&&Yb,r,Qb(Zb([Xb,Gb([",",Xb],e.map(n,r))]))]}function dC(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?Qb(eC(["(",Zb([Kb,r]),Kb,")"],r)):r}var hC={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&&tC(r.id,nC.Trailing)||r.superClass&&tC(r.superClass)||Ub(r.extends)||Ub(r.mixins)||Ub(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){const r=["extends ",dC(e,0,n),n("superTypeParameters")],o=e.call(e=>Hb(e,r,t),"superClass");i?s.push(Xb,Qb(o)):s.push(" ",o)}else s.push(fC(e,t,n,"extends"));if(s.push(fC(e,t,n,"mixins"),fC(e,t,n,"implements")),i){let e;e=pC(r)?[...u,Zb(s)]:Zb([...u,s]),o.push(Qb(e,{id:lC(r)}))}else o.push(...u,...s);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){const r=e.getValue(),o=[];return Ub(r.decorators)&&o.push(cC(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.readonly&&o.push("readonly "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),o.push(oC(e,t,n)),o},printClassProperty:function(e,t,n){const r=e.getValue(),o=[],i=t.semi?";":"";return Ub(r.decorators)&&o.push(cC(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&o.push("abstract "),r.readonly&&o.push("readonly "),r.variance&&o.push(n("variance")),o.push(sC(e,t,n),iC(e),uC(e,t,n)),[aC(e,t,n,o," =","value"),i]},printHardlineAfterHeritage:function(e){return eC(Yb,"",{groupId:lC(e)})}};const{isNonEmptyArray:mC}=_t,{builders:{join:gC,line:yC,group:DC,indent:EC,ifBreak:bC}}=En,{hasComment:CC,identity:vC,CommentCheckFlags:AC}=qp,{getTypeParametersGroupId:FC}=_E,{printTypeScriptModifiers:xC}=ug;var SC={printInterface:function(e,t,n){const r=e.getValue(),o=[];r.declare&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",xC(e,t,n)),o.push("interface");const i=[],u=[];"InterfaceTypeAnnotation"!==r.type&&i.push(" ",n("id"),n("typeParameters"));const s=r.typeParameters&&!CC(r.typeParameters,AC.Trailing|AC.Line);return mC(r.extends)&&u.push(s?bC(" ",yC,{groupId:FC(r.typeParameters)}):yC,"extends ",(1===r.extends.length?vC:EC)(gC([",",yC],e.map(n,"extends")))),r.id&&CC(r.id,AC.Trailing)||mC(r.extends)?o.push(DC(s?[...i,EC(u)]:EC([...i,...u]))):o.push(...i,...u),o.push(" ",n("body")),DC(o)}};const{isNonEmptyArray:wC}=_t,{builders:{softline:TC,group:BC,indent:kC,join:NC,line:PC,ifBreak:OC,hardline:IC}}=En,{printDanglingComments:jC}=Vc,{hasComment:LC,CommentCheckFlags:_C,shouldPrintComma:MC,needsHardlineAfterDanglingComment:RC}=qp,{locStart:VC,hasSameLoc:$C}=$u,{hasDecoratorsBeforeExport:qC,printDecoratorsBeforeExport:WC}=Wb;function UC(e,t,n){const r=e.getValue();if(!r.source)return"";const o=[];return HC(r,t)||o.push(" from"),o.push(" ",n("source")),o}function zC(e,t,n){const r=e.getValue();if(HC(r,t))return"";const o=[" "];if(wC(r.specifiers)){const i=[],u=[];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(NC(", ",i)),u.length>0&&(i.length>0&&o.push(", "),u.length>1||i.length>0||r.specifiers.some(e=>LC(e))?o.push(BC(["{",kC([t.bracketSpacing?PC:TC,NC([",",PC],u)]),OC(MC(t)?",":""),t.bracketSpacing?PC:TC,"}"])):o.push(["{",t.bracketSpacing?" ":"",...u,t.bracketSpacing?" ":"","}"]))}else o.push("{}");return o}function HC(e,t){const{type:n,importKind:r,source:o,specifiers:i}=e;return"ImportDeclaration"===n&&!wC(i)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(VC(e),VC(o)))}function JC(e,t,n){const r=e.getNode();return wC(r.assertions)?[" assert {",t.bracketSpacing?" ":"",NC(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var GC={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(zC(e,t,n),UC(e,t,n),JC(e,t,n),o),i},printExportDeclaration:function(e,t,n){const r=e.getValue(),o=[];qC(r)&&o.push(WC(e,t,n));const{type:i,exportKind:u,declaration:s}=r;return o.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&o.push(" default"),LC(r,_C.Dangling)&&(o.push(" ",jC(e,t,!0)),RC(r)&&o.push(IC)),s?o.push(" ",n("declaration")):o.push("type"===u?" type":"",zC(e,t,n),UC(e,t,n),JC(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;return!(!o||"ClassDeclaration"===i||"FunctionDeclaration"===i||"TSInterfaceDeclaration"===i||"DeclareClass"===i||"DeclareFunction"===i||"TSDeclareFunction"===i||"EnumDeclaration"===i)}(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(UC(e,t,n),JC(e,t,n),o),i},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:o,importKind:i}=r,u=[];"ImportSpecifier"===o&&i&&u.push(i," ");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]&&$C(r[a],r[c])||(p=n(c)),u.push(l,l&&p?" as ":"",p),u}};const{getParentExportDeclaration:XC}=qp,{printClass:YC}=hC,{printOpaqueType:KC,printTypeAlias:QC,printIntersectionType:ZC,printUnionType:ev,printFunctionType:tv,printTupleType:nv,printIndexedAccessType:rv}=DE,{printInterface:ov}=SC,{printTypeParameters:iv}=_E,{printExportDeclaration:uv,printExportAllDeclaration:sv}=GC;function av(e,t){const n=XC(e);return n?(hc.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var cv={printFlow:function(e,t,n){const r=e.getValue(),o=t.semi?";":"";switch(r.type){case"DeclareClass":return av(e,YC(e,t,n));case"DeclareFunction":return av(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),o]);case"DeclareModule":return av(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return av(e,["module.exports",": ",n("typeAnnotation"),o]);case"DeclareVariable":return av(e,["var ",n("id"),o]);case"DeclareOpaqueType":return av(e,KC(e,t,n));case"DeclareInterface":return av(e,ov(e,t,n));case"DeclareTypeAlias":return av(e,QC(e,t,n));case"DeclareExportDeclaration":return av(e,uv(e,t,n));case"DeclareExportAllDeclaration":return av(e,sv(e,t,n));case"OpaqueType":return KC(e,t,n);case"TypeAlias":return QC(e,t,n);case"IntersectionTypeAnnotation":return ZC(e,t,n);case"UnionTypeAnnotation":return ev(e,t,n);case"FunctionTypeAnnotation":return tv(e,t,n);case"TupleTypeAnnotation":return nv(e,t,n);case"GenericTypeAnnotation":return[n("id"),iv(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return rv(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}};const{hasNewlineInRange:lv}=_t,{isJsxNode:pv,isBlockComment:fv,getComments:dv,isCallExpression:hv,isMemberExpression:mv}=qp,{locStart:gv,locEnd:yv}=$u,{builders:{line:Dv,softline:Ev,group:bv,indent:Cv,align:vv,ifBreak:Av,dedent:Fv,breakParent:xv}}=En;function Sv(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?vv(2,s):s}const wv=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var Tv={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,m,g=f.type===r.type&&!d,y=0;do{m=h||r,h=e.getParentNode(y),y++}while(h&&h.type===r.type&&s.every(e=>h[e]!==m));const D=h||f,E=m;if(o&&(pv(r[s[0]])||pv(a)||pv(c)||function(e){const t=[e];for(let n=0;n<t.length;n++){const e=t[n];for(const n of["test","consequent","alternate"]){const r=e[n];if(pv(r))return!0;"ConditionalExpression"===r.type&&t.push(r)}}return!1}(E))){p=!0,g=!0;const e=e=>[Av("("),Cv([Ev,e]),Ev,Av(")")],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=[Dv,"? ",a.type===r.type?Av("","("):"",vv(2,n(i)),a.type===r.type?Av("",")"):"",Dv,": ",c.type===r.type?n(u):vv(2,n(u))];l.push(f.type!==r.type||f[u]===r||d?e:t.useTabs?Fv(Cv(e)):vv(Math.max(0,t.tabWidth-2),e))}const b=ku([...s.map(e=>dv(r[e])),dv(a),dv(c)]).some(e=>fv(e)&&lv(t.originalText,gv(e),yv(e))),C=!p&&(mv(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 o=0;!n;o++){const t=e.getParentNode(o);hv(t)&&t.callee===r||mv(t)&&t.object===r||"TSNonNullExpression"===t.type&&t.expression===r?r=t:"NewExpression"===t.type&&t.callee===r||"TSAsExpression"===t.type&&t.expression===r?(n=e.getParentNode(o+1),r=t):n=t}return r!==t&&n[wv.get(n.type)]===r}(e),A=(F=[Sv(e,0,n),g?l:Cv(l),o&&C&&!v?Ev:""],f===D?bv(F,{shouldBreak:b}):b?[F,xv]:F);var F;return d||v?bv([Cv([Ev,A]),Ev]):A}};const{printDanglingComments:Bv}=Vc,{builders:{line:kv,softline:Nv,group:Pv,indent:Ov,ifBreak:Iv,hardline:jv}}=En,{getLast:Lv,hasNewlineInRange:_v,hasNewline:Mv,isNonEmptyArray:Rv}=_t,{shouldPrintComma:Vv,hasComment:$v,getComments:qv,CommentCheckFlags:Wv,isNextLineEmpty:Uv}=qp,{locStart:zv,locEnd:Hv}=$u,{printOptionalToken:Jv,printTypeAnnotation:Gv}=ug,{shouldHugFunctionParameters:Xv}=YD,{shouldHugType:Yv}=DE,{printHardlineAfterHeritage:Kv}=hC;var Qv={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)=>zv(e)-zv(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&&_v(t.originalText,zv(o),zv(a)),f=l?";":"TSInterfaceBody"===o.type||"TSTypeLiteral"===o.type?Iv(r,";"):",",d="RecordExpression"===o.type?"#{":o.exact?"{|":"{",h=o.exact?"|}":"}",m=[];for(const C of s)e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(),loc:zv(t)})},C);s.length>1&&m.sort((e,t)=>e.loc-t.loc);let g=[];const y=m.map(e=>{const n=[...g,Pv(e.printed)];return g=[f,kv],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!$v(e.node,Wv.PrettierIgnore)||g.shift(),Uv(e.node,t)&&g.push(jv),n});if(o.inexact){let n;if($v(o,Wv.Dangling)){const r=$v(o,Wv.Line);n=[Bv(e,t,!0),r||Mv(t.originalText,Hv(Lv(qv(o))))?jv:kv,"..."]}else n=["..."];y.push([...g,...n])}const D=Lv(o[i]),E=!(o.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&$v(D,Wv.PrettierIgnore));let b;if(0===y.length){if(!$v(o,Wv.Dangling))return[d,h,Gv(e,t,n)];b=Pv([d,Bv(e,t),Nv,h,Jv(e),Gv(e,t,n)])}else b=[l&&Rv(o.properties)?Kv(c):"",d,Ov([t.bracketSpacing?kv:Nv,...y]),Iv(E&&(","!==f||Vv(t))?f:""),t.bracketSpacing?kv:Nv,h,Jv(e),Gv(e,t,n)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>Xv(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(Yv,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>Xv(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)?b:Pv(b,{shouldBreak:p})}};const{builders:{hardline:Zv}}=En,{getLeftSidePathName:eA,hasNakedLeftSide:tA,isJsxNode:nA,isTheOnlyJsxElementInMarkdown:rA,hasComment:oA,CommentCheckFlags:iA,isNextLineEmpty:uA}=qp,{shouldPrintParamsWithoutParens:sA}=kb;function aA(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();var l,p;t.semi||u||rA(t,e)||(p=t,"ExpressionStatement"!==(l=e).getNode().type||!l.call(e=>cA(e,p),"expression"))?i.push(c):oA(a,iA.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",c),!t.semi&&u&&lA(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||t.static||t.accessibility)return!1;if(!t.computed){const e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":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(Zv),uA(a,t)&&i.push(Zv))},r),i}function cA(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(!sA(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(nA(n))return!0}return!!Oh(e,t)||!!tA(n)&&e.call(e=>cA(e,t),...eA(e,n))}const lA=({type:e})=>"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e;var pA={printBody:function(e,t,n){return aA(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return aA(e,t,n,"consequent")}};const{printDanglingComments:fA}=Vc,{isNonEmptyArray:dA}=_t,{builders:{hardline:hA,indent:mA}}=En,{hasComment:gA,CommentCheckFlags:yA,isNextLineEmpty:DA}=qp,{printHardlineAfterHeritage:EA}=hC,{printBody:bA}=pA;function CA(e,t,n){const r=e.getValue(),o=dA(r.directives),i=r.body.some(e=>"EmptyStatement"!==e.type),u=gA(r,yA.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(hA),DA(e.getValue(),t)&&s.push(hA))},"directives"),i&&s.push(bA(e,t,n)),u&&s.push(fA(e,t,!0)),"Program"===r.type){const t=e.getParentNode();t&&"ModuleExpression"===t.type||s.push(hA)}return s}var vA={printBlock:function(e,t,n){const r=e.getValue(),o=[];if("StaticBlock"===r.type&&o.push("static "),"ClassBody"===r.type&&dA(r.body)){const t=e.getParentNode();o.push(EA(t))}o.push("{");const i=CA(e,t,n);if(i)o.push(mA([hA,i]),hA);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(hA)}return o.push("}"),o},printBlockBody:CA};const{printDanglingComments:AA}=Vc,{hasNewlineInRange:FA}=_t,{builders:{join:xA,line:SA,hardline:wA,softline:TA,group:BA,indent:kA,conditionalGroup:NA,ifBreak:PA}}=En,{isLiteral:OA,getTypeScriptMappedTypeModifier:IA,shouldPrintComma:jA,isCallExpression:LA,isMemberExpression:_A}=qp,{locStart:MA,locEnd:RA}=$u,{printOptionalToken:VA,printTypeScriptModifiers:$A}=ug,{printTernary:qA}=Tv,{printFunctionParameters:WA,shouldGroupFunctionParameters:UA}=YD,{printTemplateLiteral:zA}=af,{printArrayItems:HA}=Bg,{printObject:JA}=Qv,{printClassProperty:GA,printClassMethod:XA}=hC,{printTypeParameter:YA,printTypeParameters:KA}=_E,{printPropertyKey:QA}=XE,{printFunctionDeclaration:ZA,printMethodInternal:eF}=kb,{printInterface:tF}=SC,{printBlock:nF}=vA,{printTypeAlias:rF,printIntersectionType:oF,printUnionType:iF,printFunctionType:uF,printTupleType:sF,printIndexedAccessType:aF}=DE;var cF={printTypescript:function(e,t,n){const r=e.getValue(),o=t.semi?";":"",i=[];switch(r.type){case"TSTypeAssertion":{const e=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),t=BA(["<",kA([TA,n("typeAnnotation")]),TA,">"]),o=[PA("("),kA([TA,n("expression")]),TA,PA(")")];return e?NA([[t,n("expression")],[t,BA(o,{shouldBreak:!0})],[t,n("expression")]]):BA([t,n("expression")])}case"TSDeclareFunction":return ZA(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),o];case"TSModuleBlock":return nF(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return JA(e,t,n);case"TSTypeAliasDeclaration":return rF(e,t,n);case"TSQualifiedName":return xA(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return XA(e,t,n);case"TSAbstractClassProperty":return GA(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return zA(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 tF(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return KA(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return YA(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));const t=e.getParentNode();return LA(t)&&t.callee===r||_A(t)&&t.object===r?BA([kA([TA,...i]),TA]):i}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&i.push("export "),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(QA(e,t,n),VA(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.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?PA(jA(t)?",":""):"",s=BA([kA([TA,xA([", ",TA],e.map(n,"parameters"))]),u,TA]);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")]:"",KA(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return aF(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":return"TSConstructorType"===r.type&&r.abstract&&i.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&i.push("new "),i.push(BA(WA(e,n,t,!1,!0))),(r.returnType||r.typeAnnotation)&&i.push("TSConstructorType"===r.type?" => ":": ",n("returnType"),n("typeAnnotation")),i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const i=FA(t.originalText,MA(r),RA(r));return BA(["{",kA([t.bracketSpacing?SA:TA,r.readonly?[IA(r.readonly,"readonly")," "]:"",$A(e,t,n),n("typeParameter"),r.optional?IA(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),PA(o)]),AA(e,t,!0),t.bracketSpacing?SA:TA,"}"],{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?"]":"",VA(e));const u=WA(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",a=r[s],c=a?n(s):"",l=UA(r,c);return i.push(l?BA(u):u),a&&i.push(": ",BA(c)),BA(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),BA(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push($A(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),i.push(BA(0===r.members.length?["{",AA(e,t),TA,"}"]:["{",kA([wA,HA(e,t,"members",n),jA(t,"es5")?",":""]),AA(e,t,!0),wA,"}"])),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(";"),BA(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const u=e.getParentNode(),s=OA(r.id),a=r.body&&"TSModuleDeclaration"===r.body.type;if("TSModuleDeclaration"===u.type)i.push(".");else{r.declare&&i.push("declare "),i.push($A(e,t,n));const o=t.originalText.slice(MA(r),MA(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")),a?i.push(n("body")):r.body?i.push(" ",BA(n("body"))):i.push(o),i}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return qA(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return oF(e,t,n);case"TSUnionType":return iF(e,t,n);case"TSFunctionType":return uF(e,t,n);case"TSTupleType":return sF(e,t,n);case"TSTypeReference":return[n("typeName"),KA(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return eF(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}};const{hasNewline:lF}=_t,{builders:{join:pF,hardline:fF},utils:{replaceNewlinesWithLiterallines:dF}}=En,{isLineComment:hF,isBlockComment:mF}=qp,{locStart:gF,locEnd:yF}=$u;var DF={printComment:function(e,t){const n=e.getValue();if(hF(n))return t.originalText.slice(gF(n),yF(n)).trimEnd();if(mF(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["/*",pF(fF,t.map((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart()))),"*/"]}(n);return n.trailing&&!lF(t.originalText,gF(n),{backwards:!0})?[fF,e]:e}const e=yF(n),r="*-/"===t.originalText.slice(e-3,e);return["/*",dF(n.value),r?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}};const{printString:EF,printNumber:bF}=_t;function CF(e){return e.toLowerCase()}function vF({pattern:e,flags:t}){return t=t.split("").sort().join(""),"/".concat(e,"/").concat(t)}var AF={printLiteral:function(e,t){const n=e.getNode();switch(n.type){case"RegExpLiteral":return vF(n);case"BigIntLiteral":return CF(n.bigint||n.extra.raw);case"NumericLiteral":return bF(n.extra.raw);case"StringLiteral":return EF(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return bF(n.value)+"m";case"Literal":{if(n.regex)return vF(n.regex);if(n.bigint)return CF(n.raw);const{value:e}=n;return"number"==typeof e?bF(n.raw):"string"==typeof e?EF(n.raw,t):String(e)}}}};const{printDanglingComments:FF}=Vc,{hasNewline:xF,printString:SF,printNumber:wF}=_t,{builders:{join:TF,line:BF,hardline:kF,softline:NF,literalline:PF,group:OF,indent:IF}}=En,{insertPragma:jF}=gd,{getCallArguments:LF,hasFlowShorthandAnnotationComment:_F,hasComment:MF,CommentCheckFlags:RF,isFunctionNotation:VF,isGetterOrSetter:$F,isTheOnlyJsxElementInMarkdown:qF,isBlockComment:WF,isLineComment:UF,isNextLineEmpty:zF,needsHardlineAfterDanglingComment:HF,rawText:JF,shouldPrintComma:GF,hasIgnoreComment:XF,isCallExpression:YF,isMemberExpression:KF}=qp,{locStart:QF,locEnd:ZF}=$u,{printHtmlBinding:ex,isVueEventBindingExpression:tx}=Vh,{printAngular:nx}=bm,{printJsx:rx,hasJsxIgnoreComment:ox}=eg,{printFlow:ix}=cv,{printTypescript:ux}=cF,{printOptionalToken:sx,printBindExpressionCallee:ax,printTypeAnnotation:cx,adjustClause:lx}=ug,{printImportDeclaration:px,printExportDeclaration:fx,printExportAllDeclaration:dx,printModuleSpecifier:hx}=GC,{printTernary:mx}=Tv,{printTemplateLiteral:gx}=af,{printArray:yx,printArrayItems:Dx}=Bg,{printObject:Ex}=Qv,{printClass:bx,printClassMethod:Cx,printClassProperty:vx}=hC,{printTypeParameters:Ax}=_E,{printPropertyKey:Fx,printProperty:xx}=XE,{printFunctionDeclaration:Sx,printArrowFunctionExpression:wx,printMethod:Tx,printReturnStatement:Bx,printThrowStatement:kx}=kb,{printCallExpression:Nx}=Zy,{printInterface:Px}=SC,{printVariableDeclarator:Ox,printAssignmentExpression:Ix}=FD,{printBinaryishExpression:jx}=pm,{printSwitchCaseConsequent:Lx}=pA,{printMemberExpression:_x}=fy,{printBlock:Mx,printBlockBody:Rx}=vA,{printComment:Vx}=DF,{printLiteral:$x}=AF,{printDecorators:qx}=Wb;function Wx(e,t){const n=JF(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;const o=t.singleQuote?"'":'"';return o+r+o}var Ux={preprocess:Ih,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 s of[$x,ex,nx,rx,ix,ux]){const r=s(e,t,n);if(void 0!==r)return r}let u=[];switch(o.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),kF];case"File":return o.program&&o.program.interpreter&&u.push(n(["program","interpreter"])),u.push(n("program")),u;case"Program":return Rx(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(o.directive)return[Wx(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"),tx(o.expression)?";":""]}return[n("expression"),qF(t,e)?"":i];case"ParenthesizedExpression":return MF(o.expression)||"ObjectExpression"!==o.expression.type&&"ArrayExpression"!==o.expression.type?OF(["(",IF([NF,n("expression")]),NF,")"]):["(",n("expression"),")"];case"AssignmentExpression":return Ix(e,t,n);case"VariableDeclarator":return Ox(e,t,n);case"BinaryExpression":case"LogicalExpression":return jx(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return _x(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return o.object&&u.push(n("object")),u.push(OF(IF([NF,ax(e,t,n)]))),u;case"Identifier":return[o.name,sx(e),cx(e,t,n)];case"V8IntrinsicIdentifier":return["%",o.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",n("argument"),cx(e,t,n)];case"FunctionDeclaration":case"FunctionExpression":{let o=!1;if(r&&r.expandLastArg){const t=e.getParentNode();YF(t)&&LF(t).length>1&&(o=!0)}return Sx(e,n,t,o)}case"ArrowFunctionExpression":return wx(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(YF(t)&&t.callee===o||KF(t)&&t.object===o){u=[IF([NF,...u]),NF];const t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return OF(u)}}return u;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return fx(e,t,n);case"ExportAllDeclaration":return dx(e,t,n);case"ImportDeclaration":return px(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return hx(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Mx(e,t,n);case"ThrowStatement":return kx(e,t,n);case"ReturnStatement":return Bx(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Nx(e,t,n);case"ObjectTypeInternalSlot":return[o.static?"static ":"","[[",n("id"),"]]",sx(e),o.method?"":": ",n("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return Ex(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?Tx(e,t,n):xx(e,t,n);case"ObjectMethod":return Tx(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return yx(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(",",IF([BF,n()]))},"expressions"),OF(t)}return OF(TF([",",BF],e.map(n,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),i];case"DirectiveLiteral":return Wx(o,t);case"UnaryExpression":return u.push(o.operator),/[a-z]$/.test(o.operator)&&u.push(" "),MF(o.argument)?u.push(OF(["(",IF([NF,n("argument")]),NF,")"])):u.push(n("argument")),u;case"UpdateExpression":return u.push(n("argument"),o.operator),o.prefix&&u.reverse(),u;case"ConditionalExpression":return mx(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||MF(o.declarations[0])?t.length>0&&(c=IF(t[0])):c=t[0],u=[o.declare?"declare ":"",o.kind,c?[" ",c]:"",IF(t.slice(1).map(e=>[",",a&&!s?kF:BF,e]))],s&&r.body!==o||u.push(i),OF(u)}case"WithStatement":return OF(["with (",n("object"),")",lx(o.body,n("body"))]);case"IfStatement":{const r=lx(o.consequent,n("consequent")),i=OF(["if (",OF([IF([NF,n("test")]),NF]),")",r]);if(u.push(i),o.alternate){const r=MF(o.consequent,RF.Trailing|RF.Line)||HF(o);u.push("BlockStatement"!==o.consequent.type||r?kF:" "),MF(o,RF.Dangling)&&u.push(FF(e,t,!0),r?kF:" "),u.push("else",OF(lx(o.alternate,n("alternate"),"IfStatement"===o.alternate.type)))}return u}case"ForStatement":{const r=lx(o.body,n("body")),i=FF(e,t,!0),u=i?[i,NF]:"";return o.init||o.test||o.update?[u,OF(["for (",OF([IF([NF,n("init"),";",BF,n("test"),";",BF,n("update")]),NF]),")",r])]:[u,OF(["for (;;)",r])]}case"WhileStatement":return OF(["while (",OF([IF([NF,n("test")]),NF]),")",lx(o.body,n("body"))]);case"ForInStatement":return OF(["for (",n("left")," in ",n("right"),")",lx(o.body,n("body"))]);case"ForOfStatement":return OF(["for",o.await?" await":""," (",n("left")," of ",n("right"),")",lx(o.body,n("body"))]);case"DoWhileStatement":{const e=lx(o.body,n("body"));return u=[OF(["do",e])],u.push("BlockStatement"===o.body.type?" ":kF),u.push("while (",OF([IF([NF,n("test")]),NF]),")",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=MF(o.param,e=>!WF(e)||e.leading&&xF(t.originalText,ZF(e))||e.trailing&&xF(t.originalText,QF(e),{backwards:!0})),r=n("param");return["catch ",e?["(",IF([NF,r]),NF,") "]:["(",r,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[OF(["switch (",IF([NF,n("discriminant")]),NF,")"])," {",o.cases.length>0?IF([kF,TF(kF,e.map((e,r,o)=>{const i=e.getValue();return[n(),r!==o.length-1&&zF(i,t)?kF:""]},"cases"))]):"",kF,"}"];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=Lx(e,t,n);u.push(1===r.length&&"BlockStatement"===r[0].type?[" ",o]:IF([kF,o]))}return u}case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return bx(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Cx(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return vx(e,t,n);case"TemplateElement":return TF(PF,o.value.raw.split(/\r?\n/g));case"TemplateLiteral":return gx(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),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"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(o.value);case"EnumDeclaration":return["enum ",n("id")," ",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"}u.push("of ",e," ")}if(0!==o.members.length||o.hasUnknownMembers){const r=o.members.length>0?[kF,Dx(e,t,"members",n),o.hasUnknownMembers||GF(t)?",":""]:[];u.push(OF(["{",IF([...r,...o.hasUnknownMembers?[kF,"..."]:[]]),FF(e,t,!0),kF,"}"]))}else u.push(OF(["{",FF(e,t),NF,"}"]));return u;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof o.init?n("init"):String(o.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":{const t=o.name?n("name"):e.getParentNode().this===o?"this":"";return[t,sx(e),t?": ":"",n("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Px(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{const{kind:e}=o;return hc.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return o.static&&u.push("static "),u.push(n("value")),u;case"ObjectTypeIndexer":return[o.variance?n("variance"):"","[",n("id"),o.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let r="";return o.proto?r="proto ":o.static&&(r="static "),[r,$F(o)?o.kind+" ":"",o.variance?n("variance"):"",Fx(e,t,n),sx(e),VF(o)?"":": ",n("value")]}case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return SF(JF(o),t);case"NumberLiteralTypeAnnotation":hc.strictEqual(typeof o.value,"number");case"BigIntLiteralTypeAnnotation":return wF(o.extra?o.extra.raw:o.raw);case"TypeCastExpression":return["(",n("expression"),cx(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=Ax(e,t,n,"params");if("flow"===t.parser){const e=QF(o),n=ZF(o),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["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return u.push("#!",o.value,kF),zF(o,t)&&u.push(kF),u;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{u.push("module {");const e=n("body");return e&&u.push(IF([kF,e]),kF),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||"TSAbstractClassProperty"===u||"ClassPrivateProperty"===u||"MethodDefinition"===u||"TSAbstractMethodDefinition"===u||"TSDeclareMethod"===u)return o;const s=qx(e,t,n);if(s)return OF([...s,o]);if(!Oh(e,t))return r&&r.needsSemi?[";",o]:o;const a=[r&&r.needsSemi?";(":"(",o];if(_F(i)){const[e]=i.trailingComments;a.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return a.push(")"),a},embed: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 i=function(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 Rf(n.object)||Vf(n);case"CallExpression":return Rf(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(Rf(n.callee.object.object)||Vf(n.callee.object))||"CallExpression"===n.callee.object.type&&Rf(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)||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,...Mf)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return $f(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":$f((t=e).getValue(),"HTML")||t.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)?"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,...Mf)}(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;var t}(e);return i?"markdown"===i?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=df(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?cf([lf,u]):[pf,ff(u)],lf,"`"]}(e,0,n):"css"===i?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(!hf(t))return e;let n=0;const r=Df(bf(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,r)=>r%2==0?Ef(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["`",mf([gf,r]),yf,"`"]}(n(o.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+i+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,Cf(e,t))}(e,t,n):"graphql"===i?function(e,t,n){const r=e.getValue(),o=r.quasis.length;if(1===o&&""===r.quasis[0].value.raw.trim())return"``";const i=Sf(e,t),u=[];for(let s=0;s<o;s++){const e=0===s,t=s===o-1,a=r.quasis[s].value.cooked,c=a.split("\n"),l=c.length,p=i[s],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(!t&&/#[^\n\r]*$/.test(c[l-1]))return null;let m=null;m=h?wf(c):n(a,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=xf(m,!1),!e&&f&&u.push(""),u.push(m),!t&&d&&u.push("")):e||t||!f||u.push(""),p&&u.push(p)}return["`",vf([Ff,Af(Ff,u)]),Ff,"`"]}(e,t,n):"html"===i||"angular"===i?function(e,t,n,r,{parser:o}){const i=e.getValue(),u=jf;jf=jf+1>>>0;const s=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(u,"_IN_JS"),a=i.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t)).join(""),c=Of(e,t);if(0===c.length&&0===a.trim().length)return"``";const l=new RegExp(s("(\\d+)"),"g");let p=0;const f=n(a,{parser:o,__onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),d=Pf(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(l);for(let o=0;o<n.length;o++){let e=n[o];if(o%2==0){e&&(e=If(e),r.__embeddedInHtml&&(e=e.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(e));continue}const i=Number(e);t.push(c[i])}return t}),h=/^\s/.test(a)?" ":"",m=/\s$/.test(a)?" ":"",g="ignore"===r.htmlWhitespaceSensitivity?kf:h&&m?Bf:null;return Nf(g?["`",Tf([g,Nf(d)]),g,"`"]:["`",h,p>1?Tf(Nf(d)):Nf(d),m,"`"])}(e,t,n,r,{parser:i}):void 0:void 0},insertPragma:jF,massageAstNode:Hf,hasPrettierIgnore:e=>XF(e)||ox(e),willPrintOwnComments:Dh.willPrintOwnComments,canAttachComment:function(e){return e.type&&!WF(e)&&!UF(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:Vx,isBlockComment:WF,handleComments:{avoidAstMutation:!0,ownLine:Dh.handleOwnLineComment,endOfLine:Dh.handleEndOfLineComment,remaining:Dh.handleRemainingComment},getCommentChildNodes:Dh.getCommentChildNodes};const{builders:{hardline:zx,indent:Hx,join:Jx}}=En,Gx=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function Xx(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}}Xx.ignoredProperties=Gx;var Yx={preprocess:Ih,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),zx];case"ArrayExpression":{if(0===r.elements.length)return"[]";const t=e.map(()=>null===e.getValue()?"null":n(),"elements");return["[",Hx([zx,Jx([",",zx],t)]),zx,"]"]}case"ObjectExpression":return 0===r.properties.length?"{}":["{",Hx([zx,Jx([",",zx],e.map(n,"properties"))]),zx,"}"];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:Xx};const Kx="Common";var Qx={bracketSpacing:{since:"0.0.0",category:Kx,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Kx,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Kx,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."}]}};const Zx="JavaScript";var eS={arrowParens:{since:"1.9.0",category:Zx,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:Qx.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Zx,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Zx,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Qx.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Zx,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Zx,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:Zx,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)."}]}},tS={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},nS={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",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},rS={languages:[Ul(tS,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions.filter(e=>".jsx"!==e),".wxs"]})),Ul(tS,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Ul(tS,()=>({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})),Ul({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},()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Ul({name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Ul(nS,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Ul(nS,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),Ul({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},e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),Ul({name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:eS,printers:{estree:Ux,"estree-json":Yx},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:oS}=_t,iS=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function uS(e,t,n){if(oS(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0&&((n.nodes[0]===e||oS(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text))||"css-root"===n.type&&fe(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}uS.ignoredProperties=iS;var sS=uS;const{builders:{hardline:aS,markAsRoot:cS}}=En;var lS=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return cS([e.startDelimiter,aS,r,r?aS:"",e.endDelimiter])}};const{builders:{hardline:pS}}=En;const fS=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var dS=function(e){const t=e.match(fS);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)}},hS={hasPragma:function(e){return gd.hasPragma(dS(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=dS(e);return(t?t.raw+"\n\n":"")+gd.insertPragma(n)}};const{isNonEmptyArray:mS}=_t,gS=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 yS(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 DS(e,t){const n=yS(e,t);return-1===n?null:e.getParentNode(n)}function ES(e){return"value-operator"===e.type&&"*"===e.value}function bS(e){return"value-operator"===e.type&&"/"===e.value}function CS(e){return"value-operator"===e.type&&"+"===e.value}function vS(e){return"value-operator"===e.type&&"-"===e.value}function AS(e){return"value-operator"===e.type&&"%"===e.value}function FS(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function xS(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&FS(e.groups[0])}function SS(e){return e&&"value-colon"===e.type}var wS={getAncestorCounter:yS,getAncestorNode:DS,getPropOfDeclNode:function(e){const t=DS(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(mS(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(mS(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=DS(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=DS(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=DS(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=DS(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=DS(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:ES,isDivisionNode:bS,isAdditionNode:CS,isSubtractionNode:vS,isModuloNode:AS,isMathOperatorNode:function(e){return ES(e)||bS(e)||CS(e)||vS(e)||AS(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:FS,isKeyValuePairInParenGroupNode:xS,isKeyInValuePairNode:function(e,t){if(!FS(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&SS(n[r+1])},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(xS(t)||n&&xS(n)))return!1;const r=DS(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!xS(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:SS,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&gS.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.quote?t.raws.quote:"";return(t.raws&&t.raws.before?t.raws.before:"")+n+("atword"===t.type?"@":"")+(t.value?t.value:"")+n+(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-")}},TS=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:BS,skipEverythingButNewLine:kS}=_t;function NS(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?TS(e.source.start,t)-1:null}function PS(e,t){if("css-comment"===e.type&&e.inline)return kS(t,e.source.startOffset);const n=e.nodes&&BS(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?TS(e.source.end,t):null}function OS(e,t,n){e.source&&(e.source.startOffset=NS(e,n)+t,e.source.endOffset=PS(e,n)+t);for(const r in e){const o=e[r];"source"!==r&&o&&"object"==typeof o&&OS(o,t,n)}}function IS(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 jS={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=NS(t,n),t.source.endOffset=PS(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?OS(o,IS(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[u,s]of i)e=e.slice(0,u)+e.slice(u,s).replace(/["'*]/g," ")+e.slice(s);return e}};const{printNumber:LS,printString:_S,hasNewline:MS,isFrontMatterNode:RS,isNextLineEmpty:VS,isNonEmptyArray:$S}=_t,{builders:{join:qS,line:WS,hardline:US,softline:zS,group:HS,fill:JS,indent:GS,dedent:XS,ifBreak:YS,breakParent:KS},utils:{removeLines:QS,getDocParts:ZS}}=En,{insertPragma:ew}=hS,{getAncestorNode:tw,getPropOfDeclNode:nw,maybeToLowerCase:rw,insideValueFunctionNode:ow,insideICSSRuleNode:iw,insideAtRuleNode:uw,insideURLFunctionInImportAtRuleNode:sw,isKeyframeAtRuleKeywords:aw,isWideKeywords:cw,isSCSS:lw,isLastNode:pw,isLessParser:fw,isSCSSControlDirectiveNode:dw,isDetachedRulesetDeclarationNode:hw,isRelationalOperatorNode:mw,isEqualityOperatorNode:gw,isMultiplicationNode:yw,isDivisionNode:Dw,isAdditionNode:Ew,isSubtractionNode:bw,isMathOperatorNode:Cw,isEachKeywordNode:vw,isForKeywordNode:Aw,isURLFunctionNode:Fw,isIfElseKeywordNode:xw,hasComposesNode:Sw,hasParensAroundNode:ww,hasEmptyRawBefore:Tw,isKeyValuePairNode:Bw,isKeyInValuePairNode:kw,isDetachedRulesetCallNode:Nw,isTemplatePlaceholderNode:Pw,isTemplatePropNode:Ow,isPostcssSimpleVarNode:Iw,isSCSSMapItemNode:jw,isInlineValueCommentNode:Lw,isHashNode:_w,isLeftCurlyBraceNode:Mw,isRightCurlyBraceNode:Rw,isWordNode:Vw,isColonNode:$w,isMediaAndSupportsKeywords:qw,isColorAdjusterFuncNode:Ww,lastLineHasInlineComment:Uw,isAtWordPlaceholderNode:zw}=wS,{locStart:Hw,locEnd:Jw}=jS;function Gw(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Xw(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(Hw(n),Jw(n)))}else r.push(n());o!==i.length-1&&("css-comment"===i[o+1].type&&!MS(t.originalText,Hw(i[o+1]),{backwards:!0})&&!RS(i[o])||"css-atrule"===i[o+1].type&&"else"===i[o+1].name&&"css-comment"!==i[o].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?WS:US),VS(t.originalText,e.getValue(),Jw)&&!RS(i[o])&&r.push(US)))},"nodes"),r}const Yw=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,Kw=new RegExp(Yw.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 Qw(e,t){return e.replace(Yw,e=>_S(e,t))}function Zw(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function eT(e){return e.replace(Kw,(e,t,n,r,o)=>!n&&r?tT(r)+rw(o||""):e)}function tT(e){return LS(e).replace(/\.0(?=$|e)/,"")}var nT={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,US];case"css-root":{const o=Xw(e,t,n),i=r.raws.after.trim();return[o,i?" ".concat(i):"",ZS(o).length>0?US:""]}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(Hw(r),Jw(r));return e?n.trimEnd():n}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&Uw(r.selector.value)?WS:" ","{",r.nodes.length>0?GS([US,Xw(e,t,n)]):"",US,"}",hw(r)?";":""]:";"];case"css-decl":{const o=e.getParentNode(),{between:i}=r.raws,u=i.trim(),s=":"===u;let a=Sw(r)?QS(n("value")):n("value");return!s&&Uw(u)&&(a=GS([US,XS(a)])),[r.raws.before.replace(/[\s;]/g,""),iw(e)?r.prop:rw(r.prop),u.startsWith("//")?" ":"",u,r.extend?"":" ",fw(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?[" {",GS([zS,Xw(e,t,n)]),zS,"}"]:Ow(r)&&!o.raws.semicolon&&";"!==t.originalText[Jw(r)-1]?"":t.__isHTMLStyleAttribute&&pw(e,r)?YS(";"):";"]}case"css-atrule":{const o=e.getParentNode(),i=Pw(r)&&!o.raws.semicolon&&";"!==t.originalText[Jw(r)-1];if(fw(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?["{",GS([r.nodes.length>0?zS:"",Xw(e,t,n)]),zS,"}"]:"",i?"":";"]}return["@",Nw(r)||r.name.endsWith(":")?r.name:rw(r.name),r.params?[Nw(r)?"":Pw(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[US,US]:/^\s*\n/.test(r.raws.afterName)?US:" ":" ",n("params")]:"",r.selector?GS([" ",n("selector")]):"",r.value?HS([" ",n("value"),dw(r)?ww(r)?" ":WS:""]):"else"===r.name?" ":"",r.nodes?[dw(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&Uw(r.selector.value)||!r.selector&&"string"==typeof r.params&&Uw(r.params)?WS:" ","{",GS([r.nodes.length>0?zS:"",Xw(e,t,n)]),zS,"}"]: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"),HS(GS(qS(WS,t)))}case"media-query":return[qS(" ",e.map(n,"nodes")),pw(e,r)?"":","];case"media-type":return eT(Qw(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return rw(Qw(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return eT(Qw(r.value,t));case"media-keyword":return Qw(r.value,t);case"media-url":return Qw(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return HS([uw(e,"custom-selector")?[tw(e,"css-atrule").customSelector,WS]:"",qS([",",uw(e,["extend","custom-selector","nest"])?WS:US],e.map(n,"nodes"))]);case"selector-selector":return HS(GS(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return Qw(r.value,t);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:eT(aw(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",eT(Qw(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?Zw(Qw(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?"":WS,r.value,pw(e,r)?"":" "]}return[r.value.trim().startsWith("(")?WS:"",eT(Qw(r.value.trim(),t))||WS];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[rw(r.value),$S(r.nodes)?["(",qS(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{const n=tw(e,"css-rule");if(n&&n.isSCSSNesterProperty)return eT(Qw(rw(r.value),t));const o=e.getParentNode();if(o.raws&&o.raws.selector){const e=Hw(o);return t.originalText.slice(e,e+o.raws.selector.length).trim()}const i=e.getParentNode(1);if("value-paren_group"===o.type&&i&&"value-func"===i.type&&"selector"===i.value){const e=Hw(o.open)+1,n=Jw(o.close)-1,r=t.originalText.slice(e,n).trim();return Uw(r)?[KS,r]:r}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(Hw(r),Jw(r));case"value-comma_group":{const t=e.getParentNode(),o=e.getParentNode(1),i=nw(e),u=i&&"value-value"===t.type&&("grid"===i||i.startsWith("grid-template")),s=tw(e,"css-atrule"),a=s&&dw(s),c=r.groups.some(e=>Lw(e)),l=e.map(n,"groups"),p=[],f=ow(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],m=r.groups[n+1],g=r.groups[n+2];if(f){(m&&Ew(m)||Ew(c))&&p.push(" ");continue}if(!m||"value-word"===c.type&&c.value.endsWith("-")&&zw(m))continue;const y="value-string"===c.type&&c.value.startsWith("#{"),D=d&&"value-string"===m.type&&m.value.endsWith("}");if(y||D){d=!d;continue}if(d||$w(c)||$w(m)||"value-atword"===c.type&&""===c.value||"~"===c.value||c.value&&c.value.includes("\\")&&m&&"value-comment"!==m.type||i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===c.type&&"/"===c.value||"\\"===c.value||Iw(c,m)||_w(c)||Mw(c)||Rw(m)||Mw(m)&&Tw(m)||Rw(c)&&Tw(m)||"--"===c.value&&_w(m))continue;const E=Cw(c),b=Cw(m);if((E&&_w(m)||b&&Rw(c))&&Tw(m)||!i&&Dw(c)||ow(e,"calc")&&(Ew(c)||Ew(m)||bw(c)||bw(m))&&Tw(m))continue;const C=(Ew(c)||bw(c))&&0===n&&("value-number"===m.type||m.isHex)&&o&&Ww(o)&&!Tw(m),v=g&&"value-func"===g.type||g&&Vw(g)||"value-func"===c.type||Vw(c),A="value-func"===m.type||Vw(m)||i&&"value-func"===i.type||i&&Vw(i);if(yw(m)||yw(c)||ow(e,"calc")||C||!(Dw(m)&&!v||Dw(c)&&!A||Ew(m)&&!v||Ew(c)&&!A||bw(m)||bw(c))||!(Tw(m)||E&&(!i||i&&Cw(i))))if(Lw(c)){if("value-paren_group"===t.type){p.push(XS(US));continue}p.push(US)}else a&&(gw(m)||mw(m)||xw(m)||vw(c)||Aw(c))||s&&"namespace"===s.name.toLowerCase()?p.push(" "):u?c.source&&m.source&&c.source.start.line!==m.source.start.line?(p.push(US),h=!0):p.push(" "):b?p.push(" "):m&&"..."===m.value||zw(c)&&zw(m)&&Jw(c)===Hw(m)||p.push(WS)}return c&&p.push(KS),h&&p.unshift(US),a?HS(GS(p)):sw(e)?HS(JS(p)):HS(GS(JS(p)))}case"value-paren_group":{const o=e.getParentNode();if(o&&Fw(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"):"",qS(",",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([",",WS]),r.push(t[e]);return HS(GS(JS(r)))}const i=jw(e),u=fe(r.groups),s=u&&"value-comment"===u.type,a=kw(r,o),c=HS([r.open?n("open"):"",GS([zS,qS([",",WS],e.map(e=>{const t=e.getValue(),r=n();if(Bw(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=ZS(r.contents.contents);return e[1]=HS(e[1]),HS(XS(r))}return r},"groups"))]),YS(!s&&lw(t.parser,t.originalText)&&i&&Gw(t)?",":""),zS,r.close?n("close"):""],{shouldBreak:i&&!a});return a?XS(c):c}case"value-func":return[r.value,uw(e,"supports")&&qw(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[tT(r.value),rw(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||cw(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&&"\\"===fe(o.value)||ow(e,"url")?"":WS]}case"value-comma":return[r.value," "];case"value-string":return _S(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",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:function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=lS(r,n);return e?[e,pS]:""}},insertPragma:ew,massageAstNode:sS},rT={singleQuote:Qx.singleQuote},oT={languages:[Ul({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"]})),Ul({name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Ul({name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Ul({name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:rT,printers:{postcss:nT},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}};function iT(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}iT.ignoredProperties=new Set(["loc","selfClosing"]);var uT=iT;const sT=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 aT(e){return cT(e,["TextNode"])&&!/\S/.test(e.chars)}function cT(e,t){return e&&t.includes(e.type)}function lT(e,t){return cT(e.getParentNode(0),t)}function pT(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 fT(e,t=1){return pT(e,-t)}function dT(e){return pT(e,1)}function hT(e){return cT(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var mT={getNextNode:dT,getPreviousNode:fT,hasPrettierIgnore:function(e){const t=e.getValue(),n=fT(e,2);return hT(t)||hT(n)},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!lT(e,["ElementNode"])||fe(n.children)!==t)||!(!lT(e,["Block"])||fe(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return cT(dT(e),t)},isNodeOfSomeType:cT,isParentOfSomeType:lT,isPreviousNodeOfSomeType:function(e,t){return cT(fT(e),t)},isVoid:function(e){return cT(t=e,["ElementNode"])&&"string"==typeof t.tag&&((n=t.tag[0]).toUpperCase()===n||t.tag.includes("."))&&e.children.every(e=>aT(e))||sT.has(e.tag);var t,n},isWhitespaceNode:aT};const{builders:{dedent:gT,fill:yT,group:DT,hardline:ET,ifBreak:bT,indent:CT,join:vT,line:AT,softline:FT,literalline:xT},utils:{getDocParts:ST}}=En,{isNonEmptyArray:wT,replaceEndOfLineWith:TT}=_t,{locStart:BT,locEnd:kT}={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}},{getNextNode:NT,getPreviousNode:PT,hasPrettierIgnore:OT,isLastNodeOfSiblings:IT,isNextNodeOfSomeType:jT,isNodeOfSomeType:LT,isParentOfSomeType:_T,isPreviousNodeOfSomeType:MT,isVoid:RT,isWhitespaceNode:VT}=mT;function $T(e,t,n){const r=e.getValue().children.every(e=>VT(e));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((e,r)=>{const o=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[FT,o]:o},"children")}function qT(e){return RT(e)?bT([FT,"/>"],[" />",FT]):bT([FT,">"],">")}function WT(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function UT(e){return[e.strip&&e.strip.close?"~":"",!1===e.escaped?"}}}":"}}"]}function zT(e){return[WT(e),e.closeStrip.open?"~":"","/"]}function HT(e){const t=UT(e);return[e.closeStrip.close?"~":"",t]}function JT(e){return[WT(e),e.inverseStrip.open?"~":""]}function GT(e){const t=UT(e);return[e.inverseStrip.close?"~":"",t]}function XT(e,t){const n=e.getValue(),r=[WT(s=n),s.openStrip.open?"~":"","#"],o=function(e){const t=UT(e);return[e.openStrip.close?"~":"",t]}(n),i=[cB(0,t)],u=lB(e,t);var s;if(u&&i.push(AT,u),wT(n.program.blockParams)){const e=pB(n.program);i.push(AT,e)}return DT([r,CT(i),FT,o])}function YT(e,t){return["ignore"===t.htmlWhitespaceSensitivity?ET:"",JT(e),"else",GT(e)]}function KT(e,t){const n=e.getParentNode(1);return[JT(n),"else if ",lB(e,t),GT(n)]}function QT(e,t,n){const r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[ZT(r)?FT:ET,zT(r),t("path"),HT(r)]:[zT(r),t("path"),HT(r)]}function ZT(e){return LT(e,["BlockStatement"])&&e.program.body.every(e=>VT(e))}function eB(e){return LT(e,["BlockStatement"])&&e.inverse}function tB(e,t,n){if(ZT(e.getValue()))return"";const r=t("program");return CT("ignore"===n.htmlWhitespaceSensitivity?[ET,r]:r)}function nB(e,t,n){const r=e.getValue(),o=t("inverse"),i="ignore"===n.htmlWhitespaceSensitivity?[ET,o]:o;return eB(u=r)&&1===u.inverse.body.length&&LT(u.inverse.body[0],["BlockStatement"])&&"if"===u.inverse.body[0].path.parts[0]?i:eB(r)?[YT(r,n),CT(i)]:"";var u}function rB(e){return ST(vT(AT,e.split(/[\t\n\f\r ]+/)))}function oB(e){return(e="string"==typeof e?e:"").split("\n").length-1}function iB(e=0){return new Array(Math.min(e,2)).fill(ET)}function uB(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},o=e.singleQuote?r:n,i=o===r?n:r;let u=!1;return(t.includes(o.quote)||t.includes(i.quote))&&(u=(t.match(o.regex)||[]).length>(t.match(i.regex)||[]).length),u?i:o}function sB(e,t){const n=cB(0,t),r=lB(e,t);return r?CT([n,AT,DT(r)]):n}function aB(e,t){const n=cB(0,t),r=lB(e,t);return r?[CT([n,AT,r]),FT]:n}function cB(e,t){return t("path")}function lB(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?"":vT(AT,r)}function pB(e){return["as |",e.blockParams.join(" "),"|"]}var fB={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(OT(e))return t.originalText.slice(BT(r),kT(r));switch(r.type){case"Block":case"Program":case"Template":return DT(e.map(n,"body"));case"ElementNode":{const o=DT(function(e,t){const n=e.getValue(),r=["attributes","modifiers","comments","blockParams"].filter(e=>wT(n[e])).map(r=>[AT,"blockParams"===r?pB(n):vT(AT,e.map(t,r))]);return["<",n.tag,CT(r),qT(n)]}(e,n)),i="ignore"===t.htmlWhitespaceSensitivity&&jT(e,["ElementNode"])?FT:"";if(RT(r))return[o,i];const u=["</",r.tag,">"];return 0===r.children.length?[o,CT(u),i]:"ignore"===t.htmlWhitespaceSensitivity?[o,CT($T(e,t,n)),ET,CT(u),i]:[o,CT(DT($T(e,t,n))),CT(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]?[KT(e,n),tB(e,n,t),nB(e,n,t)]:[XT(e,n),DT([tB(e,n,t),nB(e,n,t),QT(e,n,t)])]}case"ElementModifierStatement":return DT(["{{",aB(e,n),"}}"]);case"MustacheStatement":return DT([WT(r),aB(e,n),UT(r)]);case"SubExpression":return DT(["(",sB(e,n),FT,")"]);case"AttrNode":{const e="TextNode"===r.value.type;if(e&&""===r.value.chars&&BT(r.value)===kT(r.value))return r.name;const o=e?uB(t,r.value.chars).quote:"ConcatStatement"===r.value.type?uB(t,r.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join("")).quote:"",i=n("value");return[r.name,"=",o,"class"===r.name&&o?DT(CT(i)):i,o]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return vT(AT,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let n=r.chars.replace(/{{/g,"\\{{");const i=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(i){if("class"===i){const t=n.trim().split(/\s+/).join(" ");let r=!1,o=!1;return _T(e,["ConcatStatement"])&&(MT(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),jT(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(o=!0)),[r?AT:"",t,o?AT:""]}return TT(n,xT)}const u=/^[\t\n\f\r ]*$/.test(n),s=!PT(e),a=!NT(e);if("ignore"!==t.htmlWhitespaceSensitivity){const t=/^[\t\n\f\r ]*/,r=/[\t\n\f\r ]*$/,o=a&&_T(e,["Template"]),i=s&&_T(e,["Template"]);if(u){if(i||o)return"";let t=[AT];const r=oB(n);return r&&(t=iB(r)),IT(e)&&(t=t.map(e=>gT(e))),t}const[c]=n.match(t),[l]=n.match(r);let p=[];if(c){p=[AT];const e=oB(c);e&&(p=iB(e)),n=n.replace(t,"")}let f=[];if(l){if(!o){f=[AT];const t=oB(l);t&&(f=iB(t)),IT(e)&&(f=f.map(e=>gT(e)))}n=n.replace(r,"")}return[...p,yT(rB(n)),...f]}const c=oB(n);let l=oB(((o="string"==typeof(o=n)?o:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||""),p=function(e){return oB(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(n);if((s||a)&&u&&_T(e,["Block","ElementNode","Template"]))return"";u&&c?(l=Math.min(c,2),p=0):(jT(e,["BlockStatement","ElementNode"])&&(p=Math.max(p,1)),MT(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)));let f="",d="";return 0===p&&jT(e,["MustacheStatement"])&&(d=" "),0===l&&MT(e,["MustacheStatement"])&&(f=" "),s&&(l=0,f=""),a&&(p=0,d=""),n=n.replace(/^[\t\n\f\r ]+/g,f).replace(/[\t\n\f\r ]+$/,d),[...iB(l),yT(rB(n)),...iB(p)]}case"MustacheCommentStatement":{const e=BT(r),n=kT(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":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){const{quote:n,regex:r}=uB(t,e);return[n,e.replace(r,"\\".concat(n)),n]}(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))}var o},massageAstNode:uT},dB={languages:[Ul({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:fB},parsers:{get glimmer(){return{}.parsers.glimmer}}};const{builders:{join:hB,hardline:mB,line:gB,softline:yB,group:DB,indent:EB,ifBreak:bB}}=En,{isNextLineEmpty:CB,isNonEmptyArray:vB}=_t,{insertPragma:AB}={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},{locStart:FB,locEnd:xB}={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}};function SB(e,t,n){if(0===n.directives.length)return"";const r=hB(gB,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?DB([gB,r]):[" ",DB(EB([yB,r]))]}function wB(e,t,n){const r=e.getValue().length;return e.map((e,o)=>{const i=n();return CB(t.originalText,e.getValue(),xB)&&o<r-1?[i,mB]:i})}function TB(e,t,n){const r=e.getNode(),o=[],{interfaces:i}=r,u=e.map(e=>n(e),"interfaces");for(let s=0;s<i.length;s++){const e=i[s];o.push(u[s]);const n=i[s+1];if(n){const r=t.originalText.slice(e.loc.end,n.loc.start),i=r.includes("#"),u=r.replace(/#.*/g,"").trim();o.push(","===u?",":" &",i?gB:" ")}}return o}function BB(){}BB.ignoredProperties=new Set(["loc","comments"]);var kB={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(mB),CB(t.originalText,e.getValue(),xB)&&r.push(mB))},"definitions"),[...r,mB]}case"OperationDefinition":{const o="{"!==t.originalText[FB(r)],i=Boolean(r.name);return[o?r.operation:"",o&&i?[" ",n("name")]:"",o&&!i&&vB(r.variableDefinitions)?" ":"",vB(r.variableDefinitions)?DB(["(",EB([yB,hB([bB("",", "),yB],e.map(n,"variableDefinitions"))]),yB,")"]):"",SB(e,n,r),r.selectionSet&&(o||i)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),vB(r.variableDefinitions)?DB(["(",EB([yB,hB([bB("",", "),yB],e.map(n,"variableDefinitions"))]),yB,")"]):""," on ",n("typeCondition"),SB(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",EB([mB,hB(mB,e.call(e=>wB(e,t,n),"selections"))]),mB,"}"];case"Field":return DB([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?DB(["(",EB([yB,hB([bB("",", "),yB],e.call(e=>wB(e,t,n),"arguments"))]),yB,")"]):"",SB(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',mB,hB(mB,r.value.replace(/"""/g,"\\$&").split("\n")),mB,'"""']:['"',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["$",n("name")];case"ListValue":return DB(["[",EB([yB,hB([bB("",", "),yB],e.map(n,"values"))]),yB,"]"]);case"ObjectValue":return DB(["{",t.bracketSpacing&&r.fields.length>0?" ":"",EB([yB,hB([bB("",", "),yB],e.map(n,"fields"))]),yB,bB("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?DB(["(",EB([yB,hB([bB("",", "),yB],e.call(e=>wB(e,t,n),"arguments"))]),yB,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",SB(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?mB:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...TB(e,t,n)]:"",SB(e,n,r),r.fields.length>0?[" {",EB([mB,hB(mB,e.call(e=>wB(e,t,n),"fields"))]),mB,"}"]:""];case"FieldDefinition":return[n("description"),r.description?mB:"",n("name"),r.arguments.length>0?DB(["(",EB([yB,hB([bB("",", "),yB],e.call(e=>wB(e,t,n),"arguments"))]),yB,")"]):"",": ",n("type"),SB(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?mB:"","directive ","@",n("name"),r.arguments.length>0?DB(["(",EB([yB,hB([bB("",", "),yB],e.call(e=>wB(e,t,n),"arguments"))]),yB,")"]):"",r.repeatable?" repeatable":""," on ",hB(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?mB:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),SB(e,n,r),r.values.length>0?[" {",EB([mB,hB(mB,e.call(e=>wB(e,t,n),"values"))]),mB,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?mB:"",n("name"),SB(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?mB:gB:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",SB(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?mB:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),SB(e,n,r),r.fields.length>0?[" {",EB([mB,hB(mB,e.call(e=>wB(e,t,n),"fields"))]),mB,"}"]:""];case"SchemaDefinition":return["schema",SB(e,n,r)," {",r.operationTypes.length>0?EB([mB,hB(mB,e.call(e=>wB(e,t,n),"operationTypes"))]):"",mB,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?mB:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...TB(e,t,n)]:"",SB(e,n,r),r.fields.length>0?[" {",EB([mB,hB(mB,e.call(e=>wB(e,t,n),"fields"))]),mB,"}"]:""];case"FragmentSpread":return["...",n("name"),SB(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",SB(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return DB([n("description"),r.description?mB:"",DB(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),SB(e,n,r),r.types.length>0?[" =",bB(""," "),EB([bB([gB," "]),hB([gB,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?mB:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),SB(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:BB,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:AB,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}},NB={bracketSpacing:Qx.bracketSpacing},PB={languages:[Ul({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:NB,printers:{graphql:kB},parsers:{get graphql(){return{}.parsers.graphql}}},OB={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:IB}=_t,{locStart:jB,locEnd:LB}=OB,{cjkPattern:_B,kPattern:MB,punctuationPattern:RB}={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]"},VB=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],$B=[...VB,"tableCell","paragraph","heading"],qB=new RegExp(MB),WB=new RegExp(RB);function UB(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 zB={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(_B,")\n(").concat(_B,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(const[a,c]of u.entries()){if(a%2==1){i.push({type:"whitespace",value:/\n/.test(c)?"\n":" "});continue}if((0===a||a===u.length-1)&&""===c)continue;const e=c.split(new RegExp("(".concat(_B,")")));for(const[t,i]of e.entries())(0!==t&&t!==e.length-1||""!==i)&&(t%2!=0?s(WB.test(i)?{type:"word",value:i,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:i,kind:qB.test(i)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==i&&s({type:"word",value:i,kind:n,hasLeadingPunctuation:WB.test(i[0]),hasTrailingPunctuation:WB.test(IB(i))}))}return i;function s(e){const t=IB(i);var u;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=o,t.kind===n&&e.kind===u||t.kind===u&&"non-cjk"===e.kind||[t.value,e.value].some(e=>/\u3000/.test(e))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:RB,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:UB,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;const n=Number(UB(e.children[0],t.originalText).numberText),r=Number(UB(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(UB(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:VB,INLINE_NODE_WRAPPER_TYPES:$B,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&jB(e)===jB(t)&&LB(e)===LB(t)}};const{inferParserByLanguage:HB,getMaxContinuousCount:JB}=_t,{builders:{hardline:GB,markAsRoot:XB},utils:{replaceNewlinesWithLiterallines:YB}}=En,{getFencedCodeBlockValue:KB}=zB;const QB=["format","prettier"];function ZB(e){const t="@(".concat(QB.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 ek={startWithPragma:ZB,hasPragma:e=>ZB(dS(e).content.trimStart()),insertPragma:e=>{const t=dS(e),n="\x3c!-- @".concat(QB[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:tk,mapAst:nk,splitText:rk}=zB,ok=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function ik(e,t,n){return nk(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const o=fe(e);return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}const{isFrontMatterNode:uk}=_t,{startWithPragma:sk}=ek,ak=new Set(["position","raw"]);function ck(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||uk(n.children[0])&&n.children[1]===e)&&"html"===e.type&&sk(e.value)?null:void 0)}ck.ignoredProperties=ak;var lk=ck;const{getLast:pk,getMinNotPresentContinuousCount:fk,getMaxContinuousCount:dk,getStringWidth:hk,isNonEmptyArray:mk}=_t,{builders:{breakParent:gk,join:yk,line:Dk,literalline:Ek,markAsRoot:bk,hardline:Ck,softline:vk,ifBreak:Ak,fill:Fk,align:xk,indent:Sk,group:wk,hardlineWithoutBreakParent:Tk},utils:{normalizeDoc:Bk},printer:{printDocToString:kk}}=En,{replaceEndOfLineWith:Nk}=_t,{insertPragma:Pk}=ek,{locStart:Ok,locEnd:Ik}=OB,{getFencedCodeBlockValue:jk,hasGitDiffFriendlyOrderedList:Lk,splitText:_k,punctuationPattern:Mk,INLINE_NODE_TYPES:Rk,INLINE_NODE_WRAPPER_TYPES:Vk,isAutolink:$k}=zB,qk=new Set(["importExport"]),Wk=["heading","tableCell","link","wikiLink"],Uk=new Set(["listItem","definition","footnoteDefinition"]);function zk(e,t,n,r){const o=e.getValue(),i=null===o.checked?"":o.checked?"[x] ":"[ ] ";return[i,Kk(e,t,n,{processor:(e,o)=>{if(0===o&&"list"!==e.getValue().type)return xk(" ".repeat(i.length),n());const u=" ".repeat((3,(s=t.tabWidth-r.length)<0?0:s>3?3:s));var s;return[u,xk(u,n())]}})]}function Hk(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 Jk(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 Gk(e,t){const n=Jk(e,t);return-1===n?null:e.getParentNode(n)}function Xk(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return Ck;const r="always"===n.proseWrap&&!Gk(e,Wk);return""!==t?r?Dk:" ":r?vk:""}function Yk(e,t,n){const r=[];let o=null;const{children:i}=e.getValue();for(const[u,s]of i.entries())switch(Zk(s)){case"start":null===o&&(o={index:u,offset:s.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:u,offset:s.position.start.offset}}),o=null)}return Kk(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 Kk(e,t,n,r={}){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};(function(e,t){const n=0===t.parts.length,r=Rk.includes(e.type),o="html"===e.type&&Vk.includes(t.parentNode.type);return!n&&!r&&!o})(r,e)&&(s.push(Ck),a&&qk.has(a.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&Uk.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,i="next"===Zk(t.prevNode);return o||!(n||r||i||"html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line||"html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line)}(r,e)||eN(r,e))&&s.push(Ck),eN(r,e)&&s.push(Ck)),s.push(o),a=r}},"children"),o?o(s):s}function Qk(e){let t=e;for(;mk(t.children);)t=pk(t.children);return t}function Zk(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 eN(e,t){return t.prevNode&&"list"===t.prevNode.type&&"code"===e.type&&e.isIndented}function tN(e,t=[]){const n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function nN(e,t,n=!0){if(!e)return"";if(n)return" "+nN(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 rN={preprocess:function(e,t){return function(e){return ik(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 nk(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return nk(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:rk(o,t)}})}(e=function(e,t){return nk(e,(e,r,o)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<o.length;t++){const n=o[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=function(e){if(!e.ordered)return!0;const[r,o]=e.children;if(tk(r,t.originalText).leadingSpaces.length>1)return!0;const i=n(r);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(o)&&(i%t.tabWidth==0||tk(o,t.originalText).leadingSpaces.length>1))}(e)}return e});function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}(e=function(e,t){return nk(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 nk(e,e=>"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}((r=t,n=e=nk(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&ok.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:r.originalText.slice(e.position.start.offset,e.position.end.offset)}):e),e=ik(n,(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}})))),t),t),t)));var n,r},print:function(e,t,n){const r=e.getValue();if(function(e){const t=Gk(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return _k(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":Xk(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?"":[Bk(Yk(e,t,n)),qk.has(Qk(r).type)?"":Ck];case"paragraph":return Kk(e,t,n,{postprocessor:Fk});case"sentence":return Kk(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(Mk,")(_+)"),"(_+)(".concat(Mk,"|$)")].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)=>$k(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 Xk(e,r.value,{proseWrap:u})}case"emphasis":{let o;if($k(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"===pk(i.children).type&&!pk(i.children).hasTrailingPunctuation||u&&"sentence"===u.type&&u.children.length>0&&"word"===u.children[0].type&&!u.children[0].hasLeadingPunctuation||Gk(e,"emphasis")?"*":"_"}return[o,Kk(e,t,n),o]}case"strong":return["**",Kk(e,t,n),"**"];case"delete":return["~~",Kk(e,t,n),"~~"];case"inlineCode":{const e=fk(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["[",Kk(e,t,n),"](",tN(r.url,")"),nN(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",tN(r.url,")"),nN(r.title,t),")"];case"blockquote":return["> ",xk("> ",Kk(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",Kk(e,t,n)];case"code":{if(r.isIndented){const e=" ".repeat(4);return xk(e,[e,...Nk(r.value,Ck)])}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,dk(r.value,e)+1));return[n,r.lang||"",r.meta?" "+r.meta:"",Ck,...Nk(jk(r,t.originalText),Ck),Ck,n]}case"html":{const t=e.getParentNode(),n="root"===t.type&&pk(t.children)===r?r.value.trimEnd():r.value,o=/^<!--[\S\s]*-->$/.test(n);return Nk(n,o?Ck:bk(Ek))}case"list":{const o=Hk(r,e.getParentNode()),i=Lk(r,t);return Kk(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=function(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}();return e+" ".repeat(n>=4?0: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,zk(e,t,n,s)]:[s,xk(" ".repeat(s.length),zk(e,t,n,s))]}})}case"thematicBreak":{const t=Jk(e,"list");return-1===t?"---":Hk(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",Kk(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":switch(r.referenceType){case"full":return["![",r.alt||"","][",r.identifier,"]"];default:return["![",r.alt,"]","collapsed"===r.referenceType?"[]":""]}case"definition":{const e="always"===t.proseWrap?Dk:" ";return wk(["[",r.identifier,"]:",Sk([e,tN(r.url),null===r.title?"":[e,nN(r.title,t,!1)]])])}case"footnote":return["[^",Kk(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const o=e.getParentNode().children[e.getName()+1];return["[^",r.identifier,"]: ",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)?Kk(e,t,n):wk([xk(" ".repeat(4),Kk(e,t,n,{processor:(e,t)=>0===t?wk([vk,n()]):n()})),o&&"footnoteDefinition"===o.type?vk:""])]}case"table":return function(e,t,n){const r=e.getValue(),o=[],i=e.map(e=>e.map((e,r)=>{const i=kk(n(),t).formatted,u=hk(i);return o[r]=Math.max(o[r]||3,u),{text:i,width:u}},"children"),"children"),u=a(!1);if("never"!==t.proseWrap)return[gk,u];const s=a(!0);return[gk,wk(Ak(s,u))];function a(e){const t=[l(i[0],e),c(e)];return i.length>1&&t.push(yk(Tk,i.slice(1).map(t=>l(t,e)))),yk(Tk,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(({text:e,width:n},i)=>{if(t)return e;const u=o[i]-n,s=r.align[i];let a=0;"right"===s?a=u:"center"===s&&(a=Math.floor(u/2));const c=u-a;return"".concat(" ".repeat(a)).concat(e).concat(" ".repeat(c))});return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return Kk(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",bk(Ek)]:["\\",Ck];case"liquidNode":return Nk(r.value,Ck);case"importExport":return[r.value,Ck];case"jsx":return r.value;case"math":return["$$",Ck,r.value?[...Nk(r.value,Ck),Ck]:"","$$"];case"inlineMath":return t.originalText.slice(Ok(r),Ik(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n,r){const o=e.getValue();if("code"===o.type&&null!==o.lang){const e=HB(o.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",i=t.repeat(Math.max(3,JB(o.value,t)+1)),u=n(KB(o,r.originalText),{parser:e},{stripTrailingHardline:!0});return XB([i,o.lang,o.meta?" "+o.meta:"",GB,YB(u),GB,i])}}switch(o.type){case"front-matter":return lS(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),GB];case"jsx":return n("<$>".concat(o.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},massageAstNode:lk,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===Zk(e.getParentNode().children[t-1])},insertPragma:Pk},oN={proseWrap:Qx.proseWrap,singleQuote:Qx.singleQuote},iN={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},uN={languages:[Ul(iN,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),Ul(iN,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:oN,printers:{mdast:rN},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:sN}=_t,aN=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function cN(e,t){return"text"===e.type||"comment"===e.type||sN(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}cN.ignoredProperties=aN;var lN=cN;const{inferParserByLanguage:pN,isFrontMatterNode:fN}=_t,{CSS_DISPLAY_TAGS:dN,CSS_DISPLAY_DEFAULT:hN,CSS_WHITE_SPACE_TAGS:mN,CSS_WHITE_SPACE_DEFAULT:gN}={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"},yN=vN(["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"]),DN=function(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))n[r]=t(o,r);return n}({"*":["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"]},vN),EN=new Set(["\t","\n","\f","\r"," "]),bN=e=>e.replace(/[\t\n\f\r ]+$/,""),CN=e=>e.match(/^[\t\n\f\r ]*/)[0];function vN(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function AN(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!jN(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!$N(e,t)||xN(e)||"interpolation"===e.type)}function FN(e){return!("attribute"===e.type||!e.parent||"number"!=typeof e.index||0===e.index)&&"comment"===(t=e.parent.children[e.index-1]).type&&"prettier-ignore"===t.value.trim();var t}function xN(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||LN(e)&&("script"===e.name||"style"===e.name))}function SN(e){return _N(e).startsWith("pre")}function wN(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 TN(e){return PN(e)||"element"===e.type&&"br"===e.fullName||BN(e)}function BN(e){return kN(e)&&NN(e)}function kN(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 NN(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 PN(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function ON(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 IN(e){return"block"===e||"list-item"===e||e.startsWith("table")}function jN(e){return _N(e).startsWith("pre")}function LN(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function _N(e){return"element"===e.type&&(!e.namespace||LN(e))&&mN[e.name]||gN}const MN=new Set(["template","style","script"]);function RN(e,t){return VN(e,t)&&!MN.has(e.fullName)}function VN(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function $N(e,t){return VN(e,t)&&(RN(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var qN={HTML_ELEMENT_ATTRIBUTES:DN,HTML_TAGS:yN,htmlTrim:e=>bN(e).replace(/^[\t\n\f\r ]+/,""),htmlTrimPreserveIndentation:e=>bN(e).replace(/^[\t\f\r ]*?\n/g,""),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&&!xN(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=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!EN.has(n[0]))return 0;const e=CN(n).length;n.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e)){return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n")},forceBreakChildren:wN,forceBreakContent:function(e){return wN(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(e=>{return(t=e).children&&t.children.some(e=>"text"!==e.type);var t}))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&kN(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||NN(e.lastChild))},forceNextEmptyLine:function(e){return fN(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||LN(e))&&dN[e.name]||hN}},getNodeCssStyleWhiteSpace:_N,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:FN,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&&$N(e,t)?ON(e)||!("src"in e.attrMap)&&pN(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?ON(e):"babel"},isVueCustomBlock:RN,isVueNonHtmlBlock:$N,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(!VN(n,t))return!1;const r=n.fullName,o=e.fullName;return"script"===r&&"setup"===o||"style"===r&&"vars"===o},isDanglingSpaceSensitiveNode:function(e){return!(IN(t=e.cssDisplay)||"inline-block"===t||xN(e));var t},isIndentationSensitiveNode:SN,isLeadingSpaceSensitiveNode:function(e,t){const n=!(fN(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!jN(e.parent)&&(!e.prev&&("root"===e.parent.type||jN(e)&&e.parent||xN(e.parent)||RN(e.parent,t)||(r=e.parent.cssDisplay,IN(r)||"inline-block"===r))||e.prev&&(o=e.prev.cssDisplay,IN(o)))));var r,o;return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:jN,isScriptLikeTag:xN,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(fN(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!jN(e.parent)&&(!e.next&&("root"===e.parent.type||jN(e)&&e.parent||xN(e.parent)||RN(e.parent,t)||(r=e.parent.cssDisplay,IN(r)||"inline-block"===r))||e.next&&(n=e.next.cssDisplay,IN(n)))));var n,r},isWhitespaceSensitiveNode:function(e){return xN(e)||"interpolation"===e.type||SN(e)},isUnknownNamespace:LN,preferHardlineAsLeadingSpaces:function(e){return PN(e)||e.prev&&TN(e.prev)||BN(e)},preferHardlineAsTrailingSpaces:TN,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(FN(e)||AN(e.parent,t))},shouldPreserveContent:AN,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}},WN=i(function(e,t){function n(e){return t.$0<=e&&e<=t.$9}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}});class UN{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),"."))}}var zN=Object.defineProperty({StaticSymbol:UN,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 UN(e,t,n),this.cache.set(o,i)),i}}},"__esModule",{value:!0});const HN=/-+([a-z0-9])/g;function JN(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function GN(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===ZN?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}var XN=GN,YN={assertSync:e=>{if(eP(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>eP(e)?e.then(t):t(e),all:e=>e.some(eP)?Promise.all(e):e};const KN="ngSyntaxError",QN="ngParseErrors";const ZN=Object.getPrototypeOf({});function eP(e){return!!e&&"function"==typeof e.then}const tP="undefined"!=typeof window&&window,nP="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var rP=Object.defineProperty({dashCaseToCamelCase:function(e){return e.replace(HN,(...e)=>e[1].toUpperCase())},splitAtColon:function(e,t){return JN(e,":",t)},splitAtPeriod:function(e,t){return JN(e,".",t)},visitValue:XN,isDefined:function(e){return null!=e},noUndefined:function(e){return void 0===e?null:e},ValueTransformer:class{visitArray(e,t){return e.map(e=>GN(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=GN(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},SyncAsync:YN,error:function(e){throw new Error("Internal Error: ".concat(e))},syntaxError:function(e,t){const n=Error(e);return n[KN]=!0,t&&(n[QN]=t),n},isSyntaxError:function(e){return e[KN]},getParseErrors:function(e){return e[QN]||[]},escapeRegExp:function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},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},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)},resolveForwardRef:function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},isPromise:eP,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(".")}},global:void 0!==r&&r||tP||nP},"__esModule",{value:!0}),oP=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let o=0;function i(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof zN.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=rP.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=r(n),n}var u,s;t.identifierName=i,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof zN.StaticSymbol?t.filePath:"./".concat(rP.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},(s=u=t.CompileSummaryKind||(t.CompileSummaryKind={}))[s.Pipe=0]="Pipe",s[s.Directive=1]="Directive",s[s.NgModule=2]="NgModule",s[s.Injectable=3]="Injectable",t.tokenName=function(e){return null!=e.value?r(e.value):i(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=c(t),this.styleUrls=c(n)}},t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:o,styleUrls:i,externalStylesheets:u,animations:s,ngContentSelectors:a,interpolation:p,isInline:f,preserveWhitespaces:d}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=c(o),this.styleUrls=c(i),this.externalStylesheets=c(u),this.animations=s?l(s):[],this.ngContentSelectors=a||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d}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:i,changeDetection:u,inputs:s,outputs:c,host:l,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b}){const C={},v={},A={};null!=l&&Object.keys(l).forEach(e=>{const t=l[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(C[r[2]]=t)});const F={};null!=s&&s.forEach(e=>{const t=rP.splitAtColon(e,[e,e]);F[t[0]]=t[1]});const x={};return null!=c&&c.forEach(e=>{const t=rP.splitAtColon(e,[e,e]);x[t[0]]=t[1]}),new a({isHost:e,type:t,isComponent:!!r,selector:o,exportAs:i,changeDetection:u,inputs:F,outputs:x,hostListeners:C,hostProperties:v,hostAttributes:A,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:o,changeDetection:i,inputs:u,outputs:s,hostListeners:a,hostProperties:l,hostAttributes:p,providers:f,viewProviders:d,queries:h,guards:m,viewQueries:g,entryComponents:y,template:D,componentViewType:E,rendererType:b,componentFactory:C}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=o,this.changeDetection=i,this.inputs=u,this.outputs=s,this.hostListeners=a,this.hostProperties=l,this.hostAttributes=p,this.providers=c(f),this.viewProviders=c(d),this.queries=c(h),this.guards=m,this.viewQueries=c(g),this.entryComponents=c(y),this.template=D,this.componentViewType=E,this.rendererType=b,this.componentFactory=C}toSummary(){return{summaryKind:u.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}}}function c(e){return 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:///")}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:u.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:i,entryComponents:u,bootstrapComponents:s,importedModules:a,exportedModules:l,schemas:p,transitiveModule:f,id:d}){this.type=e||null,this.declaredDirectives=c(n),this.exportedDirectives=c(r),this.declaredPipes=c(o),this.exportedPipes=c(i),this.providers=c(t),this.entryComponents=c(u),this.bootstrapComponents=c(s),this.importedModules=c(a),this.exportedModules=c(l),this.schemas=c(p),this.id=d||null,this.transitiveModule=f||null}toSummary(){const e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},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))}},t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:o,deps:i,multi:u}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=o||null,this.dependencies=i||null,this.multi=!!u}},t.flatten=l,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof zN.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof zN.StaticSymbol?r:p(r)},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return p("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return p("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return p("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}}),iP=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});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,i=this.line,u=this.col;for(;o>0&&e<0;)if(o--,e++,t.charCodeAt(o)==WN.$LF){i--;const e=t.substr(0,o-1).lastIndexOf(String.fromCharCode(WN.$LF));u=e>0?o-e:o}else u--;for(;o<r&&e>0;){const n=t.charCodeAt(o);o++,e--,n==WN.$LF?(i++,u=0):u++}return new n(this.file,o,i,u)}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}}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 i,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),(u=i=t.ParseErrorLevel||(t.ParseErrorLevel={}))[u.WARNING=0]="WARNING",u[u.ERROR=1]="ERROR",t.ParseError=class{constructor(e,t,n=i.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(i[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 i=oP.identifierModuleUrl(t),u=null!=i?"in ".concat(e," ").concat(oP.identifierName(t)," in ").concat(i):"in ".concat(e," ").concat(oP.identifierName(t)),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,i){const u="in ".concat(e," ").concat(t," in ").concat(i),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}});const{ParseSourceSpan:uP}=iP,{htmlTrim:sP,getLeadingAndTrailingHtmlWhitespace:aP,hasHtmlWhitespace:cP,canHaveInterpolation:lP,getNodeCssStyleDisplay:pP,isDanglingSpaceSensitiveNode:fP,isIndentationSensitiveNode:dP,isLeadingSpaceSensitiveNode:hP,isTrailingSpaceSensitiveNode:mP,isWhitespaceSensitiveNode:gP}=qN,yP=[function(e){return e.map(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;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=new uP(e.sourceSpan.start,o.firstChild.sourceSpan.end),r=new uP(n.start,o.sourceSpan.end);t.push(o.clone({condition:e.condition,sourceSpan:r,startSourceSpan:n,children:o.children.slice(1)}))}else t.push(o)}return e.clone({children:t})}}return e})},function(e){return t=e=>"cdata"===e.type,n=e=>"<![CDATA[".concat(e.value,"]]>"),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 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"!==fe(t).type){t.push(u);continue}const s=t.pop();t.push(s.clone({value:s.value+u.value,sourceSpan:new uP(s.sourceSpan.start,u.sourceSpan.end)}))}return e.clone({children:t})}}return e});var t,n},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!lP(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 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 uP(e,o),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new uP(e.moveBy(2),o.moveBy(-2))}]})):(o=e.moveBy(r.length),r.length>0&&t.push({type:"text",value:r,sourceSpan:new uP(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===sP(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});const n=gP(e),r=dP(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((e,r)=>{if("text"!==r.type||n)return[...e,r];const o=[],{leadingWhitespace:i,text:u,trailingWhitespace:s}=aP(r.value);return i&&o.push({type:t}),u&&o.push({type:"text",value:u,sourceSpan:new uP(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-s.length))}),s&&o.push({type:t}),[...e,...o]},[]).reduce((e,n,r,o)=>{if(n.type===t)return e;const i=0!==r&&o[r-1].type===t,u=r!==o.length-1&&o[r+1].type===t;return[...e,Object.assign({},n,{hasLeadingSpaces:i,hasTrailingSpaces:u})]},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:pP(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?e.clone(0===e.children.length?{isDanglingSpaceSensitive:fP(e)}:{children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:hP(e,t),isTrailingSpaceSensitive:mP(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&&!cP(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(),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 uP(n.sourceSpan.start,i.sourceSpan.end),isTrailingSpaceSensitive:u,hasTrailingSpaces:s}))}else t.push(o)}return e.clone({children:t})}}return e})}];const{builders:{group:DP}}=En;var EP={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=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=e.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(!n)return;const r={};r.for=n[3].trim();const o=n[1].trim().replace(/^\(|\)$/g,""),i=o.match(t);return i?(r.alias=o.replace(t,""),r.iterator1=i[1].trim(),i[2]&&(r.iterator2=i[2].trim())):r.alias=o,{left:"".concat([r.alias,r.iterator1,r.iterator2].filter(Boolean).join(",")),operator:n[2],right:r.for}}(e);return[DP(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})}},bP=i(function(e){var t,n;t=r,n=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 y+=(n=r[0]).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=/[,]+$/,m=/^\d+$/,g=/^-?(?:[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,""),b()):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 b();if("("===c)s+=c,a="in parens";else{if(""===c)return s&&u.push(s),void b();s+=c}}else if("in parens"===a)if(")"===c)s+=c,a="in descriptor";else{if(""===c)return u.push(s),void b();s+=c}else if("after descriptor"===a&&!r(c)){if(""===c)return void b();a="in descriptor",y-=1}y+=1}}function b(){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),m.test(l)&&"w"===c?((t||r)&&(d=!0),0===p?d=!0:t=p):g.test(l)&&"x"===c?((t||r||o)&&(d=!0),f<0?d=!0:r=f):m.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))}}},e.exports?e.exports=n():t.parseSrcset=n()});const{builders:{group:CP,ifBreak:vP,indent:AP,join:FP,line:xP,softline:SP}}=En,wP=["__","--","_","-"];function TP(e){const t=e.search(/[^_-]/);if(-1!==t)for(const n of wP){const r=e.indexOf(n,t);if(-1!==r)return e.slice(0,r)}return e}var BP={printImgSrcset:function(e){const t=bP(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",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 FP([",",xP],s.map((e,t)=>{const n=[e],r=c[t];if(r){const o=" ".repeat(a-e.length+1+(p-l[t]));n.push(vP(o," "),r+i)}return n}))},printClassNames:function(e){const t=e.trim().split(/\s+/),n=[];let r;for(let o=0;o<t.length;o++){const e=TP(t[o]);e!==r&&e!==t[o-1]&&n.push([]),fe(n).push(t[o]),r=e}return[AP([SP,FP(xP,n.map(e=>CP(FP(xP,e))))]),SP]}};const{builders:{breakParent:kP,dedentToRoot:NP,fill:PP,group:OP,hardline:IP,ifBreak:jP,indentIfBreak:LP,indent:_P,join:MP,line:RP,literalline:VP,softline:$P},utils:{mapDoc:qP,cleanDoc:WP,getDocParts:UP,isConcat:zP}}=En,{replaceEndOfLineWith:HP,isNonEmptyArray:JP}=_t,{htmlTrimPreserveIndentation:GP,splitByHtmlWhitespace:XP,countChars:YP,countParents:KP,dedentString:QP,forceBreakChildren:ZP,forceBreakContent:eO,forceNextEmptyLine:tO,getLastDescendant:nO,getPrettierIgnoreAttributeCommentData:rO,hasPrettierIgnore:oO,inferScriptParser:iO,isVueCustomBlock:uO,isVueNonHtmlBlock:sO,isVueSlotAttribute:aO,isVueSfcBindingsAttribute:cO,isScriptLikeTag:lO,isTextLikeNode:pO,preferHardlineAsLeadingSpaces:fO,shouldNotPrintClosingTag:dO,shouldPreserveContent:hO,unescapeQuoteEntities:mO,isPreLikeNode:gO}=qN,{insertPragma:yO}={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},{locStart:DO,locEnd:EO}={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}},{printVueFor:bO,printVueBindings:CO,isVueEventBindingExpression:vO}=EP,{printImgSrcset:AO,printClassNames:FO}=BP;function xO(e,t,n){const r=e.getValue();if(ZP(r))return[kP,...e.map(e=>{const t=e.getValue(),n=t.prev?u(t.prev,t):"";return[n?[n,tO(t.prev)?IP:""]:"",i(e)]},"children")];const o=r.children.map(()=>Symbol(""));return e.map((e,t)=>{const n=e.getValue();if(pO(n)){if(n.prev&&pO(n.prev)){const t=u(n.prev,n);if(t)return tO(n.prev)?[IP,IP,i(e)]:[t,i(e)]}return i(e)}const r=[],s=[],a=[],c=[],l=n.prev?u(n.prev,n):"",p=n.next?u(n,n.next):"";return l&&(tO(n.prev)?r.push(IP,IP):l===IP?r.push(IP):pO(n.prev)?s.push(l):s.push(jP("",$P,{groupId:o[t-1]}))),p&&(tO(n)?pO(n.next)&&c.push(IP,IP):p===IP?pO(n.next)&&c.push(IP):a.push(p)),[...r,OP([...s,OP([i(e),...a],{id:o[t]})]),...c]},"children");function i(e){const r=e.getValue();return oO(r)?[RO(r,t),...HP(t.originalText.slice(DO(r)+(r.prev&&IO(r.prev)?qO(r).length:0),EO(r)-(r.next&&LO(r.next)?zO(r,t).length:0)),VP),$O(r,t)]:n()}function u(e,t){return pO(e)&&pO(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?fO(t)?IP:RP:"":fO(t)?IP:$P:IO(e)&&(oO(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&LO(t)?"":!t.isLeadingSpaceSensitive||fO(t)||LO(t)&&e.lastChild&&MO(e.lastChild)&&e.lastChild.lastChild&&MO(e.lastChild.lastChild)?IP:t.hasLeadingSpaces?RP:$P}}function SO(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&jO(e.firstChild)&&(n-=WO(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&MO(e.lastChild)?r+=UO(e,t).length:_O(e)&&(r-=zO(e.lastChild,t).length),t.originalText.slice(n,r)}function wO(e,t,n){const r=e.getValue();if(!JP(r.attrs))return r.isSelfClosing?" ":"";const o=r.prev&&"comment"===r.prev.type&&rO(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)?HP(t.originalText.slice(DO(r),EO(r)),VP):n()},"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[_P([s?" ":RP,MP(RP,u)])];return r.firstChild&&jO(r.firstChild)||r.isSelfClosing&&_O(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(r.isSelfClosing?RP:$P),a}function TO(e,t,n){const r=e.getValue();return[BO(r,t),wO(e,t,n),r.isSelfClosing?"":kO(r)]}function BO(e,t){return e.prev&&IO(e.prev)?"":[RO(e,t),qO(e)]}function kO(e){return e.firstChild&&jO(e.firstChild)?"":WO(e)}function NO(e,t){return[e.isSelfClosing?"":PO(e,t),OO(e,t)]}function PO(e,t){return e.lastChild&&MO(e.lastChild)?"":[VO(e,t),UO(e,t)]}function OO(e,t){return(e.next?LO(e.next):_O(e.parent))?"":[zO(e,t),$O(e,t)]}function IO(e){return e.next&&!pO(e.next)&&pO(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function jO(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function LO(e){return e.prev&&"docType"!==e.prev.type&&!pO(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _O(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!pO(nO(e.lastChild))&&!gO(e)}function MO(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&pO(nO(e))}function RO(e,t){return jO(e)?WO(e.parent):LO(e)?zO(e.prev,t):""}function VO(e,t){return _O(e)?zO(e.lastChild,t):""}function $O(e,t){return MO(e)?UO(e.parent,t):IO(e)?qO(e.next):""}function qO(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 WO(e){switch(hc(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function UO(e,t){if(hc(!e.isSelfClosing),dO(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function zO(e,t){if(dO(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 HO(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?HP(t,VP):HP(QP(GP(t)),IP):UP(MP(RP,XP(t)))}var JO={preprocess:function(e,t){for(const n of yP)e=n(e,t);return e},print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return HP(r.raw,VP);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[OP(xO(e,t,n)),IP];case"element":case"ieConditionalComment":{if(hO(r,t))return[RO(r,t),OP(TO(e,t,n)),...HP(SO(r,t),VP),...NO(r,t),$O(r,t)];const i=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,u=Symbol("element-attr-group-id");return[OP([OP(TO(e,t,n),{id:u}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?RP:"":[eO(r)?kP:"",(o=[i?jP($P,"",{groupId:u}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?RP:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?NP($P):$P,xO(e,t,n)],i?LP(o,{groupId:u}):!lO(r)&&!uO(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?_P(o):o),(r.next?LO(r.next):_O(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":i?jP($P,"",{groupId:u}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?RP:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*KP(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":$P]]),NO(r,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[BO(r),OO(r)];case"interpolation":return[BO(r,t),...e.map(n,"children"),OO(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[...HP(n,VP),t?IP:""]}const e=WP([RO(r,t),...HO(r),$O(r,t)]);return zP(e)||"fill"===e.type?PP(UP(e)):e}case"docType":return[OP([BO(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),OO(r,t)];case"comment":return[RO(r,t),...HP(t.originalText.slice(DO(r),EO(r)),VP),$O(r,t)];case"attribute":{if(null===r.value)return r.rawName;const e=mO(r.value),t=YP(e,"'")<YP(e,'"')?"'":'"';return[r.rawName,"=",t,...HP('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;"),VP),t]}default:throw new Error("Unexpected node type ".concat(r.type))}var o},insertPragma:yO,massageAstNode:lN,embed:function(e,t,n,r){const o=e.getValue();switch(o.type){case"element":if(lO(o)||"interpolation"===o.type)return;if(!o.isSelfClosing&&sO(o,r)){const i=iO(o,r);if(!i)return;const u=SO(o,r);let s=/^\s*$/.test(u),a="";return s||(a=n(GP(u),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=""===a),[RO(o,r),OP(TO(e,r,t)),s?"":IP,a,s?"":IP,NO(o,r),$O(o,r)]}break;case"text":if(lO(o.parent)){const e=iO(o.parent);if(e){const t="markdown"===e?QP(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[kP,RO(o,r),n(t,i,{stripTrailingHardline:!0}),$O(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"):e.parser="vue"===r.parser?"__vue_expression":"__js_expression",[_P([RP,n(o.value,e,{stripTrailingHardline:!0})]),o.parent.next&&LO(o.parent.next)?" ":RP]}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&&/^{[\S\s]*}$/.test(r.originalText.slice(o.valueSpan.start.offset,o.valueSpan.end.offset)))return[o.rawName,"=",o.value];const e=function(e,t,r){const o=t=>new RegExp(t.join("|")).test(e.fullName),i=()=>mO(e.value);let u=!1;const s=(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,t=!0)=>OP([_P([$P,e]),t?$P:""]),c=e=>u?(e=>OP(e))(e):a(e),l=(e,t)=>((e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}))(e,Object.assign({__onHtmlBindingRoot:s,__embeddedInHtml:!0},t));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(AO(i()));if("class"===e.fullName&&!r.parentParser){const e=i();if(!e.includes("{{"))return FO(e)}if("style"===e.fullName&&!r.parentParser){const e=i();if(!e.includes("{{"))return a(l(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return bO(i(),l);if(aO(e)||cO(e,r))return CO(i(),l);const t=["^:","^v-bind:"],n=["^v-"];if(o(["^@","^v-on:"])){const e=i();return c(l(e,{parser:vO(e)?"__js_expression":"__vue_event_binding"}))}if(o(t))return c(l(i(),{parser:"__vue_expression"}));if(o(n))return c(l(i(),{parser:"__js_expression"}))}if("angular"===r.parser){const t=(e,t)=>l(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],r=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],u=["^i18n(-.+)?$"];if(o(["^\\(.+\\)$","^on-"]))return c(t(i(),{parser:"__ng_action"}));if(o(r))return c(t(i(),{parser:"__ng_binding"}));if(o(u)){const t=i().trim();return a(PP(HO(e,t)),!t.includes("@@"))}if(o(n))return c(t(i(),{parser:"__ng_directive"}));const s=/{{([\S\s]+?)}}/g,f=i();if(s.test(f)){const e=[];for(const[n,r]of f.split(s).entries())if(n%2==0)e.push(HP(r,VP));else try{e.push(OP(["{{",_P([RP,t(r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),RP,"}}"]))}catch(p){e.push("{{",HP(r,VP),"}}")}return OP(e)}}return null}(o,0,r);if(e)return[o.rawName,'="',OP(qP(e,e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e)),'"'];break}case"front-matter":return lS(o,n)}}};var GO={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."}},XO={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},YO={languages:[Ul(XO,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Ul(XO,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),Ul(XO,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Ul({name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:JO},options:GO,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}};const{getLast:KO,isNonEmptyArray:QO}=_t;function ZO(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function eI(e){return"prettier-ignore"===e.value.trim()}function tI(e){return e&&QO(e.leadingComments)}function nI(e){return e&&QO(e.middleComments)}function rI(e){return e&&e.indicatorComment}function oI(e){return e&&e.trailingComment}function iI(e){return e&&QO(e.endComments)}function uI(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?t.push(" "===n?r:(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 sI={getLast:KO,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];ZO(r)&&t(r)&&n++}return n},isNode:ZO,isEmptyNode:function(e){return!(QO(e.children)||(t=e,tI(t)||nI(t)||rI(t)||oI(t)||iI(t)));var t},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({},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],i=null===e.indent?(u=o.match(/^( *)\S/m))?u[1].length:Number.POSITIVE_INFINITY:e.indent-1+t;var u;const s=o.split("\n").map(e=>e.slice(i));return function(t){if("keep"===e.chomping)return 0===KO(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:t.slice(0,r>=2&&!n?-(r-1):-r)}("preserve"===r.proseWrap||"blockLiteral"===e.type?s.map(e=>0===e.length?[]:[e]):s.map(e=>0===e.length?[]:uI(e)).reduce((e,t,n)=>0!==n&&s[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(KO(e))?[...e.slice(0,-1),[...KO(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(KO(e))?[...e.slice(0,-1),KO(e)+" "+t]:[...e,t],[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e))},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?[]:uI(e)).reduce((t,n,o)=>0!==o&&r[o-1].length>0&&n.length>0&&("quoteDouble"!==e||!KO(KO(t)).endsWith("\\"))?[...t.slice(0,-1),[...KO(t),...n]]:[...t,n],[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return QO(t.children)?e(KO(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return iI(t.head)&&eI(KO(t.head.endComments))}return tI(t)&&eI(KO(t.leadingComments))},hasLeadingComments:tI,hasMiddleComments:nI,hasIndicatorComment:rI,hasTrailingComment:oI,hasEndComments:iI};const{defineShortcut:aI,mapNode:cI}=sI;function lI(e){switch(e.type){case"document":aI(e,"head",()=>e.children[0]),aI(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":aI(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":aI(e,"key",()=>e.children[0]),aI(e,"value",()=>e.children[1])}return e}const{builders:{softline:pI,align:fI}}=En,{hasEndComments:dI,isNextLineEmpty:hI,isNode:mI}=sI,gI=new WeakMap;function yI(e){return dI(e)&&!mI(e,["documentHead","documentBody","flowMapping","flowSequence"])}var DI={alignWithSpaces:function(e,t){return fI(" ".repeat(e),t)},shouldPrintEndComments:yI,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let o;return gI.has(r)?o=gI.get(r):(o=new Set,gI.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!hI(n,t)||yI(e.getParentNode()))?"":pI}};const{builders:{ifBreak:EI,line:bI,softline:CI,hardline:vI,join:AI}}=En,{isEmptyNode:FI,getLast:xI,hasEndComments:SI}=sI,{printNextEmptyLine:wI,alignWithSpaces:TI}=DI;function BI(e,t,n){const r=e.getValue(),o="flowMapping"===r.type,i=o?"{":"[",u=o?"}":"]";let s=CI;o&&r.children.length>0&&n.bracketSpacing&&(s=bI);const a=xI(r.children),c=a&&"flowMappingItem"===a.type&&FI(a.key)&&FI(a.value);return[i,TI(n.tabWidth,[s,kI(e,t,n),"none"===n.trailingComma?"":EI(","),SI(r)?[vI,AI(vI,e.map(t,"endComments"))]:""]),c?"":s,u]}function kI(e,t,n){const r=e.getValue();return e.map((e,o)=>[t(),o===r.children.length-1?"":[",",bI,r.children[o].position.start.line!==r.children[o+1].position.start.line?wI(e,n.originalText):""]],"children")}var NI={printFlowMapping:BI,printFlowSequence:BI};const{builders:{conditionalGroup:PI,group:OI,hardline:II,ifBreak:jI,join:LI,line:_I}}=En,{hasLeadingComments:MI,hasMiddleComments:RI,hasTrailingComment:VI,hasEndComments:$I,isNode:qI,isEmptyNode:WI,isInlineNode:UI}=sI,{alignWithSpaces:zI}=DI;function HI(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}}const{builders:{dedent:JI,dedentToRoot:GI,fill:XI,hardline:YI,join:KI,line:QI,literalline:ZI,markAsRoot:ej},utils:{getDocParts:tj}}=En,{getAncestorCount:nj,getBlockValueLineContents:rj,hasIndicatorComment:oj,isLastDescendantNode:ij,isNode:uj}=sI,{alignWithSpaces:sj}=DI;const{builders:{breakParent:aj,fill:cj,group:lj,hardline:pj,join:fj,line:dj,lineSuffix:hj,literalline:mj},utils:{getDocParts:gj}}=En,{replaceEndOfLineWith:yj,isPreviousLineEmpty:Dj}=_t,{insertPragma:Ej,isPragma:bj}={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)}},{locStart:Cj}={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},{getFlowScalarLineContents:vj,getLastDescendantNode:Aj,hasLeadingComments:Fj,hasMiddleComments:xj,hasTrailingComment:Sj,hasEndComments:wj,hasPrettierIgnore:Tj,isLastDescendantNode:Bj,isNode:kj,isInlineNode:Nj}=sI,{alignWithSpaces:Pj,printNextEmptyLine:Oj,shouldPrintEndComments:Ij}=DI,{printFlowMapping:jj,printFlowSequence:Lj}=NI;function _j(e,t){return Sj(e)||t&&(t.head.children.length>0||wj(t.head))}function Mj(e,t,n){const r=vj(e,t,n);return fj(pj,r.map(e=>cj(gj(fj(dj,e)))))}var Rj={preprocess:function(e){return cI(e,lI)},embed:function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}))},print:function(e,t,n){const r=e.getValue(),o=[];"mappingValue"!==r.type&&Fj(r)&&o.push([fj(pj,e.map(n,"leadingComments")),pj]);const{tag:i,anchor:u}=r;i&&o.push(n("tag")),i&&u&&o.push(" "),u&&o.push(n("anchor"));let s="";kj(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Bj(e)&&(s=Oj(e,t.originalText)),(i||u)&&(kj(r,["sequence","mapping"])&&!xj(r)?o.push(pj):o.push(" ")),xj(r)&&o.push([1===r.middleComments.length?"":pj,fj(pj,e.map(n,"middleComments")),pj]);const a=e.getParentNode();return Tj(e)?o.push(yj(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),mj)):o.push(lj(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(pj),r.push(o()),_j(i,u)?(r.push(pj,"..."),Sj(i)&&r.push(" ",o("trailingComment"))):u&&!Sj(u.head)&&r.push(pj,"---")},"children");const i=Aj(e);return kj(i,["blockLiteral","blockFolded"])&&"keep"===i.chomping||r.push(pj),r}case"document":{const s=[];return"head"===(i=e,u=t.children[n.getName()+1],t.children[0]===i&&/---(\s|$)/.test(r.originalText.slice(Cj(i),Cj(i)+4))||i.head.children.length>0||wj(i.head)||Sj(i.head)?"head":!_j(i,u)&&!!u&&"root")&&((e.head.children.length>0||e.head.endComments.length>0)&&s.push(o("head")),Sj(e.head)?s.push(["---"," ",o(["head","trailingComment"])]):s.push("---")),function(e){return e.body.children.length>0||wj(e.body)}(e)&&s.push(o("body")),fj(pj,s)}case"documentHead":return fj(pj,[...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);kj(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(i=[pj,pj]):i=pj}return[fj(pj,n.map(o,"children")),i,fj(pj,n.map(o,"endComments"))]}case"directive":return["%",fj(" ",[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 Mj(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,Mj(e.type,o,r),i]}if(o.includes(n))return[t,Mj(e.type,"quoteDouble"===e.type?o.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):o,r),t];if(o.includes(t))return[n,Mj(e.type,"quoteSingle"===e.type?o.replace(/''/g,t):o,r),n];const i=r.singleQuote?t:n;return[i,Mj(e.type,o,r),i]}case"blockFolded":case"blockLiteral":return function(e,t,n){const r=e.getValue(),o=nj(e,e=>uj(e,["sequence","mapping"])),i=ij(e),u=["blockFolded"===r.type?">":"|"];null!==r.indent&&u.push(r.indent.toString()),"clip"!==r.chomping&&u.push("keep"===r.chomping?"+":"-"),oj(r)&&u.push(" ",t("indicatorComment"));const s=rj(r,{parentIndent:o,isLastDescendant:i,options:n}),a=[];for(const[c,l]of s.entries())0===c&&a.push(YI),a.push(XI(tj(KI(QI,l)))),c!==s.length-1?a.push(0===l.length?YI:ej(ZI)):"keep"===r.chomping&&i&&a.push(GI(0===l.length?YI:ZI));return u.push(null===r.indent?JI(sj(n.tabWidth,a)):GI(sj(r.indent-1+o,a))),u}(n,o,r);case"mapping":case"sequence":return fj(pj,n.map(o,"children"));case"sequenceItem":return["- ",Pj(2,e.content?o("content"):"")];case"mappingKey":case"mappingValue":return e.content?o("content"):"";case"mappingItem":case"flowMappingItem":return function(e,t,n,r,o){const{key:i,value:u}=e,s=WI(i),a=WI(u);if(s&&a)return": ";const c=r("key"),l=(p=e).key.content&&"alias"===p.key.content.type?" ":"";var p;if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!HI(i.content,o)||VI(i.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",zI(2,c)]:[c,l,":"];const f=r("value");if(s)return[": ",zI(2,f)];if(MI(u)||!UI(i.content))return["? ",zI(2,c),II,LI("",n.map(r,"value","leadingComments").map(e=>[e,II])),": ",zI(2,f)];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)&&!MI(i.content)&&!RI(i.content)&&!VI(i.content)&&!$I(i)&&!MI(u.content)&&!RI(u.content)&&!$I(u)&&HI(u.content,o))return[c,l,": ",f];const d=Symbol("mappingKey"),h=OI([jI("? "),OI(zI(2,c),{id:d})]),m=[II,": ",zI(2,f)],g=[l,":"];MI(u.content)||$I(u)&&u.content&&!qI(u.content,["mapping","sequence"])||"mapping"===t.type&&VI(i.content)&&UI(u.content)||qI(u.content,["mapping","sequence"])&&null===u.content.tag&&null===u.content.anchor?g.push(II):u.content&&g.push(_I),g.push(f);const y=zI(o.tabWidth,g);return PI([[h,jI(m,y,{groupId:d})]])}(e,t,n,o,r);case"flowMapping":return jj(n,o,r);case"flowSequence":return Lj(n,o,r);case"flowSequenceItem":return o("content");default:throw new Error("Unexpected node type ".concat(e.type))}var i,u}(r,a,e,t,n))),Sj(r)&&!kj(r,["document","documentHead"])&&o.push(hj(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&Nj(r)?"":aj,n("trailingComment")])),Ij(r)&&o.push(Pj("sequenceItem"===r.type?2:0,[pj,fj(pj,e.map(e=>[Dj(t.originalText,e.getValue(),Cj)?pj:"",n()],"endComments"))])),o.push(s),o},massageAstNode:function(e,t){if(kj(t))switch(delete t.position,t.type){case"comment":if(bj(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:Ej},Vj={bracketSpacing:Qx.bracketSpacing,singleQuote:Qx.singleQuote,proseWrap:Qx.proseWrap},$j=[rS,oT,dB,PB,uN,YO,{languages:[Ul({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"]}))],printers:{yaml:Rj},options:Vj,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:qj}=n,{getSupportInfo:Wj}=Dt,Uj=$j.map(t=>e(t,["parsers"]));function zj(e,t=1){return(...n)=>{const r=n[t]||{},o=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...Uj,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}const Hj=zj(El.formatWithCursor);return{formatWithCursor:Hj,format:(e,t)=>Hj(e,t).formatted,check(e,t){const{formatted:n}=Hj(e,t);return n===e},doc:En,getSupportInfo:zj(Wj,0),version:qj,util:Wl,__debug:{parse:zj(El.parse),formatAST:zj(El.formatAST),formatDoc:zj(El.formatDoc),printToDoc:zj(El.printToDoc),printDocToString:zj(El.printDocToString)}}}()}}]);