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.
- package/build/dist/100.js +1 -0
- package/build/dist/108.js +1 -0
- package/build/dist/267.js +1 -0
- package/build/dist/379.js +1 -0
- package/build/dist/3rdpartylicenses.txt +844 -93
- package/build/dist/471.js +1 -0
- package/build/dist/527.js +1 -0
- package/build/dist/604.js +1 -0
- package/build/dist/729.js +1 -0
- package/build/dist/747.js +1 -0
- package/build/dist/790.js +1 -0
- package/build/dist/794.js +1 -0
- package/build/dist/873.js +1 -0
- package/build/dist/929.js +1 -0
- package/build/dist/934.js +1 -0
- package/build/dist/assets/i18n/ach-UG.json +157 -153
- package/build/dist/assets/i18n/cs-CZ.json +4 -0
- package/build/dist/assets/i18n/da-DK.json +4 -0
- package/build/dist/assets/i18n/de-DE.json +4 -0
- package/build/dist/assets/i18n/default.json +10 -1
- package/build/dist/assets/i18n/en-US.json +4 -0
- package/build/dist/assets/i18n/es-ES.json +4 -0
- package/build/dist/assets/i18n/fi-FI.json +4 -0
- package/build/dist/assets/i18n/fr-FR.json +4 -0
- package/build/dist/assets/i18n/hu-HU.json +4 -0
- package/build/dist/assets/i18n/it-IT.json +4 -0
- package/build/dist/assets/i18n/ja-JP.json +4 -0
- package/build/dist/assets/i18n/ko-KR.json +4 -0
- package/build/dist/assets/i18n/nl-NL.json +4 -0
- package/build/dist/assets/i18n/no-NO.json +4 -0
- package/build/dist/assets/i18n/pl-PL.json +4 -0
- package/build/dist/assets/i18n/pt-BR.json +4 -0
- package/build/dist/assets/i18n/pt-PT.json +4 -0
- package/build/dist/assets/i18n/ro-RO.json +4 -0
- package/build/dist/assets/i18n/ru-RU.json +30 -26
- package/build/dist/assets/i18n/sr-SP.json +4 -0
- package/build/dist/assets/i18n/sv-SE.json +4 -0
- package/build/dist/assets/i18n/tr-TR.json +4 -0
- package/build/dist/assets/i18n/uk-UA.json +4 -0
- package/build/dist/assets/i18n/vi-VN.json +4 -0
- package/build/dist/assets/i18n/zh-CN.json +12 -8
- package/build/dist/assets/i18n/zh-TW.json +4 -0
- package/build/dist/index.html +3 -3
- package/build/dist/main.js +1 -0
- package/build/dist/polyfills.js +1 -0
- package/build/dist/runtime.js +1 -0
- package/build/dist/styles.css +2 -2
- package/build/index.d.ts +1 -0
- package/build/index.js +4 -1
- package/build/index.test.d.ts +1 -0
- package/build/index.test.js +17 -6
- package/build/utils/get-altair-html.d.ts +1 -0
- package/build/utils/get-dist.d.ts +1 -0
- package/package.json +4 -4
- package/src/index.test.ts +21 -6
- package/src/index.ts +6 -3
- package/tsconfig.json +1 -0
- package/build/dist/108-es2018.js +0 -1
- package/build/dist/108-es5.js +0 -1
- package/build/dist/283-es2018.js +0 -1
- package/build/dist/283-es5.js +0 -1
- package/build/dist/379-es2018.js +0 -1
- package/build/dist/379-es5.js +0 -1
- package/build/dist/471-es2018.js +0 -1
- package/build/dist/471-es5.js +0 -1
- package/build/dist/527-es2018.js +0 -1
- package/build/dist/527-es5.js +0 -1
- package/build/dist/604-es2018.js +0 -1
- package/build/dist/604-es5.js +0 -1
- package/build/dist/672-es2018.js +0 -1
- package/build/dist/672-es5.js +0 -1
- package/build/dist/709-es2018.js +0 -1
- package/build/dist/709-es5.js +0 -1
- package/build/dist/729-es2018.js +0 -1
- package/build/dist/729-es5.js +0 -1
- package/build/dist/747-es2018.js +0 -1
- package/build/dist/747-es5.js +0 -1
- package/build/dist/790-es2018.js +0 -1
- package/build/dist/790-es5.js +0 -1
- package/build/dist/794-es2018.js +0 -1
- package/build/dist/794-es5.js +0 -1
- package/build/dist/866-es2018.js +0 -1
- package/build/dist/866-es5.js +0 -1
- package/build/dist/873-es2018.js +0 -1
- package/build/dist/873-es5.js +0 -1
- package/build/dist/934-es2018.js +0 -1
- package/build/dist/934-es5.js +0 -1
- package/build/dist/main-es2018.js +0 -1
- package/build/dist/main-es5.js +0 -1
- package/build/dist/polyfills-es2018.js +0 -1
- package/build/dist/polyfills-es5.js +0 -1
- package/build/dist/runtime-es2018.js +0 -1
- package/build/dist/runtime-es5.js +0 -1
- package/build/index.js.map +0 -1
- package/build/index.test.js.map +0 -1
- package/build/utils/get-altair-html.js.map +0 -1
- package/build/utils/get-dist.js.map +0 -1
- package/scripts/prepare_dist.js +0 -77
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[379],{48379:function(TD){TD.exports=function(){"use strict";function or(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(u[n]=e[n]);return u}function ft(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var al={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"}},dt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ir(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function j(e){var t={exports:{}};return e(t,t.exports),t.exports}var au,ht=j(function(e,t){function n(){}function r(o,a,i,s,c){for(var l=0,p=a.length,d=0,f=0;l<p;l++){var h=a[l];if(h.removed){if(h.value=o.join(s.slice(f,f+h.count)),f+=h.count,l&&a[l-1].added){var m=a[l-1];a[l-1]=a[l],a[l]=m}}else{if(!h.added&&c){var g=i.slice(d,d+h.count);g=g.map(function(y,b){var v=s[f+b];return v.length>y.length?v:y}),h.value=o.join(g)}else h.value=o.join(i.slice(d,d+h.count));d+=h.count,h.added||(f+=h.count)}}var D=a[p-1];return p>1&&"string"==typeof D.value&&(D.added||D.removed)&&o.equals("",D.value)&&(a[p-2].value+=D.value,a.pop()),a}function u(o){return{newPos:o.newPos,components:o.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(o,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;var c=this;function l(b){return s?(setTimeout(function(){s(void 0,b)},0),!0):b}o=this.castInput(o),a=this.castInput(a),o=this.removeEmpty(this.tokenize(o));var p=(a=this.removeEmpty(this.tokenize(a))).length,d=o.length,f=1,h=p+d,m=[{newPos:-1,components:[]}],g=this.extractCommon(m[0],a,o,0);if(m[0].newPos+1>=p&&g+1>=d)return l([{value:this.join(a),count:a.length}]);function D(){for(var b=-1*f;b<=f;b+=2){var v=void 0,E=m[b-1],C=m[b+1],A=(C?C.newPos:0)-b;E&&(m[b-1]=void 0);var w=E&&E.newPos+1<p,T=C&&0<=A&&A<d;if(w||T){if(!w||T&&E.newPos<C.newPos?(v=u(C),c.pushComponent(v.components,void 0,!0)):((v=E).newPos++,c.pushComponent(v.components,!0,void 0)),A=c.extractCommon(v,a,o,b),v.newPos+1>=p&&A+1>=d)return l(r(c,v.components,a,o,c.useLongestToken));m[b]=v}else m[b]=void 0}f++}if(s)!function b(){setTimeout(function(){if(f>h)return s();D()||b()},0)}();else for(;f<=h;){var y=D();if(y)return y}},pushComponent:function(o,a,i){var s=o[o.length-1];s&&s.added===a&&s.removed===i?o[o.length-1]={count:s.count+1,added:a,removed:i}:o.push({count:1,added:a,removed:i})},extractCommon:function(o,a,i,s){for(var c=a.length,l=i.length,p=o.newPos,d=p-s,f=0;p+1<c&&d+1<l&&this.equals(a[p+1],i[d+1]);)p++,d++,f++;return f&&o.components.push({count:f}),o.newPos=p,d},equals:function(o,a){return this.options.comparator?this.options.comparator(o,a):o===a||this.options.ignoreCase&&o.toLowerCase()===a.toLowerCase()},removeEmpty:function(o){for(var a=[],i=0;i<o.length;i++)o[i]&&a.push(o[i]);return a},castInput:function(o){return o},tokenize:function(o){return o.split("")},join:function(o){return o.join("")}}}),BD=j(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(u,o,a){return r.diff(u,o,a)},t.characterDiff=void 0;var r=new((n=ht)&&n.__esModule?n:{default:n}).default;t.characterDiff=r}),sl=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}),cl=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(i,s,c){return c=(0,sl.generateOptions)(c,{ignoreWhitespace:!0}),a.diff(i,s,c)},t.diffWordsWithSpace=function(i,s,c){return a.diff(i,s,c)},t.wordDiff=void 0;var n,r=(n=ht)&&n.__esModule?n:{default:n},u=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,o=/\S/,a=new r.default;t.wordDiff=a,a.equals=function(i,s){return this.options.ignoreCase&&(i=i.toLowerCase(),s=s.toLowerCase()),i===s||this.options.ignoreWhitespace&&!o.test(i)&&!o.test(s)},a.tokenize=function(i){for(var s=i.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),c=0;c<s.length-1;c++)!s[c+1]&&s[c+2]&&u.test(s[c])&&u.test(s[c+2])&&(s[c]+=s[c+2],s.splice(c+1,2),c--);return s}}),iu=j(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(u,o,a){return r.diff(u,o,a)},t.diffTrimmedLines=function(u,o,a){var i=(0,sl.generateOptions)(a,{ignoreWhitespace:!0});return r.diff(u,o,i)},t.lineDiff=void 0;var r=new((n=ht)&&n.__esModule?n:{default:n}).default;t.lineDiff=r,r.tokenize=function(u){var o=[],a=u.split(/(\n|\r\n)/);a[a.length-1]||a.pop();for(var i=0;i<a.length;i++){var s=a[i];i%2&&!this.options.newlineIsToken?o[o.length-1]+=s:(this.options.ignoreWhitespace&&(s=s.trim()),o.push(s))}return o}}),ND=j(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(u,o,a){return r.diff(u,o,a)},t.sentenceDiff=void 0;var r=new((n=ht)&&n.__esModule?n:{default:n}).default;t.sentenceDiff=r,r.tokenize=function(u){return u.split(/(\S.+?[.!?])(?=\s+|$)/)}}),PD=j(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(u,o,a){return r.diff(u,o,a)},t.cssDiff=void 0;var r=new((n=ht)&&n.__esModule?n:{default:n}).default;t.cssDiff=r,r.tokenize=function(u){return u.split(/([{}:;,]|\s+)/)}}),ll=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(s,c,l){return a.diff(s,c,l)},t.canonicalize=i,t.jsonDiff=void 0;var n,r=(n=ht)&&n.__esModule?n:{default:n};function u(s){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"==typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(s)}var o=Object.prototype.toString,a=new r.default;function i(s,c,l,p,d){var f,h;for(c=c||[],l=l||[],p&&(s=p(d,s)),f=0;f<c.length;f+=1)if(c[f]===s)return l[f];if("[object Array]"===o.call(s)){for(c.push(s),h=new Array(s.length),l.push(h),f=0;f<s.length;f+=1)h[f]=i(s[f],c,l,p,d);return c.pop(),l.pop(),h}if(s&&s.toJSON&&(s=s.toJSON()),"object"===u(s)&&null!==s){c.push(s),l.push(h={});var m,g=[];for(m in s)s.hasOwnProperty(m)&&g.push(m);for(g.sort(),f=0;f<g.length;f+=1)h[m=g[f]]=i(s[m],c,l,p,m);c.pop(),l.pop()}else h=s;return h}t.jsonDiff=a,a.useLongestToken=!0,a.tokenize=iu.lineDiff.tokenize,a.castInput=function(s){var c=this.options,l=c.undefinedReplacement,p=c.stringifyReplacer,d=void 0===p?function(f,h){return void 0===h?l:h}:p;return"string"==typeof s?s:JSON.stringify(i(s,null,null,d),d," ")},a.equals=function(s,c){return r.default.prototype.equals.call(a,s.replace(/,([\r\n])/g,"$1"),c.replace(/,([\r\n])/g,"$1"))}}),OD=j(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(u,o,a){return r.diff(u,o,a)},t.arrayDiff=void 0;var r=new((n=ht)&&n.__esModule?n:{default:n}).default;t.arrayDiff=r,r.tokenize=function(u){return u.slice()},r.join=r.removeEmpty=function(u){return u}}),su=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)||[],u=[],o=0;function a(){var c={};for(u.push(c);o<n.length;){var l=n[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(l))break;var p=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(l);p&&(c.index=p[1]),o++}for(i(c),i(c),c.hunks=[];o<n.length;){var d=n[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(d))break;if(/^@@/.test(d))c.hunks.push(s());else{if(d&&t.strict)throw new Error("Unknown line "+(o+1)+" "+JSON.stringify(d));o++}}}function i(c){var l=/^(---|\+\+\+)\s+(.*)$/.exec(n[o]);if(l){var p="---"===l[1]?"old":"new",d=l[2].split("\t",2),f=d[0].replace(/\\\\/g,"\\");/^".*"$/.test(f)&&(f=f.substr(1,f.length-2)),c[p+"FileName"]=f,c[p+"Header"]=(d[1]||"").trim(),o++}}function s(){var c=o,l=n[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),p={oldStart:+l[1],oldLines:void 0===l[2]?1:+l[2],newStart:+l[3],newLines:void 0===l[4]?1:+l[4],lines:[],linedelimiters:[]};0===p.oldLines&&(p.oldStart+=1),0===p.newLines&&(p.newStart+=1);for(var d=0,f=0;o<n.length&&!(0===n[o].indexOf("--- ")&&o+2<n.length&&0===n[o+1].indexOf("+++ ")&&0===n[o+2].indexOf("@@"));o++){var h=0==n[o].length&&o!=n.length-1?" ":n[o][0];if("+"!==h&&"-"!==h&&" "!==h&&"\\"!==h)break;p.lines.push(n[o]),p.linedelimiters.push(r[o]||"\n"),"+"===h?d++:"-"===h?f++:" "===h&&(d++,f++)}if(d||1!==p.newLines||(p.newLines=0),f||1!==p.oldLines||(p.oldLines=0),t.strict){if(d!==p.newLines)throw new Error("Added line count did not match for hunk at line "+(c+1));if(f!==p.oldLines)throw new Error("Removed line count did not match for hunk at line "+(c+1))}return p}for(;o<n.length;)a();return u}},"__esModule",{value:!0}),MD=(au=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,r,u){var o=!0,a=!1,i=!1,s=1;return function c(){if(o&&!i){if(a?s++:o=!1,n+s<=u)return s;i=!0}if(!a)return i||(o=!0),r<=n-s?-s++:(a=!0,c())}}}))&&au.__esModule?au:{default:au};function pl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,su.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,u,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=t.hunks,s=n.compareLine||function(M,re,cn,tt){return re===tt},c=0,l=n.fuzzFactor||0,p=0,d=0;function f(M,re){for(var cn=0;cn<M.lines.length;cn++){var tt=M.lines[cn],ur=tt.length>0?tt[0]:" ",ke=tt.length>0?tt.substr(1):tt;if(" "===ur||"-"===ur){if(!s(re+1,o[re],ur,ke)&&++c>l)return!1;re++}}return!0}for(var h=0;h<i.length;h++){for(var m=i[h],D=0,y=d+m.oldStart-1,b=(0,MD.default)(y,p,o.length-m.oldLines);void 0!==D;D=b())if(f(m,y+D)){m.offset=d+=D;break}if(void 0===D)return!1;p=m.offset+m.oldStart+m.oldLines}for(var v=0,E=0;E<i.length;E++){var C=i[E],A=C.oldStart+C.offset+v-1;v+=C.newLines-C.oldLines;for(var w=0;w<C.lines.length;w++){var T=C.lines[w],x=T.length>0?T[0]:" ",S=T.length>0?T.substr(1):T,B=C.linedelimiters[w];if(" "===x)A++;else if("-"===x)o.splice(A,1),a.splice(A,1);else if("+"===x)o.splice(A,0,S),a.splice(A,0,B),A++;else if("\\"===x){var P=C.lines[w-1]?C.lines[w-1][0]:null;"+"===P?r=!0:"-"===P&&(u=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),a.pop();else u&&(o.push(""),a.push("\n"));for(var O=0;O<o.length-1;O++)o[O]=o[O]+a[O];return o.join("")}var fl=Object.defineProperty({applyPatch:pl,applyPatches:function(e,t){"string"==typeof e&&(e=(0,su.parsePatch)(e));var n=0;!function r(){var u=e[n++];if(!u)return t.complete();t.loadFile(u,function(o,a){if(o)return t.complete(o);var i=pl(a,u,t);t.patched(u,i,function(s){if(s)return t.complete(s);r()})})}()}},"__esModule",{value:!0});function ui(e){return function(t){if(Array.isArray(t))return oi(t)}(e)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return oi(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oi(t,n)}}(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 oi(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 dl(e,t,n,r,u,o,a){a||(a={}),void 0===a.context&&(a.context=4);var i=(0,iu.diffLines)(n,r,a);function s(D){return D.map(function(y){return" "+y})}i.push({value:"",lines:[]});for(var c=[],l=0,p=0,d=[],f=1,h=1,m=function(D){var y=i[D],b=y.lines||y.value.replace(/\n$/,"").split("\n");if(y.lines=b,y.added||y.removed){var v;if(!l){var E=i[D-1];l=f,p=h,E&&(d=a.context>0?s(E.lines.slice(-a.context)):[],l-=d.length,p-=d.length)}(v=d).push.apply(v,ui(b.map(function(P){return(y.added?"+":"-")+P}))),y.added?h+=b.length:f+=b.length}else{if(l)if(b.length<=2*a.context&&D<i.length-2){var C;(C=d).push.apply(C,ui(s(b)))}else{var A,w=Math.min(b.length,a.context);(A=d).push.apply(A,ui(s(b.slice(0,w))));var T={oldStart:l,oldLines:f-l+w,newStart:p,newLines:h-p+w,lines:d};if(D>=i.length-2&&b.length<=a.context){var x=/\n$/.test(n),S=/\n$/.test(r),B=0==b.length&&d.length>T.oldLines;!x&&B&&n.length>0&&d.splice(T.oldLines,0,"\"),(x||B)&&S||d.push("\")}c.push(T),l=0,p=0,d=[]}f+=b.length,h+=b.length}},g=0;g<i.length;g++)m(g);return{oldFileName:e,newFileName:t,oldHeader:u,newHeader:o,hunks:c}}function hl(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 ml(e,t,n,r,u,o,a){return hl(dl(e,t,n,r,u,o,a))}var cu=Object.defineProperty({structuredPatch:dl,formatPatch:hl,createTwoFilesPatch:ml,createPatch:function(e,t,n,r,u,o){return ml(e,e,t,n,r,u,o)}},"__esModule",{value:!0});function gl(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 ii=Object.defineProperty({arrayEqual:function(e,t){return e.length===t.length&&gl(e,t)},arrayStartsWith:gl},"__esModule",{value:!0});function ln(e){return function(t){if(Array.isArray(t))return ai(t)}(e)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return ai(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ai(t,n)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ai(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yl(e){var t=ci(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 Dl(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,su.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,cu.structuredPatch)(void 0,void 0,t,e)}return e}function bl(e){return e.newFileName&&e.newFileName!==e.oldFileName}function lu(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function El(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function Cl(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function GD(e,t,n,r,u){var o={offset:t,lines:n,index:0},a={offset:r,lines:u,index:0};for(Al(e,o,a),Al(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var i=o.lines[o.index],s=a.lines[a.index];if("-"!==i[0]&&"+"!==i[0]||"-"!==s[0]&&"+"!==s[0])if("+"===i[0]&&" "===s[0]){var c;(c=e.lines).push.apply(c,ln(St(o)))}else if("+"===s[0]&&" "===i[0]){var l;(l=e.lines).push.apply(l,ln(St(a)))}else"-"===i[0]&&" "===s[0]?vl(e,o,a):"-"===s[0]&&" "===i[0]?vl(e,a,o,!0):i===s?(e.lines.push(i),o.index++,a.index++):si(e,St(o),St(a));else JD(e,o,a)}Fl(e,o),Fl(e,a),yl(e)}function JD(e,t,n){var r=St(t),u=St(n);if(xl(r)&&xl(u)){var o,a;if((0,ii.arrayStartsWith)(r,u)&&Sl(n,r,r.length-u.length))return void(o=e.lines).push.apply(o,ln(r));if((0,ii.arrayStartsWith)(u,r)&&Sl(t,u,u.length-r.length))return void(a=e.lines).push.apply(a,ln(u))}else if((0,ii.arrayEqual)(r,u)){var i;return void(i=e.lines).push.apply(i,ln(r))}si(e,r,u)}function vl(e,t,n,r){var u,o=St(t),a=function(i,s){for(var c=[],l=[],p=0,d=!1,f=!1;p<s.length&&i.index<i.lines.length;){var h=i.lines[i.index],m=s[p];if("+"===m[0])break;if(d=d||" "!==h[0],l.push(m),p++,"+"===h[0])for(f=!0;"+"===h[0];)c.push(h),h=i.lines[++i.index];m.substr(1)===h.substr(1)?(c.push(h),i.index++):f=!0}if("+"===(s[p]||"")[0]&&d&&(f=!0),f)return c;for(;p<s.length;)l.push(s[p++]);return{merged:l,changes:c}}(n,o);a.merged?(u=e.lines).push.apply(u,ln(a.merged)):si(e,r?a:o,r?o:a)}function si(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function Al(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 Fl(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function St(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 xl(e){return e.reduce(function(t,n){return t&&"-"===n[0]},!0)}function Sl(e,t,n){for(var r=0;r<n;r++){var u=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+u)return!1}return e.index+=n,!0}function ci(e){var t=0,n=0;return e.forEach(function(r){if("string"!=typeof r){var u=ci(r.mine),o=ci(r.theirs);void 0!==t&&(u.oldLines===o.oldLines?t+=u.oldLines:t=void 0),void 0!==n&&(u.newLines===o.newLines?n+=u.newLines:n=void 0)}else void 0===n||"+"!==r[0]&&" "!==r[0]||n++,void 0===t||"-"!==r[0]&&" "!==r[0]||t++}),{oldLines:t,newLines:n}}var XD=Object.defineProperty({calcLineCount:yl,merge:function(e,t,n){e=Dl(e,n),t=Dl(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(bl(e)?bl(t)?(r.oldFileName=lu(r,e.oldFileName,t.oldFileName),r.newFileName=lu(r,e.newFileName,t.newFileName),r.oldHeader=lu(r,e.oldHeader,t.oldHeader),r.newHeader=lu(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 u=0,o=0,a=0,i=0;u<e.hunks.length||o<t.hunks.length;){var s=e.hunks[u]||{oldStart:1/0},c=t.hunks[o]||{oldStart:1/0};if(El(s,c))r.hunks.push(Cl(s,a)),u++,i+=s.newLines-s.oldLines;else if(El(c,s))r.hunks.push(Cl(c,i)),o++,a+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(s.oldStart,c.oldStart),oldLines:0,newStart:Math.min(s.newStart+a,c.oldStart+i),newLines:0,lines:[]};GD(l,s.oldStart,s.lines,c.oldStart,c.lines),o++,u++,r.hunks.push(l)}}return r}},"__esModule",{value:!0}),KD=Object.defineProperty({convertChangesToDMP:function(e){for(var t,r=[],u=0;u<e.length;u++)r.push([(t=e[u]).added?1:t.removed?-1:0,t.value]);return r}},"__esModule",{value:!0});function ZD(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}var e2=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(ZD(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")}},"__esModule",{value:!0}),t2=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return BD.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return cl.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return cl.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return iu.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return iu.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return ND.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return PD.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return ll.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return ll.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return OD.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return fl.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return fl.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return su.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return XD.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return cu.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return cu.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return cu.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return KD.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return e2.convertChangesToXML}});var r,n=(r=ht)&&r.__esModule?r:{default:r}});function pu(e){return{type:"concat",parts:e}}function wl(e){return{type:"indent",contents:e}}function pn(e,t){return{type:"align",contents:t,n:e}}function Tl(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}const li={type:"break-parent"},Bl={type:"line",hard:!0},kl={type:"line",hard:!0,literal:!0},n2=pu([Bl,li]),r2=pu([kl,li]);var pi={concat:pu,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return pu(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:n2,literalline:r2,group:Tl,conditionalGroup:function(e,t){return Tl(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:li,ifBreak:function(e,t,n={}){return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:wl,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:pn,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let u=0;u<Math.floor(t/n);++u)r=wl(r);r=pn(t%n,r),r=pn(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return pn({type:"root"},e)},dedentToRoot:function(e){return pn(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return pn(-1,e)},hardlineWithoutBreakParent:Bl,literallineWithoutBreakParent:kl,label:function(e,t){return{type:"label",label:e,contents:t}}};const Nl=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 Pl=Nl;Pl.default=Nl;const Ol=e=>{if("string"!=typeof e||0===e.length||0===(e=(e=>"string"==typeof e?e.replace((({onlyFirst:t=!1}={})=>{const n=["[\\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(n,t?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+=Pl(r)?2:1)}return t};var Il=Ol;Il.default=Ol;var jl=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},X=e=>e[e.length-1],fi=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var u=e[t];r[u[0]]=u[1]}return r},Ne=void 0!==Ne?Ne:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ll(){throw new Error("setTimeout has not been defined")}function _l(){throw new Error("clearTimeout has not been defined")}var mt=Ll,gt=_l;function Ml(e){if(mt===setTimeout)return setTimeout(e,0);if((mt===Ll||!mt)&&setTimeout)return mt=setTimeout,setTimeout(e,0);try{return mt(e,0)}catch(t){try{return mt.call(null,e,0)}catch(n){return mt.call(this,e,0)}}}"function"==typeof Ne.setTimeout&&(mt=setTimeout),"function"==typeof Ne.clearTimeout&&(gt=clearTimeout);var wt,nt=[],fn=!1,fu=-1;function a2(){fn&&wt&&(fn=!1,wt.length?nt=wt.concat(nt):fu=-1,nt.length&&Rl())}function Rl(){if(!fn){var e=Ml(a2);fn=!0;for(var t=nt.length;t;){for(wt=nt,nt=[];++fu<t;)wt&&wt[fu].run();fu=-1,t=nt.length}wt=null,fn=!1,function(n){if(gt===clearTimeout)return clearTimeout(n);if((gt===_l||!gt)&&clearTimeout)return gt=clearTimeout,clearTimeout(n);try{gt(n)}catch(r){try{return gt.call(null,n)}catch(u){return gt.call(this,n)}}}(e)}}function Vl(e,t){this.fun=e,this.array=t}function Tt(){}Vl.prototype.run=function(){this.fun.apply(null,this.array)};var s2=Tt,c2=Tt,l2=Tt,p2=Tt,f2=Tt,d2=Tt,h2=Tt,dn=Ne.performance||{},m2=dn.now||dn.mozNow||dn.msNow||dn.oNow||dn.webkitNow||function(){return(new Date).getTime()},g2=new Date,V={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];nt.push(new Vl(e,t)),1!==nt.length||fn||Ml(Rl)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:s2,addListener:c2,once:l2,off:p2,removeListener:f2,removeAllListeners:d2,emit:h2,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*m2.call(dn),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-g2)/1e3}},ar="object"==typeof V&&V.env&&V.env.NODE_DEBUG&&/\bsemver\b/i.test(V.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},$l={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},y2=j(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=$l,r=(t=e.exports={}).re=[],u=t.src=[],o=t.t={};let a=0;const i=(s,c,l)=>{const p=a++;ar(p,c),o[s]=p,u[p]=c,r[p]=new RegExp(c,l?"g":void 0)};i("NUMERICIDENTIFIER","0|[1-9]\\d*"),i("NUMERICIDENTIFIERLOOSE","[0-9]+"),i("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),i("MAINVERSION","(".concat(u[o.NUMERICIDENTIFIER],")\\.")+"(".concat(u[o.NUMERICIDENTIFIER],")\\.")+"(".concat(u[o.NUMERICIDENTIFIER],")")),i("MAINVERSIONLOOSE","(".concat(u[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[o.NUMERICIDENTIFIERLOOSE],")")),i("PRERELEASEIDENTIFIER","(?:".concat(u[o.NUMERICIDENTIFIER],"|").concat(u[o.NONNUMERICIDENTIFIER],")")),i("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[o.NUMERICIDENTIFIERLOOSE],"|").concat(u[o.NONNUMERICIDENTIFIER],")")),i("PRERELEASE","(?:-(".concat(u[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[o.PRERELEASEIDENTIFIER],")*))")),i("PRERELEASELOOSE","(?:-?(".concat(u[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[o.PRERELEASEIDENTIFIERLOOSE],")*))")),i("BUILDIDENTIFIER","[0-9A-Za-z-]+"),i("BUILD","(?:\\+(".concat(u[o.BUILDIDENTIFIER],"(?:\\.").concat(u[o.BUILDIDENTIFIER],")*))")),i("FULLPLAIN","v?".concat(u[o.MAINVERSION]).concat(u[o.PRERELEASE],"?").concat(u[o.BUILD],"?")),i("FULL","^".concat(u[o.FULLPLAIN],"$")),i("LOOSEPLAIN","[v=\\s]*".concat(u[o.MAINVERSIONLOOSE]).concat(u[o.PRERELEASELOOSE],"?").concat(u[o.BUILD],"?")),i("LOOSE","^".concat(u[o.LOOSEPLAIN],"$")),i("GTLT","((?:<|>)?=?)"),i("XRANGEIDENTIFIERLOOSE","".concat(u[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),i("XRANGEIDENTIFIER","".concat(u[o.NUMERICIDENTIFIER],"|x|X|\\*")),i("XRANGEPLAIN","[v=\\s]*(".concat(u[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[o.XRANGEIDENTIFIER],")")+"(?:".concat(u[o.PRERELEASE],")?").concat(u[o.BUILD],"?")+")?)?"),i("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[o.PRERELEASELOOSE],")?").concat(u[o.BUILD],"?")+")?)?"),i("XRANGE","^".concat(u[o.GTLT],"\\s*").concat(u[o.XRANGEPLAIN],"$")),i("XRANGELOOSE","^".concat(u[o.GTLT],"\\s*").concat(u[o.XRANGEPLAINLOOSE],"$")),i("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),i("COERCERTL",u[o.COERCE],!0),i("LONETILDE","(?:~>?)"),i("TILDETRIM","(\\s*)".concat(u[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",i("TILDE","^".concat(u[o.LONETILDE]).concat(u[o.XRANGEPLAIN],"$")),i("TILDELOOSE","^".concat(u[o.LONETILDE]).concat(u[o.XRANGEPLAINLOOSE],"$")),i("LONECARET","(?:\\^)"),i("CARETTRIM","(\\s*)".concat(u[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",i("CARET","^".concat(u[o.LONECARET]).concat(u[o.XRANGEPLAIN],"$")),i("CARETLOOSE","^".concat(u[o.LONECARET]).concat(u[o.XRANGEPLAINLOOSE],"$")),i("COMPARATORLOOSE","^".concat(u[o.GTLT],"\\s*(").concat(u[o.LOOSEPLAIN],")$|^$")),i("COMPARATOR","^".concat(u[o.GTLT],"\\s*(").concat(u[o.FULLPLAIN],")$|^$")),i("COMPARATORTRIM","(\\s*)".concat(u[o.GTLT],"\\s*(").concat(u[o.LOOSEPLAIN],"|").concat(u[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",i("HYPHENRANGE","^\\s*(".concat(u[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[o.XRANGEPLAIN],")")+"\\s*$"),i("HYPHENRANGELOOSE","^\\s*(".concat(u[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[o.XRANGEPLAINLOOSE],")")+"\\s*$"),i("STAR","(<|>)?=?\\s*\\*"),i("GTE0","^\\s*>=\\s*0.0.0\\s*$"),i("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});const D2=["includePrerelease","loose","rtl"];const ql=/^[0-9]+$/,Wl=(e,t)=>{const n=ql.test(e),r=ql.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var E2={compareIdentifiers:Wl,rcompareIdentifiers:(e,t)=>Wl(t,e)};const{MAX_LENGTH:Ul,MAX_SAFE_INTEGER:du}=$l,{re:zl,t:Hl}=y2,{compareIdentifiers:sr}=E2;class $e{constructor(t,n){if(n=(e=>e?"object"!=typeof e?{loose:!0}:D2.filter(t=>e[t]).reduce((t,n)=>(t[n]=!0,t),{}):{})(n),t instanceof $e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>Ul)throw new TypeError("version is longer than ".concat(Ul," characters"));ar("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?zl[Hl.LOOSE]:zl[Hl.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>du||this.major<0)throw new TypeError("Invalid major version");if(this.minor>du||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>du||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=r[4]?r[4].split(".").map(u=>{if(/^[0-9]+$/.test(u)){const o=+u;if(o>=0&&o<du)return o}return u}):[],this.build=r[5]?r[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(t){if(ar("SemVer.compare",this.version,this.options,t),!(t instanceof $e)){if("string"==typeof t&&t===this.version)return 0;t=new $e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof $e||(t=new $e(t,this.options)),sr(this.major,t.major)||sr(this.minor,t.minor)||sr(this.patch,t.patch)}comparePre(t){if(t instanceof $e||(t=new $e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],u=t.prerelease[n];if(ar("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return sr(r,u)}while(++n)}compareBuild(t){t instanceof $e||(t=new $e(t,this.options));let n=0;do{const r=this.build[n],u=t.build[n];if(ar("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return sr(r,u)}while(++n)}inc(t,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",n),this.inc("pre",n);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 r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}n&&(this.prerelease[0]===n?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}var Jl,Xl,Yl,Kl,Ql,Zl,Gl=$e,di=(e,t,n)=>new Gl(e,n).compare(new Gl(t,n)),A2=j(function(e,t){function n(){for(var g=[],D=0;D<arguments.length;D++)g[D]=arguments[D]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(g){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var u=Object.prototype.hasOwnProperty,o=function(g,D){return u.call(g,D)};function a(g,D){for(var y in D)o(D,y)&&(g[y]=D[y]);return g}var i=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\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 d(g,D,y){var b=0,v=g[0].match(l);v&&(b=v[1].length);var E=new RegExp("(\\r\\n|\\r|\\n).{0,"+b+"}","g");D&&(g=g.slice(1));var C=y.newline,A=y.trimLeadingNewline,w=y.trimTrailingNewline,T="string"==typeof C,x=g.length;return g.map(function(S,B){return S=S.replace(E,"$1"),0===B&&A&&(S=S.replace(i,"")),B===x-1&&w&&(S=S.replace(s,"")),T&&(S=S.replace(/\r\n|\n|\r/g,function(P){return C})),S})}function f(g,D){for(var y="",b=0,v=g.length;b<v;b++)y+=g[b],b<v-1&&(y+=D[b]);return y}function h(g){return o(g,"raw")&&o(g,"length")}var m=function g(D){var y=r(),b=r();return a(function v(E){for(var C=[],A=1;A<arguments.length;A++)C[A-1]=arguments[A];if(h(E)){var w=E,T=(C[0]===v||C[0]===m)&&p.test(w[0])&&c.test(w[1]),x=T?b:y,S=x.get(w);return S||(S=d(w,T,D),x.set(w,S)),0===C.length?S[0]:f(S,T?C.slice(1):C)}return g(a(a({},D),E||{}))},{string:function(v){return d([v],!1,D)[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:hn}=A2,hu="Editor",mu="Other",rt="Global",Bt="Special",F2={cursorOffset:{since:"1.4.0",category:Bt,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:hn(Jl||(Jl=ft(["\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:hu},endOfLine:{since:"1.15.0",category:rt,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:hn(Xl||(Xl=ft(["\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:Bt,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:mu,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Bt,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:mu},parser:{since:"0.0.10",category:rt,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:rt,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:rt,description:hn(Yl||(Yl=ft(["\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:rt,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:Bt,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:hn(Kl||(Kl=ft(["\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:hu},rangeStart:{since:"1.4.0",category:Bt,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:hn(Ql||(Ql=ft(["\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:hu},requirePragma:{since:"1.7.0",category:Bt,type:"boolean",default:!1,description:hn(Zl||(Zl=ft(["\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:mu},tabWidth:{type:"int",category:rt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:rt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:rt,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."}]}},mi_compare=di,mi_lt=(e,t,n)=>di(e,t,n)<0,mi_gte=(e,t,n)=>di(e,t,n)>=0,x2=al.version,S2=F2;var gi={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}={}){const u=x2.split("-",1)[0],o=e.reduce((c,l)=>[...c,...l.languages||[]],[]).filter(i),a=(c=Object.assign({},...e.map(({options:c})=>c),S2),"name",Object.entries(c).map(([p,d])=>Object.assign({name:p},d))).filter(c=>i(c)&&s(c)).sort((c,l)=>c.name===l.name?0:c.name<l.name?-1:1).map(function(c){return r?c:or(c,["cliName","cliCategory","cliDescription"])}).map(c=>{c=Object.assign({},c),Array.isArray(c.default)&&(c.default=1===c.default.length?c.default[0].value:c.default.filter(i).sort((p,d)=>mi_compare(d.since,p.since))[0].value),Array.isArray(c.choices)&&(c.choices=c.choices.filter(p=>i(p)&&s(p)),"parser"===c.name&&function(p,d,f){const h=new Set(p.choices.map(m=>m.value));for(const m of d)if(m.parsers)for(const g of m.parsers)if(!h.has(g)){h.add(g);const D=f.find(b=>b.parsers&&b.parsers[g]);let y=m.name;D&&D.name&&(y+=" (plugin: ".concat(D.name,")")),p.choices.push({value:g,description:y})}}(c,o,e));const l=fi(e.filter(p=>p.defaultOptions&&void 0!==p.defaultOptions[c.name]).map(p=>[p.name,p.defaultOptions[c.name]]));return Object.assign({},c,{pluginDefaults:l})});var c;return{languages:o,options:a};function i(c){return t||!("since"in c)||c.since&&mi_gte(u,c.since)}function s(c){return n||!("deprecated"in c)||c.deprecated&&mi_lt(u,c.deprecated)}}};const{getSupportInfo:w2}=gi,T2=/[^\x20-\x7F]/;function cr(e){return(t,n,r)=>{const u=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let a=n;for(;a>=0&&a<o;){const i=t.charAt(a);if(e instanceof RegExp){if(!e.test(i))return a}else if(!e.includes(i))return a;u?a--:a++}return(-1===a||a===o)&&a}}const B2=cr(/\s/),kt=cr(" \t"),ep=cr(",; \t"),tp=cr(/[^\n\r]/);function yi(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 Di(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?tp(e,t):t)}function mn(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const u=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function np(e,t,n={}){const r=kt(e,n.backwards?t-1:t,n);return r!==mn(e,r,n)}function rp(e,t){let n=null,r=t;for(;r!==n;)n=r,r=ep(e,r),r=yi(e,r),r=kt(e,r);return r=Di(e,r),r=mn(e,r),!1!==r&&np(e,r)}function up(e,t){let n=null,r=t;for(;r!==n;)n=r,r=kt(e,r),r=yi(e,r),r=Di(e,r),r=mn(e,r);return r}function op(e,t,n){return up(e,n(t))}function ip(e,t,n=0){let r=0;for(let u=n;u<e.length;++u)"\t"===e[u]?r=r+t-r%t:r++;return r}function ap(e,t){const n=e.slice(1,-1),r={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},o="'"===t?u:r,a=o===u?r:u;let i=o.quote;return(n.includes(o.quote)||n.includes(a.quote))&&(i=(n.match(o.regex)||[]).length>(n.match(a.regex)||[]).length?a.quote:o.quote),i}function sp(e,t,n){const r='"'===t?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,(o,a,i)=>a===r?a:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}function bi(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(n){const r=n.type||n.kind||"(unknown type)";let u=String(n.name||n.id&&("object"==typeof n.id?n.id.name:n.id)||n.key&&("object"==typeof n.key?n.key.name:n.key)||n.value&&("object"==typeof n.value?"":String(n.value))||n.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),r+(u?" "+u:"")}(e)}var I={inferParserByLanguage:function(e,t){const{languages:n}=w2({plugins:t.plugins}),r=n.find(({name:u})=>u.toLowerCase()===e)||n.find(({aliases:u})=>Array.isArray(u)&&u.includes(e))||n.find(({extensions:u})=>Array.isArray(u)&&u.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?T2.test(e)?Il(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(jl(t),")+"),"g"));return null===n?0:n.reduce((r,u)=>Math.max(r,u.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(jl(t),")+"),"g"));if(null===n)return 0;const r=new Map;let u=0;for(const o of n){const a=o.length/t.length;r.set(a,!0),a>u&&(u=a)}for(let o=1;o<u;o++)if(!r.get(o))return o;return u+1},getPenultimate:e=>e[e.length-2],getLast:X,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:up,getNextNonSpaceNonCommentCharacterIndex:op,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(op(e,t,n))},skip:cr,skipWhitespace:B2,skipSpaces:kt,skipToLineEnd:ep,skipEverythingButNewLine:tp,skipInlineComment:yi,skipTrailingComment:Di,skipNewline:mn,isNextLineEmptyAfterIndex:rp,isNextLineEmpty:function(e,t,n){return rp(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=kt(e,r,{backwards:!0}),r=mn(e,r,{backwards:!0}),r=kt(e,r,{backwards:!0}),r!==mn(e,r,{backwards:!0})},hasNewline:np,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 kt(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:ip,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:ip(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:ap,printString:function(e,t){return sp(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":ap(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:sp,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,bi(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),bi(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,bi(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)}}},Ei={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:k2}=pi,gn=e=>Array.isArray(e)||e&&"concat"===e.type,yn=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},cp={};function Ci(e,t,n,r){const u=[e];for(;u.length>0;){const o=u.pop();if(o!==cp){if(n&&u.push(o,cp),!t||!1!==t(o))if(gn(o)||"fill"===o.type){const a=yn(o);for(let i=a.length-1;i>=0;--i)u.push(a[i])}else if("if-break"===o.type)o.flatContents&&u.push(o.flatContents),o.breakContents&&u.push(o.breakContents);else if("group"===o.type&&o.expandedStates)if(r)for(let a=o.expandedStates.length-1;a>=0;--a)u.push(o.expandedStates[a]);else u.push(o.contents);else o.contents&&u.push(o.contents)}else n(u.pop())}}function lr(e,t){const n=new Map;return function r(u){if(n.has(u))return n.get(u);const o=function(a){if(Array.isArray(a))return t(a.map(r));if("concat"===a.type||"fill"===a.type){const i=a.parts.map(r);return t(Object.assign({},a,{parts:i}))}if("if-break"===a.type){const i=a.breakContents&&r(a.breakContents),s=a.flatContents&&r(a.flatContents);return t(Object.assign({},a,{breakContents:i,flatContents:s}))}if("group"===a.type&&a.expandedStates){const i=a.expandedStates.map(r);return t(Object.assign({},a,{contents:i[0],expandedStates:i}))}if(a.contents){const i=r(a.contents);return t(Object.assign({},a,{contents:i}))}return t(a)}(u);return n.set(u,o),o}(e)}function lp(e,t,n){let r=n,u=!1;return Ci(e,function(o){const a=t(o);if(void 0!==a&&(u=!0,r=a),u)return!1}),r}function N2(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function pp(e){if(e.length>0){const t=X(e);t.expandedStates||t.break||(t.break="propagated")}return null}function P2(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const O2=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function pr(e){if(!e)return e;if(gn(e)||"fill"===e.type){const t=yn(e);for(;t.length>1&&O2(...t.slice(-2));)t.length-=2;if(t.length>0){const n=pr(X(t));t[t.length-1]=n}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=pr(e.contents);return Object.assign({},e,{contents:t})}case"if-break":{const t=pr(e.breakContents),n=pr(e.flatContents);return Object.assign({},e,{breakContents:t,flatContents:n})}}return e}function fp(e){return lr(e,t=>function(n){switch(n.type){case"fill":if(0===n.parts.length||n.parts.every(u=>""===u))return"";break;case"group":if(!(n.contents||n.id||n.break||n.expandedStates))return"";if("group"===n.contents.type&&n.contents.id===n.id&&n.contents.break===n.break&&n.contents.expandedStates===n.expandedStates)return n.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!n.contents)return"";break;case"if-break":if(!n.flatContents&&!n.breakContents)return""}if(!gn(n))return n;const r=[];for(const u of yn(n)){if(!u)continue;const[o,...a]=gn(u)?yn(u):[u];"string"==typeof o&&"string"==typeof X(r)?r[r.length-1]+=o:r.push(o),r.push(...a)}return 0===r.length?"":1===r.length?r[0]:Array.isArray(n)?r:Object.assign({},n,{parts:r})}(t))}function vi(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const r=n.shift();r&&(gn(r)?n.unshift(...yn(r)):t.length>0&&"string"==typeof X(t)&&"string"==typeof r?t[t.length-1]+=r:t.push(r))}return t}var Ai={isConcat:gn,getDocParts:yn,willBreak:function(e){return lp(e,N2,!1)},traverseDoc:Ci,findInDoc:lp,mapDoc:lr,propagateBreaks:function(e){const t=new Set,n=[];Ci(e,function(r){if("break-parent"===r.type&&pp(n),"group"===r.type){if(n.push(r),t.has(r))return!1;t.add(r)}},function(r){"group"===r.type&&n.pop().break&&pp(n)},!0)},removeLines:function(e){return lr(e,P2)},stripTrailingHardline:function(e){return pr(fp(e))},normalizeParts:vi,normalizeDoc:function(e){return lr(e,t=>Array.isArray(t)?vi(t):t.parts?Object.assign({},t,{parts:vi(t.parts)}):t)},cleanDoc:fp,replaceNewlinesWithLiterallines:function(e){return lr(e,t=>"string"==typeof t&&t.includes("\n")?t.split(/(\n)/g).map((n,r)=>r%2==0?n:k2):t)}};const{getStringWidth:dp,getLast:yt}=I,{convertEndOfLineToChars:I2}=Ei,{fill:j2,cursor:Fi,indent:gu}=pi,{isConcat:hp,getDocParts:mp}=Ai;let fr;function gp(e,t){return xi(e,{type:"indent"},t)}function yp(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?xi(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):xi(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function xi(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let u="",o=0,a=0,i=0;for(const f of r)switch(f.type){case"indent":l(),n.useTabs?s(1):c(n.tabWidth);break;case"stringAlign":l(),u+=f.n,o+=f.n.length;break;case"numberAlign":a+=1,i+=f.n;break;default:throw new Error("Unexpected type '".concat(f.type,"'"))}return p(),Object.assign({},e,{value:u,length:o,queue:r});function s(f){u+="\t".repeat(f),o+=n.tabWidth*f}function c(f){u+=" ".repeat(f),o+=f}function l(){n.useTabs?(a>0&&s(a),d()):p()}function p(){i>0&&c(i),d()}function d(){a=0,i=0}}function Si(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof yt(e)&&/^[\t ]*$/.test(yt(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof yt(e)){const n=yt(e).replace(/[\t ]*$/,"");t+=yt(e).length-n.length,e[e.length-1]=n}return t}function yu(e,t,n,r,u,o){let a=t.length;const i=[e],s=[];for(;n>=0;){if(0===i.length){if(0===a)return!0;i.push(t[a-1]),a--;continue}const[c,l,p]=i.pop();if("string"==typeof p)s.push(p),n-=dp(p);else if(hp(p)){const d=mp(p);for(let f=d.length-1;f>=0;f--)i.push([c,l,d[f]])}else switch(p.type){case"indent":i.push([gp(c,r),l,p.contents]);break;case"align":i.push([yp(c,p.n,r),l,p.contents]);break;case"trim":n+=Si(s);break;case"group":{if(o&&p.break)return!1;const d=p.break?1:l;i.push([c,d,p.expandedStates&&1===d?yt(p.expandedStates):p.contents]),p.id&&(fr[p.id]=d);break}case"fill":for(let d=p.parts.length-1;d>=0;d--)i.push([c,l,p.parts[d]]);break;case"if-break":case"indent-if-break":{const d=p.groupId?fr[p.groupId]:l;if(1===d){const f="if-break"===p.type?p.breakContents:p.negate?p.contents:gu(p.contents);f&&i.push([c,l,f])}if(2===d){const f="if-break"===p.type?p.flatContents:p.negate?gu(p.contents):p.contents;f&&i.push([c,l,f])}break}case"line":switch(l){case 2:if(!p.hard){p.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":u=!0;break;case"line-suffix-boundary":if(u)return!1;break;case"label":i.push([c,l,p.contents])}}return!1}var L2={printDocToString:function(e,t){fr={};const n=t.printWidth,r=I2(t.endOfLine);let u=0;const o=[[{value:"",length:0,queue:[]},1,e]],a=[];let i=!1,s=[];for(;o.length>0;){const[l,p,d]=o.pop();if("string"==typeof d){const f="\n"!==r?d.replace(/\n/g,r):d;a.push(f),u+=dp(f)}else if(hp(d)){const f=mp(d);for(let h=f.length-1;h>=0;h--)o.push([l,p,f[h]])}else switch(d.type){case"cursor":a.push(Fi.placeholder);break;case"indent":o.push([gp(l,t),p,d.contents]);break;case"align":o.push([yp(l,d.n,t),p,d.contents]);break;case"trim":u-=Si(a);break;case"group":switch(p){case 2:if(!i){o.push([l,d.break?1:2,d.contents]);break}case 1:{i=!1;const f=[l,2,d.contents],h=n-u,m=s.length>0;if(!d.break&&yu(f,o,h,t,m))o.push(f);else if(d.expandedStates){const g=yt(d.expandedStates);if(d.break){o.push([l,1,g]);break}for(let D=1;D<d.expandedStates.length+1;D++){if(D>=d.expandedStates.length){o.push([l,1,g]);break}{const y=[l,2,d.expandedStates[D]];if(yu(y,o,h,t,m)){o.push(y);break}}}}else o.push([l,1,d.contents]);break}}d.id&&(fr[d.id]=yt(o)[1]);break;case"fill":{const f=n-u,{parts:h}=d;if(0===h.length)break;const[m,g]=h,D=[l,2,m],y=[l,1,m],b=yu(D,[],f,t,s.length>0,!0);if(1===h.length){o.push(b?D:y);break}const v=[l,2,g],E=[l,1,g];if(2===h.length){b?o.push(v,D):o.push(E,y);break}h.splice(0,2);const C=[l,p,j2(h)];yu([l,2,[m,g,h[0]]],[],f,t,s.length>0,!0)?o.push(C,v,D):o.push(C,E,b?D:y);break}case"if-break":case"indent-if-break":{const f=d.groupId?fr[d.groupId]:p;if(1===f){const h="if-break"===d.type?d.breakContents:d.negate?d.contents:gu(d.contents);h&&o.push([l,p,h])}if(2===f){const h="if-break"===d.type?d.flatContents:d.negate?gu(d.contents):d.contents;h&&o.push([l,p,h])}break}case"line-suffix":s.push([l,p,d.contents]);break;case"line-suffix-boundary":s.length>0&&o.push([l,p,{type:"line",hard:!0}]);break;case"line":switch(p){case 2:if(!d.hard){d.soft||(a.push(" "),u+=1);break}i=!0;case 1:if(s.length>0){o.push([l,p,d],...s.reverse()),s=[];break}d.literal?l.root?(a.push(r,l.root.value),u=l.root.length):(a.push(r),u=0):(u-=Si(a),a.push(r+l.value),u=l.length)}break;case"label":o.push([l,p,d.contents])}0===o.length&&s.length>0&&(o.push(...s.reverse()),s=[])}const c=a.indexOf(Fi.placeholder);if(-1!==c){const l=a.indexOf(Fi.placeholder,c+1),p=a.slice(0,c).join(""),d=a.slice(c+1,l).join("");return{formatted:p+d+a.slice(l+1).join(""),cursorNodeStart:p.length,cursorNodeText:d}}return{formatted:a.join("")}}};const{isConcat:wi,getDocParts:Dp}=Ai;function ut(e){if(!e)return"";if(wi(e)){const t=[];for(const n of Dp(e))if(wi(n))t.push(...ut(n).parts);else{const r=ut(n);""!==r&&t.push(r)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign({},e,{breakContents:ut(e.breakContents),flatContents:ut(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:ut(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(ut)}):"fill"===e.type?{type:"fill",parts:e.parts.map(ut)}:e.contents?Object.assign({},e,{contents:ut(e.contents)}):e}var N={builders:pi,printer:L2,utils:Ai,debug:{printDocToDebug:function(e){const t=Object.create(null),n=new Set;return function u(o,a,i){if("string"==typeof o)return JSON.stringify(o);if(wi(o)){const s=Dp(o).map(u).filter(Boolean);return 1===s.length?s[0]:"[".concat(s.join(", "),"]")}if("line"===o.type){const s=Array.isArray(i)&&i[a+1]&&"break-parent"===i[a+1].type;return o.literal?s?"literalline":"literallineWithoutBreakParent":o.hard?s?"hardline":"hardlineWithoutBreakParent":o.soft?"softline":"line"}if("break-parent"===o.type)return Array.isArray(i)&&i[a-1]&&"line"===i[a-1].type&&i[a-1].hard?void 0:"breakParent";if("trim"===o.type)return"trim";if("indent"===o.type)return"indent("+u(o.contents)+")";if("align"===o.type)return o.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+u(o.contents)+")":o.n<0?"dedent("+u(o.contents)+")":"root"===o.n.type?"markAsRoot("+u(o.contents)+")":"align("+JSON.stringify(o.n)+", "+u(o.contents)+")";if("if-break"===o.type)return"ifBreak("+u(o.breakContents)+(o.flatContents?", "+u(o.flatContents):"")+(o.groupId?(o.flatContents?"":', ""')+", { groupId: ".concat(r(o.groupId)," }"):"")+")";if("indent-if-break"===o.type){const s=[];o.negate&&s.push("negate: true"),o.groupId&&s.push("groupId: ".concat(r(o.groupId)));const c=s.length>0?", { ".concat(s.join(", ")," }"):"";return"indentIfBreak(".concat(u(o.contents)).concat(c,")")}if("group"===o.type){const s=[];o.break&&"propagated"!==o.break&&s.push("shouldBreak: true"),o.id&&s.push("id: ".concat(r(o.id)));const c=s.length>0?", { ".concat(s.join(", ")," }"):"";return o.expandedStates?"conditionalGroup([".concat(o.expandedStates.map(l=>u(l)).join(","),"]").concat(c,")"):"group(".concat(u(o.contents)).concat(c,")")}if("fill"===o.type)return"fill([".concat(o.parts.map(s=>u(s)).join(", "),"])");if("line-suffix"===o.type)return"lineSuffix("+u(o.contents)+")";if("line-suffix-boundary"===o.type)return"lineSuffixBoundary";if("label"===o.type)return"label(".concat(JSON.stringify(o.label),", ").concat(u(o.contents),")");throw new Error("Unknown doc type "+o.type)}(ut(e));function r(u){if("symbol"!=typeof u)return JSON.stringify(String(u));if(u in t)return t[u];const o=String(u).slice(7,-1)||"symbol";for(let a=0;;a++){const i=o+(a>0?" #".concat(a):"");if(!n.has(i))return n.add(i),t[u]="Symbol.for(".concat(JSON.stringify(i),")")}}}}},_2=Object.freeze({__proto__:null,default:{}});function bp(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];"."===u?e.splice(r,1):".."===u?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var M2=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ti=function(e){return M2.exec(e).slice(1)};function Du(){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=bp(Ni(e.split("/"),function(u){return!!u}),!t).join("/"))||"."}function Bi(e){var t=ki(e),n="/"===V2(e,-1);return(e=bp(Ni(e.split("/"),function(r){return!!r}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function ki(e){return"/"===e.charAt(0)}function Ep(){return Bi(Ni(Array.prototype.slice.call(arguments,0),function(t,n){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function Cp(e,t){function n(c){for(var l=0;l<c.length&&""===c[l];l++);for(var p=c.length-1;p>=0&&""===c[p];p--);return l>p?[]:c.slice(l,p-l+1)}e=Du(e).substr(1),t=Du(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),o=Math.min(r.length,u.length),a=o,i=0;i<o;i++)if(r[i]!==u[i]){a=i;break}var s=[];for(i=a;i<r.length;i++)s.push("..");return(s=s.concat(u.slice(a))).join("/")}function vp(e){var t=Ti(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function Ap(e,t){var n=Ti(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Fp(e){return Ti(e)[3]}function Ni(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 V2=function(e,t,n){return e.substr(t,n)},$2=Object.freeze({__proto__:null,resolve:Du,normalize:Bi,isAbsolute:ki,join:Ep,relative:Cp,sep:"/",delimiter:":",dirname:vp,basename:Ap,extname:Fp,default:{extname:Fp,basename:Ap,dirname:vp,sep:"/",delimiter:":",relative:Cp,join:Ep,isAbsolute:ki,normalize:Bi,resolve:Du}}),Je=[],Pe=[],q2="undefined"!=typeof Uint8Array?Uint8Array:Array,Pi=!1;function xp(){Pi=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)Je[t]=e[t],Pe[e.charCodeAt(t)]=t;Pe["-".charCodeAt(0)]=62,Pe["_".charCodeAt(0)]=63}function W2(e,t,n){for(var u,o=[],a=t;a<n;a+=3)o.push(Je[(u=(e[a]<<16)+(e[a+1]<<8)+e[a+2])>>18&63]+Je[u>>12&63]+Je[u>>6&63]+Je[63&u]);return o.join("")}function bu(e,t,n,r,u){var o,a,i=8*u-r-1,s=(1<<i)-1,c=s>>1,l=-7,p=n?u-1:0,d=n?-1:1,f=e[t+p];for(p+=d,o=f&(1<<-l)-1,f>>=-l,l+=i;l>0;o=256*o+e[t+p],p+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+p],p+=d,l-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function wp(e,t,n,r,u,o){var a,i,s,c=8*o-u-1,l=(1<<c)-1,p=l>>1,d=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-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?(i=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+p>=1?d/s:d*Math.pow(2,1-p))*s>=2&&(a++,s/=2),a+p>=l?(i=0,a=l):a+p>=1?(i=(t*s-1)*Math.pow(2,u),a+=p):(i=t*Math.pow(2,p-1)*Math.pow(2,u),a=0));u>=8;e[n+f]=255&i,f+=h,i/=256,u-=8);for(a=a<<u|i,c+=u;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}var U2={}.toString,Tp=Array.isArray||function(e){return"[object Array]"==U2.call(e)};function Oi(){return F.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ot(e,t){if(Oi()<t)throw new RangeError("Invalid typed array length");return F.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=F.prototype:(null===e&&(e=new F(t)),e.length=t),e}function F(e,t,n){if(!(F.TYPED_ARRAY_SUPPORT||this instanceof F))return new F(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 Ii(this,e)}return Bp(this,e,t,n)}function Bp(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(u,o,a,i){if(a<0||o.byteLength<a)throw new RangeError("'offset' is out of bounds");if(o.byteLength<a+(i||0))throw new RangeError("'length' is out of bounds");return o=void 0===a&&void 0===i?new Uint8Array(o):void 0===i?new Uint8Array(o,a):new Uint8Array(o,a,i),F.TYPED_ARRAY_SUPPORT?(u=o).__proto__=F.prototype:u=ji(u,o),u}(e,t,n,r):"string"==typeof t?function(u,o,a){if("string"==typeof a&&""!==a||(a="utf8"),!F.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var i=0|Np(o,a),s=(u=ot(u,i)).write(o,a);return s!==i&&(u=u.slice(0,s)),u}(e,t,n):function(u,o){if(Xe(o)){var a=0|Li(o.length);return 0===(u=ot(u,a)).length||o.copy(u,0,0,a),u}if(o){if("undefined"!=typeof ArrayBuffer&&o.buffer instanceof ArrayBuffer||"length"in o)return"number"!=typeof o.length||(i=o.length)!=i?ot(u,0):ji(u,o);if("Buffer"===o.type&&Tp(o.data))return ji(u,o.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function kp(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 Ii(e,t){if(kp(t),e=ot(e,t<0?0:0|Li(t)),!F.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function ji(e,t){var n=t.length<0?0:0|Li(t.length);e=ot(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Li(e){if(e>=Oi())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Oi().toString(16)+" bytes");return 0|e}function Xe(e){return!(null==e||!e._isBuffer)}function Np(e,t){if(Xe(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 vu(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Vp(e).length;default:if(r)return vu(e).length;t=(""+t).toLowerCase(),r=!0}}function z2(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 eb(this,t,n);case"utf8":case"utf-8":return jp(this,t,n);case"ascii":return Q2(this,t,n);case"latin1":case"binary":return Z2(this,t,n);case"base64":return K2(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tb(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Nt(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Pp(e,t,n,r,u){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=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if("string"==typeof t&&(t=F.from(t,r)),Xe(t))return 0===t.length?-1:Op(e,t,n,r,u);if("number"==typeof t)return t&=255,F.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Op(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function Op(e,t,n,r,u){var o,a=1,i=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,i/=2,s/=2,n/=2}function c(f,h){return 1===a?f[h]:f.readUInt16BE(h*a)}if(u){var l=-1;for(o=n;o<i;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===s)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+s>i&&(n=i-s),o=n;o>=0;o--){for(var p=!0,d=0;d<s;d++)if(c(e,o+d)!==c(t,d)){p=!1;break}if(p)return o}return-1}function H2(e,t,n,r){n=Number(n)||0;var u=e.length-n;r?(r=Number(r))>u&&(r=u):r=u;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var i=parseInt(t.substr(2*a,2),16);if(isNaN(i))return a;e[n+a]=i}return a}function G2(e,t,n,r){return Au(vu(t,e.length-n),e,n,r)}function Ip(e,t,n,r){return Au(function(u){for(var o=[],a=0;a<u.length;++a)o.push(255&u.charCodeAt(a));return o}(t),e,n,r)}function J2(e,t,n,r){return Ip(e,t,n,r)}function X2(e,t,n,r){return Au(Vp(t),e,n,r)}function Y2(e,t,n,r){return Au(function(u,o){for(var a,i,c=[],l=0;l<u.length&&!((o-=2)<0);++l)i=(a=u.charCodeAt(l))>>8,c.push(a%256),c.push(i);return c}(t,e.length-n),e,n,r)}function K2(e,t,n){return function(e){var t;Pi||xp();for(var n=e.length,r=n%3,u="",o=[],a=16383,i=0,s=n-r;i<s;i+=a)o.push(W2(e,i,i+a>s?s:i+a));return 1===r?(u+=Je[(t=e[n-1])>>2],u+=Je[t<<4&63],u+="=="):2===r&&(u+=Je[(t=(e[n-2]<<8)+e[n-1])>>10],u+=Je[t>>4&63],u+=Je[t<<2&63],u+="="),o.push(u),o.join("")}(0===t&&n===e.length?e:e.slice(t,n))}function jp(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u<n;){var o,a,i,s,c=e[u],l=null,p=c>239?4:c>223?3:c>191?2:1;if(u+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[u+1]))&&(s=(31&c)<<6|63&o)>127&&(l=s);break;case 3:a=e[u+2],128==(192&(o=e[u+1]))&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:a=e[u+2],i=e[u+3],128==(192&(o=e[u+1]))&&128==(192&a)&&128==(192&i)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&i)>65535&&s<1114112&&(l=s)}null===l?(l=65533,p=1):l>65535&&(r.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),r.push(l),u+=p}return function(d){var f=d.length;if(f<=Lp)return String.fromCharCode.apply(String,d);for(var h="",m=0;m<f;)h+=String.fromCharCode.apply(String,d.slice(m,m+=Lp));return h}(r)}F.TYPED_ARRAY_SUPPORT=void 0===Ne.TYPED_ARRAY_SUPPORT||Ne.TYPED_ARRAY_SUPPORT,F.poolSize=8192,F._augment=function(e){return e.__proto__=F.prototype,e},F.from=function(e,t,n){return Bp(null,e,t,n)},F.TYPED_ARRAY_SUPPORT&&(F.prototype.__proto__=Uint8Array.prototype,F.__proto__=Uint8Array),F.alloc=function(e,t,n){return r=null,o=t,a=n,kp(u=e),u<=0?ot(r,u):void 0!==o?"string"==typeof a?ot(r,u).fill(o,a):ot(r,u).fill(o):ot(r,u);var r,u,o,a},F.allocUnsafe=function(e){return Ii(null,e)},F.allocUnsafeSlow=function(e){return Ii(null,e)},F.isBuffer=Dn,F.compare=function(e,t){if(!Xe(e)||!Xe(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,o=Math.min(n,r);u<o;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0},F.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}},F.concat=function(e,t){if(!Tp(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return F.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=F.allocUnsafe(t),u=0;for(n=0;n<e.length;++n){var o=e[n];if(!Xe(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,u),u+=o.length}return r},F.byteLength=Np,F.prototype._isBuffer=!0,F.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)Nt(this,t,t+1);return this},F.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)Nt(this,t,t+3),Nt(this,t+1,t+2);return this},F.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)Nt(this,t,t+7),Nt(this,t+1,t+6),Nt(this,t+2,t+5),Nt(this,t+3,t+4);return this},F.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?jp(this,0,e):z2.apply(this,arguments)},F.prototype.equals=function(e){if(!Xe(e))throw new TypeError("Argument must be a Buffer");return this===e||0===F.compare(this,e)},F.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+">"},F.prototype.compare=function(e,t,n,r,u){if(!Xe(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===u&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(u>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),i=Math.min(o,a),s=this.slice(r,u),c=e.slice(t,n),l=0;l<i;++l)if(s[l]!==c[l]){o=s[l],a=c[l];break}return o<a?-1:a<o?1:0},F.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},F.prototype.indexOf=function(e,t,n){return Pp(this,e,t,n,!0)},F.prototype.lastIndexOf=function(e,t,n){return Pp(this,e,t,n,!1)},F.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 u=this.length-t;if((void 0===n||n>u)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return H2(this,e,t,n);case"utf8":case"utf-8":return G2(this,e,t,n);case"ascii":return Ip(this,e,t,n);case"latin1":case"binary":return J2(this,e,t,n);case"base64":return X2(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y2(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},F.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Lp=4096;function Q2(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(127&e[u]);return r}function Z2(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(e[u]);return r}function eb(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var u="",o=t;o<n;++o)u+=rb(e[o]);return u}function tb(e,t,n){for(var r=e.slice(t,n),u="",o=0;o<r.length;o+=2)u+=String.fromCharCode(r[o]+256*r[o+1]);return u}function Z(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 Ee(e,t,n,r,u,o){if(!Xe(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Eu(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,o=Math.min(e.length-n,2);u<o;++u)e[n+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function Cu(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,o=Math.min(e.length-n,4);u<o;++u)e[n+u]=t>>>8*(r?u:3-u)&255}function _p(e,t,n,r,u,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Mp(e,t,n,r,u){return u||_p(e,0,n,4),wp(e,t,n,r,23,4),n+4}function Rp(e,t,n,r,u){return u||_p(e,0,n,8),wp(e,t,n,r,52,8),n+8}F.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),F.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=F.prototype;else{var u=t-e;n=new F(u,void 0);for(var o=0;o<u;++o)n[o]=this[o+e]}return n},F.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e],u=1,o=0;++o<t&&(u*=256);)r+=this[e+o]*u;return r},F.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e+--t],u=1;t>0&&(u*=256);)r+=this[e+--t]*u;return r},F.prototype.readUInt8=function(e,t){return t||Z(e,1,this.length),this[e]},F.prototype.readUInt16LE=function(e,t){return t||Z(e,2,this.length),this[e]|this[e+1]<<8},F.prototype.readUInt16BE=function(e,t){return t||Z(e,2,this.length),this[e]<<8|this[e+1]},F.prototype.readUInt32LE=function(e,t){return t||Z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},F.prototype.readUInt32BE=function(e,t){return t||Z(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},F.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e],u=1,o=0;++o<t&&(u*=256);)r+=this[e+o]*u;return r>=(u*=128)&&(r-=Math.pow(2,8*t)),r},F.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=t,u=1,o=this[e+--r];r>0&&(u*=256);)o+=this[e+--r]*u;return o>=(u*=128)&&(o-=Math.pow(2,8*t)),o},F.prototype.readInt8=function(e,t){return t||Z(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},F.prototype.readInt16LE=function(e,t){t||Z(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},F.prototype.readInt16BE=function(e,t){t||Z(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},F.prototype.readInt32LE=function(e,t){return t||Z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},F.prototype.readInt32BE=function(e,t){return t||Z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},F.prototype.readFloatLE=function(e,t){return t||Z(e,4,this.length),bu(this,e,!0,23,4)},F.prototype.readFloatBE=function(e,t){return t||Z(e,4,this.length),bu(this,e,!1,23,4)},F.prototype.readDoubleLE=function(e,t){return t||Z(e,8,this.length),bu(this,e,!0,52,8)},F.prototype.readDoubleBE=function(e,t){return t||Z(e,8,this.length),bu(this,e,!1,52,8)},F.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Ee(this,e,t,n,Math.pow(2,8*n)-1,0);var u=1,o=0;for(this[t]=255&e;++o<n&&(u*=256);)this[t+o]=e/u&255;return t+n},F.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Ee(this,e,t,n,Math.pow(2,8*n)-1,0);var u=n-1,o=1;for(this[t+u]=255&e;--u>=0&&(o*=256);)this[t+u]=e/o&255;return t+n},F.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,1,255,0),F.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},F.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,2,65535,0),F.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Eu(this,e,t,!0),t+2},F.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,2,65535,0),F.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Eu(this,e,t,!1),t+2},F.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,4,4294967295,0),F.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Cu(this,e,t,!0),t+4},F.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,4,4294967295,0),F.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Cu(this,e,t,!1),t+4},F.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Ee(this,e,t,n,u-1,-u)}var o=0,a=1,i=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===i&&0!==this[t+o-1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+n},F.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Ee(this,e,t,n,u-1,-u)}var o=n-1,a=1,i=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+n},F.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,1,127,-128),F.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},F.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,2,32767,-32768),F.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Eu(this,e,t,!0),t+2},F.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,2,32767,-32768),F.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Eu(this,e,t,!1),t+2},F.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,4,2147483647,-2147483648),F.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Cu(this,e,t,!0),t+4},F.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Ee(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),F.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Cu(this,e,t,!1),t+4},F.prototype.writeFloatLE=function(e,t,n){return Mp(this,e,t,!0,n)},F.prototype.writeFloatBE=function(e,t,n){return Mp(this,e,t,!1,n)},F.prototype.writeDoubleLE=function(e,t,n){return Rp(this,e,t,!0,n)},F.prototype.writeDoubleBE=function(e,t,n){return Rp(this,e,t,!1,n)},F.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 u,o=r-n;if(this===e&&n<t&&t<r)for(u=o-1;u>=0;--u)e[u+t]=this[u+n];else if(o<1e3||!F.TYPED_ARRAY_SUPPORT)for(u=0;u<o;++u)e[u+t]=this[u+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},F.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 u=e.charCodeAt(0);u<256&&(e=u)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!F.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 o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=Xe(e)?e:vu(new F(e,r).toString()),i=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%i]}return this};var nb=/[^+\/0-9A-Za-z-_]/g;function rb(e){return e<16?"0"+e.toString(16):e.toString(16)}function vu(e,t){var n;t=t||1/0;for(var r=e.length,u=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&o.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.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;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Vp(e){return function(t){var n,r,u,o,a,i;Pi||xp();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=new q2(3*s/4-(a="="===t[s-2]?2:"="===t[s-1]?1:0)),u=a>0?s-4:s;var c=0;for(n=0,r=0;n<u;n+=4,r+=3)o=Pe[t.charCodeAt(n)]<<18|Pe[t.charCodeAt(n+1)]<<12|Pe[t.charCodeAt(n+2)]<<6|Pe[t.charCodeAt(n+3)],i[c++]=o>>16&255,i[c++]=o>>8&255,i[c++]=255&o;return 2===a?(o=Pe[t.charCodeAt(n)]<<2|Pe[t.charCodeAt(n+1)]>>4,i[c++]=255&o):1===a&&(o=Pe[t.charCodeAt(n)]<<10|Pe[t.charCodeAt(n+1)]<<4|Pe[t.charCodeAt(n+2)]>>2,i[c++]=o>>8&255,i[c++]=255&o),i}(function(t){if((t=(n=t,n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")).replace(nb,"")).length<2)return"";for(var n;t.length%4!=0;)t+="=";return t}(e))}function Au(e,t,n,r){for(var u=0;u<r&&!(u+n>=t.length||u>=e.length);++u)t[u+n]=e[u];return u}function Dn(e){return null!=e&&(!!e._isBuffer||$p(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&$p(t.slice(0,0)));var t}function $p(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var dr=ir(_2);class ob extends Error{}class ib extends Error{}class ab extends Error{}class sb extends Error{}var Fu={ConfigError:ob,DebugError:ib,UndefinedParserError:ab,ArgExpansionBailout:sb},qp=function(e,t){return(qp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var u in r)r.hasOwnProperty(u)&&(n[u]=r[u])})(e,t)},Wp=function(){return(Wp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var u in t=arguments[n])Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u]);return e}).apply(this,arguments)};function Up(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 zp(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(i){u={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(u)throw u.error}}return a}function hr(e){return this instanceof hr?(this.v=e,this):new hr(e)}var G=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}qp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Wp},__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 u=0;for(r=Object.getOwnPropertySymbols(e);u<r.length;u++)t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u])&&(n[r[u]]=e[r[u]])}return n},__decorate:function(e,t,n,r){var u,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var i=e.length-1;i>=0;i--)(u=e[i])&&(a=(o<3?u(a):o>3?u(t,n,a):u(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},__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(u,o){function a(c){try{s(r.next(c))}catch(l){o(l)}}function i(c){try{s(r.throw(c))}catch(l){o(l)}}function s(c){var l;c.done?u(c.value):(l=c.value,l instanceof n?l:new n(function(p){p(l)})).then(a,i)}s((r=r.apply(e,t||[])).next())})},__generator:function(e,t){var n,r,u,o,a={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(s){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=2&l[0]?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[2&l[0],u.value]),l[0]){case 0:case 1:u=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((u=(u=a.trys).length>0&&u[u.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!u||l[1]>u[0]&&l[1]<u[3])){a.label=l[1];break}if(6===l[0]&&a.label<u[1]){a.label=u[1],u=l;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(l);break}u[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(p){l=[6,p],r=0}finally{n=u=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([s,c])}}},__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:Up,__read:zp,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zp(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),u=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,i=o.length;a<i;a++,u++)r[u]=o[a];return r},__await:hr,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,u=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(p){u[p]&&(r[p]=function(d){return new Promise(function(f,h){o.push([p,d,f,h])>1||i(p,d)})})}function i(p,d){try{(f=u[p](d)).value instanceof hr?Promise.resolve(f.value.v).then(s,c):l(o[0][2],f)}catch(h){l(o[0][3],h)}var f}function s(p){i("next",p)}function c(p){i("throw",p)}function l(p,d){p(d),o.shift(),o.length&&i(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(u){throw u}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(u,o){t[u]=e[u]?function(a){return(n=!n)?{value:hr(e[u](a)),done:"return"===u}:o?o(a):a}: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=Up(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(u){t[u]=e[u]&&function(o){return new Promise(function(a,i){var s,c,l;s=a,c=i,l=(o=e[u](o)).done,Promise.resolve(o.value).then(function(d){s({value:d,done:l})},c)})}}},__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}}),Hp=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:n=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n),value(n){if(null===n||"object"!=typeof n)return JSON.stringify(n);if(Array.isArray(n))return"[".concat(n.map(u=>t.apiDescriptor.value(u)).join(", "),"]");const r=Object.keys(n);return 0===r.length?"{}":"{ ".concat(r.map(u=>"".concat(t.apiDescriptor.key(u),": ").concat(t.apiDescriptor.value(n[u]))).join(", ")," }")},pair:({key:n,value:r})=>t.apiDescriptor.value({[n]:r})}}),cb=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(Hp,t)}),lb=/[|\\{}()[\]^$+*?.]/g,_i=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(lb,"\\$&")},Pt={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]},Ot=j(function(e){var t={};for(var n in Pt)Pt.hasOwnProperty(n)&&(t[Pt[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 u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var o=r[u].channels,a=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:o}),Object.defineProperty(r[u],"labels",{value:a})}r.rgb.hsl=function(i){var s,c,l=i[0]/255,p=i[1]/255,d=i[2]/255,f=Math.min(l,p,d),h=Math.max(l,p,d),m=h-f;return h===f?s=0:l===h?s=(p-d)/m:p===h?s=2+(d-l)/m:d===h&&(s=4+(l-p)/m),(s=Math.min(60*s,360))<0&&(s+=360),c=(f+h)/2,[s,100*(h===f?0:c<=.5?m/(h+f):m/(2-h-f)),100*c]},r.rgb.hsv=function(i){var s,c,l,p,d,f=i[0]/255,h=i[1]/255,m=i[2]/255,g=Math.max(f,h,m),D=g-Math.min(f,h,m),y=function(b){return(g-b)/6/D+.5};return 0===D?p=d=0:(d=D/g,s=y(f),c=y(h),l=y(m),f===g?p=l-c:h===g?p=1/3+s-l:m===g&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*d,100*g]},r.rgb.hwb=function(i){var s=i[0],c=i[1],l=i[2];return[r.rgb.hsl(i)[0],1/255*Math.min(s,Math.min(c,l))*100,100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},r.rgb.cmyk=function(i){var s,c=i[0]/255,l=i[1]/255,p=i[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},r.rgb.keyword=function(i){var s=t[i];if(s)return s;var c,l,p,d=1/0;for(var f in Pt)if(Pt.hasOwnProperty(f)){var m=(l=i,p=Pt[f],Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));m<d&&(d=m,c=f)}return c},r.keyword.rgb=function(i){return Pt[i]},r.rgb.xyz=function(i){var s=i[0]/255,c=i[1]/255,l=i[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},r.rgb.lab=function(i){var s=r.rgb.xyz(i),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},r.hsl.rgb=function(i){var s,c,l,p,d,f=i[0]/360,h=i[1]/100,m=i[2]/100;if(0===h)return[d=255*m,d,d];s=2*m-(c=m<.5?m*(1+h):m+h-m*h),p=[0,0,0];for(var g=0;g<3;g++)(l=f+1/3*-(g-1))<0&&l++,l>1&&l--,p[g]=255*(d=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s);return p},r.hsl.hsv=function(i){var s=i[0],c=i[1]/100,l=i[2]/100,p=c,d=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=d<=1?d:2-d,[s,100*(0===l?2*p/(d+p):2*c/(l+c)),(l+c)/2*100]},r.hsv.rgb=function(i){var s=i[0]/60,c=i[1]/100,l=i[2]/100,p=Math.floor(s)%6,d=s-Math.floor(s),f=255*l*(1-c),h=255*l*(1-c*d),m=255*l*(1-c*(1-d));switch(l*=255,p){case 0:return[l,m,f];case 1:return[h,l,f];case 2:return[f,l,m];case 3:return[f,h,l];case 4:return[m,f,l];case 5:return[l,f,h]}},r.hsv.hsl=function(i){var s,c,l,p=i[0],d=i[1]/100,f=i[2]/100,h=Math.max(f,.01);return l=(2-d)*f,c=d*h,[p,100*(c=(c/=(s=(2-d)*h)<=1?s:2-s)||0),100*(l/=2)]},r.hwb.rgb=function(i){var s,c,l,p,d,f,h,m=i[0]/360,g=i[1]/100,D=i[2]/100,y=g+D;switch(y>1&&(g/=y,D/=y),l=6*m-(s=Math.floor(6*m)),0!=(1&s)&&(l=1-l),p=g+l*((c=1-D)-g),s){default:case 6:case 0:d=c,f=p,h=g;break;case 1:d=p,f=c,h=g;break;case 2:d=g,f=c,h=p;break;case 3:d=g,f=p,h=c;break;case 4:d=p,f=g,h=c;break;case 5:d=c,f=g,h=p}return[255*d,255*f,255*h]},r.cmyk.rgb=function(i){var c=i[1]/100,l=i[2]/100,p=i[3]/100;return[255*(1-Math.min(1,i[0]/100*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},r.xyz.rgb=function(i){var s,c,l,p=i[0]/100,d=i[1]/100,f=i[2]/100;return c=-.9689*p+1.8758*d+.0415*f,l=.0557*p+-.204*d+1.057*f,s=(s=3.2406*p+-1.5372*d+-.4986*f)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},r.xyz.lab=function(i){var s=i[0],c=i[1],l=i[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},r.lab.xyz=function(i){var s,c,l;s=i[1]/500+(c=(i[0]+16)/116),l=c-i[2]/200;var d=Math.pow(c,3),f=Math.pow(s,3),h=Math.pow(l,3);return c=d>.008856?d:(c-16/116)/7.787,s=f>.008856?f:(s-16/116)/7.787,l=h>.008856?h:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},r.lab.lch=function(i){var s,c=i[0],l=i[1],p=i[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},r.lch.lab=function(i){var s,l=i[1];return s=i[2]/360*2*Math.PI,[i[0],l*Math.cos(s),l*Math.sin(s)]},r.rgb.ansi16=function(i){var s=i[0],c=i[1],l=i[2],p=1 in arguments?arguments[1]:r.rgb.hsv(i)[2];if(0===(p=Math.round(p/50)))return 30;var d=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return 2===p&&(d+=60),d},r.hsv.ansi16=function(i){return r.rgb.ansi16(r.hsv.rgb(i),i[2])},r.rgb.ansi256=function(i){var s=i[0],c=i[1],l=i[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(i){var s=i%10;if(0===s||7===s)return i>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(i>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},r.ansi256.rgb=function(i){if(i>=232){var s=10*(i-232)+8;return[s,s,s]}var c;return i-=16,[Math.floor(i/36)/5*255,Math.floor((c=i%36)/6)/5*255,c%6/5*255]},r.rgb.hex=function(i){var s=(((255&Math.round(i[0]))<<16)+((255&Math.round(i[1]))<<8)+(255&Math.round(i[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(i){var s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];3===s[0].length&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},r.rgb.hcg=function(i){var s,c=i[0]/255,l=i[1]/255,p=i[2]/255,d=Math.max(Math.max(c,l),p),f=Math.min(Math.min(c,l),p),h=d-f;return s=h<=0?0:d===c?(l-p)/h%6:d===l?2+(p-c)/h:4+(c-l)/h+4,s/=6,[360*(s%=1),100*h,100*(h<1?f/(1-h):0)]},r.hsl.hcg=function(i){var l,s=i[1]/100,c=i[2]/100,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[i[0],100*l,100*p]},r.hsv.hcg=function(i){var c=i[2]/100,l=i[1]/100*c,p=0;return l<1&&(p=(c-l)/(1-l)),[i[0],100*l,100*p]},r.hcg.rgb=function(i){var c=i[1]/100,l=i[2]/100;if(0===c)return[255*l,255*l,255*l];var p,d=[0,0,0],f=i[0]/360%1*6,h=f%1,m=1-h;switch(Math.floor(f)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=m,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=m,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=m}return[255*(c*d[0]+(p=(1-c)*l)),255*(c*d[1]+p),255*(c*d[2]+p)]},r.hcg.hsv=function(i){var s=i[1]/100,c=s+i[2]/100*(1-s),l=0;return c>0&&(l=s/c),[i[0],100*l,100*c]},r.hcg.hsl=function(i){var s=i[1]/100,c=i[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[i[0],100*l,100*c]},r.hcg.hwb=function(i){var s=i[1]/100,c=s+i[2]/100*(1-s);return[i[0],100*(c-s),100*(1-c)]},r.hwb.hcg=function(i){var c=1-i[2]/100,l=c-i[1]/100,p=0;return l<1&&(p=(c-l)/(1-l)),[i[0],100*l,100*p]},r.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},r.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},r.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},r.gray.hsl=r.gray.hsv=function(i){return[0,0,i[0]]},r.gray.hwb=function(i){return[0,100,i[0]]},r.gray.cmyk=function(i){return[0,0,0,i[0]]},r.gray.lab=function(i){return[i[0],0,0]},r.gray.hex=function(i){var s=255&Math.round(i[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}});function fb(e,t){return function(n){return t(e(n))}}function db(e,t){for(var n=[t[e].parent,e],r=Ot[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=fb(Ot[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var bn={};Object.keys(Ot).forEach(function(e){bn[e]={},Object.defineProperty(bn[e],"channels",{value:Ot[e].channels}),Object.defineProperty(bn[e],"labels",{value:Ot[e].labels});var t=function(n){for(var r=function(e){var t=function(){for(var c={},l=Object.keys(Ot),p=l.length,d=0;d<p;d++)c[l[d]]={distance:-1,parent:null};return c}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(Ot[r]),o=u.length,a=0;a<o;a++){var i=u[a],s=t[i];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(i))}return t}(n),u={},o=Object.keys(r),a=o.length,i=0;i<a;i++){var s=o[i];null!==r[s].parent&&(u[s]=db(s,r))}return u}(e);Object.keys(t).forEach(function(n){var u,o,r=t[n];bn[e][n]=(o=function(a){if(null==a)return a;arguments.length>1&&(a=Array.prototype.slice.call(arguments));var i=u(a);if("object"==typeof i)for(var s=i.length,c=0;c<s;c++)i[c]=Math.round(i[c]);return i},"conversion"in(u=r)&&(o.conversion=u.conversion),o),bn[e][n].raw=function(u){var o=function(a){return null==a?a:(arguments.length>1&&(a=Array.prototype.slice.call(arguments)),u(a))};return"conversion"in u&&(o.conversion=u.conversion),o}(r)})});var xu,En=bn,Y=j(function(e){const t=(u,o)=>function(){const a=u.apply(En,arguments);return"\x1b[".concat(a+o,"m")},n=(u,o)=>function(){const a=u.apply(En,arguments);return"\x1b[".concat(38+o,";5;").concat(a,"m")},r=(u,o)=>function(){const a=u.apply(En,arguments);return"\x1b[".concat(38+o,";2;").concat(a[0],";").concat(a[1],";").concat(a[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const u=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 s of Object.keys(o)){const c=o[s];for(const l of Object.keys(c)){const p=c[l];o[l]={open:"\x1b[".concat(p[0],"m"),close:"\x1b[".concat(p[1],"m")},c[l]=o[l],u.set(p[0],p[1])}Object.defineProperty(o,s,{value:c,enumerable:!1}),Object.defineProperty(o,"codes",{value:u,enumerable:!1})}const a=s=>s,i=(s,c,l)=>[s,c,l];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(a,0)},o.color.ansi256={ansi256:n(a,0)},o.color.ansi16m={rgb:r(i,0)},o.bgColor.ansi={ansi:t(a,10)},o.bgColor.ansi256={ansi256:n(a,10)},o.bgColor.ansi16m={rgb:r(i,10)};for(let s of Object.keys(En)){if("object"!=typeof En[s])continue;const c=En[s];"ansi16"===s&&(s="ansi"),"ansi16"in c&&(o.color.ansi[s]=t(c.ansi16,0),o.bgColor.ansi[s]=t(c.ansi16,10)),"ansi256"in c&&(o.color.ansi256[s]=n(c.ansi256,0),o.bgColor.ansi256[s]=n(c.ansi256,10)),"rgb"in c&&(o.color.ansi16m[s]=r(c.rgb,0),o.bgColor.ansi16m[s]=r(c.rgb,10))}return o}})});function Gp(){if(void 0===xu){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])xu="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");xu="LE"}}return xu}function Jp(){return void 0!==Ne.location?Ne.location.hostname:""}function Xp(){return[]}function Yp(){return 0}function Kp(){return Number.MAX_VALUE}function Qp(){return Number.MAX_VALUE}function Zp(){return[]}function e0(){return"Browser"}function t0(){return void 0!==Ne.navigator?Ne.navigator.appVersion:""}function n0(){}function r0(){}function u0(){return"javascript"}function o0(){return"browser"}function Mi(){return"/tmp"}var q=(e,t)=>{t=t||V.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)},Su=ir(Object.freeze({__proto__:null,endianness:Gp,hostname:Jp,loadavg:Xp,uptime:Yp,freemem:Kp,totalmem:Qp,cpus:Zp,type:e0,release:t0,networkInterfaces:n0,getNetworkInterfaces:r0,arch:u0,platform:o0,tmpDir:Mi,tmpdir:Mi,EOL:"\n",default:{EOL:"\n",arch:u0,platform:o0,tmpdir:Mi,tmpDir:Mi,networkInterfaces:n0,getNetworkInterfaces:r0,release:t0,type:e0,cpus:Zp,totalmem:Qp,freemem:Kp,uptime:Yp,loadavg:Xp,hostname:Jp,endianness:Gp}}));const ie=V.env;let Cn;function Ri(e){return 0!==(t=function(t){if(!1===Cn)return 0;if(q("color=16m")||q("color=full")||q("color=truecolor"))return 3;if(q("color=256"))return 2;if(t&&!t.isTTY&&!0!==Cn)return 0;const n=Cn?1:0;if("win32"===V.platform){const r=Su.release().split(".");return Number(V.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in ie)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in ie)||"codeship"===ie.CI_NAME?1:n;if("TEAMCITY_VERSION"in ie)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ie.TEAMCITY_VERSION)?1:0;if("truecolor"===ie.COLORTERM)return 3;if("TERM_PROGRAM"in ie){const r=parseInt((ie.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ie.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ie.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ie.TERM)||"COLORTERM"in ie?1:n}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}q("no-color")||q("no-colors")||q("color=false")?Cn=!1:(q("color")||q("colors")||q("color=true")||q("color=always"))&&(Cn=!0),"FORCE_COLOR"in ie&&(Cn=0===ie.FORCE_COLOR.length||0!==parseInt(ie.FORCE_COLOR,10));var mb={supportsColor:Ri,stdout:Ri(V.stdout),stderr:Ri(V.stderr)};const gb=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,a0=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,yb=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Db=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,bb=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function s0(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):bb.get(e)||e}function Eb(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const o of r)if(isNaN(o)){if(!(u=o.match(yb)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(u[2].replace(Db,(a,i,s)=>i?s0(i):s))}else n.push(Number(o));return n}function Cb(e){a0.lastIndex=0;const t=[];let n;for(;null!==(n=a0.exec(e));){const r=n[1];if(n[2]){const u=Eb(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}function c0(e,t){const n={};for(const u of t)for(const o of u.styles)n[o[0]]=u.inverse?null:o.slice(1);let r=e;for(const u of Object.keys(n))if(Array.isArray(n[u])){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=n[u].length>0?r[u].apply(r,n[u]):r[u]}return r}var vb=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(gb,(o,a,i,s,c,l)=>{if(a)u.push(s0(a));else if(s){const p=u.join("");u=[],r.push(0===n.length?p:c0(e,n)(p)),n.push({inverse:i,styles:Cb(s)})}else if(c){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(c0(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")},It=j(function(e){const t=mb.stdout,n="win32"===V.platform&&!(V.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),o=Object.create(null);function a(d,f){d.level=void 0===(f=f||{}).level?t?t.level:0:f.level,d.enabled="enabled"in f?f.enabled:d.level>0}function i(d){if(!this||!(this instanceof i)||this.template){const f={};return a(f,d),f.template=function(){const h=[].slice.call(arguments);return p.apply(null,[f.template].concat(h))},Object.setPrototypeOf(f,i.prototype),Object.setPrototypeOf(f.template,f),f.template.constructor=i,f.template}a(this,d)}n&&(Y.blue.open="\x1b[94m");for(const d of Object.keys(Y))Y[d].closeRe=new RegExp(_i(Y[d].close),"g"),o[d]={get(){const f=Y[d];return c.call(this,this._styles?this._styles.concat(f):[f],this._empty,d)}};o.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},Y.color.closeRe=new RegExp(_i(Y.color.close),"g");for(const d of Object.keys(Y.color.ansi))u.has(d)||(o[d]={get(){const f=this.level;return function(){const m={open:Y.color[r[f]][d].apply(null,arguments),close:Y.color.close,closeRe:Y.color.closeRe};return c.call(this,this._styles?this._styles.concat(m):[m],this._empty,d)}}});Y.bgColor.closeRe=new RegExp(_i(Y.bgColor.close),"g");for(const d of Object.keys(Y.bgColor.ansi))u.has(d)||(o["bg"+d[0].toUpperCase()+d.slice(1)]={get(){const f=this.level;return function(){const m={open:Y.bgColor[r[f]][d].apply(null,arguments),close:Y.bgColor.close,closeRe:Y.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(m):[m],this._empty,d)}}});const s=Object.defineProperties(()=>{},o);function c(d,f,h){const m=function(){return l.apply(m,arguments)};m._styles=d,m._empty=f;const g=this;return Object.defineProperty(m,"level",{enumerable:!0,get:()=>g.level,set(D){g.level=D}}),Object.defineProperty(m,"enabled",{enumerable:!0,get:()=>g.enabled,set(D){g.enabled=D}}),m.hasGrey=this.hasGrey||"gray"===h||"grey"===h,m.__proto__=s,m}function l(){const d=arguments,f=d.length;let h=String(arguments[0]);if(0===f)return"";if(f>1)for(let g=1;g<f;g++)h+=" "+d[g];if(!this.enabled||this.level<=0||!h)return this._empty?"":h;const m=Y.dim.open;n&&this.hasGrey&&(Y.dim.open="");for(const g of this._styles.slice().reverse())h=g.open+h.replace(g.closeRe,g.open)+g.close,h=h.replace(/\r?\n/g,"".concat(g.close,"$&").concat(g.open));return Y.dim.open=m,h}function p(d,f){if(!Array.isArray(f))return[].slice.call(arguments,1).join(" ");const h=[].slice.call(arguments,2),m=[f.raw[0]];for(let g=1;g<f.length;g++)m.push(String(h[g-1]).replace(/[{}\\]/g,"\\$&")),m.push(String(f.raw[g]));return vb(d,m.join(""))}Object.defineProperties(i.prototype,o),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports}),l0=Object.defineProperty({commonDeprecatedHandler:(e,t,{descriptor:n})=>{const r=["".concat(It.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(It.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}},"__esModule",{value:!0}),Ab=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(l0,t)}),Fb=Object.defineProperty({commonInvalidHandler:(e,t,n)=>["Invalid ".concat(It.default.red(n.descriptor.key(e))," value."),"Expected ".concat(It.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(It.default.red(n.descriptor.value(t)),".")].join(" ")},"__esModule",{value:!0}),p0=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(Fb,t)}),Vi=[],f0=[],d0=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:u})=>{const o=["Ignored unknown option ".concat(It.default.yellow(n.pair({key:e,value:t})),".")],a=Object.keys(u).sort().find(i=>function(s,c){if(s===c)return 0;var l=s;s.length>c.length&&(s=c,c=l);var p=s.length,d=c.length;if(0===p)return d;if(0===d)return p;for(;p>0&&s.charCodeAt(~-p)===c.charCodeAt(~-d);)p--,d--;if(0===p)return d;for(var f,h,m,g,D=0;D<p&&s.charCodeAt(D)===c.charCodeAt(D);)D++;if(d-=D,0==(p-=D))return d;for(var y=0,b=0;y<p;)f0[D+y]=s.charCodeAt(D+y),Vi[y]=++y;for(;b<d;)for(f=c.charCodeAt(D+b),m=b++,h=b,y=0;y<p;y++)g=f===f0[D+y]?m:m+1,h=Vi[y]=(m=Vi[y])>h?g>h?h+1:g:g>m?m+1:g;return h}(e,i)<3);a&&o.push("Did you mean ".concat(It.default.blue(n.key(a)),"?")),r.warn(o.join(" "))}},"__esModule",{value:!0}),xb=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(d0,t)}),Sb=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(Ab,t),G.__exportStar(p0,t),G.__exportStar(xb,t)});const wb=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function h0(e,t){const n=new e(t),r=Object.create(n);for(const u of wb)u in t&&(r[u]=kb(t[u],n,m0.prototype[u].length));return r}var Tb=h0;class m0{constructor(t){this.name=t.name}static create(t){return h0(this,t)}default(t){}expected(t){return"nothing"}validate(t,n){return!1}deprecated(t,n){return!1}forward(t,n){}redirect(t,n){}overlap(t,n,r){return t}preprocess(t,n){return t}postprocess(t,n){return t}}function kb(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var Dt=Object.defineProperty({createSchema:Tb,Schema:m0},"__esModule",{value:!0});var Ob=Object.defineProperty({AliasSchema:class extends Dt.Schema{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,n){return n.schemas[this._sourceName].validate(t,n)}redirect(t,n){return this._sourceName}}},"__esModule",{value:!0});var Lb=Object.defineProperty({AnySchema:class extends Dt.Schema{expected(){return"anything"}validate(){return!0}}},"__esModule",{value:!0});function g0({from:e,to:t}){return{from:[e],to:t}}var Rb=Object.defineProperty({ArraySchema:class extends Dt.Schema{constructor(t){var{valueSchema:n,name:r=n.name}=t,u=G.__rest(t,["valueSchema","name"]);super(Object.assign({},u,{name:r})),this._valueSchema=n}expected(t){return"an array of ".concat(this._valueSchema.expected(t))}validate(t,n){if(!Array.isArray(t))return!1;const r=[];for(const u of t){const o=n.normalizeValidateResult(this._valueSchema.validate(u,n),u);!0!==o&&r.push(o.value)}return 0===r.length||{value:r}}deprecated(t,n){const r=[];for(const u of t){const o=n.normalizeDeprecatedResult(this._valueSchema.deprecated(u,n),u);!1!==o&&r.push(...o.map(({value:a})=>({value:[a]})))}return r}forward(t,n){const r=[];for(const u of t){const o=n.normalizeForwardResult(this._valueSchema.forward(u,n),u);r.push(...o.map(g0))}return r}redirect(t,n){const r=[],u=[];for(const o of t){const a=n.normalizeRedirectResult(this._valueSchema.redirect(o,n),o);"remain"in a&&r.push(a.remain),u.push(...a.redirect.map(g0))}return 0===r.length?{redirect:u}:{redirect:u,remain:r}}overlap(t,n){return t.concat(n)}}},"__esModule",{value:!0});var qb=Object.defineProperty({BooleanSchema:class extends Dt.Schema{expected(){return"true or false"}validate(t){return"boolean"==typeof t}}},"__esModule",{value:!0});function $i(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 y0(e,t){return void 0===e?[]:Array.isArray(e)?e.map(n=>$i(n,t)):[$i(e,t)]}var ae=Object.defineProperty({recordFromArray:function(e,t){const n=Object.create(null);for(const r of e){const u=r[t];if(n[u])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(u)));n[u]=r}return n},mapFromArray:function(e,t){const n=new Map;for(const r of e){const u=r[t];if(n.has(u))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(u)));n.set(u,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 u of e)t(u)?n.push(u):r.push(u);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,u=["undefined","object","boolean","number","string"];return n!==r?u.indexOf(n)-u.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:$i,normalizeForwardResult:y0,normalizeRedirectResult:function(e,t){const n=y0("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 rE=Object.defineProperty({ChoiceSchema:class extends Dt.Schema{constructor(t){super(t),this._choices=ae.mapFromArray(t.choices.map(n=>n&&"object"==typeof n?n:{value:n}),"value")}expected({descriptor:t}){const n=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(o=>!o.deprecated).map(o=>o.value).sort(ae.comparePrimitive).map(t.value),r=n.slice(0,-2),u=n.slice(-2);return r.concat(u.join(" or ")).join(", ")}validate(t){return this._choices.has(t)}deprecated(t){const n=this._choices.get(t);return!(!n||!n.deprecated)&&{value:t}}forward(t){const n=this._choices.get(t);return n?n.forward:void 0}redirect(t){const n=this._choices.get(t);return n?n.redirect:void 0}}},"__esModule",{value:!0});var D0=Object.defineProperty({NumberSchema:class extends Dt.Schema{expected(){return"a number"}validate(t,n){return"number"==typeof t}}},"__esModule",{value:!0});var sE=Object.defineProperty({IntegerSchema:class extends D0.NumberSchema{expected(){return"an integer"}validate(t,n){return!0===n.normalizeValidateResult(super.validate(t,n),t)&&ae.isInt(t)}}},"__esModule",{value:!0});var pE=Object.defineProperty({StringSchema:class extends Dt.Schema{expected(){return"a string"}validate(t){return"string"==typeof t}}},"__esModule",{value:!0}),fE=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(Ob,t),G.__exportStar(Lb,t),G.__exportStar(Rb,t),G.__exportStar(qb,t),G.__exportStar(rE,t),G.__exportStar(sE,t),G.__exportStar(D0,t),G.__exportStar(pE,t)}),wu=Object.defineProperty({defaultDescriptor:Hp.apiDescriptor,defaultUnknownHandler:d0.levenUnknownHandler,defaultInvalidHandler:p0.commonInvalidHandler,defaultDeprecatedHandler:l0.commonDeprecatedHandler},"__esModule",{value:!0});class b0{constructor(t,n){const{logger:r=console,descriptor:u=wu.defaultDescriptor,unknown:o=wu.defaultUnknownHandler,invalid:a=wu.defaultInvalidHandler,deprecated:i=wu.defaultDeprecatedHandler}=n||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},schemas:ae.recordFromArray(t,"name"),normalizeDefaultResult:ae.normalizeDefaultResult,normalizeDeprecatedResult:ae.normalizeDeprecatedResult,normalizeForwardResult:ae.normalizeForwardResult,normalizeRedirectResult:ae.normalizeRedirectResult,normalizeValidateResult:ae.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=i,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=ae.createAutoChecklist()}normalize(t){const n={},r=[t],u=()=>{for(;0!==r.length;){const o=r.shift(),a=this._applyNormalization(o,n);r.push(...a)}};u();for(const o of Object.keys(this._utils.schemas)){const a=this._utils.schemas[o];if(!(o in n)){const i=ae.normalizeDefaultResult(a.default(this._utils));"value"in i&&r.push({[o]:i.value})}}u();for(const o of Object.keys(this._utils.schemas)){const a=this._utils.schemas[o];o in n&&(n[o]=a.postprocess(n[o],this._utils))}return n}_applyNormalization(t,n){const r=[],[u,o]=ae.partition(Object.keys(t),a=>a in this._utils.schemas);for(const a of u){const i=this._utils.schemas[a],s=i.preprocess(t[a],this._utils),c=ae.normalizeValidateResult(i.validate(s,this._utils),s);if(!0!==c){const{value:f}=c,h=this._invalidHandler(a,f,this._utils);throw"string"==typeof h?new Error(h):h}const l=({from:f,to:h})=>{r.push("string"==typeof h?{[h]:f}:{[h.key]:h.value})},p=({value:f,redirectTo:h})=>{const m=ae.normalizeDeprecatedResult(i.deprecated(f,this._utils),s,!0);if(!1!==m)if(!0===m)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,h,this._utils));else for(const{value:g}of m){const D={key:a,value:g};this._hasDeprecationWarned(D)||this._utils.logger.warn(this._deprecatedHandler(D,"string"==typeof h?{key:h,value:g}:h,this._utils))}};ae.normalizeForwardResult(i.forward(s,this._utils),s).forEach(l);const d=ae.normalizeRedirectResult(i.redirect(s,this._utils),s);if(d.redirect.forEach(l),"remain"in d){const f=d.remain;n[a]=a in n?i.overlap(n[a],f,this._utils):f,p({value:f})}for(const{from:f,to:h}of d.redirect)p({value:f,redirectTo:h})}for(const a of o){const s=this._unknownHandler(a,t[a],this._utils);if(s)for(const c of Object.keys(s)){const l={[c]:s[c]};c in this._utils.schemas?r.push(l):Object.assign(n,l)}}return r}}var DE=Object.defineProperty({normalize:(e,t,n)=>new b0(t,n).normalize(e),Normalizer:b0},"__esModule",{value:!0}),Fe=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),G.__exportStar(cb,t),G.__exportStar(Sb,t),G.__exportStar(fE,t),G.__exportStar(DE,t),G.__exportStar(Dt,t)});const qi=[],E0=[],C0=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,u=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;let o,a,i,s,c=0;for(;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(r-=c,u-=c,0===r)return u;let l=0,p=0;for(;l<r;)E0[l]=e.charCodeAt(c+l),qi[l]=++l;for(;p<u;)for(o=t.charCodeAt(c+p),i=p++,a=p,l=0;l<r;l++)s=o===E0[l]?i:i+1,i=qi[l],a=qi[l]=i>a?s>a?a+1:s:s>i?i+1:s;return a};var v0=C0;v0.default=C0;var mr={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 A0={};for(const e of Object.keys(mr))A0[mr[e]]=e;const k={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 jt=k;for(const e of Object.keys(k)){if(!("channels"in k[e]))throw new Error("missing channels property: "+e);if(!("labels"in k[e]))throw new Error("missing channel labels property: "+e);if(k[e].labels.length!==k[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=k[e];delete k[e].channels,delete k[e].labels,Object.defineProperty(k[e],"channels",{value:t}),Object.defineProperty(k[e],"labels",{value:n})}function CE(e,t){return function(n){return t(e(n))}}function vE(e,t){const n=[t[e].parent,e];let r=jt[t[e].parent][e],u=t[e].parent;for(;t[u].parent;)n.unshift(t[u].parent),r=CE(jt[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}k.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(t,n,r),o=Math.max(t,n,r),a=o-u;let i,s;o===u?i=0:t===o?i=(n-r)/a:n===o?i=2+(r-t)/a:r===o&&(i=4+(t-n)/a),i=Math.min(60*i,360),i<0&&(i+=360);const c=(u+o)/2;return s=o===u?0:c<=.5?a/(o+u):a/(2-o-u),[i,100*s,100*c]},k.rgb.hsv=function(e){let t,n,r,u,o;const a=e[0]/255,i=e[1]/255,s=e[2]/255,c=Math.max(a,i,s),l=c-Math.min(a,i,s),p=function(d){return(c-d)/6/l+.5};return 0===l?(u=0,o=0):(o=l/c,t=p(a),n=p(i),r=p(s),a===c?u=r-n:i===c?u=1/3+t-r:s===c&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*o,100*c]},k.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const u=k.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[u,100*o,100*r]},k.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(1-t,1-n,1-r);return[100*((1-t-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*((1-r-u)/(1-u)||0),100*u]},k.rgb.keyword=function(e){const t=A0[e];if(t)return t;let n,r=1/0;for(const a of Object.keys(mr)){const i=((u=e)[0]-(o=mr[a])[0])**2+(u[1]-o[1])**2+(u[2]-o[2])**2;i<r&&(r=i,n=a)}var u,o;return n},k.keyword.rgb=function(e){return mr[e]},k.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)]},k.rgb.lab=function(e){const t=k.rgb.xyz(e);let n=t[0],r=t[1],u=t[2];return n/=95.047,r/=100,u/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,[116*r-16,500*(n-r),200*(r-u)]},k.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let u,o,a;if(0===n)return a=255*r,[a,a,a];u=r<.5?r*(1+n):r+n-r*n;const i=2*r-u,s=[0,0,0];for(let c=0;c<3;c++)o=t+1/3*-(c-1),o<0&&o++,o>1&&o--,a=6*o<1?i+6*(u-i)*o:2*o<1?u:3*o<2?i+(u-i)*(2/3-o)*6:i,s[c]=255*a;return s},k.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,u=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,u*=o<=1?o:2-o,[t,100*(0===r?2*u/(o+u):2*n/(r+n)),(r+n)/2*100]},k.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const u=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),i=255*r*(1-n*o),s=255*r*(1-n*(1-o));switch(r*=255,u){case 0:return[r,s,a];case 1:return[i,r,a];case 2:return[a,r,s];case 3:return[a,i,r];case 4:return[s,a,r];case 5:return[r,a,i]}},k.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,u=Math.max(r,.01);let o,a;a=(2-n)*r;const i=(2-n)*u;return o=n*u,o/=i<=1?i:2-i,o=o||0,a/=2,[t,100*o,100*a]},k.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const u=n+r;let o;u>1&&(n/=u,r/=u);const a=Math.floor(6*t),i=1-r;o=6*t-a,0!=(1&a)&&(o=1-o);const s=n+o*(i-n);let c,l,p;switch(a){default:case 6:case 0:c=i,l=s,p=n;break;case 1:c=s,l=i,p=n;break;case 2:c=n,l=i,p=s;break;case 3:c=n,l=s,p=i;break;case 4:c=s,l=n,p=i;break;case 5:c=i,l=n,p=s}return[255*c,255*l,255*p]},k.cmyk.rgb=function(e){const n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},k.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let u,o,a;return u=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,u=Math.min(Math.max(0,u),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*u,255*o,255*a]},k.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)]},k.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const u=n**3,o=t**3,a=r**3;return n=u>.008856?u:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},k.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let u;return u=360*Math.atan2(r,n)/2/Math.PI,u<0&&(u+=360),[t,Math.sqrt(n*n+r*r),u]},k.lch.lab=function(e){const n=e[1],r=e[2]/360*2*Math.PI;return[e[0],n*Math.cos(r),n*Math.sin(r)]},k.rgb.ansi16=function(e,t=null){const[n,r,u]=e;let o=null===t?k.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(u/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},k.hsv.ansi16=function(e){return k.rgb.ansi16(k.hsv.rgb(e),e[2])},k.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)},k.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]},k.ansi256.rgb=function(e){if(e>=232){const n=10*(e-232)+8;return[n,n,n]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},k.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},k.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(u=>u+u).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},k.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),a=u-o;let i,s;return i=a<1?o/(1-a):0,s=a<=0?0:u===t?(n-r)/a%6:u===n?2+(r-t)/a:4+(t-n)/a,s/=6,s%=1,[360*s,100*a,100*i]},k.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let u=0;return r<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},k.hsv.hcg=function(e){const n=e[2]/100,r=e[1]/100*n;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},k.hcg.rgb=function(e){const n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const u=[0,0,0],o=e[0]/360%1*6,a=o%1,i=1-a;let s=0;switch(Math.floor(o)){case 0:u[0]=1,u[1]=a,u[2]=0;break;case 1:u[0]=i,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=a;break;case 3:u[0]=0,u[1]=i,u[2]=1;break;case 4:u[0]=a,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=i}return s=(1-n)*r,[255*(n*u[0]+s),255*(n*u[1]+s),255*(n*u[2]+s)]},k.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]},k.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]},k.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)]},k.hwb.hcg=function(e){const n=1-e[2]/100,r=n-e[1]/100;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},k.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},k.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},k.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},k.gray.hsl=function(e){return[0,0,e[0]]},k.gray.hsv=k.gray.hsl,k.gray.hwb=function(e){return[0,100,e[0]]},k.gray.cmyk=function(e){return[0,0,0,e[0]]},k.gray.lab=function(e){return[e[0],0,0]},k.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},k.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const vn={};Object.keys(jt).forEach(e=>{vn[e]={},Object.defineProperty(vn[e],"channels",{value:jt[e].channels}),Object.defineProperty(vn[e],"labels",{value:jt[e].labels});const t=function(n){const r=function(e){const t=function(){const r={},u=Object.keys(jt);for(let o=u.length,a=0;a<o;a++)r[u[a]]={distance:-1,parent:null};return r}(),n=[e];for(t[e].distance=0;n.length;){const r=n.pop(),u=Object.keys(jt[r]);for(let o=u.length,a=0;a<o;a++){const i=u[a],s=t[i];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(i))}}return t}(n),u={},o=Object.keys(r);for(let a=o.length,i=0;i<a;i++){const s=o[i];null!==r[s].parent&&(u[s]=vE(s,r))}return u}(e);Object.keys(t).forEach(n=>{const r=t[n];vn[e][n]=function(u){const o=function(...a){const i=a[0];if(null==i)return i;i.length>1&&(a=i);const s=u(a);if("object"==typeof s)for(let c=s.length,l=0;l<c;l++)s[l]=Math.round(s[l]);return s};return"conversion"in u&&(o.conversion=u.conversion),o}(r),vn[e][n].raw=function(u){const o=function(...a){const i=a[0];return null==i?i:(i.length>1&&(a=i),u(a))};return"conversion"in u&&(o.conversion=u.conversion),o}(r)})});var AE=vn,gr=j(function(e){const t=(c,l)=>(...p)=>{const d=c(...p);return"\x1b[".concat(d+l,"m")},n=(c,l)=>(...p)=>{const d=c(...p);return"\x1b[".concat(38+l,";5;").concat(d,"m")},r=(c,l)=>(...p)=>{const d=c(...p);return"\x1b[".concat(38+l,";2;").concat(d[0],";").concat(d[1],";").concat(d[2],"m")},u=c=>c,o=(c,l,p)=>[c,l,p],a=(c,l,p)=>{Object.defineProperty(c,l,{get:()=>{const d=p();return Object.defineProperty(c,l,{value:d,enumerable:!0,configurable:!0}),d},enumerable:!0,configurable:!0})};let i;const s=(c,l,p,d)=>{void 0===i&&(i=AE);const f=d?10:0,h={};for(const[m,g]of Object.entries(i)){const D="ansi16"===m?"ansi":m;m===l?h[D]=c(p,f):"object"==typeof g&&(h[D]=c(g[l],f))}return h};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const c=new Map,l={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]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(const[p,d]of Object.entries(l)){for(const[f,h]of Object.entries(d))l[f]={open:"\x1b[".concat(h[0],"m"),close:"\x1b[".concat(h[1],"m")},d[f]=l[f],c.set(h[0],h[1]);Object.defineProperty(l,p,{value:d,enumerable:!1})}return Object.defineProperty(l,"codes",{value:c,enumerable:!1}),l.color.close="\x1b[39m",l.bgColor.close="\x1b[49m",a(l.color,"ansi",()=>s(t,"ansi16",u,!1)),a(l.color,"ansi256",()=>s(n,"ansi256",u,!1)),a(l.color,"ansi16m",()=>s(r,"rgb",o,!1)),a(l.bgColor,"ansi",()=>s(t,"ansi16",u,!0)),a(l.bgColor,"ansi256",()=>s(n,"ansi256",u,!0)),a(l.bgColor,"ansi16m",()=>s(r,"rgb",o,!0)),l}})});function F0(){return!1}function x0(){throw new Error("tty.ReadStream is not implemented")}function S0(){throw new Error("tty.ReadStream is not implemented")}var Oe=(e,t=V.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)},w0=ir(Object.freeze({__proto__:null,isatty:F0,ReadStream:x0,WriteStream:S0,default:{isatty:F0,ReadStream:x0,WriteStream:S0}}));const{env:ee}=V;let An;function Wi(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Ui(e,t){if(0===An)return 0;if(Oe("color=16m")||Oe("color=full")||Oe("color=truecolor"))return 3;if(Oe("color=256"))return 2;if(e&&!t&&void 0===An)return 0;const n=An||0;if("dumb"===ee.TERM)return n;if("win32"===V.platform){const r=Su.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in ee)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in ee)||"codeship"===ee.CI_NAME?1:n;if("TEAMCITY_VERSION"in ee)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ee.TEAMCITY_VERSION)?1:0;if("truecolor"===ee.COLORTERM)return 3;if("TERM_PROGRAM"in ee){const r=parseInt((ee.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ee.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ee.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ee.TERM)||"COLORTERM"in ee?1:n}Oe("no-color")||Oe("no-colors")||Oe("color=false")||Oe("color=never")?An=0:(Oe("color")||Oe("colors")||Oe("color=true")||Oe("color=always"))&&(An=1),"FORCE_COLOR"in ee&&(An="true"===ee.FORCE_COLOR?1:"false"===ee.FORCE_COLOR?0:0===ee.FORCE_COLOR.length?1:Math.min(parseInt(ee.FORCE_COLOR,10),3));var xE={supportsColor:function(e){return Wi(Ui(e,e&&e.isTTY))},stdout:Wi(Ui(!0,w0.isatty(1))),stderr:Wi(Ui(!0,w0.isatty(2)))};const wE=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,T0=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,TE=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,BE=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,kE=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function B0(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)):kE.get(e)||e}function NE(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const o of r){const a=Number(o);if(Number.isNaN(a)){if(!(u=o.match(TE)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(u[2].replace(BE,(i,s,c)=>s?B0(s):c))}else n.push(a)}return n}function PE(e){T0.lastIndex=0;const t=[];let n;for(;null!==(n=T0.exec(e));){const r=n[1];if(n[2]){const u=NE(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}function k0(e,t){const n={};for(const u of t)for(const o of u.styles)n[o[0]]=u.inverse?null:o.slice(1);let r=e;for(const[u,o]of Object.entries(n))if(Array.isArray(o)){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=o.length>0?r[u](...o):r[u]}return r}var OE=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(wE,(o,a,i,s,c,l)=>{if(a)u.push(B0(a));else if(s){const p=u.join("");u=[],r.push(0===n.length?p:k0(e,n)(p)),n.push({inverse:i,styles:PE(s)})}else if(c){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(k0(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")};const{stdout:zi,stderr:Hi}=xE,{stringReplaceAll:IE,stringEncaseCRLFWithFirstIndex:jE}={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const u=t.length;let o=0,a="";do{a+=e.substr(o,r-o)+t+n,o=r+u,r=e.indexOf(t,o)}while(-1!==r);return a+=e.substr(o),a},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let u=0,o="";do{const a="\r"===e[r-1];o+=e.substr(u,(a?r-1:r)-u)+t+(a?"\r\n":"\n")+n,u=r+1,r=e.indexOf("\n",u)}while(-1!==r);return o+=e.substr(u),o}},{isArray:Tu}=Array,N0=["ansi","ansi","ansi256","ansi16m"],Fn=Object.create(null);class LE{constructor(t){return P0(t)}}const P0=e=>{const t={};return((n,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");n.level=void 0===r.level?zi?zi.level:0:r.level})(t,e),t.template=(...n)=>j0(t.template,...n),Object.setPrototypeOf(t,Bu.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=LE,t.template};function Bu(e){return P0(e)}for(const[e,t]of Object.entries(gr))Fn[e]={get(){const n=ku(this,Gi(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Fn.visible={get(){const e=ku(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const O0=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of O0)Fn[e]={get(){const{level:t}=this;return function(...n){const r=Gi(gr.color[N0[t]][e](...n),gr.color.close,this._styler);return ku(this,r,this._isEmpty)}}};for(const e of O0)Fn["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=Gi(gr.bgColor[N0[t]][e](...n),gr.bgColor.close,this._styler);return ku(this,r,this._isEmpty)}}};const _E=Object.defineProperties(()=>{},Object.assign({},Fn,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Gi=(e,t,n)=>{let r,u;return void 0===n?(r=e,u=t):(r=n.openAll+e,u=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:u,parent:n}},ku=(e,t,n)=>{const r=(...u)=>Tu(u[0])&&Tu(u[0].raw)?I0(r,j0(r,...u)):I0(r,1===u.length?""+u[0]:u.join(" "));return Object.setPrototypeOf(r,_E),r._generator=e,r._styler=t,r._isEmpty=n,r},I0=(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:u}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=IE(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=jE(t,u,r,o)),r+t+u};let Ji;const j0=(e,...t)=>{const[n]=t;if(!Tu(n)||!Tu(n.raw))return t.join(" ");const r=t.slice(1),u=[n.raw[0]];for(let o=1;o<n.length;o++)u.push(String(r[o-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[o]));return void 0===Ji&&(Ji=OE),Ji(e,u.join(""))};Object.defineProperties(Bu.prototype,Fn);const Nu=Bu();Nu.supportsColor=zi,Nu.stderr=Bu({level:Hi?Hi.level:0}),Nu.stderr.supportsColor=Hi;var L0=Nu,ME=function(e,t){for(var n=-1,r=t.length,u=e.length;++n<r;)e[u+n]=t[n];return e},VE="object"==typeof self&&self&&self.Object===Object&&self,xn=("object"==typeof dt&&dt&&dt.Object===Object&&dt||VE||Function("return this")()).Symbol,_0=Object.prototype,$E=_0.hasOwnProperty,qE=_0.toString,yr=xn?xn.toStringTag:void 0,UE=Object.prototype.toString,M0=xn?xn.toStringTag:void 0,HE=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":M0&&M0 in Object(e)?function(e){var t=$E.call(e,yr),n=e[yr];try{e[yr]=void 0;var r=!0}catch(o){}var u=qE.call(e);return r&&(t?e[yr]=n:delete e[yr]),u}(e):function(e){return UE.call(e)}(e)},R0=function(e){return null!=e&&"object"==typeof e},V0=function(e){return R0(e)&&"[object Arguments]"==HE(e)},$0=Object.prototype,GE=$0.hasOwnProperty,JE=$0.propertyIsEnumerable,XE=V0(function(){return arguments}())?V0:function(e){return R0(e)&&GE.call(e,"callee")&&!JE.call(e,"callee")},YE=Array.isArray,q0=xn?xn.isConcatSpreadable:void 0,KE=function(e){return YE(e)||XE(e)||!!(q0&&e&&e[q0])},QE=function e(t,n,r,u,o){var a=-1,i=t.length;for(r||(r=KE),o||(o=[]);++a<i;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,u,o):ME(o,s):u||(o[o.length]=s)}return o},Xi=function(e){return null!=e&&e.length?QE(e,1):[]};const Pu={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>Fe.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Pu.key(e):""===t?"".concat(Pu.key(e)," without an argument"):"".concat(Pu.key(e),"=").concat(t)};class ZE extends Fe.ChoiceSchema{constructor({name:t,flags:n}){super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(t,n){if("string"==typeof t&&t.length>0&&!this._flags.includes(t)){const r=this._flags.find(u=>v0(u,t)<3);if(r)return n.logger.warn(["Unknown flag ".concat(L0.yellow(n.descriptor.value(t)),","),"did you mean ".concat(L0.blue(n.descriptor.value(r)),"?")].join(" ")),r}return t}expected(){return"a flag"}}let Yi;function W0(e,t,{logger:n,isCLI:r=!1,passThrough:u=!1}={}){const o=u?Array.isArray(u)?(p,d)=>u.includes(p)?{[p]:d}:void 0:(p,d)=>({[p]:d}):(p,d,f)=>{const h=or(f.schemas,["_"]);return Fe.levenUnknownHandler(p,d,Object.assign({},f,{schemas:h}))},a=r?Pu:Fe.apiDescriptor,i=function(p,{isCLI:d}){const f=[];d&&f.push(Fe.AnySchema.create({name:"_"}));for(const h of p)f.push(eC(h,{isCLI:d,optionInfos:p})),h.alias&&d&&f.push(Fe.AliasSchema.create({name:h.alias,sourceName:h.name}));return f}(t,{isCLI:r}),s=new Fe.Normalizer(i,{logger:n,unknown:o,descriptor:a}),c=!1!==n;c&&Yi&&(s._hasDeprecationWarned=Yi);const l=s.normalize(e);return c&&(Yi=s._hasDeprecationWarned),l}function eC(e,{isCLI:t,optionInfos:n}){let r;const u={name:e.name},o={};switch(e.type){case"int":r=Fe.IntegerSchema,t&&(u.preprocess=a=>Number(a));break;case"string":r=Fe.StringSchema;break;case"choice":r=Fe.ChoiceSchema,u.choices=e.choices.map(a=>"object"==typeof a&&a.redirect?Object.assign({},a,{redirect:{to:{key:e.name,value:a.redirect}}}):a);break;case"boolean":r=Fe.BooleanSchema;break;case"flag":r=ZE,u.flags=Xi(n.map(a=>[a.alias,a.description&&a.name,a.oppositeDescription&&"no-".concat(a.name)].filter(Boolean)));break;case"path":r=Fe.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(u.validate=e.exception?(a,i,s)=>e.exception(a)||i.validate(a,s):(a,i,s)=>void 0===a||i.validate(a,s),e.redirect&&(o.redirect=a=>a?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const a=u.preprocess||(i=>i);u.preprocess=(i,s,c)=>s.preprocess(a(Array.isArray(i)?X(i):i),c)}return e.array?Fe.ArraySchema.create(Object.assign({},t?{preprocess:a=>Array.isArray(a)?a:[a]}:{},o,{valueSchema:r.create(u)})):r.create(Object.assign({},u,o))}var U0_normalizeApiOptions=function(e,t,n){return W0(e,t,n)};const{isNonEmptyArray:tC}=I;function Ou(e,t){const{ignoreDecorators:n}=t||{};if(!n){const r=e.declaration&&e.declaration.decorators||e.decorators;if(tC(r))return Ou(r[0])}return e.range?e.range[0]:e.start}function Ki(e){return e.range?e.range[1]:e.end}function z0(e,t){return Ou(e)===Ou(t)}var me={locStart:Ou,locEnd:Ki,hasSameLocStart:z0,hasSameLoc:function(e,t){return z0(e,t)&&(r=t,Ki(e)===Ki(r));var r}},nC=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}),rC=J0,uC=X0;let Qi="\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",H0="\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 iC=new RegExp("["+Qi+"]"),aC=new RegExp("["+Qi+H0+"]");Qi=H0=null;const G0=[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],sC=[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 Zi(e,t){let n=65536;for(let r=0,u=t.length;r<u;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function J0(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&iC.test(String.fromCharCode(e)):Zi(e,G0)))}function X0(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&aC.test(String.fromCharCode(e)):Zi(e,G0)||Zi(e,sC))))}var ea=Object.defineProperty({isIdentifierStart:rC,isIdentifierChar:uC,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 u=e.charCodeAt(++n);56320==(64512&u)&&(r=65536+((1023&r)<<10)+(1023&u))}if(t){if(t=!1,!J0(r))return!1}else if(!X0(r))return!1}return!t}},"__esModule",{value:!0}),cC=Y0,lC=K0,pC=Q0;const gC=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"]),yC=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),DC=new Set(["eval","arguments"]);function Y0(e,t){return t&&"await"===e||"enum"===e}function K0(e,t){return Y0(e,t)||yC.has(e)}function Q0(e){return DC.has(e)}var Dr=Object.defineProperty({isReservedWord:cC,isStrictReservedWord:lC,isStrictBindOnlyReservedWord:pC,isStrictBindReservedWord:function(e,t){return K0(e,t)||Q0(e)},isKeyword:function(e){return gC.has(e)}},"__esModule",{value:!0}),Z0=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ea.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ea.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ea.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return Dr.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Dr.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Dr.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return Dr.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return Dr.isKeyword}})}),bC=/[|\\{}()[\]^$+*?.]/g,ta=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(bC,"\\$&")},Lt={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]},_t=j(function(e){var t={};for(var n in Lt)Lt.hasOwnProperty(n)&&(t[Lt[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 u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var o=r[u].channels,a=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:o}),Object.defineProperty(r[u],"labels",{value:a})}r.rgb.hsl=function(i){var s,c,l=i[0]/255,p=i[1]/255,d=i[2]/255,f=Math.min(l,p,d),h=Math.max(l,p,d),m=h-f;return h===f?s=0:l===h?s=(p-d)/m:p===h?s=2+(d-l)/m:d===h&&(s=4+(l-p)/m),(s=Math.min(60*s,360))<0&&(s+=360),c=(f+h)/2,[s,100*(h===f?0:c<=.5?m/(h+f):m/(2-h-f)),100*c]},r.rgb.hsv=function(i){var s,c,l,p,d,f=i[0]/255,h=i[1]/255,m=i[2]/255,g=Math.max(f,h,m),D=g-Math.min(f,h,m),y=function(b){return(g-b)/6/D+.5};return 0===D?p=d=0:(d=D/g,s=y(f),c=y(h),l=y(m),f===g?p=l-c:h===g?p=1/3+s-l:m===g&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*d,100*g]},r.rgb.hwb=function(i){var s=i[0],c=i[1],l=i[2];return[r.rgb.hsl(i)[0],1/255*Math.min(s,Math.min(c,l))*100,100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},r.rgb.cmyk=function(i){var s,c=i[0]/255,l=i[1]/255,p=i[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},r.rgb.keyword=function(i){var s=t[i];if(s)return s;var c,l,p,d=1/0;for(var f in Lt)if(Lt.hasOwnProperty(f)){var m=(l=i,p=Lt[f],Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));m<d&&(d=m,c=f)}return c},r.keyword.rgb=function(i){return Lt[i]},r.rgb.xyz=function(i){var s=i[0]/255,c=i[1]/255,l=i[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},r.rgb.lab=function(i){var s=r.rgb.xyz(i),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},r.hsl.rgb=function(i){var s,c,l,p,d,f=i[0]/360,h=i[1]/100,m=i[2]/100;if(0===h)return[d=255*m,d,d];s=2*m-(c=m<.5?m*(1+h):m+h-m*h),p=[0,0,0];for(var g=0;g<3;g++)(l=f+1/3*-(g-1))<0&&l++,l>1&&l--,p[g]=255*(d=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s);return p},r.hsl.hsv=function(i){var s=i[0],c=i[1]/100,l=i[2]/100,p=c,d=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=d<=1?d:2-d,[s,100*(0===l?2*p/(d+p):2*c/(l+c)),(l+c)/2*100]},r.hsv.rgb=function(i){var s=i[0]/60,c=i[1]/100,l=i[2]/100,p=Math.floor(s)%6,d=s-Math.floor(s),f=255*l*(1-c),h=255*l*(1-c*d),m=255*l*(1-c*(1-d));switch(l*=255,p){case 0:return[l,m,f];case 1:return[h,l,f];case 2:return[f,l,m];case 3:return[f,h,l];case 4:return[m,f,l];case 5:return[l,f,h]}},r.hsv.hsl=function(i){var s,c,l,p=i[0],d=i[1]/100,f=i[2]/100,h=Math.max(f,.01);return l=(2-d)*f,c=d*h,[p,100*(c=(c/=(s=(2-d)*h)<=1?s:2-s)||0),100*(l/=2)]},r.hwb.rgb=function(i){var s,c,l,p,d,f,h,m=i[0]/360,g=i[1]/100,D=i[2]/100,y=g+D;switch(y>1&&(g/=y,D/=y),l=6*m-(s=Math.floor(6*m)),0!=(1&s)&&(l=1-l),p=g+l*((c=1-D)-g),s){default:case 6:case 0:d=c,f=p,h=g;break;case 1:d=p,f=c,h=g;break;case 2:d=g,f=c,h=p;break;case 3:d=g,f=p,h=c;break;case 4:d=p,f=g,h=c;break;case 5:d=c,f=g,h=p}return[255*d,255*f,255*h]},r.cmyk.rgb=function(i){var c=i[1]/100,l=i[2]/100,p=i[3]/100;return[255*(1-Math.min(1,i[0]/100*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},r.xyz.rgb=function(i){var s,c,l,p=i[0]/100,d=i[1]/100,f=i[2]/100;return c=-.9689*p+1.8758*d+.0415*f,l=.0557*p+-.204*d+1.057*f,s=(s=3.2406*p+-1.5372*d+-.4986*f)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},r.xyz.lab=function(i){var s=i[0],c=i[1],l=i[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},r.lab.xyz=function(i){var s,c,l;s=i[1]/500+(c=(i[0]+16)/116),l=c-i[2]/200;var d=Math.pow(c,3),f=Math.pow(s,3),h=Math.pow(l,3);return c=d>.008856?d:(c-16/116)/7.787,s=f>.008856?f:(s-16/116)/7.787,l=h>.008856?h:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},r.lab.lch=function(i){var s,c=i[0],l=i[1],p=i[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},r.lch.lab=function(i){var s,l=i[1];return s=i[2]/360*2*Math.PI,[i[0],l*Math.cos(s),l*Math.sin(s)]},r.rgb.ansi16=function(i){var s=i[0],c=i[1],l=i[2],p=1 in arguments?arguments[1]:r.rgb.hsv(i)[2];if(0===(p=Math.round(p/50)))return 30;var d=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return 2===p&&(d+=60),d},r.hsv.ansi16=function(i){return r.rgb.ansi16(r.hsv.rgb(i),i[2])},r.rgb.ansi256=function(i){var s=i[0],c=i[1],l=i[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(i){var s=i%10;if(0===s||7===s)return i>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(i>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},r.ansi256.rgb=function(i){if(i>=232){var s=10*(i-232)+8;return[s,s,s]}var c;return i-=16,[Math.floor(i/36)/5*255,Math.floor((c=i%36)/6)/5*255,c%6/5*255]},r.rgb.hex=function(i){var s=(((255&Math.round(i[0]))<<16)+((255&Math.round(i[1]))<<8)+(255&Math.round(i[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(i){var s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];3===s[0].length&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},r.rgb.hcg=function(i){var s,c=i[0]/255,l=i[1]/255,p=i[2]/255,d=Math.max(Math.max(c,l),p),f=Math.min(Math.min(c,l),p),h=d-f;return s=h<=0?0:d===c?(l-p)/h%6:d===l?2+(p-c)/h:4+(c-l)/h+4,s/=6,[360*(s%=1),100*h,100*(h<1?f/(1-h):0)]},r.hsl.hcg=function(i){var l,s=i[1]/100,c=i[2]/100,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[i[0],100*l,100*p]},r.hsv.hcg=function(i){var c=i[2]/100,l=i[1]/100*c,p=0;return l<1&&(p=(c-l)/(1-l)),[i[0],100*l,100*p]},r.hcg.rgb=function(i){var c=i[1]/100,l=i[2]/100;if(0===c)return[255*l,255*l,255*l];var p,d=[0,0,0],f=i[0]/360%1*6,h=f%1,m=1-h;switch(Math.floor(f)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=m,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=m,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=m}return[255*(c*d[0]+(p=(1-c)*l)),255*(c*d[1]+p),255*(c*d[2]+p)]},r.hcg.hsv=function(i){var s=i[1]/100,c=s+i[2]/100*(1-s),l=0;return c>0&&(l=s/c),[i[0],100*l,100*c]},r.hcg.hsl=function(i){var s=i[1]/100,c=i[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[i[0],100*l,100*c]},r.hcg.hwb=function(i){var s=i[1]/100,c=s+i[2]/100*(1-s);return[i[0],100*(c-s),100*(1-c)]},r.hwb.hcg=function(i){var c=1-i[2]/100,l=c-i[1]/100,p=0;return l<1&&(p=(c-l)/(1-l)),[i[0],100*l,100*p]},r.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},r.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},r.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},r.gray.hsl=r.gray.hsv=function(i){return[0,0,i[0]]},r.gray.hwb=function(i){return[0,100,i[0]]},r.gray.cmyk=function(i){return[0,0,0,i[0]]},r.gray.lab=function(i){return[i[0],0,0]},r.gray.hex=function(i){var s=255&Math.round(i[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}});function CC(e,t){return function(n){return t(e(n))}}function vC(e,t){for(var n=[t[e].parent,e],r=_t[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=CC(_t[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var Sn={};Object.keys(_t).forEach(function(e){Sn[e]={},Object.defineProperty(Sn[e],"channels",{value:_t[e].channels}),Object.defineProperty(Sn[e],"labels",{value:_t[e].labels});var t=function(n){for(var r=function(e){var t=function(){for(var c={},l=Object.keys(_t),p=l.length,d=0;d<p;d++)c[l[d]]={distance:-1,parent:null};return c}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(_t[r]),o=u.length,a=0;a<o;a++){var i=u[a],s=t[i];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(i))}return t}(n),u={},o=Object.keys(r),a=o.length,i=0;i<a;i++){var s=o[i];null!==r[s].parent&&(u[s]=vC(s,r))}return u}(e);Object.keys(t).forEach(function(n){var u,o,r=t[n];Sn[e][n]=(o=function(a){if(null==a)return a;arguments.length>1&&(a=Array.prototype.slice.call(arguments));var i=u(a);if("object"==typeof i)for(var s=i.length,c=0;c<s;c++)i[c]=Math.round(i[c]);return i},"conversion"in(u=r)&&(o.conversion=u.conversion),o),Sn[e][n].raw=function(u){var o=function(a){return null==a?a:(arguments.length>1&&(a=Array.prototype.slice.call(arguments)),u(a))};return"conversion"in u&&(o.conversion=u.conversion),o}(r)})});var wn=Sn,K=j(function(e){const t=(u,o)=>function(){const a=u.apply(wn,arguments);return"\x1b[".concat(a+o,"m")},n=(u,o)=>function(){const a=u.apply(wn,arguments);return"\x1b[".concat(38+o,";5;").concat(a,"m")},r=(u,o)=>function(){const a=u.apply(wn,arguments);return"\x1b[".concat(38+o,";2;").concat(a[0],";").concat(a[1],";").concat(a[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const u=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 s of Object.keys(o)){const c=o[s];for(const l of Object.keys(c)){const p=c[l];o[l]={open:"\x1b[".concat(p[0],"m"),close:"\x1b[".concat(p[1],"m")},c[l]=o[l],u.set(p[0],p[1])}Object.defineProperty(o,s,{value:c,enumerable:!1}),Object.defineProperty(o,"codes",{value:u,enumerable:!1})}const a=s=>s,i=(s,c,l)=>[s,c,l];o.color.close="\x1b[39m",o.bgColor.close="\x1b[49m",o.color.ansi={ansi:t(a,0)},o.color.ansi256={ansi256:n(a,0)},o.color.ansi16m={rgb:r(i,0)},o.bgColor.ansi={ansi:t(a,10)},o.bgColor.ansi256={ansi256:n(a,10)},o.bgColor.ansi16m={rgb:r(i,10)};for(let s of Object.keys(wn)){if("object"!=typeof wn[s])continue;const c=wn[s];"ansi16"===s&&(s="ansi"),"ansi16"in c&&(o.color.ansi[s]=t(c.ansi16,0),o.bgColor.ansi[s]=t(c.ansi16,10)),"ansi256"in c&&(o.color.ansi256[s]=n(c.ansi256,0),o.bgColor.ansi256[s]=n(c.ansi256,10)),"rgb"in c&&(o.color.ansi16m[s]=r(c.rgb,0),o.bgColor.ansi16m[s]=r(c.rgb,10))}return o}})});const se=V.env;let Tn;function na(e){return 0!==(t=function(t){if(!1===Tn)return 0;if(q("color=16m")||q("color=full")||q("color=truecolor"))return 3;if(q("color=256"))return 2;if(t&&!t.isTTY&&!0!==Tn)return 0;const n=Tn?1:0;if("win32"===V.platform){const r=Su.release().split(".");return Number(V.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in se)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in se)||"codeship"===se.CI_NAME?1:n;if("TEAMCITY_VERSION"in se)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(se.TEAMCITY_VERSION)?1:0;if("truecolor"===se.COLORTERM)return 3;if("TERM_PROGRAM"in se){const r=parseInt((se.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(se.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(se.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(se.TERM)||"COLORTERM"in se?1:n}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}q("no-color")||q("no-colors")||q("color=false")?Tn=!1:(q("color")||q("colors")||q("color=true")||q("color=always"))&&(Tn=!0),"FORCE_COLOR"in se&&(Tn=0===se.FORCE_COLOR.length||0!==parseInt(se.FORCE_COLOR,10));var AC={supportsColor:na,stdout:na(V.stdout),stderr:na(V.stderr)};const FC=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ef=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,xC=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,SC=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,wC=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function tf(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):wC.get(e)||e}function TC(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const o of r)if(isNaN(o)){if(!(u=o.match(xC)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(u[2].replace(SC,(a,i,s)=>i?tf(i):s))}else n.push(Number(o));return n}function BC(e){ef.lastIndex=0;const t=[];let n;for(;null!==(n=ef.exec(e));){const r=n[1];if(n[2]){const u=TC(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}function nf(e,t){const n={};for(const u of t)for(const o of u.styles)n[o[0]]=u.inverse?null:o.slice(1);let r=e;for(const u of Object.keys(n))if(Array.isArray(n[u])){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=n[u].length>0?r[u].apply(r,n[u]):r[u]}return r}var e,kC=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(FC,(o,a,i,s,c,l)=>{if(a)u.push(tf(a));else if(s){const p=u.join("");u=[],r.push(0===n.length?p:nf(e,n)(p)),n.push({inverse:i,styles:BC(s)})}else if(c){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(nf(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")},NC=j(function(e){const t=AC.stdout,n="win32"===V.platform&&!(V.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),o=Object.create(null);function a(d,f){d.level=void 0===(f=f||{}).level?t?t.level:0:f.level,d.enabled="enabled"in f?f.enabled:d.level>0}function i(d){if(!this||!(this instanceof i)||this.template){const f={};return a(f,d),f.template=function(){const h=[].slice.call(arguments);return p.apply(null,[f.template].concat(h))},Object.setPrototypeOf(f,i.prototype),Object.setPrototypeOf(f.template,f),f.template.constructor=i,f.template}a(this,d)}n&&(K.blue.open="\x1b[94m");for(const d of Object.keys(K))K[d].closeRe=new RegExp(ta(K[d].close),"g"),o[d]={get(){const f=K[d];return c.call(this,this._styles?this._styles.concat(f):[f],this._empty,d)}};o.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},K.color.closeRe=new RegExp(ta(K.color.close),"g");for(const d of Object.keys(K.color.ansi))u.has(d)||(o[d]={get(){const f=this.level;return function(){const m={open:K.color[r[f]][d].apply(null,arguments),close:K.color.close,closeRe:K.color.closeRe};return c.call(this,this._styles?this._styles.concat(m):[m],this._empty,d)}}});K.bgColor.closeRe=new RegExp(ta(K.bgColor.close),"g");for(const d of Object.keys(K.bgColor.ansi))u.has(d)||(o["bg"+d[0].toUpperCase()+d.slice(1)]={get(){const f=this.level;return function(){const m={open:K.bgColor[r[f]][d].apply(null,arguments),close:K.bgColor.close,closeRe:K.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(m):[m],this._empty,d)}}});const s=Object.defineProperties(()=>{},o);function c(d,f,h){const m=function(){return l.apply(m,arguments)};m._styles=d,m._empty=f;const g=this;return Object.defineProperty(m,"level",{enumerable:!0,get:()=>g.level,set(D){g.level=D}}),Object.defineProperty(m,"enabled",{enumerable:!0,get:()=>g.enabled,set(D){g.enabled=D}}),m.hasGrey=this.hasGrey||"gray"===h||"grey"===h,m.__proto__=s,m}function l(){const d=arguments,f=d.length;let h=String(arguments[0]);if(0===f)return"";if(f>1)for(let g=1;g<f;g++)h+=" "+d[g];if(!this.enabled||this.level<=0||!h)return this._empty?"":h;const m=K.dim.open;n&&this.hasGrey&&(K.dim.open="");for(const g of this._styles.slice().reverse())h=g.open+h.replace(g.closeRe,g.open)+g.close,h=h.replace(/\r?\n/g,"".concat(g.close,"$&").concat(g.open));return K.dim.open=m,h}function p(d,f){if(!Array.isArray(f))return[].slice.call(arguments,1).join(" ");const h=[].slice.call(arguments,2),m=[f.raw[0]];for(let g=1;g<f.length;g++)m.push(String(h[g-1]).replace(/[{}\\]/g,"\\$&")),m.push(String(f.raw[g]));return kC(d,m.join(""))}Object.defineProperties(i.prototype,o),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports}),PC=af,OC=sf,rf=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=uf();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(nC),ra=(e=NC)&&e.__esModule?e:{default:e};function uf(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return uf=function(){return e},e}const jC=new Set(["as","async","from","get","of","set"]),LC=/\r\n|[\n\r\u2028\u2029]/,_C=/^[()[\]{}]$/;let of;{const{matchToToken:e}=rf,t=/^[a-z][\w-]*$/i,n=function(r,u,o){if("name"===r.type){if((0,Z0.isKeyword)(r.value)||(0,Z0.isStrictReservedWord)(r.value,!0)||jC.has(r.value))return"keyword";if(t.test(r.value)&&("<"===o[u-1]||"</"==o.substr(u-2,2)))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return"punctuator"===r.type&&_C.test(r.value)?"bracket":"invalid"!==r.type||"@"!==r.value&&"#"!==r.value?r.type:"punctuator"};of=function*(r){let u;for(;u=rf.default.exec(r);){const o=e(u);yield{type:n(o,u.index,r),value:o.value}}}}function af(e){return!!ra.default.supportsColor||e.forceColor}function sf(e){return e.forceColor?new ra.default.constructor({enabled:!0,level:1}):ra.default}var MC=ff,ua=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=cf();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var o=r?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:PC,getChalk:OC,default:function(e,t={}){if(af(t)){return function(r,u){let o="";for(const{type:a,value:i}of of(u)){const s=r[a];o+=s?i.split(LC).map(c=>s(c)).join("\n"):i}return o}({keyword:(r=sf(t)).cyan,capitalized:r.yellow,jsxIdentifier:r.yellow,punctuator:r.yellow,number:r.magenta,string:r.green,regex:r.magenta,comment:r.grey,invalid:r.white.bgRed.bold},e)}var r;return e}},"__esModule",{value:!0}));function cf(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return cf=function(){return e},e}let lf=!1;const pf=/\r\n|[\n\r\u2028\u2029]/;function ff(e,t,n={}){const r=(n.highlightCode||n.forceColor)&&(0,ua.shouldHighlight)(n),u=(0,ua.getChalk)(n),o={gutter:(h=u).grey,marker:h.red.bold,message:h.red.bold},a=(h,m)=>r?h(m):m,i=e.split(pf),{start:s,end:c,markerLines:l}=function(h,m,g){const D=Object.assign({column:0,line:-1},h.start),y=Object.assign({},D,h.end),{linesAbove:b=2,linesBelow:v=3}=g||{},E=D.line,C=D.column,A=y.line,w=y.column;let T=Math.max(E-(b+1),0),x=Math.min(m.length,A+v);-1===E&&(T=0),-1===A&&(x=m.length);const S=A-E,B={};if(S)for(let P=0;P<=S;P++){const O=P+E;B[O]=!C||(0===P?[C,m[O-1].length-C+1]:P===S?[0,w]:[0,m[O-P].length])}else B[E]=C===w?!C||[C,0]:[C,w-C];return{start:T,end:x,markerLines:B}}(t,i,n),p=t.start&&"number"==typeof t.start.column,d=String(c).length;var h;let f=(r?(0,ua.default)(e,n):e).split(pf).slice(s,c).map((h,m)=>{const g=s+1+m,D=" ".concat(g).slice(-d),y=" ".concat(D," |"),b=l[g],v=!l[g+1];if(b){let E="";if(Array.isArray(b)){const C=h.slice(0,Math.max(b[0]-1,0)).replace(/[^\t]/g," "),A=b[1]||1;E=["\n ",a(o.gutter,y.replace(/\d/g," "))," ",C,a(o.marker,"^").repeat(A)].join(""),v&&n.message&&(E+=" "+a(o.message,n.message))}return[a(o.marker,">"),a(o.gutter,y),h.length>0?" ".concat(h):"",E].join("")}return" ".concat(a(o.gutter,y)).concat(h.length>0?" ".concat(h):"")}).join("\n");return n.message&&!p&&(f="".concat(" ".repeat(d+1)).concat(n.message,"\n").concat(f)),r?u.reset(f):f}var VC=Object.defineProperty({codeFrameColumns:MC,default:function(e,t,n,r={}){if(!lf){lf=!0;const u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";V.emitWarning?V.emitWarning(u,"DeprecationWarning"):(new Error(u).name="DeprecationWarning",console.warn(new Error(u)))}return ff(e,{start:{column:n=Math.max(n,0),line:t}},r)}},"__esModule",{value:!0}),$C=ir($2);const{ConfigError:qC}=Fu,{locStart:WC,locEnd:UC}=me,zC=Object.getOwnPropertyNames,HC=Object.getOwnPropertyDescriptor;function df(e){const t={};for(const n of e.plugins)if(n.parsers)for(const r of zC(n.parsers))Object.defineProperty(t,r,HC(n.parsers,r));return t}function hf(e,t=df(e)){if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:WC,locEnd:UC};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new qC("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Mt={parse:function(e,t){const n=df(t),r=Object.keys(n).reduce((o,a)=>Object.defineProperty(o,a,{enumerable:!0,get:()=>n[a].parse}),{}),u=hf(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(o){const{loc:a}=o;if(a){const{codeFrameColumns:i}=VC;throw o.codeFrame=i(e,a,{highlightCode:!0}),o.message+="\n"+o.codeFrame,o}throw o.stack}},resolveParser:hf};const{UndefinedParserError:GC}=Fu,{getSupportInfo:mf}=gi,{resolveParser:JC}=Mt,oa={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function gf(e,t){const n=$C.basename(e).toLowerCase(),r=mf({plugins:t}).languages.filter(o=>null!==o.since);let u=r.find(o=>o.extensions&&o.extensions.some(a=>n.endsWith(a))||o.filenames&&o.filenames.some(a=>a.toLowerCase()===n));if(!u&&!n.includes(".")){const o=function(a){if("string"!=typeof a)return"";let i;try{i=dr.openSync(a,"r")}catch(s){return""}try{const s=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:dr.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(){dr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,u=0;for(;;){let a=e[r++];if(a===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(void 0===a)break}let o=e.slice(u,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const o=new F(this.options.readChunk);t=dr.readSync(this.fd,o,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(o)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let u=F.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,u=u.slice(0,n)),n&&(this.linesCache=this._extractLines(u),e&&(this.linesCache[0]=F.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}}(i).next().toString("utf8"),c=s.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(c)return c[1];const l=s.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return l?l[1]:""}catch(s){return""}finally{try{dr.closeSync(i)}catch(s){}}}(e);u=r.find(a=>a.interpreters&&a.interpreters.includes(o))}return u&&u.parsers[0]}var yf={normalize:function(e,t={}){const n=Object.assign({},e),r=mf({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,u=Object.assign({},oa,fi(r.filter(c=>void 0!==c.default).map(c=>[c.name,c.default])));if(!n.parser)if(n.filepath){if(n.parser=gf(n.filepath,n.plugins),!n.parser)throw new GC("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 o=JC(U0_normalizeApiOptions(n,[r.find(c=>"parser"===c.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const a=function(c){const{astFormat:l}=c;if(!l)throw new Error("getPlugin() requires astFormat to be set");const p=c.plugins.find(d=>d.printers&&d.printers[l]);if(!p)throw new Error("Couldn't find plugin for AST format \"".concat(l,'"'));return p}(n);n.printer=a.printers[n.astFormat];const i=fi(r.filter(c=>c.pluginDefaults&&void 0!==c.pluginDefaults[a.name]).map(c=>[c.name,c.pluginDefaults[a.name]])),s=Object.assign({},u,i);for(const[c,l]of Object.entries(s))null!=n[c]||(n[c]=l);return"json"===n.parser&&(n.trailingComma="none"),U0_normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(oa)},t))},hiddenDefaults:oa,inferParser:gf},XC=function e(t,n,r){if(Array.isArray(t))return t.map(i=>e(i,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const u=n.printer.massageAstNode;let o;o=u&&u.ignoredProperties?u.ignoredProperties:new Set;const a={};for(const[i,s]of Object.entries(t))o.has(i)||"function"==typeof s||(a[i]=e(s,n,t));if(u){const i=u(t,a,r);if(null===i)return;if(i)return i}return a},YC="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 Rt(e,t){var n={seen:[],stylize:QC};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Df(t)?n.showHidden=t:t&&ZC(n,t),Bn(n.showHidden)&&(n.showHidden=!1),Bn(n.depth)&&(n.depth=2),Bn(n.colors)&&(n.colors=!1),Bn(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=KC),Iu(n,e,n.depth)}function KC(e,t){var n=Rt.styles[t];return n?"\x1b["+Rt.colors[n][0]+"m"+e+"\x1b["+Rt.colors[n][1]+"m":e}function QC(e,t){return e}function Iu(e,t,n){if(e.customInspect&&t&&Er(t.inspect)&&t.inspect!==Rt&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Ef(r)||(r=Iu(e,r,n)),r}var u=function(f,h){if(Bn(h))return f.stylize("undefined","undefined");if(Ef(h)){var m="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return f.stylize(m,"string")}return"number"==typeof h?f.stylize(""+h,"number"):Df(h)?f.stylize(""+h,"boolean"):bf(h)?f.stylize("null","null"):void 0}(e,t);if(u)return u;var h,o=Object.keys(t),a=(h={},o.forEach(function(m,g){h[m]=!0}),h);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),_u(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return ia(t);if(0===o.length){if(Er(t))return e.stylize("[Function"+(t.name?": "+t.name:"")+"]","special");if(br(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Lu(t))return e.stylize(Date.prototype.toString.call(t),"date");if(_u(t))return ia(t)}var c,l="",p=!1,d=["{","}"];return Array.isArray(t)&&(p=!0,d=["[","]"]),Er(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),br(t)&&(l=" "+RegExp.prototype.toString.call(t)),Lu(t)&&(l=" "+Date.prototype.toUTCString.call(t)),_u(t)&&(l=" "+ia(t)),0!==o.length||p&&0!=t.length?n<0?br(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(f,h,m,g,D){for(var y=[],b=0,v=h.length;b<v;++b)vf(h,String(b))?y.push(aa(f,h,m,g,String(b),!0)):y.push("");return D.forEach(function(E){E.match(/^\d+$/)||y.push(aa(f,h,m,g,E,!0))}),y}(e,t,n,a,o):o.map(function(f){return aa(e,t,n,a,f,p)}),e.seen.pop(),function(f,h,m){return f.reduce(function(g,D){return D.indexOf("\n"),g+D.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?m[0]+(""===h?"":h+"\n ")+" "+f.join(",\n ")+" "+m[1]:m[0]+h+" "+f.join(", ")+" "+m[1]}(c,l,d)):d[0]+l+d[1]}function ia(e){return"["+Error.prototype.toString.call(e)+"]"}function aa(e,t,n,r,u,o){var a,i,s;if((s=Object.getOwnPropertyDescriptor(t,u)||{value:t[u]}).get?i=e.stylize(s.set?"[Getter/Setter]":"[Getter]","special"):s.set&&(i=e.stylize("[Setter]","special")),vf(r,u)||(a="["+u+"]"),i||(e.seen.indexOf(s.value)<0?(i=bf(n)?Iu(e,s.value,null):Iu(e,s.value,n-1)).indexOf("\n")>-1&&(i=o?i.split("\n").map(function(c){return" "+c}).join("\n").substr(2):"\n"+i.split("\n").map(function(c){return" "+c}).join("\n")):i=e.stylize("[Circular]","special")),Bn(a)){if(o&&u.match(/^\d+$/))return i;(a=JSON.stringify(""+u)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+i}function Df(e){return"boolean"==typeof e}function bf(e){return null===e}function Ef(e){return"string"==typeof e}function Bn(e){return void 0===e}function br(e){return ju(e)&&"[object RegExp]"===sa(e)}function ju(e){return"object"==typeof e&&null!==e}function Lu(e){return ju(e)&&"[object Date]"===sa(e)}function _u(e){return ju(e)&&("[object Error]"===sa(e)||e instanceof Error)}function Er(e){return"function"==typeof e}function Cf(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function sa(e){return Object.prototype.toString.call(e)}function ZC(e,t){if(!t||!ju(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function vf(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Af(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,u=0,o=Math.min(n,r);u<o;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0}Rt.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]},Rt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var ca,e5=Object.prototype.hasOwnProperty,Ff=Object.keys||function(e){var t=[];for(var n in e)e5.call(e,n)&&t.push(n);return t},xf=Array.prototype.slice;function Sf(){return void 0!==ca?ca:ca="foo"===function(){}.name}function wf(e){return Object.prototype.toString.call(e)}function Tf(e){return!Dn(e)&&"function"==typeof Ne.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}function ge(e,t){e||ye(e,!0,t,"==",Cr)}var t5=/\s*function\s+([^\(\s]*)\s*/;function Bf(e){if(Er(e)){if(Sf())return e.name;var t=e.toString().match(t5);return t&&t[1]}}function Mu(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=kf(Nf(this.actual),128)+" "+this.operator+" "+kf(Nf(this.expected),128),this.generatedMessage=!0);var t=e.stackStartFunction||ye;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,u=Bf(t),o=r.indexOf("\n"+u);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}}function kf(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function Nf(e){if(Sf()||!Er(e))return Rt(e);var t=Bf(e);return"[Function"+(t?": "+t:"")+"]"}function ye(e,t,n,r,u){throw new Mu({message:n,actual:e,expected:t,operator:r,stackStartFunction:u})}function Cr(e,t){e||ye(e,!0,t,"==",Cr)}function la(e,t,n){e!=t&&ye(e,t,n,"==",la)}function pa(e,t,n){e==t&&ye(e,t,n,"!=",pa)}function fa(e,t,n){kn(e,t,!1)||ye(e,t,n,"deepEqual",fa)}function da(e,t,n){kn(e,t,!0)||ye(e,t,n,"deepStrictEqual",da)}function kn(e,t,n,r){if(e===t)return!0;if(Dn(e)&&Dn(t))return 0===Af(e,t);if(Lu(e)&&Lu(t))return e.getTime()===t.getTime();if(br(e)&&br(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(Tf(e)&&Tf(t)&&wf(e)===wf(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Af(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Dn(e)!==Dn(t))return!1;var u=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==u&&u===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(o,a,i,s){if(null==o||null==a)return!1;if(Cf(o)||Cf(a))return o===a;if(i&&Object.getPrototypeOf(o)!==Object.getPrototypeOf(a))return!1;var c=Pf(o),l=Pf(a);if(c&&!l||!c&&l)return!1;if(c)return kn(o=xf.call(o),a=xf.call(a),i);var p,d,f=Ff(o),h=Ff(a);if(f.length!==h.length)return!1;for(f.sort(),h.sort(),d=f.length-1;d>=0;d--)if(f[d]!==h[d])return!1;for(d=f.length-1;d>=0;d--)if(!kn(o[p=f[d]],a[p],i,s))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Pf(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function ha(e,t,n){kn(e,t,!1)&&ye(e,t,n,"notDeepEqual",ha)}function ma(e,t,n){kn(e,t,!0)&&ye(e,t,n,"notDeepStrictEqual",ma)}function ga(e,t,n){e!==t&&ye(e,t,n,"===",ga)}function ya(e,t,n){e===t&&ye(e,t,n,"!==",ya)}function Of(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 If(e,t,n,r){var u;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),u=function(i){var s;try{i()}catch(c){s=c}return s}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!u&&ye(u,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&u&&!n;if((!e&&_u(u)&&o&&Of(u,n)||a)&&ye(u,n,"Got unwanted exception"+r),e&&u&&n&&!Of(u,n)||!e&&u)throw u}function jf(e,t,n){If(!0,e,t,n)}function Lf(e,t,n){If(!1,e,t,n)}function _f(e){if(e)throw e}ge.AssertionError=Mu,YC(Mu,Error),ge.fail=ye,ge.ok=Cr,ge.equal=la,ge.notEqual=pa,ge.deepEqual=fa,ge.deepStrictEqual=da,ge.notDeepEqual=ha,ge.notDeepStrictEqual=ma,ge.strictEqual=ga,ge.notStrictEqual=ya,ge.throws=jf,ge.doesNotThrow=Lf,ge.ifError=_f;var it=ir(Object.freeze({__proto__:null,default:ge,AssertionError:Mu,fail:ye,ok:Cr,assert:Cr,equal:la,notEqual:pa,deepEqual:fa,deepStrictEqual:da,notDeepEqual:ha,notDeepStrictEqual:ma,strictEqual:ga,notStrictEqual:ya,throws:jf,doesNotThrow:Lf,ifError:_f}));const{builders:{line:n5,hardline:bt,breakParent:r5,indent:u5,lineSuffix:Mf,join:Rf,cursor:Da}}=N,{hasNewline:Nn,skipNewline:o5,skipSpaces:i5,isPreviousLineEmpty:a5,addLeadingComment:vr,addDanglingComment:ba,addTrailingComment:Ar}=I,Ea=new WeakMap;function Ca(e,t,n){if(!e)return;const{printer:r,locStart:u,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let i;for(i=n.length-1;i>=0&&!(u(n[i])<=u(e)&&o(n[i])<=o(e));--i);return void n.splice(i+1,0,e)}}else if(Ea.has(e))return Ea.get(e);const a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(([i])=>"enclosingNode"!==i&&"precedingNode"!==i&&"followingNode"!==i&&"tokens"!==i&&"comments"!==i).map(([,i])=>i);if(a){n||Ea.set(e,n=[]);for(const i of a)Ca(i,t,n);return n}}function Vf(e,t,n,r){const{locStart:u,locEnd:o}=n,a=u(t),i=o(t),s=Ca(e,n);let c,l,p=0,d=s.length;for(;p<d;){const f=p+d>>1,h=s[f],m=u(h),g=o(h);if(m<=a&&i<=g)return Vf(h,t,n,h);if(g<=a)c=h,p=f+1;else{if(!(i<=m))throw new Error("Comment location overlaps with node location");l=h,d=f}}if(r&&"TemplateLiteral"===r.type){const{quasis:f}=r,h=Fa(f,t,n);c&&Fa(f,c,n)!==h&&(c=null),l&&Fa(f,l,n)!==h&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}const va=()=>!1,$f=e=>!/[\S\n\u2028\u2029]/.test(e);function s5(e,t,n,r){const{comment:u,precedingNode:o}=n[r],{locStart:a,locEnd:i}=t;let s=a(u);if(o)for(let c=r-1;c>=0;c--){const{comment:l,precedingNode:p}=n[c];if(p!==o||!$f(e.slice(i(l),s)))break;s=a(l)}return Nn(e,s,{backwards:!0})}function c5(e,t,n,r){const{comment:u,followingNode:o}=n[r],{locStart:a,locEnd:i}=t;let s=i(u);if(o)for(let c=r+1;c<n.length;c++){const{comment:l,followingNode:p}=n[c];if(p!==o||!$f(e.slice(s,a(l))))break;s=i(l)}return Nn(e,s)}function qf(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:u,followingNode:o,enclosingNode:a}=e[0],i=n.printer.getGapRegex&&n.printer.getGapRegex(a)||/^[\s(]*$/;let s,c=n.locStart(o);for(s=r;s>0;--s){const{comment:l,precedingNode:p,followingNode:d}=e[s-1];it.strictEqual(p,u),it.strictEqual(d,o);const f=t.slice(n.locEnd(l),c);if(!i.test(f))break;c=n.locStart(l)}for(const[l,{comment:p}]of e.entries())l<s?Ar(u,p):vr(o,p);for(const l of[u,o])l.comments&&l.comments.length>1&&l.comments.sort((p,d)=>n.locStart(p)-n.locStart(d));e.length=0}function Aa(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Fa(e,t,n){const r=n.locStart(t)-1;for(let u=1;u<e.length;++u)if(r<n.locStart(e[u]))return u-1;return 0}function Wf(e,t,n){const r=e.getValue();if(!r)return{};let u=r.comments||[];n&&(u=u.filter(s=>!n.has(s)));const o=r===t.cursorNode;if(0===u.length){const s=o?Da:"";return{leading:s,trailing:s}}const a=[],i=[];return e.each(()=>{const s=e.getValue();if(n&&n.has(s))return;const{leading:c,trailing:l}=s;c?a.push(function(p,d){const f=p.getValue(),h=[Aa(p,d)],{printer:m,originalText:g,locStart:D,locEnd:y}=d;if(m.isBlockComment&&m.isBlockComment(f)){const v=Nn(g,y(f))?Nn(g,D(f),{backwards:!0})?bt:n5:" ";h.push(v)}else h.push(bt);const b=o5(g,i5(g,y(f)));return!1!==b&&Nn(g,b)&&h.push(bt),h}(e,t)):l&&i.push(function(p,d){const f=p.getValue(),h=Aa(p,d),{printer:m,originalText:g,locStart:D}=d,y=m.isBlockComment&&m.isBlockComment(f);if(Nn(g,D(f),{backwards:!0})){const v=a5(g,f,D);return Mf([bt,v?bt:"",h])}let b=[" ",h];return y||(b=[Mf(b),r5]),b}(e,t))},"comments"),o&&(a.unshift(Da),i.push(Da)),{leading:a,trailing:i}}var W={attach:function(e,t,n,r){if(!Array.isArray(e))return;const u=[],{locStart:o,locEnd:a,printer:{handleComments:i={}}}=r,{avoidAstMutation:s,ownLine:c=va,endOfLine:l=va,remaining:p=va}=i,d=e.map((f,h)=>Object.assign({},Vf(t,f,r),{comment:f,text:n,options:r,ast:t,isLastComment:e.length-1===h}));for(const[f,h]of d.entries()){const{comment:m,precedingNode:g,enclosingNode:D,followingNode:y,text:b,options:v,ast:E,isLastComment:C}=h;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser){if(o(m)-o(E)<=0){vr(E,m);continue}if(a(m)-a(E)>=0){Ar(E,m);continue}}let A;if(s?A=[h]:(m.enclosingNode=D,m.precedingNode=g,m.followingNode=y,A=[m,b,v,E,C]),s5(b,v,d,f))m.placement="ownLine",c(...A)||(y?vr(y,m):g?Ar(g,m):ba(D||E,m));else if(c5(b,v,d,f))m.placement="endOfLine",l(...A)||(g?Ar(g,m):y?vr(y,m):ba(D||E,m));else if(m.placement="remaining",!p(...A))if(g&&y){const w=u.length;w>0&&u[w-1].followingNode!==y&&qf(u,b,v),u.push(h)}else g?Ar(g,m):y?vr(y,m):ba(D||E,m)}if(qf(u,n,r),!s)for(const f of e)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode},printComments:function(e,t,n,r){const{leading:u,trailing:o}=Wf(e,n,r);return u||o?[u,t,o]:t},printCommentsSeparately:Wf,printDanglingComments:function(e,t,n,r){const u=[],o=e.getValue();return o&&o.comments?(e.each(()=>{const a=e.getValue();a.leading||a.trailing||r&&!r(a)||u.push(Aa(e,t))},"comments"),0===u.length?"":n?Rf(bt,u):u5([bt,Rf(bt,u)])):""},getSortedChildNodes:Ca,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 Uf(e,t){const n=zf(e.stack,t);return-1===n?null:e.stack[n]}function zf(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:p5}}=N,{normalize:f5}=yf;var d5_printSubtree=function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(u,o,a)=>function(i,s,c,l,{stripTrailingHardline:p=!1}={}){const d=f5(Object.assign({},c,s,{parentParser:c.parser,originalText:i}),{passThrough:!0}),f=Mt.parse(i,d),{ast:h}=f;i=f.text;const m=h.comments;delete h.comments,W.attach(m,h,i,d),d[Symbol.for("comments")]=m||[],d[Symbol.for("tokens")]=h.tokens||[];const g=l(h,d);return W.ensureAllCommentsPrinted(m),p?"string"==typeof g?g.replace(/(?:\r?\n)*$/,""):p5(g):g}(u,o,n,r,a),n)};const{builders:{hardline:h5,addAlignmentToDoc:m5},utils:{propagateBreaks:g5}}=N,{printComments:y5}=W;var xa=function Hf(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const u=new Map,o=new class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return X(this.stack)}getNode(e=0){return Uf(this,e)}getParentNode(e=0){return Uf(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let u=X(n);for(const a of t)u=u[a],n.push(a,u);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=zf(this.stack,t+1),r=this.stack.splice(n+1),u=e(this);return this.stack.push(...r),u}each(e,...t){const{stack:n}=this,{length:r}=n;let u=X(n);for(const o of t)u=u[o],n.push(o,u);for(let o=0;o<u.length;++o)n.push(o,u[o]),e(this,o,u),n.length-=2;n.length=r}map(e,...t){const n=[];return this.each((r,u,o)=>{n[u]=e(r,u,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 u of e){if(void 0===r)return!1;let o=null;if("number"==typeof n&&(o=n,n=this.stack[t--],r=this.stack[t--]),u&&!u(r,n,o))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 u=null;if("number"==typeof n&&(u=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,u))return r;n=this.stack[t--],r=this.stack[t--]}}}(e);let a=i();return n>0&&(a=m5([h5,a],n,t.tabWidth)),g5(a),a;function i(c,l){return void 0===c||c===o?s(l):Array.isArray(c)?o.call(()=>s(l),...c):o.call(()=>s(l),c)}function s(c){const l=o.getValue(),p=l&&"object"==typeof l&&void 0===c;if(p&&u.has(l))return u.get(l);const d=function(f,h,m,g){const D=f.getValue(),{printer:y}=h;let b,v;if(y.hasPrettierIgnore&&y.hasPrettierIgnore(f))({doc:b,printedComments:v}=function(E,C){const{originalText:A,[Symbol.for("comments")]:w,locStart:T,locEnd:x}=C,S=T(E),B=x(E),P=new Set;for(const O of w)T(O)>=S&&x(O)<=B&&(O.printed=!0,P.add(O));return{doc:A.slice(S,B),printedComments:P}}(D,h));else{if(D)try{b=d5_printSubtree(f,m,h,Hf)}catch(E){if(dt.PRETTIER_DEBUG)throw E}b||(b=y.print(f,h,m,g))}return y.willPrintOwnComments&&y.willPrintOwnComments(f,h)||(b=y5(f,b,h,v)),b}(o,t,i,c);return p&&u.set(l,d),d}};function Gf(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 Ru(e,t,n,r,u=[],o){const{locStart:a,locEnd:i}=n,s=a(e),c=i(e);if(!(t>c||t<s||"rangeEnd"===o&&t===s||"rangeStart"===o&&t===c)){for(const l of W.getSortedChildNodes(e,n)){const p=Ru(l,t,n,r,[e,...u],o);if(p)return p}return!r||r(e,u[0])?{node:e,parentNodes:u}:void 0}}const Jf=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),D5=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Xf(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 Jf.has(t.type);case"graphql":return D5.has(t.kind);case"vue":return"root"!==t.tag}var r;return!1}var Yf={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:u,locStart:o,locEnd:a}=t;it.ok(u>r);const i=e.slice(r,u).search(/\S/),s=-1===i;if(!s)for(r+=i;u>r&&!/\S/.test(e[u-1]);--u);const c=Ru(n,r,t,(f,h)=>Xf(t,f,h),[],"rangeStart"),l=s?c:Ru(n,u,t,f=>Xf(t,f),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,d;if((({parser:f})=>"json"===f||"json5"===f||"json-stringify"===f)(t)){const f=function(h,m){const g=[h.node,...h.parentNodes],D=new Set([m.node,...m.parentNodes]);return g.find(y=>Jf.has(y.type)&&D.has(y))}(c,l);p=f,d=f}else({startNode:p,endNode:d}=function(f,h,{locStart:m,locEnd:g}){let D=f.node,y=h.node;if(D===y)return{startNode:D,endNode:y};const b=m(f.node);for(const E of Gf(h.parentNodes)){if(!(m(E)>=b))break;y=E}const v=g(h.node);for(const E of Gf(f.parentNodes)){if(!(g(E)<=v))break;D=E}return{startNode:D,endNode:y}}(c,l,t));return{rangeStart:Math.min(o(p),o(d)),rangeEnd:Math.max(a(p),a(d))}},findNodeAtOffset:Ru};const{printer:{printDocToString:Sa},debug:{printDocToDebug:b5}}=N,{getAlignmentSize:E5}=I,{guessEndOfLine:C5,convertEndOfLineToChars:Kf,countEndOfLineChars:Qf,normalizeEndOfLine:v5}=Ei,Fr=yf.normalize,Zf=Symbol("cursor");function ed(e,t,n){const r=t.comments;return r&&(delete t.comments,W.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function td(e,t,n=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:u}=Mt.parse(e,t);if(t.cursorOffset>=0){const s=Yf.findNodeAtOffset(r,t.cursorOffset,t);s&&s.node&&(t.cursorNode=s.node)}const o=ed(u,r,t),a=xa(r,t,n),i=Sa(a,t);if(W.ensureAllCommentsPrinted(o),n>0){const s=i.formatted.trim();void 0!==i.cursorNodeStart&&(i.cursorNodeStart-=i.formatted.indexOf(s)),i.formatted=s+Kf(t.endOfLine)}if(t.cursorOffset>=0){let s,c,l,p,d;if(t.cursorNode&&i.cursorNodeText?(s=t.locStart(t.cursorNode),c=u.slice(s,t.locEnd(t.cursorNode)),l=t.cursorOffset-s,p=i.cursorNodeStart,d=i.cursorNodeText):(s=0,c=u,l=t.cursorOffset,p=0,d=i.formatted),c===d)return{formatted:i.formatted,cursorOffset:p+l,comments:o};const f=c.split("");f.splice(l,0,Zf);const h=d.split(""),m=t2.diffArrays(f,h);let g=p;for(const D of m)if(D.removed){if(D.value.includes(Zf))break}else g+=D.count;return{formatted:i.formatted,cursorOffset:g,comments:o}}return{formatted:i.formatted,cursorOffset:-1,comments:o}}function wa(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function nd(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u}=t;return n=wa(e,n,-1),r=wa(e,r,0),u=wa(e,u,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:u})}function rd(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:o}=nd(e,t);const a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),n--,r--,u--),"auto"===o&&(o=C5(e)),e.includes("\r")){const i=s=>Qf(e.slice(0,Math.max(s,0)),"\r\n");n-=i(n),r-=i(r),u-=i(u),e=v5(e)}return{hasBOM:a,text:e,options:nd(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:o}))}}function ud(e,t){const n=Mt.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function od(e,t){let n,{hasBOM:r,text:u,options:o}=rd(e,Fr(t));return o.rangeStart>=o.rangeEnd&&""!==u||o.requirePragma&&!ud(u,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<u.length?n=function(a,i){const{ast:s,text:c}=Mt.parse(a,i),{rangeStart:l,rangeEnd:p}=Yf.calculateRange(c,i,s),d=c.slice(l,p),f=Math.min(l,c.lastIndexOf("\n",l)+1),h=c.slice(f,l).match(/^\s*/)[0],m=E5(h,i.tabWidth),g=td(d,Object.assign({},i,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:i.cursorOffset>l&&i.cursorOffset<p?i.cursorOffset-l:-1,endOfLine:"lf"}),m),D=g.formatted.trimEnd();let{cursorOffset:y}=i;y>=p?y+=D.length-d.length:g.cursorOffset>=0&&(y=g.cursorOffset+l);let b=c.slice(0,l)+D+c.slice(p);if("lf"!==i.endOfLine){const v=Kf(i.endOfLine);y>=0&&"\r\n"===v&&(y+=Qf(b.slice(0,y),"\n")),b=b.replace(/\n/g,v)}return{formatted:b,cursorOffset:y,comments:g.comments}}(u,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!ud(u,o)&&(u=o.printer.insertPragma(u)),n=td(u,o)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Pn={formatWithCursor:od,parse(e,t,n){const{text:r,options:u}=rd(e,Fr(t)),o=Mt.parse(r,u);return n&&(o.ast=XC(o.ast,u)),o},formatAST(e,t){t=Fr(t);const n=xa(e,t);return Sa(n,t)},formatDoc:(e,t)=>od(b5(e),Object.assign({},t,{parser:"__js_expression"})).formatted,printToDoc(e,t){t=Fr(t);const{ast:n,text:r}=Mt.parse(e,t);return ed(r,n,t),xa(n,t)},printDocToString:(e,t)=>Sa(e,Fr(t))};const{getMaxContinuousCount:A5,getStringWidth:F5,getAlignmentSize:x5,getIndentSize:S5,skip:w5,skipWhitespace:T5,skipSpaces:B5,skipNewline:k5,skipToLineEnd:N5,skipEverythingButNewLine:P5,skipInlineComment:O5,skipTrailingComment:I5,hasNewline:j5,hasNewlineInRange:L5,hasSpaces:_5,isNextLineEmpty:M5,isNextLineEmptyAfterIndex:R5,isPreviousLineEmpty:V5,getNextNonSpaceNonCommentCharacterIndex:$5,makeString:q5,addLeadingComment:W5,addDanglingComment:U5,addTrailingComment:z5}=I;var H5={getMaxContinuousCount:A5,getStringWidth:F5,getAlignmentSize:x5,getIndentSize:S5,skip:w5,skipWhitespace:T5,skipSpaces:B5,skipNewline:k5,skipToLineEnd:N5,skipEverythingButNewLine:P5,skipInlineComment:O5,skipTrailingComment:I5,hasNewline:j5,hasNewlineInRange:L5,hasSpaces:_5,isNextLineEmpty:M5,isNextLineEmptyAfterIndex:R5,isPreviousLineEmpty:V5,getNextNonSpaceNonCommentCharacterIndex:$5,makeString:q5,addLeadingComment:W5,addDanglingComment:U5,addTrailingComment:z5},U=function(e,t){const{languageId:n}=e,r=or(e,["languageId"]);return Object.assign({linguistLanguageId:n},r,t(e))},G5=j(function(e){!function(){function t(r){if(null==r)return!1;switch(r.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(r){switch(r.type){case"IfStatement":return null!=r.alternate?r.alternate:r.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return r.body}return null}e.exports={isExpression:function(r){if(null==r)return!1;switch(r.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(r){if(null==r)return!1;switch(r.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(r){return t(r)||null!=r&&"FunctionDeclaration"===r.type},isProblematicIfStatement:function(r){var u;if("IfStatement"!==r.type||null==r.alternate)return!1;u=r.consequent;do{if("IfStatement"===u.type&&null==u.alternate)return!0;u=n(u)}while(u);return!1},trailingStatement:n}}()}),id=j(function(e){!function(){var t,n,r,u,o,a;function i(s){return s<=65535?String.fromCharCode(s):String.fromCharCode(Math.floor((s-65536)/1024)+55296)+String.fromCharCode((s-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],u=new Array(128),a=0;a<128;++a)u[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(s){return 48<=s&&s<=57},isHexDigit:function(s){return 48<=s&&s<=57||97<=s&&s<=102||65<=s&&s<=70},isOctalDigit:function(s){return s>=48&&s<=55},isWhiteSpace:function(s){return 32===s||9===s||11===s||12===s||160===s||s>=5760&&r.indexOf(s)>=0},isLineTerminator:function(s){return 10===s||13===s||8232===s||8233===s},isIdentifierStartES5:function(s){return s<128?u[s]:n.NonAsciiIdentifierStart.test(i(s))},isIdentifierPartES5:function(s){return s<128?o[s]:n.NonAsciiIdentifierPart.test(i(s))},isIdentifierStartES6:function(s){return s<128?u[s]:t.NonAsciiIdentifierStart.test(i(s))},isIdentifierPartES6:function(s){return s<128?o[s]:t.NonAsciiIdentifierPart.test(i(s))}}}()}),J5=j(function(e){!function(){var t=id;function n(s,c){return!(!c&&"yield"===s)&&r(s,c)}function r(s,c){if(c&&function(l){switch(l){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(s))return!0;switch(s.length){case 2:return"if"===s||"in"===s||"do"===s;case 3:return"var"===s||"for"===s||"new"===s||"try"===s;case 4:return"this"===s||"else"===s||"case"===s||"void"===s||"with"===s||"enum"===s;case 5:return"while"===s||"break"===s||"catch"===s||"throw"===s||"const"===s||"yield"===s||"class"===s||"super"===s;case 6:return"return"===s||"typeof"===s||"delete"===s||"switch"===s||"export"===s||"import"===s;case 7:return"default"===s||"finally"===s||"extends"===s;case 8:return"function"===s||"continue"===s||"debugger"===s;case 10:return"instanceof"===s;default:return!1}}function u(s,c){return"null"===s||"true"===s||"false"===s||n(s,c)}function o(s,c){return"null"===s||"true"===s||"false"===s||r(s,c)}function a(s){var c,l,p;if(0===s.length||(p=s.charCodeAt(0),!t.isIdentifierStartES5(p)))return!1;for(c=1,l=s.length;c<l;++c)if(p=s.charCodeAt(c),!t.isIdentifierPartES5(p))return!1;return!0}function i(s){var c,l,p,d,f;if(0===s.length)return!1;for(f=t.isIdentifierStartES6,c=0,l=s.length;c<l;++c){if(55296<=(p=s.charCodeAt(c))&&p<=56319){if(++c>=l||!(56320<=(d=s.charCodeAt(c))&&d<=57343))return!1;p=1024*(p-55296)+(d-56320)+65536}if(!f(p))return!1;f=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:o,isRestrictedWord:function(s){return"eval"===s||"arguments"===s},isIdentifierNameES5:a,isIdentifierNameES6:i,isIdentifierES5:function(s,c){return a(s)&&!u(s,c)},isIdentifierES6:function(s,c){return i(s)&&!o(s,c)}}}()});const X5=j(function(e,t){t.ast=G5,t.code=id,t.keyword=J5}).keyword.isIdentifierNameES5,{getLast:ad,hasNewline:sd,skipWhitespace:Y5,isNonEmptyArray:cd,isNextLineEmptyAfterIndex:K5}=I,{locStart:ld,locEnd:Ta,hasSameLocStart:pd}=me,fd="(?:(?=.)\\s)",Q5=new RegExp("^".concat(fd,"*:")),Z5=new RegExp("^".concat(fd,"*::"));function dd(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Vt(e)||$t(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function xr(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function hd(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const ev=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function md(e){return e&&ev.has(e.type)}function Ba(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function ka(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Sr(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Na(e){return Vt(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Pa(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function gd(e){return"get"===e.kind||"set"===e.kind}function yd(e){return gd(e)||pd(e,e.value)}const tv=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),nv=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"]),Dd=/^(skip|[fx]?(it|describe|test))$/;function Vt(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function $t(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Oa(e,t){return Pa(t)?Ra(t):On(t,Ie.Leading,n=>sd(e,Ta(n)))}function bd(e){return/^(\d+|\d+\.\d+)$/.test(e)}function Ed(e){return e.quasis.some(t=>t.value.raw.includes("\n"))}function Cd(e){return e.extra?e.extra.raw:e.raw}const vd={"==":!0,"!=":!0,"===":!0,"!==":!0},Vu={"*":!0,"/":!0,"%":!0},Ia={">>":!0,">>>":!0,"<<":!0},Ad={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const n of t)Ad[n]=e;function ja(e){return Ad[e]}const La=new WeakMap;function _a(e){if(La.has(e))return La.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),La.set(e,t),t}const Ma=new WeakMap;function Fd(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ra(e){return e&&(e.prettierIgnore||On(e,Ie.PrettierIgnore))}const Ie={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},xd=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,u)=>!(e&Ie.Leading&&!n.leading||e&Ie.Trailing&&!n.trailing||e&Ie.Dangling&&(n.leading||n.trailing)||e&Ie.Block&&!xr(n)||e&Ie.Line&&!hd(n)||e&Ie.First&&0!==r||e&Ie.Last&&r!==u.length-1||e&Ie.PrettierIgnore&&!Fd(n)||t&&!t(n))};function On(e,t,n){if(!e||!cd(e.comments))return!1;const r=xd(t,n);return!r||e.comments.some(r)}function Sd(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=xd(t,n);return r?e.comments.filter(r):e.comments}function wd(e){return Vt(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var _={getFunctionParameters:_a,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const u=o=>t(o,r++);n.this&&e.call(u,"this"),Array.isArray(n.parameters)?e.each(u,"parameters"):Array.isArray(n.params)&&e.each(u,"params"),n.rest&&e.call(u,"rest")},getCallArguments:function(e){if(Ma.has(e))return Ma.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return Ma.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call(n=>t(n,0),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=_a(e);return t.length>0&&"RestElement"===ad(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()&&md(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&xr(e[0])&&Z5.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&cd(e.trailingComments)&&xr(e.trailingComments[0])&&Q5.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:Oa,hasNakedLeftSide:dd,hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some(u=>e(u,n));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some(u=>e(u,n))},hasIgnoreComment:function(e){return Ra(e.getValue())},hasNodeIgnoreComment:Ra,identity:function(e){return e},isBinaryish:function(e){return tv.has(e.type)},isBlockComment:xr,isCallLikeExpression:wd,isLineComment:hd,isPrettierIgnoreComment:Fd,isCallExpression:Vt,isMemberExpression:$t,isExportDeclaration:md,isFlowAnnotationComment:function(e,t){const n=ld(t),r=Y5(e,Ta(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(Sr(n)){if(t+=1,t>1)return!0}else if(Vt(n))for(const r of n.arguments)if(Sr(r))return!0;return!1},isFunctionNotation:yd,isFunctionOrArrowExpression:Sr,isGetterOrSetter:gd,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:Pa,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 Vt(t)&&Vt(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=o=>e(o,n+1),u="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(u&&u.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(o=>!o.value.raw.includes("\n"))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(o=>!o.computed&&(o.shorthand||o.value&&r(o.value))):"ArrayExpression"===t.type?t.elements.every(o=>null===o||r(o)):"ImportExpression"===t.type?r(t.source):wd(t)?e(t.callee,n)&&t.arguments.every(r):$t(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 $t(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:Ba,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&Ba(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||yd(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!nv.has(e.type))},isSimpleNumber:bd,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(r=>{if(On(r))return!1;if("Identifier"===r.type||"ThisExpression"===r.type)return!0;if($t(r)){let u=r;for(;$t(u);)if("Identifier"!==u.property.type&&"Literal"!==u.property.type&&"StringLiteral"!==u.property.type&&"NumericLiteral"!==u.property.type||(u=u.object,On(u)))return!1;return"Identifier"===u.type||"ThisExpression"===u.type}return!1})},isStringLiteral:ka,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&ka(e.key)&&Cd(e.key).slice(1,-1)===e.key.value&&(X5(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||bd(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&&Ed(e)||"TaggedTemplateExpression"===e.type&&Ed(e.quasi))&&!sd(t,ld(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Na(t)&&n&&e(n))return Sr(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return Na(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Dd.test(t.callee.name)||function(r){return $t(r.callee)&&"Identifier"===r.callee.object.type&&"Identifier"===r.callee.property.type&&Dd.test(r.callee.object.name)&&("only"===r.callee.property.name||"skip"===r.callee.property.name)}(t))&&(function(r){return"TemplateLiteral"===r.type}(t.arguments[0])||ka(t.arguments[0])))return!(t.arguments[2]&&!Ba(t.arguments[2]))&&((2===t.arguments.length?Sr(t.arguments[1]):function(r){return"FunctionExpression"===r.type||"ArrowFunctionExpression"===r.type&&"BlockStatement"===r.body.type}(t.arguments[1])&&_a(t.arguments[1]).length<=1)||Na(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||!Pa(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||pd(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>K5(t,Ta(e)),needsHardlineAfterDanglingComment:function(e){if(!On(e))return!1;const t=ad(Sd(e,Ie.Dangling));return t&&!xr(t)},rawText:Cd,returnArgumentHasLeadingComment:function(e,t){if(Oa(e.originalText,t))return!0;if(dd(t)){let r,u=t;for(;r=(n=u).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(u=r,Oa(e.originalText,u))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(Ia[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(ja(t)!==ja(e)||"**"===e||vd[e]&&vd[t]||"%"===t&&Vu[e]||"%"===e&&Vu[t]||t!==e&&Vu[t]&&Vu[e]||Ia[e]&&Ia[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(r){for(;r.left;)r=r.left;return r}(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:ja,hasComment:On,getComments:Sd,CommentCheckFlags:Ie};const{getStringWidth:Td,getIndentSize:rv}=I,{builders:{join:Bd,hardline:Va,softline:$u,group:kd,indent:$a,align:uv,lineSuffixBoundary:qu,addAlignmentToDoc:ov},printer:{printDocToString:Nd},utils:{mapDoc:iv}}=N,{isBinaryish:av,isJestEachTemplateLiteral:sv,isSimpleTemplateLiteral:cv,hasComment:Pd,isMemberExpression:lv}=_;function Od(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var In={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&sv(r,e.getParentNode())){const s=function(c,l,p){const d=c.getNode(),f=d.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(f.length>1||f.some(h=>h.length>0)){l.__inJestEach=!0;const h=c.map(p,"expressions");l.__inJestEach=!1;const m=[],g=h.map(E=>"${"+Nd(E,Object.assign({},l,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),D=[{hasLineBreak:!1,cells:[]}];for(let E=1;E<d.quasis.length;E++){const C=X(D),A=g[E-1];C.cells.push(A),A.includes("\n")&&(C.hasLineBreak=!0),d.quasis[E].value.raw.includes("\n")&&D.push({hasLineBreak:!1,cells:[]})}const y=Math.max(f.length,...D.map(E=>E.cells.length)),b=Array.from({length:y}).fill(0),v=[{cells:f},...D.filter(E=>E.cells.length>0)];for(const{cells:E}of v.filter(C=>!C.hasLineBreak))for(const[C,A]of E.entries())b[C]=Math.max(b[C],Td(A));return m.push(qu,"`",$a([Va,Bd(Va,v.map(E=>Bd(" | ",E.cells.map((C,A)=>E.hasLineBreak?C:C+" ".repeat(b[A]-Td(C))))))]),Va,"`"),m}}(e,n,t);if(s)return s}let u="expressions";"TSTemplateLiteralType"===r.type&&(u="types");const o=[];let a=e.map(t,u);const i=cv(r);return i&&(a=a.map(s=>Nd(s,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted)),o.push(qu,"`"),e.each(s=>{const c=s.getName();if(o.push(t()),c<a.length){const{tabWidth:l}=n,p=s.getValue(),d=rv(p.value.raw,l);let f=a[c];if(!i){const m=r[u][c];(Pd(m)||lv(m)||"ConditionalExpression"===m.type||"SequenceExpression"===m.type||"TSAsExpression"===m.type||av(m))&&(f=[$a([$u,f]),$u])}const h=0===d&&p.value.raw.endsWith("\n")?uv(Number.NEGATIVE_INFINITY,f):ov(f,d,l);o.push(kd(["${",h,qu,"}"]))}},"quasis"),o.push("`"),o},printTemplateExpressions:function(e,t){return e.map(n=>function(r,u){const o=r.getValue();let a=u();return Pd(o)&&(a=kd([$a([$u,a]),$u])),["${",a,qu,"}"]}(n,t),"expressions")},escapeTemplateCharacters:function(e,t){return iv(e,n=>"string"==typeof n?t?n.replace(/(\\*)`/g,"$1$1\\`"):Od(n):n)},uncookTemplateElementValue:Od};const{builders:{indent:pv,softline:Id,literalline:fv,dedentToRoot:dv}}=N,{escapeTemplateCharacters:hv}=In;const{isNonEmptyArray:gv}=I,{builders:{indent:yv,hardline:Dv,softline:bv},utils:{mapDoc:Ev,replaceNewlinesWithLiterallines:Cv,cleanDoc:vv}}=N,{printTemplateExpressions:Av}=In;const{builders:{indent:xv,join:jd,hardline:wr}}=N,{escapeTemplateCharacters:Sv,printTemplateExpressions:wv}=In;function Tv(e){const t=[];let n=!1;const r=e.map(u=>u.trim());for(const[u,o]of r.entries())""!==o&&(t.push(""===r[u-1]&&n?[wr,o]:o),n=!0);return 0===t.length?null:jd(wr,t)}const{builders:{indent:Ld,line:kv,hardline:Nv,group:Wu},utils:{mapDoc:Pv}}=N,{printTemplateExpressions:Ov,uncookTemplateElementValue:Iv}=In;let qa=0;const{hasComment:Lv,CommentCheckFlags:_d}=_;const Md=[(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 Uu(e){return"Identifier"===e.type&&"styled"===e.name}function Rd(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Vd(e,t){return Lv(e,_d.Block|_d.Leading,({value:n})=>n===" ".concat(t," "))}const{isBlockComment:Rv}=_,Vv=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),jn=e=>{for(const t of e.quasis)delete t.value};function $d(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(u=>"jsx"===u.name.name))for(const{type:u,expression:o}of t.children)"JSXExpressionContainer"===u&&"TemplateLiteral"===o.type&&jn(o);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&jn(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const u=e.expression.arguments[0].properties;for(const[o,a]of t.expression.arguments[0].properties.entries())switch(u[o].key.name){case"styles":"ArrayExpression"===a.value.type&&jn(a.value.elements[0]);break;case"template":"TemplateLiteral"===a.value.type&&jn(a.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||jn(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some(u=>Rv(u)&&["GraphQL","HTML"].some(o=>u.value===" ".concat(o," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&jn(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}$d.ignoredProperties=Vv;var $v=$d;const qd=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(r=>"\r\n"===r).length;return n>t.length-n?"\r\n":"\n"};var Wd=qd;Wd.graceful=e=>"string"==typeof e&&qd(e)||"\n";function Wa(){const e=Su;return Wa=function(){return e},e}function Ua(){const e=(t=Wd)&&t.__esModule?t:{default:t};var t;return Ua=function(){return e},e}const Gv=/\*\/$/,Jv=/^\/\*\*/,Ud=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Xv=/(^|\s+)\/\/([^\r\n]*)/g,zd=/^(\r?\n)+/,Yv=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Hd=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Kv=/(\r?\n|^) *\* ?/g,Gd=[];function Jd(e){const t=(0,Ua().default)(e)||Wa().EOL;e=e.replace(Jv,"").replace(Gv,"").replace(Kv,"$1");let n="";for(;n!==e;)n=e,e=e.replace(Yv,"".concat(t,"$1 $2").concat(t));e=e.replace(zd,"").trimRight();const r=Object.create(null),u=e.replace(Hd,"").replace(zd,"").trimRight();let o;for(;o=Hd.exec(e);){const a=o[2].replace(Xv,"");r[o[1]]="string"==typeof r[o[1]]||Array.isArray(r[o[1]])?Gd.concat(r[o[1]],a):a}return{comments:u,pragmas:r}}function Xd(e,t){return Gd.concat(t).map(n=>"@".concat(e," ").concat(n).trim())}var Qv=Object.defineProperty({extract:function(e){const t=e.match(Ud);return t?t[0].trimLeft():""},strip:function(e){const t=e.match(Ud);return t&&t[0]?e.substring(t[0].length):e},parse:function(e){return Jd(e).pragmas},parseWithComments:Jd,print:function({comments:e="",pragmas:t={}}){const n=(0,Ua().default)(e)||Wa().EOL,u=Object.keys(t),o=u.map(i=>Xd(i,t[i])).reduce((i,s)=>i.concat(s),[]).map(i=>" * "+i+n).join("");if(!e){if(0===u.length)return"";if(1===u.length&&!Array.isArray(t[u[0]])){const i=t[u[0]];return"".concat("/**"," ").concat(Xd(u[0],i)[0]).concat(" */")}}const a=e.split(n).map(i=>"".concat(" *"," ").concat(i)).join(n)+n;return"/**"+n+(e?a:"")+(e&&u.length?" *"+n:"")+o+" */"}},"__esModule",{value:!0});const{parseWithComments:Zv,strip:eA,extract:tA,print:nA}=Qv,{getShebang:rA}=I,{normalizeEndOfLine:uA}=Ei;function Yd(e){const t=rA(e);t&&(e=e.slice(t.length+1));const n=tA(e),{pragmas:r,comments:u}=Zv(n);return{shebang:t,text:e,pragmas:r,comments:u}}var za={hasPragma:function(e){const t=Object.keys(Yd(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:u}=Yd(e),o=eA(n),a=nA({pragmas:Object.assign({format:""},r),comments:u.trimStart()});return(t?"".concat(t,"\n"):"")+uA(a)+(o.startsWith("\n")?"\n":"\n\n")+o}};const{getLast:Kd,hasNewline:oA,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ha,getNextNonSpaceNonCommentCharacter:qt,hasNewlineInRange:iA,addLeadingComment:te,addTrailingComment:ce,addDanglingComment:at,getNextNonSpaceNonCommentCharacterIndex:aA,isNonEmptyArray:Qd}=I,{isBlockComment:Zd,getFunctionParameters:zu,isPrettierIgnoreComment:Ga,isJsxNode:sA,hasFlowShorthandAnnotationComment:cA,hasFlowAnnotationComment:e1,hasIgnoreComment:lA,isCallLikeExpression:pA,getCallArguments:fA,isCallExpression:t1,isMemberExpression:dA}=_,{locStart:n1,locEnd:je}=me;function Ln(e,t){const n=(e.body||e.properties).find(({type:r})=>"EmptyStatement"!==r);n?te(n,t):at(e,t)}function Ja(e,t){"BlockStatement"===e.type?Ln(e,t):te(e,t)}function hA({comment:e,followingNode:t}){return!(!t||!p1(e)||(te(t,e),0))}function Xa({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!(!n||"IfStatement"!==n.type||!r||(")"===qt(u,e,je)?(ce(t,e),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?ce(t,e):at(n,e),0):"BlockStatement"===r.type?(Ln(r,e),0):"IfStatement"===r.type?(Ja(r.consequent,e),0):n.consequent!==r||(te(r,e),0)))}function Ya({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!(!n||"WhileStatement"!==n.type||!r||(")"===qt(u,e,je)?(ce(t,e),0):"BlockStatement"===r.type?(Ln(r,e),0):n.body!==r||(te(r,e),0)))}function r1({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r||("CatchClause"===n.type&&t?(ce(t,e),0):"BlockStatement"===r.type?(Ln(r,e),0):"TryStatement"===r.type?(Ja(r.finalizer,e),0):"CatchClause"!==r.type||(Ja(r.body,e),0)))}function mA({comment:e,enclosingNode:t,followingNode:n}){return!(!dA(t)||!n||"Identifier"!==n.type||(te(t,e),0))}function gA({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){const o=t&&!iA(u,je(t),n1(e));return!(t&&o||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r||(te(r,e),0))}function yA({comment:e,precedingNode:t,enclosingNode:n}){return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type||(ce(n.value.left,e),0))}function u1({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(Qd(n.decorators)&&(!r||"Decorator"!==r.type))return ce(Kd(n.decorators),e),!0;if(n.body&&r===n.body)return Ln(n.body,e),!0;if(r)for(const u of["implements","extends","mixins"])if(n[u]&&r===n[u][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?at(n,e,u):ce(t,e),!0}return!1}function o1({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&&":"!==qt(r,t,je)||!(!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))&&(ce(t,e),!0)}function DA({comment:e,precedingNode:t,enclosingNode:n,text:r}){return"("===qt(r,e,je)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(ce(t,e),!0)}function bA({comment:e,enclosingNode:t,text:n}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=aA(n,e,je);return!1!==r&&"=>"===n.slice(r,r+2)&&(at(t,e),!0)}function EA({comment:e,enclosingNode:t,text:n}){return!(")"!==qt(n,e,je)||(t&&(l1(t)&&0===zu(t).length||pA(t)&&0===fA(t).length)?(at(t,e),0):!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==zu(t.value).length||(at(t.value,e),0)))}function i1({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type||t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&l1(n)&&")"===qt(u,e,je))return ce(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const o=(()=>{const a=zu(n);if(a.length>0)return Ha(u,je(Kd(a)));const i=Ha(u,je(n.id));return!1!==i&&Ha(u,i+1)})();if(n1(e)>o)return Ln(r,e),!0}return!1}function a1({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type||(te(t,e),0))}function s1({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type||(te(t,e),0))}function CA({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label||(ce(t,e),0))}function vA({comment:e,precedingNode:t,enclosingNode:n}){return!!(t1(n)&&t&&n.callee===t&&n.arguments.length>0)&&(te(n.arguments[0],e),!0)}function AA({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Ga(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Ga(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(ce(t,e),!0))}function FA({comment:e,enclosingNode:t}){return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type||(te(t,e),0))}function Ka({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:u}){return r&&r.body&&0===r.body.length?(u?at(r,e):te(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&t.directives&&0===t.directives.length?(u?at(t,e):te(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type||(at(n,e),0))}function xA({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type||(te(t,e),0))}function SA({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&oA(r,je(e)))&&(ce(t,e),!0)}function wA({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type||(te(t,e),0))}function TA({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type||(te(t,e),0))}function BA({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&&!Zd(e)||(te(n,e),0))}function kA({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==qt(r,e,je)||(ce(t,e),0))}function c1({comment:e,enclosingNode:t,followingNode:n}){if(Ga(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function NA({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TSMappedType"!==n.type||(r&&"TSTypeParameter"===r.type&&r.name?(te(r.name,e),0):!t||"TSTypeParameter"!==t.type||!t.constraint||(ce(t.constraint,e),0)))}function l1(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 p1(e){return Zd(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var _n={handleOwnLineComment:function(e){return[c1,i1,mA,Xa,Ya,r1,u1,a1,xA,AA,Ka,SA,wA,o1,s1].some(t=>t(e))},handleEndOfLineComment:function(e){return[hA,i1,gA,a1,Xa,Ya,r1,u1,s1,vA,FA,Ka,TA,BA].some(t=>t(e))},handleRemainingComment:function(e){return[c1,Xa,Ya,yA,EA,o1,Ka,bA,DA,NA,CA,kA].some(t=>t(e))},isTypeCastComment:p1,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===zu(e.value).length&&!e.value.returnType&&!Qd(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&&(sA(t)||cA(t)||t1(n)&&(e1(t.leadingComments)||e1(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!lA(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getFunctionParameters:PA,getLeftSidePathName:OA,hasFlowShorthandAnnotationComment:IA,hasNakedLeftSide:jA,hasNode:f1,isBitwiseOperator:LA,startsWithNoLookaheadToken:d1,shouldFlatten:_A,getPrecedence:h1,isCallExpression:m1,isMemberExpression:MA}=_;function Qa(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),u=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(o){switch(o.type){case"ObjectExpression":return!0;default:return!1}}(u)&&Tr(e))return!0;if("BlockStatement"===(o=u).type||"BreakStatement"===o.type||"ClassBody"===o.type||"ClassDeclaration"===o.type||"ClassMethod"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"ClassPrivateProperty"===o.type||"ContinueStatement"===o.type||"DebuggerStatement"===o.type||"DeclareClass"===o.type||"DeclareExportAllDeclaration"===o.type||"DeclareExportDeclaration"===o.type||"DeclareFunction"===o.type||"DeclareInterface"===o.type||"DeclareModule"===o.type||"DeclareModuleExports"===o.type||"DeclareVariable"===o.type||"DoWhileStatement"===o.type||"EnumDeclaration"===o.type||"ExportAllDeclaration"===o.type||"ExportDefaultDeclaration"===o.type||"ExportNamedDeclaration"===o.type||"ExpressionStatement"===o.type||"ForInStatement"===o.type||"ForOfStatement"===o.type||"ForStatement"===o.type||"FunctionDeclaration"===o.type||"IfStatement"===o.type||"ImportDeclaration"===o.type||"InterfaceDeclaration"===o.type||"LabeledStatement"===o.type||"MethodDefinition"===o.type||"ReturnStatement"===o.type||"SwitchStatement"===o.type||"ThrowStatement"===o.type||"TryStatement"===o.type||"TSDeclareFunction"===o.type||"TSEnumDeclaration"===o.type||"TSImportEqualsDeclaration"===o.type||"TSInterfaceDeclaration"===o.type||"TSModuleDeclaration"===o.type||"TSNamespaceExportDeclaration"===o.type||"TypeAlias"===o.type||"VariableDeclaration"===o.type||"WhileStatement"===o.type||"WithStatement"===o.type)return!1;var o;if("flow"!==t.parser&&IA(e.getValue()))return!0;if("Identifier"===u.type)return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name))||"left"===r&&"async"===u.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===u.type||"AssignmentExpression"===u.type||"AwaitExpression"===u.type||"BinaryExpression"===u.type||"ConditionalExpression"===u.type||"LogicalExpression"===u.type||"NewExpression"===u.type||"ObjectExpression"===u.type||"ParenthesizedExpression"===u.type||"SequenceExpression"===u.type||"TaggedTemplateExpression"===u.type||"UnaryExpression"===u.type||"UpdateExpression"===u.type||"YieldExpression"===u.type||"TSNonNullExpression"===u.type))return!0;break;case"ExportDefaultDeclaration":return g1(e,t)||"SequenceExpression"===u.type;case"Decorator":if("expression"===r){let o=!1,a=!1,i=u;for(;i;)switch(i.type){case"MemberExpression":a=!0,i=i.object;break;case"CallExpression":if(a||o)return!0;o=!0,i=i.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(d1(u,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==u.type&&d1(u,!1))return!0}switch(u.type){case"UpdateExpression":if("UnaryExpression"===n.type)return u.prefix&&("++"===u.operator&&"+"===n.operator||"--"===u.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return u.operator===n.operator&&("+"===u.operator||"-"===u.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&&"|>"===u.operator||"in"===u.operator&&function(o){let a=0,i=o.getValue();for(;i;){const s=o.getParentNode(a++);if(s&&"ForStatement"===s.type&&s.init===i)return!0;i=s}return!1}(e))return!0;if("|>"===u.operator&&u.extra&&u.extra.parenthesized){const o=e.getParentNode(1);if("BinaryExpression"===o.type&&"|>"===o.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==u.type;case"ConditionalExpression":return"TSAsExpression"===u.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"===u.type||"TSAsExpression"===u.type);case"LogicalExpression":if("LogicalExpression"===u.type)return n.operator!==u.operator;case"BinaryExpression":{const{operator:o,type:a}=u;if(!o&&"TSTypeAssertion"!==a)return!0;const i=h1(o),s=n.operator,c=h1(s);return c>i||"right"===r&&c===i||c===i&&!_A(s,o)||(c<i&&"%"===o?"+"===s||"-"===s:!!LA(s))}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&&u.argument&&"PipelinePrimaryTopicReference"===u.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!(!u.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&&(!u.types||u.types.length>1))return!0;case"TSInferType":if("TSInferType"===u.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 o="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===o.type||"IntersectionTypeAnnotation"===o.type||"ArrayTypeAnnotation"===o.type||"NullableTypeAnnotation"===o.type||"FunctionTypeParam"===n.type&&null===n.name&&PA(u).some(a=>a.typeAnnotation&&"NullableTypeAnnotation"===a.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof u.value&&"ExpressionStatement"===n.type&&!n.directive){const o=e.getParentNode(1);return"Program"===o.type||"BlockStatement"===o.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof u.value;case"AssignmentExpression":{const o=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"===u.left.type:!("key"===r&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&o&&"ForStatement"===o.type&&(o.init===n||o.update===n)||"value"===r&&"Property"===n.type&&o&&"ObjectPattern"===o.type&&o.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(u.extra&&u.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||u.extra&&u.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 o=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===o.type&&o.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let o=u;for(;o;)switch(o.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":o=o.object;break;case"TaggedTemplateExpression":o=o.tag;break;case"TSNonNullExpression":o=o.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&MA(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!u.extra||!u.extra.parenthesized)||"ArrayExpression"===n.type||m1(n)&&n.arguments[r]===u||"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&&!m1(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(o){return f1(o,a=>"ObjectTypeAnnotation"===a.type&&f1(a,i=>"FunctionTypeAnnotation"===i.type||void 0)||void 0)}(u)}return!1}function Tr(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(Tr);break;case"ObjectProperty":if("value"===r){const u=e.getParentNode(1);return X(u.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Tr);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Tr);break;case"UnaryExpression":if(n.prefix)return e.callParent(Tr)}return!1}function g1(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Qa(e,t):!(!jA(n)||"ExportDefaultDeclaration"!==r.type&&Qa(e,t))&&e.call(u=>g1(u,t),...OA(e,n))}var Mn=Qa,y1=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:D1,line:b1,group:RA,softline:E1,indent:VA}}=N;var $A={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(u=>{const o=D1([",",b1],u.map(n,"params")),{params:a}=u.getValue();return 1===a.length?o:["(",VA([E1,RA(o)]),E1,")"]},"program","body",0):t.__isVueBindings?e.call(u=>D1([",",b1],u.map(n,"params")),"program","body",0):void 0}};const{printComments:qA}=W,{getLast:WA}=I,{builders:{join:UA,line:C1,softline:Hu,group:st,indent:Za,align:zA,ifBreak:HA,indentIfBreak:GA},utils:{cleanDoc:JA,getDocParts:XA,isConcat:YA}}=N,{hasLeadingOwnLineComment:KA,isBinaryish:v1,isJsxNode:A1,shouldFlatten:F1,hasComment:x1,CommentCheckFlags:S1,isCallExpression:w1,isMemberExpression:QA}=_;let ZA=0;function T1(e,t,n,r,u){let o=[];const a=e.getValue();if(v1(a)){F1(a.operator,a.left.operator)?o=[...o,...e.call(m=>T1(m,t,n,!0,u),"left")]:o.push(st(t("left")));const i=Gu(a),s=("|>"===a.operator||"NGPipeExpression"===a.type||"|"===a.operator&&"__vue_expression"===n.parser)&&!KA(n.originalText,a.right),c="NGPipeExpression"===a.type?"|":a.operator,l="NGPipeExpression"===a.type&&a.arguments.length>0?st(Za([Hu,": ",UA([Hu,":",HA(" ")],e.map(t,"arguments").map(m=>zA(2,st(m))))])):"",p=i?[c," ",t("right"),l]:[s?C1:"",c,s?" ":C1,t("right"),l],d=e.getParentNode(),f=x1(a.left,S1.Trailing|S1.Line);if(o.push(s?"":" ",f||(!u||"LogicalExpression"!==a.type)&&d.type!==a.type&&a.left.type!==a.type&&a.right.type!==a.type?st(p,{shouldBreak:f}):p),r&&x1(a)){const m=JA(qA(e,o,n));o=YA(m)||"fill"===m.type?XA(m):[m]}}else o.push(st(t()));return o}function Gu(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!A1(e.right))}var es={printBinaryishExpression:function(e,t,n){const r=e.getValue(),u=e.getParentNode(),o=e.getParentNode(1),a=r!==u.body&&("IfStatement"===u.type||"WhileStatement"===u.type||"SwitchStatement"===u.type||"DoWhileStatement"===u.type),i=T1(e,n,t,!1,a);if(a)return i;if(w1(u)&&u.callee===r||"UnaryExpression"===u.type||QA(u)&&!u.computed)return st([Za([Hu,...i]),Hu]);const s="ReturnStatement"===u.type||"ThrowStatement"===u.type||"JSXExpressionContainer"===u.type&&"JSXAttribute"===o.type||"|"!==r.operator&&"JsExpressionRoot"===u.type||"NGPipeExpression"!==r.type&&("NGRoot"===u.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===u.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||r===u.body&&"ArrowFunctionExpression"===u.type||r!==u.body&&"ForStatement"===u.type||"ConditionalExpression"===u.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&!w1(o)||"TemplateLiteral"===u.type,c="AssignmentExpression"===u.type||"VariableDeclarator"===u.type||"ClassProperty"===u.type||"PropertyDefinition"===u.type||"TSAbstractClassProperty"===u.type||"ClassPrivateProperty"===u.type||"ObjectProperty"===u.type||"Property"===u.type,l=v1(r.left)&&F1(r.operator,r.left.operator);if(s||Gu(r)&&!l||!Gu(r)&&c)return st(i);if(0===i.length)return"";const p=A1(r.right),d=i.findIndex(y=>"string"!=typeof y&&!Array.isArray(y)&&"group"===y.type),f=i.slice(0,-1===d?1:d+1),h=i.slice(f.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++ZA),g=st([...f,Za(h)],{id:m});if(!p)return g;const D=WA(i);return st([g,GA(D,{groupId:m})])},shouldInlineLogicalExpression:Gu};const{builders:{join:e3,line:B1,group:t3}}=N,{hasNode:n3,hasComment:r3,getComments:u3}=_,{printBinaryishExpression:o3}=es;function k1(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var i3={printAngular:function(e,t,n){const r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),r3(r.node)?" //"+u3(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return o3(e,t,n);case"NGChainedExpression":return t3(e3([";",B1],e.map(u=>n3(u.getValue(),a=>{switch(a.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((u,o)=>[0===o?"":k1(u.getValue(),o,r)?" ":[";",B1],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 u=e.getName(),o=e.getParentNode(),a=k1(r,u,o)||(1===u&&("then"===r.key.name||"else"===r.key.name)||2===u&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===o.body[u-1].type&&"then"===o.body[u-1].key.name)&&"NGMicrosyntaxExpression"===o.body[0].type;return[n("key"),a?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}};const{printComments:N1,printDanglingComments:P1}=W,{builders:{line:Ju,hardline:z,softline:le,group:Wt,indent:Ut,conditionalGroup:a3,fill:s3,ifBreak:ts,lineSuffixBoundary:O1,join:I1},utils:{willBreak:j1}}=N,{getLast:Br,getPreferredQuote:c3}=I,{isJsxNode:Xu,rawText:kr,isLiteral:Yu,isCallExpression:L1,isStringLiteral:ns,isBinaryish:l3,hasComment:Le,CommentCheckFlags:zt,hasNodeIgnoreComment:p3}=_,{willPrintOwnComments:f3}=_n,rs=e=>""===e||e===Ju||e===z||e===le;function _1(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?le:z:le}function M1(e,t,n,r){return e?z:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?z:le:z}function h3(e,t,n){return function(r,u,o){const a=r.getParentNode();if(!a||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[a.type])return u;const i=r.match(void 0,c=>"ArrowFunctionExpression"===c.type,L1,c=>"JSXExpressionContainer"===c.type),s=Mn(r,o);return Wt([s?"":ts("("),Ut([le,u]),le,s?"":ts(")")],{shouldBreak:i})}(e,N1(e,function(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(y){if(0===y.children.length)return!0;if(y.children.length>1)return!1;const b=y.children[0];return Yu(b)&&!Nr(b)}(r))return[n("openingElement"),n("closingElement")];const u=n("JSXElement"===r.type?"openingElement":"openingFragment"),o=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[u,...e.map(n,"children"),o];r.children=r.children.map(y=>{return"JSXExpressionContainer"===(b=y).type&&Yu(b.expression)&&" "===b.expression.value&&!Le(b.expression)?{type:"JSXText",value:" ",raw:" "}:y;var b});const a=r.children.filter(Xu).length>0,i=r.children.filter(y=>"JSXExpressionContainer"===y.type).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1;let c=j1(u)||a||s||i;const l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',d=l?" ":ts([p,le]," "),f=function(y,b,v,E,C){const A=[];return y.each((w,T,x)=>{const S=w.getValue();if(Yu(S)){const B=kr(S);if(Nr(S)){const P=B.split(Ku);let O;if(""===P[0]&&(A.push(""),P.shift(),/\n/.test(P[0])?A.push(M1(C,P[1],S,x[T+1])):A.push(E),P.shift()),""===Br(P)&&(P.pop(),O=P.pop()),0===P.length)return;for(const[M,re]of P.entries())A.push(M%2==1?Ju:re);if(void 0!==O)if(/\n/.test(O)){const M=x[T+1];A.push(M1(C,Br(A),S,M))}else A.push(E);else{const M=x[T+1];A.push(_1(C,Br(A),S,M))}}else/\n/.test(B)?B.match(/\n/g).length>1&&A.push("",z):A.push("",E)}else{const B=v();A.push(B);const P=x[T+1];if(P&&Nr(P)){const O=g3(kr(P)).split(Ku)[0];A.push(_1(C,O,S,P))}else A.push(z)}},"children"),A}(e,0,n,d,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some(y=>Nr(y));for(let y=f.length-2;y>=0;y--){const b=""===f[y]&&""===f[y+1],E=(f[y]===le||f[y]===z)&&""===f[y+1]&&f[y+2]===d,C=f[y]===d&&""===f[y+1]&&(f[y+2]===le||f[y+2]===z),A=f[y]===d&&""===f[y+1]&&f[y+2]===d,w=f[y]===le&&""===f[y+1]&&f[y+2]===z||f[y]===z&&""===f[y+1]&&f[y+2]===le;f[y]===z&&""===f[y+1]&&f[y+2]===z&&h||b||E||A||w?f.splice(y,2):C&&f.splice(y+1,2)}for(;f.length>0&&rs(Br(f));)f.pop();for(;f.length>1&&rs(f[0])&&rs(f[1]);)f.shift(),f.shift();const m=[];for(const[y,b]of f.entries()){if(b===d){if(1===y&&""===f[y-1]){if(2===f.length){m.push(p);continue}m.push([p,z]);continue}if(y===f.length-1){m.push(p);continue}if(""===f[y-1]&&f[y-2]===z){m.push(p);continue}}m.push(b),j1(b)&&(c=!0)}const g=h?s3(m):Wt(m,{shouldBreak:!0});if(l)return g;const D=Wt([u,Ut([z,g]),z,o]);return c?D:a3([Wt([u,...f,o]),D])}(e,t,n),t),t)}const Ku=new RegExp("([ \n\r\t]+)"),m3=new RegExp("[^ \n\r\t]"),g3=e=>e.replace(new RegExp("(?:^"+Ku.source+"|"+Ku.source+"$)"),"");function Nr(e){return Yu(e)&&(m3.test(kr(e))||!/\n/.test(kr(e)))}var y3={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Xu(t)&&Xu(n)))return!1;let r=null;for(let u=n.children.indexOf(t);u>0;u--){const o=n.children[u-1];if("JSXText"!==o.type||Nr(o)){r=o;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&p3(r.expression)},printJsx:function(e,t,n){const r=e.getValue();switch(r.type){case"JSXAttribute":return function(u,o,a){const i=u.getValue(),s=[];if(s.push(a("name")),i.value){let c;if(ns(i.value)){let l=kr(i.value).replace(/'/g,"'").replace(/"/g,'"');const p=c3(l,o.jsxSingleQuote?"'":'"'),d="'"===p?"'":""";l=l.slice(1,-1).replace(new RegExp(p,"g"),d),c=[p,l,p]}else c=a("value");s.push("=",c)}return s}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return I1(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return I1(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){const r=e.getValue();return["{",e.call(u=>{const o=["...",n()],a=u.getValue();return Le(a)&&f3(u)?[Ut([le,N1(u,o,t)]),le]:o},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}(e,t,n);case"JSXExpressionContainer":return function(u,o,a){const i=u.getValue(),s=u.getParentNode(0),c="JSXEmptyExpression"===i.expression.type||!Le(i.expression)&&("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type||"ArrowFunctionExpression"===i.expression.type||L1(i.expression)||"FunctionExpression"===i.expression.type||"TemplateLiteral"===i.expression.type||"TaggedTemplateExpression"===i.expression.type||"DoExpression"===i.expression.type||Xu(s)&&("ConditionalExpression"===i.expression.type||l3(i.expression)));return Wt(c?["{",a("expression"),O1,"}"]:["{",Ut([le,a("expression")]),le,O1,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return h3(e,t,n);case"JSXOpeningElement":return function(u,o,a){const i=u.getValue(),s=i.name&&Le(i.name)||i.typeParameters&&Le(i.typeParameters);if(i.selfClosing&&0===i.attributes.length&&!s)return["<",a("name"),a("typeParameters")," />"];if(i.attributes&&1===i.attributes.length&&i.attributes[0].value&&ns(i.attributes[0].value)&&!i.attributes[0].value.value.includes("\n")&&!s&&!Le(i.attributes[0]))return Wt(["<",a("name"),a("typeParameters")," ",...u.map(a,"attributes"),i.selfClosing?" />":">"]);const c=i.attributes.length>0&&Le(Br(i.attributes),zt.Trailing),l=0===i.attributes.length&&!s||o.jsxBracketSameLine&&(!s||i.attributes.length>0)&&!c,p=i.attributes&&i.attributes.some(d=>d.value&&ns(d.value)&&d.value.value.includes("\n"));return Wt(["<",a("name"),a("typeParameters"),Ut(u.map(()=>[Ju,a()],"attributes")),i.selfClosing?Ju:l?">":le,i.selfClosing?"/>":l?"":">"],{shouldBreak:p})}(e,t,n);case"JSXClosingElement":return function(u,o,a){const i=u.getValue(),s=[];s.push("</");const c=a("name");return Le(i.name,zt.Leading|zt.Line)?s.push(Ut([z,c]),z):Le(i.name,zt.Leading|zt.Block)?s.push(" ",c):s.push(c),s.push(">"),s}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(u,o){const a=u.getValue(),i=Le(a),s=Le(a,zt.Line),c="JSXOpeningFragment"===a.type;return[c?"<":"</",Ut([s?z:i&&!c?" ":"",P1(u,o,!0)]),s?z:"",">"]}(e,t);case"JSXEmptyExpression":return function(u,o){const a=u.getValue(),i=Le(a,zt.Line);return[P1(u,o,!i),i?z:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}};const{isNonEmptyArray:D3}=I,{builders:{indent:b3,join:E3,line:C3}}=N,{isFlowAnnotationComment:v3}=_;var qe={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 D3(r.modifiers)?[E3(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const u=e.getParentNode(),o=r.definite||u&&"VariableDeclarator"===u.type&&u.definite,a="DeclareFunction"===u.type&&u.id===r;return v3(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[a?"":o?"!: ":": ",n("typeAnnotation")]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:b3([C3,t])}};const{printDanglingComments:V1}=W,{builders:{line:$1,softline:Qu,hardline:us,group:os,indent:A3,ifBreak:q1,fill:F3}}=N,{getLast:x3,hasNewline:S3}=I,{shouldPrintComma:w3,hasComment:Zu,CommentCheckFlags:Pr,isNextLineEmpty:W1,isNumericLiteral:T3,isSignedNumericLiteral:B3}=_,{locStart:k3}=me,{printOptionalToken:N3,printTypeAnnotation:P3}=qe;function U1(e,t){return e.elements.length>1&&e.elements.every(n=>n&&(T3(n)||B3(n)&&!Zu(n.argument))&&!Zu(n,Pr.Trailing|Pr.Line,r=>!S3(t.originalText,k3(r),{backwards:!0})))}function z1(e,t,n,r){const u=[];let o=[];return e.each(a=>{u.push(o,os(r())),o=[",",$1],a.getValue()&&W1(a.getValue(),t)&&o.push(Qu)},n),u}function O3(e,t,n,r){const u=[];return e.each((o,a,i)=>{const s=a===i.length-1;u.push([n(),s?r:","]),s||u.push(W1(o.getValue(),t)?[us,us]:Zu(i[a+1],Pr.Leading|Pr.Line)?us:$1)},"elements"),F3(u)}var eo={printArray:function(e,t,n){const r=e.getValue(),u=[],o="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Zu(r,Pr.Dangling)?u.push(os([o,V1(e,t),Qu,"]"])):u.push(o,"]");else{const a=x3(r.elements),i=!(a&&"RestElement"===a.type),s=null===a,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((f,h,m)=>{const g=f&&f.type;if("ArrayExpression"!==g&&"ObjectExpression"!==g)return!1;const D=m[h+1];if(D&&g!==D.type)return!1;const y="ArrayExpression"===g?"elements":"properties";return f[y]&&f[y].length>1}),p=U1(r,t),d=i?s?",":w3(t)?p?q1(",","",{groupId:c}):q1(","):"":"";u.push(os([o,A3([Qu,p?O3(e,t,n,d):[z1(e,t,"elements",n),d],V1(e,t,!0)]),Qu,"]"],{shouldBreak:l,id:c}))}return u.push(N3(e),P3(e,t,n)),u},printArrayItems:z1,isConciselyPrintedArray:U1};const{printDanglingComments:I3}=W,{getLast:H1,getPenultimate:j3}=I,{getFunctionParameters:L3,hasComment:Ht,CommentCheckFlags:is,isFunctionCompositionArgs:_3,isJsxNode:M3,isLongCurriedCallExpression:R3,shouldPrintComma:V3,getCallArguments:$3,iterateCallArgumentsPath:G1,isNextLineEmpty:q3,isCallExpression:W3}=_,{builders:{line:to,hardline:no,softline:J1,group:ro,indent:X1,conditionalGroup:U3,ifBreak:z3,breakParent:H3},utils:{willBreak:uo}}=N,{ArgExpansionBailout:G3}=Fu,{isConciselyPrintedArray:J3}=eo;function Or(e,t=!1){return"ObjectExpression"===e.type&&(e.properties.length>0||Ht(e))||"ArrayExpression"===e.type&&(e.elements.length>0||Ht(e))||"TSTypeAssertion"===e.type&&Or(e.expression)||"TSAsExpression"===e.type&&Or(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(r=>"EmptyStatement"!==r.type)||Ht(n,is.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&Or(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(W3(e.body)||"ConditionalExpression"===e.body.type)||M3(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type;var n}var as=function(e,t,n){const r=e.getValue(),u="ImportExpression"===r.type,o=$3(r);if(0===o.length)return["(",I3(e,t,!0),")"];if(2===(m=o).length&&"ArrowFunctionExpression"===m[0].type&&0===L3(m[0]).length&&"BlockStatement"===m[0].body.type&&"ArrayExpression"===m[1].type&&!m.some(g=>Ht(g)))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var m;let a=!1,i=!1;const s=o.length-1,c=[];G1(e,(m,g)=>{const D=m.getNode(),y=[n()];g===s||(q3(D,t)?(0===g&&(i=!0),a=!0,y.push(",",no,no)):y.push(",",to)),c.push(y)});const l=u||r.callee&&"Import"===r.callee.type||!V3(t,"all")?"":",";function p(){return ro(["(",X1([to,...c]),l,to,")"],{shouldBreak:!0})}if(a||"Decorator"!==e.getParentNode().type&&_3(o))return p();const d=function(m){if(2!==m.length)return!1;const[g,D]=m;return"ModuleExpression"===g.type&&"ObjectExpression"===(y=D).type&&1===y.properties.length&&"ObjectProperty"===y.properties[0].type&&"Identifier"===y.properties[0].key.type&&"type"===y.properties[0].key.name&&"StringLiteral"===y.properties[0].value.type&&"module"===y.properties[0].value.value||!Ht(g)&&("FunctionExpression"===g.type||"ArrowFunctionExpression"===g.type&&"BlockStatement"===g.body.type)&&"FunctionExpression"!==D.type&&"ArrowFunctionExpression"!==D.type&&"ConditionalExpression"!==D.type&&!Or(D);var y}(o),f=function(m,g){const D=H1(m),y=j3(m);return!Ht(D,is.Leading)&&!Ht(D,is.Trailing)&&Or(D)&&(!y||y.type!==D.type)&&(2!==m.length||"ArrowFunctionExpression"!==y.type||"ArrayExpression"!==D.type)&&!(m.length>1&&"ArrayExpression"===D.type&&J3(D,g))}(o,t);if(d||f){if(d?c.slice(1).some(uo):c.slice(0,-1).some(uo))return p();let m=[];try{e.try(()=>{G1(e,(g,D)=>{d&&0===D&&(m=[[n([],{expandFirstArg:!0}),c.length>1?",":"",i?no:to,i?no:""],...c.slice(1)]),f&&D===s&&(m=[...c.slice(0,-1),n([],{expandLastArg:!0})])})})}catch(g){if(g instanceof G3)return p();throw g}return[c.some(uo)?H3:"",U3([["(",...m,")"],d?["(",ro(m[0],{shouldBreak:!0}),...m.slice(1),")"]:["(",...c.slice(0,-1),ro(H1(m),{shouldBreak:!0}),")"],p()])]}const h=["(",X1([J1,...c]),z3(l),J1,")"];return R3(e)?h:ro(h,{shouldBreak:c.some(uo)||a})};const{builders:{softline:ss,group:Y1,indent:K1,label:X3}}=N,{isNumericLiteral:Y3,isMemberExpression:Q1,isCallExpression:Z1}=_,{printOptionalToken:K3}=qe;function eh(e,t,n){const r=n("property"),u=e.getValue(),o=K3(e);return u.computed?!u.property||Y3(u.property)?[o,"[",r,"]"]:Y1([o,"[",K1([ss,r]),ss,"]"]):[o,".",r]}var th={printMemberExpression:function(e,t,n){const r=e.getValue(),u=e.getParentNode();let o,a=0;do{o=e.getParentNode(a),a++}while(o&&(Q1(o)||"TSNonNullExpression"===o.type));const i=n("object"),s=eh(e,0,n),c=o&&("NewExpression"===o.type||"BindExpression"===o.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!Q1(u)||("AssignmentExpression"===u.type||"VariableDeclarator"===u.type)&&(Z1(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&Z1(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===i.label);return X3("member-chain"===i.label?"member-chain":"member",[i,c?s:Y1(K1([ss,s]))])},printMemberLookup:eh};const{printComments:cs}=W,{getLast:Rn,isNextLineEmptyAfterIndex:Q3,getNextNonSpaceNonCommentCharacterIndex:Z3}=I,{isCallExpression:Et,isMemberExpression:ls,isFunctionOrArrowExpression:eF,isLongCurriedCallExpression:tF,isMemberish:Ir,isNumericLiteral:nh,isSimpleCallArgument:nF,hasComment:jr,CommentCheckFlags:oo,isNextLineEmpty:rF}=_,{locEnd:uF}=me,{builders:{join:oF,hardline:io,group:ps,indent:iF,conditionalGroup:aF,breakParent:sF,label:cF},utils:{willBreak:fs}}=N,{printMemberLookup:lF}=th,{printOptionalToken:rh,printFunctionTypeParameters:uh,printBindExpressionCallee:pF}=qe;var fF=function(e,t,n){const r=e.getParentNode(),u=!r||"ExpressionStatement"===r.type,o=[];function a(x){const{originalText:S}=t,B=Z3(S,x,uF);return")"===S.charAt(B)?!1!==B&&Q3(S,B+1):rF(x,t)}function i(x){const S=x.getValue();Et(S)&&(Ir(S.callee)||Et(S.callee))?(o.unshift({node:S,printed:[cs(x,[rh(x),uh(x,t,n),as(x,t,n)],t),a(S)?io:""]}),x.call(B=>i(B),"callee")):Ir(S)?(o.unshift({node:S,needsParens:Mn(x,t),printed:cs(x,ls(S)?lF(x,t,n):pF(x,t,n),t)}),x.call(B=>i(B),"object")):"TSNonNullExpression"===S.type?(o.unshift({node:S,printed:cs(x,"!",t)}),x.call(B=>i(B),"expression")):o.unshift({node:S,printed:n()})}const s=e.getValue();o.unshift({node:s,printed:[rh(e),uh(e,t,n),as(e,t,n)]}),s.callee&&e.call(x=>i(x),"callee");const c=[];let l=[o[0]],p=1;for(;p<o.length&&("TSNonNullExpression"===o[p].node.type||Et(o[p].node)||ls(o[p].node)&&o[p].node.computed&&nh(o[p].node.property));++p)l.push(o[p]);if(!Et(o[0].node))for(;p+1<o.length&&Ir(o[p].node)&&Ir(o[p+1].node);++p)l.push(o[p]);c.push(l),l=[];let d=!1;for(;p<o.length;++p){if(d&&Ir(o[p].node)){if(o[p].node.computed&&nh(o[p].node.property)){l.push(o[p]);continue}c.push(l),l=[],d=!1}(Et(o[p].node)||"ImportExpression"===o[p].node.type)&&(d=!0),l.push(o[p]),jr(o[p].node,oo.Trailing)&&(c.push(l),l=[],d=!1)}function f(x){return/^[A-Z]|^[$_]+$/.test(x)}l.length>0&&c.push(l);const h=c.length>=2&&!jr(c[1][0].node)&&function(x){const S=x[1].length>0&&x[1][0].node.computed;if(1===x[0].length){const P=x[0][0].node;return"ThisExpression"===P.type||"Identifier"===P.type&&(f(P.name)||u&&P.name.length<=t.tabWidth||S)}const B=Rn(x[0]).node;return ls(B)&&"Identifier"===B.property.type&&(f(B.property.name)||S)}(c);function m(x){const S=x.map(B=>B.printed);return x.length>0&&Rn(x).needsParens?["(",...S,")"]:S}const g=c.map(m),D=g,y=h?3:2,b=Xi(c),v=b.slice(1,-1).some(x=>jr(x.node,oo.Leading))||b.slice(0,-1).some(x=>jr(x.node,oo.Trailing))||c[y]&&jr(c[y][0].node,oo.Leading);if(c.length<=y&&!v)return tF(e)?D:ps(D);const E=Rn(c[h?1:0]).node,C=!Et(E)&&a(E),A=[m(c[0]),h?c.slice(1,2).map(m):"",C?io:"",(x=c.slice(h?2:1),0===x.length?"":iF(ps([io,oF(io,x.map(m))])))],w=o.map(({node:x})=>x).filter(Et);var x;let T;return T=v||w.length>2&&w.some(x=>!x.arguments.every(S=>nF(S,0)))||g.slice(0,-1).some(fs)||function(){const x=Rn(Rn(c)).node,S=Rn(g);return Et(x)&&fs(S)&&w.slice(0,-1).some(B=>B.arguments.some(eF))}()?ps(A):[fs(D)||C?sF:"",aF([D,A])],cF("member-chain",T)};const{builders:{join:dF,group:hF}}=N,{getCallArguments:oh,hasFlowAnnotationComment:mF,isCallExpression:gF,isMemberish:yF,isStringLiteral:DF,isTemplateOnItsOwnLine:bF,isTestCall:EF,iterateCallArgumentsPath:CF}=_,{printOptionalToken:vF,printFunctionTypeParameters:ih}=qe;var ah={printCallExpression:function(e,t,n){const r=e.getValue(),u=e.getParentNode(),o="NewExpression"===r.type,a="ImportExpression"===r.type,i=vF(e),s=oh(r);if(s.length>0&&(!a&&!o&&function(p,d){if("Identifier"!==p.callee.type)return!1;if("require"===p.callee.name)return!0;if("define"===p.callee.name){const f=oh(p);return"ExpressionStatement"===d.type&&(1===f.length||2===f.length&&"ArrayExpression"===f[0].type||3===f.length&&DF(f[0])&&"ArrayExpression"===f[1].type)}return!1}(r,u)||1===s.length&&bF(s[0],t.originalText)||!o&&EF(r,u))){const p=[];return CF(e,()=>{p.push(n())}),[o?"new ":"",n("callee"),i,ih(e,t,n),"(",dF(", ",p),")"]}const c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&mF(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!a&&!o&&yF(r.callee)&&!e.call(p=>Mn(p,t),"callee"))return fF(e,t,n);const l=[o?"new ":"",a?"import":n("callee"),i,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",ih(e,t,n),as(e,t,n)];return a||gF(r.callee)?hF(l):l}};const{isNonEmptyArray:AF,getStringWidth:FF}=I,{builders:{line:ao,group:xe,indent:ds,indentIfBreak:xF},utils:{cleanDoc:SF}}=N,{hasLeadingOwnLineComment:wF,isBinaryish:sh,isStringLiteral:ch,isLiteral:TF,isNumericLiteral:BF,isCallExpression:kF,isMemberExpression:NF,getCallArguments:PF,rawText:OF,hasComment:lh,isSignedNumericLiteral:IF}=_,{shouldInlineLogicalExpression:ph}=es,{printCallExpression:jF}=ah;function hs(e,t,n,r,u,o){const a=function(s,c,l,p,d){const f=s.getValue(),h=f[d];if(!h)return"only-left";const m=!so(h);if(s.match(so,fh,D=>!m||"ExpressionStatement"!==D.type&&"VariableDeclaration"!==D.type))return m?"ArrowFunctionExpression"===h.type&&"ArrowFunctionExpression"===h.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!m&&so(h.right)||wF(c.originalText,h))return"break-after-operator";if("CallExpression"===h.type&&"require"===h.callee.name||"json5"===c.parser||"json"===c.parser)return"never-break-after-operator";if(function(D){if(fh(D)){const y=D.left||D.id;return"ObjectPattern"===y.type&&y.properties.length>2&&y.properties.some(b=>("ObjectProperty"===b.type||"Property"===b.type)&&(!b.shorthand||b.value&&"AssignmentPattern"===b.value.type))}return!1}(f))return"break-lhs";const g=function(D,y,b){if("ObjectProperty"!==D.type&&"Property"!==D.type)return!1;return"string"==typeof(y=SF(y))&&FF(y)<b.tabWidth+3}(f,p,c);return s.call(()=>function(D,y,b,v){const E=D.getValue();if(sh(E)&&!ph(E))return!0;switch(E.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:w}=E;return sh(w)&&!ph(w)}case"ClassExpression":return AF(E.decorators)}if(v)return!1;let C=E;const A=[];for(;;)if("UnaryExpression"===C.type)C=C.argument,A.push("argument");else{if("TSNonNullExpression"!==C.type)break;C=C.expression,A.push("expression")}return!(!ch(C)&&!D.call(()=>dh(D,y,b),...A))}(s,c,l,g),d)?"break-after-operator":g||"TemplateLiteral"===h.type||"TaggedTemplateExpression"===h.type||"BooleanLiteral"===h.type||BF(h)||"ClassExpression"===h.type?"never-break-after-operator":"fluid"}(e,t,n,r,o),i=n(o,{assignmentLayout:a});switch(a){case"break-after-operator":return xe([xe(r),u,xe(ds([ao,i]))]);case"never-break-after-operator":return xe([xe(r),u," ",i]);case"fluid":{const s=Symbol("assignment");return xe([xe(r),u,xe(ds(ao),{id:s}),xF(i,{groupId:s})])}case"break-lhs":return xe([r,u," ",xe(i)]);case"chain":return[xe(r),u,ao,i];case"chain-tail":return[xe(r),u,ds([ao,i])];case"chain-tail-arrow-chain":return[xe(r),u,i];case"only-left":return r}}function so(e){return"AssignmentExpression"===e.type}function fh(e){return so(e)||"VariableDeclarator"===e.type}function dh(e,t,n,r=!1){const u=e.getValue(),o=()=>dh(e,t,n,!0);if("TSNonNullExpression"===u.type)return e.call(o,"expression");if(kF(u)){if("member-chain"===jF(e,t,n).label)return!1;const a=PF(u);return!!(0===a.length||1===a.length&&function(i,{printWidth:s}){if(lh(i))return!1;const c=.25*s;if("ThisExpression"===i.type||"Identifier"===i.type&&i.name.length<=c||IF(i)&&!lh(i.argument))return!0;const l="Literal"===i.type&&"regex"in i&&i.regex.pattern||"RegExpLiteral"===i.type&&i.pattern;return l?l.length<=c:ch(i)?OF(i).length<=c:"TemplateLiteral"===i.type?0===i.expressions.length&&i.quasis[0].value.raw.length<=c&&!i.quasis[0].value.raw.includes("\n"):TF(i)}(a[0],t))&&e.call(o,"callee")}return NF(u)?e.call(o,"object"):r&&("Identifier"===u.type||"ThisExpression"===u.type)}var co={printVariableDeclarator:function(e,t,n){return hs(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){const r=e.getValue();return hs(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:hs};const{getNextNonSpaceNonCommentCharacter:LF}=I,{printDanglingComments:_F}=W,{builders:{line:MF,hardline:hh,softline:mh,group:RF,indent:VF,ifBreak:$F},utils:{removeLines:gh,willBreak:ms}}=N,{getFunctionParameters:gs,iterateFunctionParametersPath:qF,isSimpleType:WF,isTestCall:UF,isTypeAnnotationAFunction:zF,isObjectType:ys,isObjectTypePropertyAFunction:HF,hasRestParameter:GF,shouldPrintComma:JF,hasComment:XF,isNextLineEmpty:YF}=_,{locEnd:KF}=me,{ArgExpansionBailout:QF}=Fu,{printFunctionTypeParameters:ZF}=qe;function yh(e){if(!e)return!1;const t=gs(e);if(1!==t.length)return!1;const[n]=t;return!XF(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&ys(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&ys(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 lo={printFunctionParameters:function(e,t,n,r,u){const o=e.getValue(),a=gs(o),i=u?ZF(e,n,t):"";if(0===a.length)return[i,"(",_F(e,n,!0,f=>")"===LF(n.originalText,f,KF)),")"];const s=e.getParentNode(),c=UF(s),l=yh(o),p=[];if(qF(e,(f,h)=>{const m=h===a.length-1;m&&o.rest&&p.push("..."),p.push(t()),m||(p.push(","),c||l?p.push(" "):YF(a[h],n)?p.push(hh,hh):p.push(MF))}),r){if(ms(i)||ms(p))throw new QF;return RF([gh(i),"(",gh(p),")"])}const d=a.every(f=>!f.decorators);return l&&d||c?[i,"(",...p,")"]:(HF(s)||zF(s)||"TypeAlias"===s.type||"UnionTypeAnnotation"===s.type||"TSUnionType"===s.type||"IntersectionTypeAnnotation"===s.type||"FunctionTypeAnnotation"===s.type&&s.returnType===o)&&1===a.length&&null===a[0].name&&o.this!==a[0]&&a[0].typeAnnotation&&null===o.typeParameters&&WF(a[0].typeAnnotation)&&!o.rest?"always"===n.arrowParens?["(",...p,")"]:p:[i,"(",VF([mh,...p]),$F(!GF(o)&&JF(n,"all")?",":""),mh,")"]},shouldHugFunctionParameters:yh,shouldGroupFunctionParameters:function(e,t){const n=function(u){let o;return u.returnType?(o=u.returnType,o.typeAnnotation&&(o=o.typeAnnotation)):u.typeAnnotation&&(o=u.typeAnnotation),o}(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 u=r[0];if(u.constraint||u.default)return!1}}return 1===gs(e).length&&(ys(n)||ms(t))}};const{printComments:ex,printDanglingComments:tx}=W,{getLast:nx}=I,{builders:{group:Gt,join:Dh,line:Ds,softline:Lr,indent:Jt,align:rx,ifBreak:po}}=N,{locStart:bh}=me,{isSimpleType:ux,isObjectType:_r,hasLeadingOwnLineComment:Eh,isObjectTypePropertyAFunction:ox,shouldPrintComma:ix}=_,{printAssignment:ax}=co,{printFunctionParameters:sx,shouldGroupFunctionParameters:cx}=lo,{printArrayItems:lx}=eo;function Ch(e){if(ux(e)||_r(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(r=>"VoidTypeAnnotation"===r.type||"TSVoidKeyword"===r.type||"NullLiteralTypeAnnotation"===r.type||"TSNullKeyword"===r.type).length,n=e.types.some(r=>"ObjectTypeAnnotation"===r.type||"TSTypeLiteral"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type);if(e.types.length-1===t&&n)return!0}return!1}var fo={printOpaqueType:function(e,t,n){const r=t.semi?";":"",u=e.getValue(),o=[];return o.push("opaque type ",n("id"),n("typeParameters")),u.supertype&&o.push(": ",n("supertype")),u.impltype&&o.push(" = ",n("impltype")),o.push(r),o},printTypeAlias:function(e,t,n){const r=t.semi?";":"",u=e.getValue(),o=[];return u.declare&&o.push("declare "),o.push("type ",n("id"),n("typeParameters")),[ax(e,t,n,o," =","TSTypeAliasDeclaration"===u.type?"typeAnnotation":"right"),r]},printIntersectionType:function(e,t,n){const r=e.getValue(),u=e.map(n,"types"),o=[];let a=!1;for(let i=0;i<u.length;++i)0===i?o.push(u[i]):_r(r.types[i-1])&&_r(r.types[i])?o.push([" & ",a?Jt(u[i]):u[i]]):_r(r.types[i-1])||_r(r.types[i])?(i>1&&(a=!0),o.push(" & ",i>1?Jt(u[i]):u[i])):o.push(Jt([" &",Ds,u[i]]));return Gt(o)},printUnionType:function(e,t,n){const r=e.getValue(),u=e.getParentNode(),o=!("TypeParameterInstantiation"===u.type||"TSTypeParameterInstantiation"===u.type||"GenericTypeAnnotation"===u.type||"TSTypeReference"===u.type||"TSTypeAssertion"===u.type||"TupleTypeAnnotation"===u.type||"TSTupleType"===u.type||"FunctionTypeParam"===u.type&&!u.name&&e.getParentNode(1).this!==u||("TypeAlias"===u.type||"VariableDeclarator"===u.type||"TSTypeAliasDeclaration"===u.type)&&Eh(t.originalText,r)),a=Ch(r),i=e.map(l=>{let p=n();return a||(p=rx(2,p)),ex(l,p,t)},"types");if(a)return Dh(" | ",i);const s=o&&!Eh(t.originalText,r),c=[po([s?Ds:"","| "]),Dh([Ds,"| "],i)];return Mn(e,t)?Gt([Jt(c),Lr]):Gt("TupleTypeAnnotation"===u.type&&u.types.length>1||"TSTupleType"===u.type&&u.elementTypes.length>1?[Jt([po(["(",Lr]),c]),Lr,po(")")]:o?Jt(c):c)},printFunctionType:function(e,t,n){const r=e.getValue(),u=[],o=e.getParentNode(0),a=e.getParentNode(1),i=e.getParentNode(2);let s="TSFunctionType"===r.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&bh(o)===bh(r)||"ObjectTypeCallProperty"===o.type||i&&"DeclareFunction"===i.type),c=s&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type);const l=c&&s&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;ox(o)&&(s=!0,c=!0),l&&u.push("(");const p=sx(e,n,t,!1,!0),d=r.returnType||r.predicate||r.typeAnnotation?[s?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",f=cx(r,d);return u.push(f?Gt(p):p),d&&u.push(d),l&&u.push(")"),Gt(u)},printTupleType:function(e,t,n){const r=e.getValue(),u="TSTupleType"===r.type?"elementTypes":"types",o=r[u].length>0&&"TSRestType"===nx(r[u]).type;return Gt(["[",Jt([Lr,lx(e,t,u,n)]),po(ix(t,"all")&&!o?",":""),tx(e,t,!0),Lr,"]"])},printIndexedAccessType:function(e,t,n){const r=e.getValue(),u="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),u,n("indexType"),"]"]},shouldHugType:Ch};const{printDanglingComments:px}=W,{builders:{join:vh,line:fx,hardline:dx,softline:Ah,group:hx,indent:mx,ifBreak:gx}}=N,{isTestCall:yx,hasComment:Fh,CommentCheckFlags:xh,isTSXFile:Dx,shouldPrintComma:bx,getFunctionParameters:Ex}=_,{createGroupIdMapper:Cx}=I,{shouldHugType:vx}=fo,Sh=Cx("typeParameters");function Ax(e,t){const n=e.getValue();if(!Fh(n,xh.Dangling))return"";const r=!Fh(n,xh.Line),u=px(e,t,r);return r?u:[u,dx]}var Mr={printTypeParameter:function(e,t,n){const r=e.getValue(),u=[],o=e.getParentNode();return"TSMappedType"===o.type?(u.push("[",n("name")),r.constraint&&u.push(" in ",n("constraint")),o.nameType&&u.push(" as ",e.callParent(()=>n("nameType"))),u.push("]"),u):(r.variance&&u.push(n("variance")),u.push(n("name")),r.bound&&u.push(": ",n("bound")),r.constraint&&u.push(" extends ",n("constraint")),r.default&&u.push(" = ",n("default")),u)},printTypeParameters:function(e,t,n,r){const u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return n(r);const o=e.getNode(2);if(o&&yx(o)||0===u[r].length||1===u[r].length&&(vx(u[r][0])||"NullableTypeAnnotation"===u[r][0].type))return["<",vh(", ",e.map(n,r)),Ax(e,t),">"];const a="TSTypeParameterInstantiation"===u.type?"":1===Ex(u).length&&Dx(t)&&!u[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":bx(t,"all")?gx(","):"";return hx(["<",mx([Ah,vh([",",fx],e.map(n,r))]),a,Ah,">"],{id:Sh(u)})},getTypeParametersGroupId:Sh};const{printComments:wh}=W,{printString:Fx,printNumber:bs}=I,{isNumericLiteral:xx,isSimpleNumber:Sx,isStringLiteral:wx,isStringPropSafeToUnquote:Th,rawText:Bh}=_,{printAssignment:Tx}=co,ho=new WeakMap;function kh(e,t,n){const r=e.getNode();if(r.computed)return["[",n("key"),"]"];const u=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return["#",n("key")];if("consistent"===t.quoteProps&&!ho.has(u)){const a=(u.properties||u.body||u.members).some(i=>!i.computed&&i.key&&wx(i.key)&&!Th(i,t));ho.set(u,a)}if(("Identifier"===o.type||xx(o)&&Sx(bs(Bh(o)))&&String(o.value)===bs(Bh(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&ho.get(u))){const a=Fx(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(i=>wh(i,a,t),"key")}return Th(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!ho.get(u))?e.call(a=>wh(a,/^\d/.test(o.value)?bs(o.value):o.value,t),"key"):n("key")}var mo={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):Tx(e,t,n,kh(e,t,n),":","value")},printPropertyKey:kh};const{printDanglingComments:Nh,printCommentsSeparately:Bx}=W,{getNextNonSpaceNonCommentCharacterIndex:kx}=I,{builders:{line:Es,softline:Xt,group:Ce,indent:Vn,ifBreak:$n,hardline:Ph,join:Nx,indentIfBreak:Px}}=N,{getFunctionParameters:Cs,hasLeadingOwnLineComment:Ox,isFlowAnnotationComment:Ix,isJsxNode:jx,isTemplateOnItsOwnLine:Lx,shouldPrintComma:_x,startsWithNoLookaheadToken:Mx,returnArgumentHasLeadingComment:Rx,isBinaryish:Vx,isLineComment:$x,hasComment:go,getComments:qx,CommentCheckFlags:Oh,isCallLikeExpression:Wx}=_,{locEnd:Ux}=me,{printFunctionParameters:vs,shouldGroupFunctionParameters:Ih}=lo,{printPropertyKey:zx}=mo,{printFunctionTypeParameters:jh}=qe;function As(e,t,n){const r=e.getNode(),u=vs(e,n,t),o=Fs(e,n,t),a=Ih(r,o),i=[jh(e,t,n),Ce([a?Ce(u):u,o])];return r.body?i.push(" ",n("body")):i.push(t.semi?";":""),i}function Lh(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(n){const r=Cs(n);return!(1!==r.length||n.typeParameters||go(n,Oh.Dangling)||"Identifier"!==r[0].type||r[0].typeAnnotation||go(r[0])||r[0].optional||n.predicate||n.returnType)}(e.getValue())}function Fs(e,t,n){const r=e.getValue(),u=t("returnType");if(r.returnType&&Ix(n.originalText,r.returnType))return[" /*: ",u," */"];const o=[u];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",t("predicate")),o}function _h(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=[];r.argument&&(Rx(t,r.argument)?o.push([" (",Vn([Ph,n("argument")]),Ph,")"]):Vx(r.argument)||"SequenceExpression"===r.argument.type?o.push(Ce([$n(" ("," "),Vn([Xt,n("argument")]),Xt,$n(")")])):o.push(" ",n("argument")));const a=qx(r),i=X(a),s=i&&$x(i);return s&&o.push(u),go(r,Oh.Dangling)&&o.push(" ",Nh(e,t,!0)),s||o.push(u),o}var yo={printFunctionDeclaration:function(e,t,n,r){const u=e.getValue(),o=[];"TSDeclareFunction"===u.type&&u.declare&&o.push("declare "),u.async&&o.push("async "),o.push(u.generator?"function* ":"function "),u.id&&o.push(t("id"));const a=vs(e,t,n,r),i=Fs(e,t,n),s=Ih(u,i);return o.push(jh(e,n,t),Ce([s?Ce(a):a,i]),u.body?" ":"",t("body")),!n.semi||!u.declare&&u.body||o.push(";"),o},printArrowFunctionExpression:function(e,t,n,r){let u=e.getValue();const o=[],a=[];let i=!1;if(function d(){const f=function(h,m,g,D){const y=[];h.getValue().async&&y.push("async "),Lh(h,m)?y.push(g(["params",0])):y.push(Ce([vs(h,g,m,D&&(D.expandLastArg||D.expandFirstArg),!0),Fs(h,g,m)]));const b=Nh(h,m,!0,v=>{const E=kx(m.originalText,v,Ux);return!1!==E&&"=>"===m.originalText.slice(E,E+2)});return b&&y.push(" ",b),y}(e,t,n,r);if(0===o.length)o.push(f);else{const{leading:h,trailing:m}=Bx(e,t);o.push([h,f]),a.unshift(m)}i=i||u.returnType&&Cs(u).length>0||u.typeParameters||Cs(u).some(h=>"Identifier"!==h.type),"ArrowFunctionExpression"!==u.body.type||r&&r.expandLastArg?a.unshift(n("body",r)):(u=u.body,e.call(d,"body"))}(),o.length>1)return function(d,f,h,m,g,D){const y=d.getName(),b=d.getParentNode(),v=Wx(b)&&"callee"===y,E=Boolean(f&&f.assignmentLayout),C="BlockStatement"!==D.body.type&&"ObjectExpression"!==D.body.type,A=v&&C||f&&"chain-tail-arrow-chain"===f.assignmentLayout,w=Symbol("arrow-chain");return Ce([Ce(Vn([v||E?Xt:"",Ce(Nx([" =>",Es],h),{shouldBreak:m})]),{id:w,shouldBreak:A})," =>",Px(C?Vn([Es,g]):[" ",g],{groupId:w}),v?$n(Xt,"",{groupId:w}):""])}(e,r,o,i,a,u);const s=o;if(s.push(" =>"),!Ox(t.originalText,u.body)&&("ArrayExpression"===u.body.type||"ObjectExpression"===u.body.type||"BlockStatement"===u.body.type||jx(u.body)||Lx(u.body,t.originalText)||"ArrowFunctionExpression"===u.body.type||"DoExpression"===u.body.type))return Ce([...s," ",a]);if("SequenceExpression"===u.body.type)return Ce([...s,Ce([" (",Vn([Xt,a]),Xt,")"])]);const c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!go(u),l=r&&r.expandLastArg&&_x(t,"all"),p="ConditionalExpression"===u.body.type&&!Mx(u.body,!1);return Ce([...s,Ce([Vn([Es,p?$n("","("):"",a,p?$n("",")"):""]),c?[$n(l?",":""),Xt]:""])])},printMethod:function(e,t,n){const r=e.getNode(),{kind:u}=r,o=r.value||r,a=[];return u&&"init"!==u&&"method"!==u&&"constructor"!==u?(it.ok("get"===u||"set"===u),a.push(u," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push(zx(e,t,n),r.optional||r.key.optional?"?":""),a.push(r===o?As(e,t,n):"FunctionExpression"===o.type?e.call(i=>As(i,t,n),"value"):n("value")),a},printReturnStatement:function(e,t,n){return["return",_h(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",_h(e,t,n)]},printMethodInternal:As,shouldPrintParamsWithoutParens:Lh};const{isNonEmptyArray:Mh,hasNewline:Hx}=I,{builders:{line:Do,hardline:bo,join:xs,breakParent:Gx,group:Jx}}=N,{locStart:Rh,locEnd:Xx}=me,{getParentExportDeclaration:Yx}=_;function Vh(e,t){return e.decorators.some(n=>Hx(t.originalText,Xx(n)))}function $h(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return Mh(t)&&Rh(e,{ignoreDecorators:!0})>Rh(t[0])}var Ss={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:u}=r;if(!Mh(u)||$h(e.getParentNode()))return;const o="ClassExpression"===r.type||"ClassDeclaration"===r.type||Vh(r,t);return[Yx(e)?bo:o?Gx:"",xs(Do,e.map(n,"decorators")),Do]},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return Jx([xs(Do,e.map(n,"decorators")),Vh(r,t)?bo:Do])},printDecoratorsBeforeExport:function(e,t,n){return[xs(bo,e.map(n,"declaration","decorators")),bo]},hasDecoratorsBeforeExport:$h};const{isNonEmptyArray:qn,createGroupIdMapper:Kx}=I,{printComments:Qx,printDanglingComments:Zx}=W,{builders:{join:e8,line:Rr,hardline:qh,softline:Wh,group:Eo,indent:Co,ifBreak:ws}}=N,{hasComment:Ts,CommentCheckFlags:Bs}=_,{getTypeParametersGroupId:t8}=Mr,{printMethod:n8}=yo,{printOptionalToken:r8,printTypeAnnotation:u8}=qe,{printPropertyKey:o8}=mo,{printAssignment:i8}=co,{printClassMemberDecorators:Uh}=Ss,zh=Kx("heritageGroup");function Hh(e){return e.typeParameters&&!Ts(e.typeParameters,Bs.Trailing|Bs.Line)&&(t=e,!(["superClass","extends","mixins","implements"].filter(n=>Boolean(t[n])).length>1));var t}function ks(e,t,n,r){const u=e.getValue();if(!qn(u[r]))return"";const o=Zx(e,t,!0,({marker:a})=>a===r);return[Hh(u)?ws(" ",Rr,{groupId:t8(u.typeParameters)}):Rr,o,o&&qh,r,Eo(Co([Rr,e8([",",Rr],e.map(n,r))]))]}function a8(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?Eo(ws(["(",Co([Wh,r]),Wh,")"],r)):r}var Vr={printClass:function(e,t,n){const r=e.getValue(),u=[];r.declare&&u.push("declare "),r.abstract&&u.push("abstract "),u.push("class");const o=r.id&&Ts(r.id,Bs.Trailing)||r.superClass&&Ts(r.superClass)||qn(r.extends)||qn(r.mixins)||qn(r.implements),a=[],i=[];if(r.id&&a.push(" ",n("id")),a.push(n("typeParameters")),r.superClass){const s=["extends ",a8(e,0,n),n("superTypeParameters")],c=e.call(l=>Qx(l,s,t),"superClass");o?i.push(Rr,Eo(c)):i.push(" ",c)}else i.push(ks(e,t,n,"extends"));if(i.push(ks(e,t,n,"mixins"),ks(e,t,n,"implements")),o){let s;s=Hh(r)?[...a,Co(i)]:Co([...a,i]),u.push(Eo(s,{id:zh(r)}))}else u.push(...a,...i);return u.push(" ",n("body")),u},printClassMethod:function(e,t,n){const r=e.getValue(),u=[];return qn(r.decorators)&&u.push(Uh(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.readonly&&u.push("readonly "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&u.push("abstract "),u.push(n8(e,t,n)),u},printClassProperty:function(e,t,n){const r=e.getValue(),u=[],o=t.semi?";":"";return qn(r.decorators)&&u.push(Uh(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&u.push("abstract "),r.readonly&&u.push("readonly "),r.variance&&u.push(n("variance")),u.push(o8(e,t,n),r8(e),u8(e,t,n)),[i8(e,t,n,u," =","value"),o]},printHardlineAfterHeritage:function(e){return ws(qh,"",{groupId:zh(e)})}};const{isNonEmptyArray:Gh}=I,{builders:{join:s8,line:Ns,group:Ps,indent:Os,ifBreak:c8}}=N,{hasComment:Jh,identity:l8,CommentCheckFlags:Is}=_,{getTypeParametersGroupId:p8}=Mr,{printTypeScriptModifiers:f8}=qe;var js={printInterface:function(e,t,n){const r=e.getValue(),u=[];r.declare&&u.push("declare "),"TSInterfaceDeclaration"===r.type&&u.push(r.abstract?"abstract ":"",f8(e,t,n)),u.push("interface");const o=[],a=[];"InterfaceTypeAnnotation"!==r.type&&o.push(" ",n("id"),n("typeParameters"));const i=r.typeParameters&&!Jh(r.typeParameters,Is.Trailing|Is.Line);return Gh(r.extends)&&a.push(i?c8(" ",Ns,{groupId:p8(r.typeParameters)}):Ns,"extends ",(1===r.extends.length?l8:Os)(s8([",",Ns],e.map(n,"extends")))),r.id&&Jh(r.id,Is.Trailing)||Gh(r.extends)?u.push(Ps(i?[...o,Os(a)]:Os([...o,...a]))):u.push(...o,...a),u.push(" ",n("body")),Ps(u)}};const{isNonEmptyArray:Ls}=I,{builders:{softline:Xh,group:d8,indent:h8,join:_s,line:Ms,ifBreak:m8,hardline:g8}}=N,{printDanglingComments:y8}=W,{hasComment:Yh,CommentCheckFlags:D8,shouldPrintComma:b8,needsHardlineAfterDanglingComment:E8}=_,{locStart:Kh,hasSameLoc:C8}=me,{hasDecoratorsBeforeExport:v8,printDecoratorsBeforeExport:A8}=Ss;function Rs(e,t,n){const r=e.getValue();if(!r.source)return"";const u=[];return Zh(r,t)||u.push(" from"),u.push(" ",n("source")),u}function Qh(e,t,n){const r=e.getValue();if(Zh(r,t))return"";const u=[" "];if(Ls(r.specifiers)){const o=[],a=[];e.each(()=>{const i=e.getValue().type;if("ExportNamespaceSpecifier"===i||"ExportDefaultSpecifier"===i||"ImportNamespaceSpecifier"===i||"ImportDefaultSpecifier"===i)o.push(n());else{if("ExportSpecifier"!==i&&"ImportSpecifier"!==i)throw new Error("Unknown specifier type ".concat(JSON.stringify(i)));a.push(n())}},"specifiers"),u.push(_s(", ",o)),a.length>0&&(o.length>0&&u.push(", "),a.length>1||o.length>0||r.specifiers.some(i=>Yh(i))?u.push(d8(["{",h8([t.bracketSpacing?Ms:Xh,_s([",",Ms],a)]),m8(b8(t)?",":""),t.bracketSpacing?Ms:Xh,"}"])):u.push(["{",t.bracketSpacing?" ":"",...a,t.bracketSpacing?" ":"","}"]))}else u.push("{}");return u}function Zh(e,t){const{type:n,importKind:r,source:u,specifiers:o}=e;return"ImportDeclaration"===n&&!Ls(o)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(Kh(e),Kh(u)))}function Vs(e,t,n){const r=e.getNode();return Ls(r.assertions)?[" assert {",t.bracketSpacing?" ":"",_s(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var em={printImportDeclaration:function(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=[],{importKind:a}=r;return o.push("import"),a&&"value"!==a&&o.push(" ",a),o.push(Qh(e,t,n),Rs(e,t,n),Vs(e,t,n),u),o},printExportDeclaration:function(e,t,n){const r=e.getValue(),u=[];v8(r)&&u.push(A8(e,t,n));const{type:o,exportKind:a,declaration:i}=r;return u.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&u.push(" default"),Yh(r,D8.Dangling)&&(u.push(" ",y8(e,t,!0)),E8(r)&&u.push(g8)),i?u.push(" ",n("declaration")):u.push("type"===a?" type":"",Qh(e,t,n),Rs(e,t,n),Vs(e,t,n)),function(s,c){if(!c.semi)return!1;const{type:l,declaration:p}=s,d=s.default||"ExportDefaultDeclaration"===l;if(!p)return!0;const{type:f}=p;return!(!d||"ClassDeclaration"===f||"FunctionDeclaration"===f||"TSInterfaceDeclaration"===f||"DeclareClass"===f||"DeclareFunction"===f||"TSDeclareFunction"===f||"EnumDeclaration"===f)}(r,t)&&u.push(";"),u},printExportAllDeclaration:function(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=[],{exportKind:a,exported:i}=r;return o.push("export"),"type"===a&&o.push(" type"),o.push(" *"),i&&o.push(" as ",n("exported")),o.push(Rs(e,t,n),Vs(e,t,n),u),o},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:u,importKind:o}=r,a=[];"ImportSpecifier"===u&&o&&a.push(o," ");const i=u.startsWith("Import"),s=i?"imported":"local",c=i?"local":"exported";let l="",p="";return"ExportNamespaceSpecifier"===u||"ImportNamespaceSpecifier"===u?l="*":r[s]&&(l=n(s)),!r[c]||r[s]&&C8(r[s],r[c])||(p=n(c)),a.push(l,l&&p?" as ":"",p),a}};const{getParentExportDeclaration:F8}=_,{printClass:x8}=Vr,{printOpaqueType:tm,printTypeAlias:nm,printIntersectionType:S8,printUnionType:w8,printFunctionType:T8,printTupleType:B8,printIndexedAccessType:k8}=fo,{printInterface:N8}=js,{printTypeParameters:P8}=Mr,{printExportDeclaration:O8,printExportAllDeclaration:I8}=em;function Ye(e,t){const n=F8(e);return n?(it.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var j8={printFlow:function(e,t,n){const r=e.getValue(),u=t.semi?";":"";switch(r.type){case"DeclareClass":return Ye(e,x8(e,t,n));case"DeclareFunction":return Ye(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),u]);case"DeclareModule":return Ye(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return Ye(e,["module.exports",": ",n("typeAnnotation"),u]);case"DeclareVariable":return Ye(e,["var ",n("id"),u]);case"DeclareOpaqueType":return Ye(e,tm(e,t,n));case"DeclareInterface":return Ye(e,N8(e,t,n));case"DeclareTypeAlias":return Ye(e,nm(e,t,n));case"DeclareExportDeclaration":return Ye(e,O8(e,t,n));case"DeclareExportAllDeclaration":return Ye(e,I8(e,t,n));case"OpaqueType":return tm(e,t,n);case"TypeAlias":return nm(e,t,n);case"IntersectionTypeAnnotation":return S8(e,t,n);case"UnionTypeAnnotation":return w8(e,t,n);case"FunctionTypeAnnotation":return T8(e,t,n);case"TupleTypeAnnotation":return B8(e,t,n);case"GenericTypeAnnotation":return[n("id"),P8(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return k8(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}};const{hasNewlineInRange:L8}=I,{isJsxNode:vo,isBlockComment:_8,getComments:$s,isCallExpression:M8,isMemberExpression:rm}=_,{locStart:R8,locEnd:V8}=me,{builders:{line:um,softline:$r,group:om,indent:Ao,align:Fo,ifBreak:xo,dedent:$8,breakParent:q8}}=N;function W8(e,t,n){const r=e.getValue(),u="ConditionalExpression"===r.type,o=u?"alternate":"falseType",a=e.getParentNode(),i=u?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return a.type===r.type&&a[o]===r?Fo(2,i):i}const U8=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var im={printTernary:function(e,t,n){const r=e.getValue(),u="ConditionalExpression"===r.type,o=u?"consequent":"trueType",a=u?"alternate":"falseType",i=u?["test"]:["checkType","extendsType"],s=r[o],c=r[a],l=[];let p=!1;const d=e.getParentNode(),f=d.type===r.type&&i.some(T=>d[T]===r);let h,m,g=d.type===r.type&&!f,D=0;do{m=h||r,h=e.getParentNode(D),D++}while(h&&h.type===r.type&&i.every(T=>h[T]!==m));const y=h||d,b=m;if(u&&(vo(r[i[0]])||vo(s)||vo(c)||function(T){const x=[T];for(let S=0;S<x.length;S++){const B=x[S];for(const P of["test","consequent","alternate"]){const O=B[P];if(vo(O))return!0;"ConditionalExpression"===O.type&&x.push(O)}}return!1}(b))){p=!0,g=!0;const T=S=>[xo("("),Ao([$r,S]),$r,xo(")")],x=S=>"NullLiteral"===S.type||"Literal"===S.type&&null===S.value||"Identifier"===S.type&&"undefined"===S.name;l.push(" ? ",x(s)?n(o):T(n(o))," : ",c.type===r.type||x(c)?n(a):T(n(a)))}else{const T=[um,"? ",s.type===r.type?xo("","("):"",Fo(2,n(o)),s.type===r.type?xo("",")"):"",um,": ",c.type===r.type?n(a):Fo(2,n(a))];l.push(d.type!==r.type||d[a]===r||f?T:t.useTabs?$8(Ao(T)):Fo(Math.max(0,t.tabWidth-2),T))}const v=Xi([...i.map(T=>$s(r[T])),$s(s),$s(c)]).some(T=>_8(T)&&L8(t.originalText,R8(T),V8(T))),E=!p&&(rm(d)||"NGPipeExpression"===d.type&&d.left===r)&&!d.computed,C=function(T){const x=T.getValue();if("ConditionalExpression"!==x.type)return!1;let S,B=x;for(let P=0;!S;P++){const O=T.getParentNode(P);M8(O)&&O.callee===B||rm(O)&&O.object===B||"TSNonNullExpression"===O.type&&O.expression===B?B=O:"NewExpression"===O.type&&O.callee===B||"TSAsExpression"===O.type&&O.expression===B?(S=T.getParentNode(P+1),B=O):S=O}return B!==x&&S[U8.get(S.type)]===B}(e),A=(w=[W8(e,0,n),g?l:Ao(l),u&&E&&!C?$r:""],d===y?om(w,{shouldBreak:v}):v?[w,q8]:w);var w;return f||C?om([Ao([$r,A]),$r]):A}};const{printDanglingComments:am}=W,{builders:{line:So,softline:qs,group:Ws,indent:z8,ifBreak:sm,hardline:cm}}=N,{getLast:lm,hasNewlineInRange:H8,hasNewline:G8,isNonEmptyArray:J8}=I,{shouldPrintComma:X8,hasComment:qr,getComments:Y8,CommentCheckFlags:Wr,isNextLineEmpty:K8}=_,{locStart:Ur,locEnd:Q8}=me,{printOptionalToken:pm,printTypeAnnotation:Us}=qe,{shouldHugFunctionParameters:fm}=lo,{shouldHugType:Z8}=fo,{printHardlineAfterHeritage:eS}=Vr;var dm={printObject:function(e,t,n){const r=t.semi?";":"",u=e.getValue();let o;o="TSTypeLiteral"===u.type?"members":"TSInterfaceBody"===u.type?"body":"properties";const a="ObjectTypeAnnotation"===u.type,i=[o];a&&i.push("indexers","callProperties","internalSlots");const s=i.map(E=>u[E][0]).sort((E,C)=>Ur(E)-Ur(C))[0],c=e.getParentNode(0),l=a&&c&&("InterfaceDeclaration"===c.type||"DeclareInterface"===c.type||"DeclareClass"===c.type)&&"body"===e.getName(),p="TSInterfaceBody"===u.type||l||"ObjectPattern"===u.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&&u.properties.some(E=>E.value&&("ObjectPattern"===E.value.type||"ArrayPattern"===E.value.type))||"ObjectPattern"!==u.type&&s&&H8(t.originalText,Ur(u),Ur(s)),d=l?";":"TSInterfaceBody"===u.type||"TSTypeLiteral"===u.type?sm(r,";"):",",f="RecordExpression"===u.type?"#{":u.exact?"{|":"{",h=u.exact?"|}":"}",m=[];for(const E of i)e.each(C=>{const A=C.getValue();m.push({node:A,printed:n(),loc:Ur(A)})},E);i.length>1&&m.sort((E,C)=>E.loc-C.loc);let g=[];const D=m.map(E=>{const C=[...g,Ws(E.printed)];return g=[d,So],"TSPropertySignature"!==E.node.type&&"TSMethodSignature"!==E.node.type&&"TSConstructSignatureDeclaration"!==E.node.type||!qr(E.node,Wr.PrettierIgnore)||g.shift(),K8(E.node,t)&&g.push(cm),C});if(u.inexact){let E;if(qr(u,Wr.Dangling)){const C=qr(u,Wr.Line);E=[am(e,t,!0),C||G8(t.originalText,Q8(lm(Y8(u))))?cm:So,"..."]}else E=["..."];D.push([...g,...E])}const y=lm(u[o]),b=!(u.inexact||y&&"RestElement"===y.type||y&&("TSPropertySignature"===y.type||"TSCallSignatureDeclaration"===y.type||"TSMethodSignature"===y.type||"TSConstructSignatureDeclaration"===y.type)&&qr(y,Wr.PrettierIgnore));let v;if(0===D.length){if(!qr(u,Wr.Dangling))return[f,h,Us(e,t,n)];v=Ws([f,am(e,t),qs,h,pm(e),Us(e,t,n)])}else v=[l&&J8(u.properties)?eS(c):"",f,z8([t.bracketSpacing?So:qs,...D]),sm(b&&(","!==d||X8(t))?d:""),t.bracketSpacing?So:qs,h,pm(e),Us(e,t,n)];return e.match(E=>"ObjectPattern"===E.type&&!E.decorators,(E,C,A)=>fm(E)&&("params"===C||"parameters"===C||"this"===C||"rest"===C)&&0===A)||e.match(Z8,(E,C)=>"typeAnnotation"===C,(E,C)=>"typeAnnotation"===C,(E,C,A)=>fm(E)&&("params"===C||"parameters"===C||"this"===C||"rest"===C)&&0===A)||!p&&e.match(E=>"ObjectPattern"===E.type,E=>"AssignmentExpression"===E.type||"VariableDeclarator"===E.type)?v:Ws(v,{shouldBreak:p})}};const{builders:{hardline:hm}}=N,{getLeftSidePathName:tS,hasNakedLeftSide:nS,isJsxNode:rS,isTheOnlyJsxElementInMarkdown:uS,hasComment:oS,CommentCheckFlags:iS,isNextLineEmpty:aS}=_,{shouldPrintParamsWithoutParens:sS}=yo;function mm(e,t,n,r){const u=e.getValue(),o=[],a="ClassBody"===u.type,i=function(s){for(let c=s.length-1;c>=0;c--){const l=s[c];if("EmptyStatement"!==l.type)return l}}(u[r]);return e.each((s,c,l)=>{const p=s.getValue();if("EmptyStatement"===p.type)return;const d=n();var f,h;t.semi||a||uS(t,s)||(h=t,"ExpressionStatement"!==(f=s).getNode().type||!f.call(m=>gm(m,h),"expression"))?o.push(d):oS(p,iS.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",d),!t.semi&&a&&cS(p)&&function(f,h){const m=f.key&&f.key.name;if(!("static"!==m&&"get"!==m&&"set"!==m||f.value||f.typeAnnotation))return!0;if(!h||h.static||h.accessibility)return!1;if(!h.computed){const g=h.key&&h.key.name;if("in"===g||"instanceof"===g)return!0}switch(h.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return h.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((h.value?h.value.async:h.async)||"get"===h.kind||"set"===h.kind)return!1;const g=h.value?h.value.generator:h.generator;return!(!h.computed&&!g)}case"TSIndexSignature":return!0}return!1}(p,l[c+1])&&o.push(";"),p!==i&&(o.push(hm),aS(p,t)&&o.push(hm))},r),o}function gm(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(!sS(e,t))return!0;break;case"UnaryExpression":{const{prefix:r,operator:u}=n;if(r&&("+"===u||"-"===u))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(rS(n))return!0}return!!Mn(e,t)||!!nS(n)&&e.call(r=>gm(r,t),...tS(e,n))}const cS=({type:e})=>"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e;var ym={printBody:function(e,t,n){return mm(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return mm(e,t,n,"consequent")}};const{printDanglingComments:lS}=W,{isNonEmptyArray:Dm}=I,{builders:{hardline:Wn,indent:pS}}=N,{hasComment:fS,CommentCheckFlags:dS,isNextLineEmpty:hS}=_,{printHardlineAfterHeritage:mS}=Vr,{printBody:gS}=ym;function bm(e,t,n){const r=e.getValue(),u=Dm(r.directives),o=r.body.some(s=>"EmptyStatement"!==s.type),a=fS(r,dS.Dangling);if(!u&&!o&&!a)return"";const i=[];if(u&&e.each((s,c,l)=>{i.push(n()),(c<l.length-1||o||a)&&(i.push(Wn),hS(s.getValue(),t)&&i.push(Wn))},"directives"),o&&i.push(gS(e,t,n)),a&&i.push(lS(e,t,!0)),"Program"===r.type){const s=e.getParentNode();s&&"ModuleExpression"===s.type||i.push(Wn)}return i}var Em={printBlock:function(e,t,n){const r=e.getValue(),u=[];if("StaticBlock"===r.type&&u.push("static "),"ClassBody"===r.type&&Dm(r.body)){const a=e.getParentNode();u.push(mS(a))}u.push("{");const o=bm(e,t,n);if(o)u.push(pS([Wn,o]),Wn);else{const a=e.getParentNode(),i=e.getParentNode(1);"ArrowFunctionExpression"===a.type||"FunctionExpression"===a.type||"FunctionDeclaration"===a.type||"ObjectMethod"===a.type||"ClassMethod"===a.type||"ClassPrivateMethod"===a.type||"ForStatement"===a.type||"WhileStatement"===a.type||"DoWhileStatement"===a.type||"DoExpression"===a.type||"CatchClause"===a.type&&!i.finalizer||"TSModuleDeclaration"===a.type||"TSDeclareFunction"===a.type||"StaticBlock"===r.type||"ClassBody"===r.type||u.push(Wn)}return u.push("}"),u},printBlockBody:bm};const{printDanglingComments:zs}=W,{hasNewlineInRange:yS}=I,{builders:{join:Cm,line:vm,hardline:Am,softline:_e,group:De,indent:Un,conditionalGroup:DS,ifBreak:wo}}=N,{isLiteral:bS,getTypeScriptMappedTypeModifier:Fm,shouldPrintComma:xm,isCallExpression:ES,isMemberExpression:CS}=_,{locStart:Hs,locEnd:vS}=me,{printOptionalToken:Sm,printTypeScriptModifiers:Gs}=qe,{printTernary:AS}=im,{printFunctionParameters:wm,shouldGroupFunctionParameters:FS}=lo,{printTemplateLiteral:xS}=In,{printArrayItems:SS}=eo,{printObject:wS}=dm,{printClassProperty:TS,printClassMethod:BS}=Vr,{printTypeParameter:kS,printTypeParameters:Js}=Mr,{printPropertyKey:NS}=mo,{printFunctionDeclaration:PS,printMethodInternal:OS}=yo,{printInterface:IS}=js,{printBlock:jS}=Em,{printTypeAlias:LS,printIntersectionType:_S,printUnionType:MS,printFunctionType:RS,printTupleType:VS,printIndexedAccessType:$S}=fo;var qS={printTypescript:function(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=[];switch(r.type){case"TSTypeAssertion":{const a=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),i=De(["<",Un([_e,n("typeAnnotation")]),_e,">"]),s=[wo("("),Un([_e,n("expression")]),_e,wo(")")];return a?DS([[i,n("expression")],[i,De(s,{shouldBreak:!0})],[i,n("expression")]]):De([i,n("expression")])}case"TSDeclareFunction":return PS(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),u];case"TSModuleBlock":return jS(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return wS(e,t,n);case"TSTypeAliasDeclaration":return LS(e,t,n);case"TSQualifiedName":return Cm(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return BS(e,t,n);case"TSAbstractClassProperty":return TS(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return o.push(n("expression")),r.typeParameters&&o.push(n("typeParameters")),o;case"TSTemplateLiteralType":return xS(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 IS(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Js(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return kS(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":{o.push(n("expression")," as ",n("typeAnnotation"));const a=e.getParentNode();return ES(a)&&a.callee===r||CS(a)&&a.object===r?De([Un([_e,...o]),_e]):o}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&o.push("export "),r.accessibility&&o.push(r.accessibility+" "),r.static&&o.push("static "),r.readonly&&o.push("readonly "),o.push(NS(e,t,n),Sm(e)),r.typeAnnotation&&o.push(": ",n("typeAnnotation")),r.initializer&&o.push(" = ",n("initializer")),o;case"TSParameterProperty":return r.accessibility&&o.push(r.accessibility+" "),r.export&&o.push("export "),r.static&&o.push("static "),r.readonly&&o.push("readonly "),o.push(n("parameter")),o;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{const a=e.getParentNode(),i=r.parameters.length>1?wo(xm(t)?",":""):"",s=De([Un([_e,Cm([", ",_e],e.map(n,"parameters"))]),i,_e]);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"===a.type?u:""]}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")]:"",Js(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return $S(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":return"TSConstructorType"===r.type&&r.abstract&&o.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&o.push("new "),o.push(De(wm(e,n,t,!1,!0))),(r.returnType||r.typeAnnotation)&&o.push("TSConstructorType"===r.type?" => ":": ",n("returnType"),n("typeAnnotation")),o;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const a=yS(t.originalText,Hs(r),vS(r));return De(["{",Un([t.bracketSpacing?vm:_e,r.readonly?[Fm(r.readonly,"readonly")," "]:"",Gs(e,t,n),n("typeParameter"),r.optional?Fm(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),wo(u)]),zs(e,t,!0),t.bracketSpacing?vm:_e,"}"],{shouldBreak:a})}case"TSMethodSignature":{const a=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";o.push(r.accessibility?[r.accessibility," "]:"",a,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Sm(e));const i=wm(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",c=r[s],l=c?n(s):"",p=FS(r,l);return o.push(p?De(i):i),c&&o.push(": ",De(l)),De(o)}case"TSNamespaceExportDeclaration":return o.push("export as namespace ",n("id")),t.semi&&o.push(";"),De(o);case"TSEnumDeclaration":return r.declare&&o.push("declare "),r.modifiers&&o.push(Gs(e,t,n)),r.const&&o.push("const "),o.push("enum ",n("id")," "),o.push(De(0===r.members.length?["{",zs(e,t),_e,"}"]:["{",Un([Am,SS(e,t,"members",n),xm(t,"es5")?",":""]),zs(e,t,!0),Am,"}"])),o;case"TSEnumMember":return o.push(n("id")),r.initializer&&o.push(" = ",n("initializer")),o;case"TSImportEqualsDeclaration":return r.isExport&&o.push("export "),o.push("import "),r.importKind&&"value"!==r.importKind&&o.push(r.importKind," "),o.push(n("id")," = ",n("moduleReference")),t.semi&&o.push(";"),De(o);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const a=e.getParentNode(),i=bS(r.id),c=r.body&&"TSModuleDeclaration"===r.body.type;if("TSModuleDeclaration"===a.type)o.push(".");else{r.declare&&o.push("declare "),o.push(Gs(e,t,n));const l=t.originalText.slice(Hs(r),Hs(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(l)||o.push(i||/(^|\s)module(\s|$)/.test(l)?"module ":"namespace ")}return o.push(n("id")),c?o.push(n("body")):r.body?o.push(" ",De(n("body"))):o.push(u),o}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return AS(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return _S(e,t,n);case"TSUnionType":return MS(e,t,n);case"TSFunctionType":return RS(e,t,n);case"TSTupleType":return VS(e,t,n);case"TSTypeReference":return[n("typeName"),Js(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return OS(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:WS}=I,{builders:{join:US,hardline:Tm},utils:{replaceNewlinesWithLiterallines:zS}}=N,{isLineComment:HS,isBlockComment:GS}=_,{locStart:Bm,locEnd:km}=me;var JS={printComment:function(e,t){const n=e.getValue();if(HS(n))return t.originalText.slice(Bm(n),km(n)).trimEnd();if(GS(n)){if(function(o){const a="*".concat(o.value,"*").split("\n");return a.length>1&&a.every(i=>"*"===i.trim()[0])}(n)){const o=function(a){const i=a.value.split("\n");return["/*",US(Tm,i.map((s,c)=>0===c?s.trimEnd():" "+(c<i.length-1?s.trim():s.trimStart()))),"*/"]}(n);return n.trailing&&!WS(t.originalText,Bm(n),{backwards:!0})?[Tm,o]:o}const r=km(n),u="*-/"===t.originalText.slice(r-3,r);return["/*",zS(n.value),u?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}};const{printString:Nm,printNumber:Xs}=I;function Pm(e){return e.toLowerCase()}function Om({pattern:e,flags:t}){return t=t.split("").sort().join(""),"/".concat(e,"/").concat(t)}var XS={printLiteral:function(e,t){const n=e.getNode();switch(n.type){case"RegExpLiteral":return Om(n);case"BigIntLiteral":return Pm(n.bigint||n.extra.raw);case"NumericLiteral":return Xs(n.extra.raw);case"StringLiteral":return Nm(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return Xs(n.value)+"m";case"Literal":{if(n.regex)return Om(n.regex);if(n.bigint)return Pm(n.raw);const{value:r}=n;return"number"==typeof r?Xs(n.raw):"string"==typeof r?Nm(n.raw,t):String(r)}}}};const{printDanglingComments:To}=W,{hasNewline:Im,printString:YS,printNumber:jm}=I,{builders:{join:Ys,line:zr,hardline:ue,softline:J,literalline:KS,group:$,indent:oe}}=N,{insertPragma:QS}=za,{getCallArguments:ZS,hasFlowShorthandAnnotationComment:e6,hasComment:zn,CommentCheckFlags:Ks,isFunctionNotation:t6,isGetterOrSetter:n6,isTheOnlyJsxElementInMarkdown:r6,isBlockComment:Qs,isLineComment:u6,isNextLineEmpty:Lm,needsHardlineAfterDanglingComment:o6,rawText:_m,shouldPrintComma:i6,hasIgnoreComment:a6,isCallExpression:Mm,isMemberExpression:s6}=_,{locStart:Rm,locEnd:Vm}=me,{printHtmlBinding:c6,isVueEventBindingExpression:l6}=$A,{printAngular:p6}=i3,{printJsx:f6,hasJsxIgnoreComment:d6}=y3,{printFlow:h6}=j8,{printTypescript:m6}=qS,{printOptionalToken:Bo,printBindExpressionCallee:g6,printTypeAnnotation:Zs,adjustClause:Ct}=qe,{printImportDeclaration:y6,printExportDeclaration:D6,printExportAllDeclaration:b6,printModuleSpecifier:E6}=em,{printTernary:C6}=im,{printTemplateLiteral:v6}=In,{printArray:A6,printArrayItems:F6}=eo,{printObject:x6}=dm,{printClass:S6,printClassMethod:w6,printClassProperty:T6}=Vr,{printTypeParameters:B6}=Mr,{printPropertyKey:k6,printProperty:N6}=mo,{printFunctionDeclaration:P6,printArrowFunctionExpression:O6,printMethod:$m,printReturnStatement:I6,printThrowStatement:j6}=yo,{printCallExpression:L6}=ah,{printInterface:_6}=js,{printVariableDeclarator:M6,printAssignmentExpression:R6}=co,{printBinaryishExpression:V6}=es,{printSwitchCaseConsequent:$6}=ym,{printMemberExpression:q6}=th,{printBlock:W6,printBlockBody:U6}=Em,{printComment:z6}=JS,{printLiteral:H6}=XS,{printDecorators:G6}=Ss;function qm(e,t){const n=_m(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;const u=t.singleQuote?"'":'"';return u+r+u}var J6={preprocess:y1,print:function(e,t,n,r){const u=function(c,l,p,d){const f=c.getValue(),h=l.semi?";":"";if(!f)return"";if("string"==typeof f)return f;for(const g of[H6,c6,p6,f6,h6,m6]){const D=g(c,l,p);if(void 0!==D)return D}let m=[];switch(f.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),ue];case"File":return f.program&&f.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return U6(c,l,p);case"EmptyStatement":return"";case"ExpressionStatement":if(f.directive)return[qm(f.expression,l),h];if("__vue_event_binding"===l.parser){const g=c.getParentNode();if("Program"===g.type&&1===g.body.length&&g.body[0]===f)return[p("expression"),l6(f.expression)?";":""]}return[p("expression"),r6(l,c)?"":h];case"ParenthesizedExpression":return zn(f.expression)||"ObjectExpression"!==f.expression.type&&"ArrayExpression"!==f.expression.type?$(["(",oe([J,p("expression")]),J,")"]):["(",p("expression"),")"];case"AssignmentExpression":return R6(c,l,p);case"VariableDeclarator":return M6(c,l,p);case"BinaryExpression":case"LogicalExpression":return V6(c,l,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return q6(c,l,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return f.object&&m.push(p("object")),m.push($(oe([J,g6(c,l,p)]))),m;case"Identifier":return[f.name,Bo(c),Zs(c,l,p)];case"V8IntrinsicIdentifier":return["%",f.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",p("argument"),Zs(c,l,p)];case"FunctionDeclaration":case"FunctionExpression":{let g=!1;if(d&&d.expandLastArg){const D=c.getParentNode();Mm(D)&&ZS(D).length>1&&(g=!0)}return P6(c,p,l,g)}case"ArrowFunctionExpression":return O6(c,l,p,d);case"YieldExpression":return m.push("yield"),f.delegate&&m.push("*"),f.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),f.argument){m.push(" ",p("argument"));const g=c.getParentNode();if(Mm(g)&&g.callee===f||s6(g)&&g.object===f){m=[oe([J,...m]),J];const D=c.findAncestor(y=>"AwaitExpression"===y.type||"BlockStatement"===y.type);if(!D||"AwaitExpression"!==D.type)return $(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return D6(c,l,p);case"ExportAllDeclaration":return b6(c,l,p);case"ImportDeclaration":return y6(c,l,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return E6(c,l,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return W6(c,l,p);case"ThrowStatement":return j6(c,l,p);case"ReturnStatement":return I6(c,l,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return L6(c,l,p);case"ObjectTypeInternalSlot":return[f.static?"static ":"","[[",p("id"),"]]",Bo(c),f.method?"":": ",p("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return x6(c,l,p);case"ObjectProperty":case"Property":return f.method||"get"===f.kind||"set"===f.kind?$m(c,l,p):N6(c,l,p);case"ObjectMethod":return $m(c,l,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return A6(c,l,p);case"SequenceExpression":{const g=c.getParentNode(0);if("ExpressionStatement"===g.type||"ForStatement"===g.type){const D=[];return c.each((y,b)=>{0===b?D.push(p()):D.push(",",oe([zr,p()]))},"expressions"),$(D)}return $(Ys([",",zr],c.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),h];case"DirectiveLiteral":return qm(f,l);case"UnaryExpression":return m.push(f.operator),/[a-z]$/.test(f.operator)&&m.push(" "),zn(f.argument)?m.push($(["(",oe([J,p("argument")]),J,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),f.operator),f.prefix&&m.reverse(),m;case"ConditionalExpression":return C6(c,l,p);case"VariableDeclaration":{const g=c.map(p,"declarations"),D=c.getParentNode(),y="ForStatement"===D.type||"ForInStatement"===D.type||"ForOfStatement"===D.type,b=f.declarations.some(E=>E.init);let v;return 1!==g.length||zn(f.declarations[0])?g.length>0&&(v=oe(g[0])):v=g[0],m=[f.declare?"declare ":"",f.kind,v?[" ",v]:"",oe(g.slice(1).map(E=>[",",b&&!y?ue:zr,E]))],y&&D.body!==f||m.push(h),$(m)}case"WithStatement":return $(["with (",p("object"),")",Ct(f.body,p("body"))]);case"IfStatement":{const g=Ct(f.consequent,p("consequent")),D=$(["if (",$([oe([J,p("test")]),J]),")",g]);if(m.push(D),f.alternate){const y=zn(f.consequent,Ks.Trailing|Ks.Line)||o6(f);m.push("BlockStatement"!==f.consequent.type||y?ue:" "),zn(f,Ks.Dangling)&&m.push(To(c,l,!0),y?ue:" "),m.push("else",$(Ct(f.alternate,p("alternate"),"IfStatement"===f.alternate.type)))}return m}case"ForStatement":{const g=Ct(f.body,p("body")),D=To(c,l,!0),y=D?[D,J]:"";return f.init||f.test||f.update?[y,$(["for (",$([oe([J,p("init"),";",zr,p("test"),";",zr,p("update")]),J]),")",g])]:[y,$(["for (;;)",g])]}case"WhileStatement":return $(["while (",$([oe([J,p("test")]),J]),")",Ct(f.body,p("body"))]);case"ForInStatement":return $(["for (",p("left")," in ",p("right"),")",Ct(f.body,p("body"))]);case"ForOfStatement":return $(["for",f.await?" await":""," (",p("left")," of ",p("right"),")",Ct(f.body,p("body"))]);case"DoWhileStatement":{const g=Ct(f.body,p("body"));return m=[$(["do",g])],m.push("BlockStatement"===f.body.type?" ":ue),m.push("while (",$([oe([J,p("test")]),J]),")",h),m}case"DoExpression":return[f.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),f.label&&m.push(" ",p("label")),m.push(h),m;case"ContinueStatement":return m.push("continue"),f.label&&m.push(" ",p("label")),m.push(h),m;case"LabeledStatement":return"EmptyStatement"===f.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),f.handler?[" ",p("handler")]:"",f.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(f.param){const g=zn(f.param,y=>!Qs(y)||y.leading&&Im(l.originalText,Vm(y))||y.trailing&&Im(l.originalText,Rm(y),{backwards:!0})),D=p("param");return["catch ",g?["(",oe([J,D]),J,") "]:["(",D,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[$(["switch (",oe([J,p("discriminant")]),J,")"])," {",f.cases.length>0?oe([ue,Ys(ue,c.map((g,D,y)=>{const b=g.getValue();return[p(),D!==y.length-1&&Lm(b,l)?ue:""]},"cases"))]):"",ue,"}"];case"SwitchCase":{f.test?m.push("case ",p("test"),":"):m.push("default:");const g=f.consequent.filter(D=>"EmptyStatement"!==D.type);if(g.length>0){const D=$6(c,l,p);m.push(1===g.length&&"BlockStatement"===g[0].type?[" ",D]:oe([ue,D]))}return m}case"DebuggerStatement":return["debugger",h];case"ClassDeclaration":case"ClassExpression":return S6(c,l,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return w6(c,l,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return T6(c,l,p);case"TemplateElement":return Ys(KS,f.value.raw.split(/\r?\n/g));case"TemplateLiteral":return v6(c,p,l);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("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(f.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[p("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(f.value);case"EnumDeclaration":return["enum ",p("id")," ",p("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===f.type||f.explicitType){let g=null;switch(f.type){case"EnumBooleanBody":g="boolean";break;case"EnumNumberBody":g="number";break;case"EnumStringBody":g="string";break;case"EnumSymbolBody":g="symbol"}m.push("of ",g," ")}if(0!==f.members.length||f.hasUnknownMembers){const g=f.members.length>0?[ue,F6(c,l,"members",p),f.hasUnknownMembers||i6(l)?",":""]:[];m.push($(["{",oe([...g,...f.hasUnknownMembers?[ue,"..."]:[]]),To(c,l,!0),ue,"}"]))}else m.push($(["{",To(c,l),J,"}"]));return m;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[p("id")," = ","object"==typeof f.init?p("init"):String(f.init)];case"EnumDefaultedMember":return p("id");case"FunctionTypeParam":{const g=f.name?p("name"):c.getParentNode().this===f?"this":"";return[g,Bo(c),g?": ":"",p("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return _6(c,l,p);case"ClassImplements":case"InterfaceExtends":return[p("id"),p("typeParameters")];case"NullableTypeAnnotation":return["?",p("typeAnnotation")];case"Variance":{const{kind:g}=f;return it.ok("plus"===g||"minus"===g),"plus"===g?"+":"-"}case"ObjectTypeCallProperty":return f.static&&m.push("static "),m.push(p("value")),m;case"ObjectTypeIndexer":return[f.variance?p("variance"):"","[",p("id"),f.id?": ":"",p("key"),"]: ",p("value")];case"ObjectTypeProperty":{let g="";return f.proto?g="proto ":f.static&&(g="static "),[g,n6(f)?f.kind+" ":"",f.variance?p("variance"):"",k6(c,l,p),Bo(c),t6(f)?"":": ",p("value")]}case"QualifiedTypeIdentifier":return[p("qualification"),".",p("id")];case"StringLiteralTypeAnnotation":return YS(_m(f),l);case"NumberLiteralTypeAnnotation":it.strictEqual(typeof f.value,"number");case"BigIntLiteralTypeAnnotation":return jm(f.extra?f.extra.raw:f.raw);case"TypeCastExpression":return["(",p("expression"),Zs(c,l,p),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const g=B6(c,l,p,"params");if("flow"===l.parser){const D=Rm(f),y=Vm(f),b=l.originalText.lastIndexOf("/*",D),v=l.originalText.indexOf("*/",y);if(-1!==b&&-1!==v){const E=l.originalText.slice(b+2,v).trim();if(E.startsWith("::")&&!E.includes("/*")&&!E.includes("*/"))return["/*:: ",g," */"]}}return g}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",p("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["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",f.value,ue),Lm(f,l)&&m.push(ue),m;case"PipelineBareFunction":return p("callee");case"PipelineTopicExpression":return p("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");const g=p("body");return g&&m.push(oe([ue,g]),ue),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(f.type))}}(e,t,n,r);if(!u)return"";const o=e.getValue(),{type:a}=o;if("ClassMethod"===a||"ClassPrivateMethod"===a||"ClassProperty"===a||"PropertyDefinition"===a||"TSAbstractClassProperty"===a||"ClassPrivateProperty"===a||"MethodDefinition"===a||"TSAbstractMethodDefinition"===a||"TSDeclareMethod"===a)return u;const i=G6(e,t,n);if(i)return $([...i,u]);if(!Mn(e,t))return r&&r.needsSemi?[";",u]:u;const s=[r&&r.needsSemi?";(":"(",u];if(e6(o)){const[c]=o.trailingComments;s.push(" /*",c.value.trimStart(),"*/"),c.printed=!0}return s.push(")"),s},embed:function(e,t,n,r){const u=e.getValue();if("TemplateLiteral"!==u.type||function({quasis:a}){return a.some(({value:{cooked:i}})=>null===i)}(u))return;const o=function(e){return function(t){const n=t.getValue(),r=t.getParentNode(),u=t.getParentNode(1);return u&&n.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===u.type&&"style"===u.openingElement.name.name&&u.openingElement.attributes.some(o=>"jsx"===o.name.name)||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}(e)||function(t){const n=t.getParentNode();if(!n||"TaggedTemplateExpression"!==n.type)return!1;const{tag:r}=n;switch(r.type){case"MemberExpression":return Uu(r.object)||Rd(r);case"CallExpression":return Uu(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(Uu(r.callee.object.object)||Rd(r.callee.object))||"CallExpression"===r.callee.object.type&&Uu(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(t){const n=t.getParentNode(),r=t.getParentNode(1);return r&&"JSXExpressionContainer"===n.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}(e)||e.match(n=>"TemplateLiteral"===n.type,(n,r)=>"ArrayExpression"===n.type&&"elements"===r,(n,r)=>("Property"===n.type||"ObjectProperty"===n.type)&&"Identifier"===n.key.type&&"styles"===n.key.name&&"value"===r,...Md)?"css":function(t){const n=t.getValue(),r=t.getParentNode();return Vd(n,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}(e)?"graphql":Vd((t=e).getValue(),"HTML")||t.match(n=>"TemplateLiteral"===n.type,(n,r)=>"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"html"===n.tag.name&&"quasi"===r)?"html":function(t){return t.match(n=>"TemplateLiteral"===n.type,(n,r)=>("Property"===n.type||"ObjectProperty"===n.type)&&"Identifier"===n.key.type&&"template"===n.key.name&&"value"===r,...Md)}(e)?"angular":function(t){const n=t.getValue(),r=t.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===n.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}(e)?"markdown":void 0;var t}(e);return o?"markdown"===o?function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(i,s)=>"\\".repeat(s.length/2)+"`");const u=function(i){const s=i.match(/^([^\S\n]*)\S/m);return null===s?"":s[1]}(r),o=""!==u;o&&(r=r.replace(new RegExp("^".concat(u),"gm"),""));const a=hv(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",o?pv([Id,a]):[fv,dv(a)],Id,"`"]}(e,0,n):"css"===o?function(e,t,n){const r=e.getValue(),u=r.quasis.map(a=>a.value.raw);let o=0;return function(a,i,s){if(1===i.quasis.length&&!i.quasis[0].value.raw.trim())return"``";const c=function(l,p){if(!gv(p))return l;let d=0;const f=Ev(vv(l),h=>"string"==typeof h&&h.includes("@prettier-placeholder")?h.split(/@prettier-placeholder-(\d+)-id/).map((m,g)=>g%2==0?Cv(m):(d++,p[m])):h);return p.length===d?f:null}(a,s);if(!c)throw new Error("Couldn't insert all the expressions");return["`",yv([Dv,c]),bv,"`"]}(n(u.reduce((a,i,s)=>0===s?i:a+"@prettier-placeholder-"+o+++"-id"+i,""),{parser:"scss"},{stripTrailingHardline:!0}),r,Av(e,t))}(e,t,n):"graphql"===o?function(e,t,n){const r=e.getValue(),u=r.quasis.length;if(1===u&&""===r.quasis[0].value.raw.trim())return"``";const o=wv(e,t),a=[];for(let i=0;i<u;i++){const s=0===i,c=i===u-1,l=r.quasis[i].value.cooked,p=l.split("\n"),d=p.length,f=o[i],h=d>2&&""===p[0].trim()&&""===p[1].trim(),m=d>2&&""===p[d-1].trim()&&""===p[d-2].trim(),g=p.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!c&&/#[^\n\r]*$/.test(p[d-1]))return null;let D=null;D=g?Tv(p):n(l,{parser:"graphql"},{stripTrailingHardline:!0}),D?(D=Sv(D,!1),!s&&h&&a.push(""),a.push(D),!c&&m&&a.push("")):s||c||!h||a.push(""),f&&a.push(f)}return["`",xv([wr,jd(wr,a)]),wr,"`"]}(e,t,n):"html"===o||"angular"===o?function(e,t,n,r,{parser:u}){const o=e.getValue(),a=qa;qa=qa+1>>>0;const i=D=>"PRETTIER_HTML_PLACEHOLDER_".concat(D,"_").concat(a,"_IN_JS"),s=o.quasis.map((D,y,b)=>y===b.length-1?D.value.cooked:D.value.cooked+i(y)).join(""),c=Ov(e,t);if(0===c.length&&0===s.trim().length)return"``";const l=new RegExp(i("(\\d+)"),"g");let p=0;const d=n(s,{parser:u,__onHtmlRoot(D){p=D.children.length}},{stripTrailingHardline:!0}),f=Pv(d,D=>{if("string"!=typeof D)return D;const y=[],b=D.split(l);for(let v=0;v<b.length;v++){let E=b[v];if(v%2==0){E&&(E=Iv(E),r.__embeddedInHtml&&(E=E.replace(/<\/(script)\b/gi,"<\\/$1")),y.push(E));continue}const C=Number(E);y.push(c[C])}return y}),h=/^\s/.test(s)?" ":"",m=/\s$/.test(s)?" ":"",g="ignore"===r.htmlWhitespaceSensitivity?Nv:h&&m?kv:null;return Wu(g?["`",Ld([g,Wu(f)]),g,"`"]:["`",h,p>1?Ld(Wu(f)):Wu(f),m,"`"])}(e,t,n,r,{parser:o}):void 0:void 0},insertPragma:QS,massageAstNode:$v,hasPrettierIgnore:e=>a6(e)||d6(e),willPrintOwnComments:_n.willPrintOwnComments,canAttachComment:function(e){return e.type&&!Qs(e)&&!u6(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:z6,isBlockComment:Qs,handleComments:{avoidAstMutation:!0,ownLine:_n.handleOwnLineComment,endOfLine:_n.handleEndOfLineComment,remaining:_n.handleRemainingComment},getCommentChildNodes:_n.getCommentChildNodes};const{builders:{hardline:Yt,indent:Wm,join:Um}}=N,X6=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function zm(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[r,u]of e.elements.entries())null===u&&t.elements.splice(r,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}zm.ignoredProperties=X6;var Y6={preprocess:y1,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),Yt];case"ArrayExpression":{if(0===r.elements.length)return"[]";const u=e.map(()=>null===e.getValue()?"null":n(),"elements");return["[",Wm([Yt,Um([",",Yt],u)]),Yt,"]"]}case"ObjectExpression":return 0===r.properties.length?"{}":["{",Wm([Yt,Um([",",Yt],e.map(n,"properties"))]),Yt,"}"];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 u=e.getParentNode();return u&&"ObjectProperty"===u.type&&u.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:zm};const ec="Common";var ct={bracketSpacing:{since:"0.0.0",category:ec,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:ec,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:ec,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 Hn="JavaScript";var K6={arrowParens:{since:"1.9.0",category:Hn,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:ct.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Hn,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Hn,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:ct.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Hn,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Hn,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:Hn,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)."}]}},tc={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},Hm={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},nw={languages:[U(tc,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions.filter(t=>".jsx"!==t),".wxs"]})),U(tc,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),U(tc,()=>({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})),U({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"]})),U({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"]})),U(Hm,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),U(Hm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(t=>".jsonl"!==t)})),U({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"]})),U({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:K6,printers:{estree:J6,"estree-json":Y6},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:Gm}=I,rw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function Jm(e,t,n){if(Gm(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0&&((n.nodes[0]===e||Gm(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text))||"css-root"===n.type&&X(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,(r,u,o)=>{const a=Number(u);return Number.isNaN(a)?r:a+o.toLowerCase()})),"selector-tag"===e.type){const r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}Jm.ignoredProperties=rw;var uw=Jm;const{builders:{hardline:Xm,markAsRoot:ow}}=N;var nc=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return ow([e.startDelimiter,Xm,r,r?Xm:"",e.endDelimiter])}};const{builders:{hardline:iw}}=N;const sw=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var ko=function(e){const t=e.match(sw);if(!t)return{content:e};const{startDelimiter:n,language:r,value:u="",endDelimiter:o}=t.groups;let a=r.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};const[i]=t;return{frontMatter:{type:"front-matter",lang:a,value:u,startDelimiter:n,endDelimiter:o,raw:i.replace(/\n$/,"")},content:i.replace(/[^\n]/g," ")+e.slice(i.length)}},cw={hasPragma:function(e){return za.hasPragma(ko(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=ko(e);return(t?t.raw+"\n\n":"")+za.insertPragma(n)}};const{isNonEmptyArray:Ym}=I,lw=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 Km(e,t){const n=Array.isArray(t)?t:[t];let r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}function vt(e,t){const n=Km(e,t);return-1===n?null:e.getParentNode(n)}function Qm(e){return"value-operator"===e.type&&"*"===e.value}function Zm(e){return"value-operator"===e.type&&"/"===e.value}function eg(e){return"value-operator"===e.type&&"+"===e.value}function tg(e){return"value-operator"===e.type&&"-"===e.value}function ng(e){return"value-operator"===e.type&&"%"===e.value}function rc(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function No(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&rc(e.groups[0])}function rg(e){return e&&"value-colon"===e.type}var pw={getAncestorCounter:Km,getAncestorNode:vt,getPropOfDeclNode:function(e){const t=vt(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(Ym(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(Ym(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=vt(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=vt(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=vt(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=vt(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=vt(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:Qm,isDivisionNode:Zm,isAdditionNode:eg,isSubtractionNode:tg,isModuloNode:ng,isMathOperatorNode:function(e){return Qm(e)||Zm(e)||eg(e)||tg(e)||ng(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:rc,isKeyValuePairInParenGroupNode:No,isKeyInValuePairNode:function(e,t){if(!rc(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&rg(n[r+1])},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(No(t)||n&&No(n)))return!1;const r=vt(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!No(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:rg,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&lw.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((u,o,a)=>u+e(o)+("comma_group"===t.groups[0].type&&a!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const r=t.raws&&t.raws.quote?t.raws.quote:"";return(t.raws&&t.raws.before?t.raws.before:"")+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},ug=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:fw,skipEverythingButNewLine:dw}=I;function og(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?ug(e.source.start,t)-1:null}function ig(e,t){if("css-comment"===e.type&&e.inline)return dw(t,e.source.startOffset);const n=e.nodes&&fw(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?ug(e.source.end,t):null}function ag(e,t,n){e.source&&(e.source.startOffset=og(e,n)+t,e.source.endOffset=ig(e,n)+t);for(const r in e){const u=e[r];"source"!==r&&u&&"object"==typeof u&&ag(u,t,n)}}function hw(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 mw={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=og(t,n),t.source.endOffset=ig(t,n));for(const r in t){const u=t[r];"source"!==r&&u&&"object"==typeof u&&("value-root"===u.type||"value-unknown"===u.type?ag(u,hw(t),u.text||u.value):e(u,n))}},replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",u=!1;const o=[];for(let a=0;a<e.length;a++){const i=e[a];switch(n){case"initial":if("'"===i){n="single-quotes";continue}if('"'===i){n="double-quotes";continue}if(("u"===i||"U"===i)&&"url("===e.slice(a,a+4).toLowerCase()){n="url",a+=3;continue}if("*"===i&&"/"===e[a-1]){n="comment-block";continue}if("/"===i&&"/"===e[a-1]){n="comment-inline",t=a-1;continue}continue;case"single-quotes":if("'"===i&&"\\"!==e[a-1]&&(n=r,r="initial"),"\n"===i||"\r"===i)return e;continue;case"double-quotes":if('"'===i&&"\\"!==e[a-1]&&(n=r,r="initial"),"\n"===i||"\r"===i)return e;continue;case"url":if(")"===i&&(n="initial"),"\n"===i||"\r"===i)return e;if("'"===i){n="single-quotes",r="url";continue}if('"'===i){n="double-quotes",r="url";continue}continue;case"comment-block":"/"===i&&"*"===e[a-1]&&(n="initial");continue;case"comment-inline":'"'!==i&&"'"!==i&&"*"!==i||(u=!0),"\n"!==i&&"\r"!==i||(u&&o.push([t,a]),n="initial",u=!1);continue}}for(const[a,i]of o)e=e.slice(0,a)+e.slice(a,i).replace(/["'*]/g," ")+e.slice(i);return e}};const{printNumber:gw,printString:sg,hasNewline:yw,isFrontMatterNode:cg,isNextLineEmpty:Dw,isNonEmptyArray:bw}=I,{builders:{join:Gn,line:ve,hardline:be,softline:At,group:We,fill:uc,indent:Me,dedent:Po,ifBreak:lg,breakParent:pg},utils:{removeLines:Ew,getDocParts:fg}}=N,{insertPragma:Cw}=cw,{getAncestorNode:oc,getPropOfDeclNode:vw,maybeToLowerCase:Kt,insideValueFunctionNode:Oo,insideICSSRuleNode:Aw,insideAtRuleNode:ic,insideURLFunctionInImportAtRuleNode:Fw,isKeyframeAtRuleKeywords:xw,isWideKeywords:Sw,isSCSS:ww,isLastNode:ac,isLessParser:dg,isSCSSControlDirectiveNode:sc,isDetachedRulesetDeclarationNode:Tw,isRelationalOperatorNode:Bw,isEqualityOperatorNode:kw,isMultiplicationNode:hg,isDivisionNode:cc,isAdditionNode:Qt,isSubtractionNode:Hr,isMathOperatorNode:lc,isEachKeywordNode:Nw,isForKeywordNode:Pw,isURLFunctionNode:Ow,isIfElseKeywordNode:Iw,hasComposesNode:jw,hasParensAroundNode:Lw,hasEmptyRawBefore:Jn,isKeyValuePairNode:_w,isKeyInValuePairNode:Mw,isDetachedRulesetCallNode:mg,isTemplatePlaceholderNode:gg,isTemplatePropNode:Rw,isPostcssSimpleVarNode:Vw,isSCSSMapItemNode:$w,isInlineValueCommentNode:yg,isHashNode:pc,isLeftCurlyBraceNode:Dg,isRightCurlyBraceNode:fc,isWordNode:Io,isColonNode:bg,isMediaAndSupportsKeywords:qw,isColorAdjusterFuncNode:Ww,lastLineHasInlineComment:Gr,isAtWordPlaceholderNode:dc}=pw,{locStart:Zt,locEnd:Ft}=mw;function Uw(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Jr(e,t,n){const r=[];return e.each((u,o,a)=>{const i=a[o-1];if(i&&"css-comment"===i.type&&"prettier-ignore"===i.text.trim()){const s=u.getValue();r.push(t.originalText.slice(Zt(s),Ft(s)))}else r.push(n());o!==a.length-1&&("css-comment"===a[o+1].type&&!yw(t.originalText,Zt(a[o+1]),{backwards:!0})&&!cg(a[o])||"css-atrule"===a[o+1].type&&"else"===a[o+1].name&&"css-comment"!==a[o].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?ve:be),Dw(t.originalText,u.getValue(),Ft)&&!cg(a[o])&&r.push(be)))},"nodes"),r}const Eg=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,zw=new RegExp(Eg.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 Ke(e,t){return e.replace(Eg,n=>sg(n,t))}function Hw(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Xn(e){return e.replace(zw,(t,n,r,u,o)=>!r&&u?Cg(u)+Kt(o||""):t)}function Cg(e){return gw(e).replace(/\.0(?=$|e)/,"")}var Gw={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,be];case"css-root":{const u=Jr(e,t,n),o=r.raws.after.trim();return[u,o?" ".concat(o):"",fg(u).length>0?be:""]}case"css-comment":{const u=r.inline||r.raws.inline,o=t.originalText.slice(Zt(r),Ft(r));return u?o.trimEnd():o}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&Gr(r.selector.value)?ve:" ","{",r.nodes.length>0?Me([be,Jr(e,t,n)]):"",be,"}",Tw(r)?";":""]:";"];case"css-decl":{const u=e.getParentNode(),{between:o}=r.raws,a=o.trim(),i=":"===a;let s=jw(r)?Ew(n("value")):n("value");return!i&&Gr(a)&&(s=Me([be,Po(s)])),[r.raws.before.replace(/[\s;]/g,""),Aw(e)?r.prop:Kt(r.prop),a.startsWith("//")?" ":"",a,r.extend?"":" ",dg(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",s,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",Me([At,Jr(e,t,n)]),At,"}"]:Rw(r)&&!u.raws.semicolon&&";"!==t.originalText[Ft(r)-1]?"":t.__isHTMLStyleAttribute&&ac(e,r)?lg(";"):";"]}case"css-atrule":{const u=e.getParentNode(),o=gg(r)&&!u.raws.semicolon&&";"!==t.originalText[Ft(r)-1];if(dg(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",o?"":";"];if(r.function)return[r.name,n("params"),o?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",Me([r.nodes.length>0?At:"",Jr(e,t,n)]),At,"}"]:"",o?"":";"]}return["@",mg(r)||r.name.endsWith(":")?r.name:Kt(r.name),r.params?[mg(r)?"":gg(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[be,be]:/^\s*\n/.test(r.raws.afterName)?be:" ":" ",n("params")]:"",r.selector?Me([" ",n("selector")]):"",r.value?We([" ",n("value"),sc(r)?Lw(r)?" ":ve:""]):"else"===r.name?" ":"",r.nodes?[sc(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&Gr(r.selector.value)||!r.selector&&"string"==typeof r.params&&Gr(r.params)?ve:" ","{",Me([r.nodes.length>0?At:"",Jr(e,t,n)]),At,"}"]:o?"":";"]}case"media-query-list":{const u=[];return e.each(o=>{const a=o.getValue();"media-query"===a.type&&""===a.value||u.push(n())},"nodes"),We(Me(Gn(ve,u)))}case"media-query":return[Gn(" ",e.map(n,"nodes")),ac(e,r)?"":","];case"media-type":return Xn(Ke(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return Kt(Ke(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return Xn(Ke(r.value,t));case"media-keyword":return Ke(r.value,t);case"media-url":return Ke(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return We([ic(e,"custom-selector")?[oc(e,"css-atrule").customSelector,ve]:"",Gn([",",ic(e,["extend","custom-selector","nest"])?ve:be],e.map(n,"nodes"))]);case"selector-selector":return We(Me(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return Ke(r.value,t);case"selector-tag":{const u=e.getParentNode(),o=u&&u.nodes.indexOf(r),a=o&&u.nodes[o-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===a.type?r.value:Xn(xw(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",Xn(Ke(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?Hw(Ke(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const u=e.getParentNode();return["selector-selector"===u.type&&u.nodes[0]===r?"":ve,r.value,ac(e,r)?"":" "]}return[r.value.trim().startsWith("(")?ve:"",Xn(Ke(r.value.trim(),t))||ve];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[Kt(r.value),bw(r.nodes)?["(",Gn(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{const u=oc(e,"css-rule");if(u&&u.isSCSSNesterProperty)return Xn(Ke(Kt(r.value),t));const o=e.getParentNode();if(o.raws&&o.raws.selector){const i=Zt(o);return t.originalText.slice(i,i+o.raws.selector.length).trim()}const a=e.getParentNode(1);if("value-paren_group"===o.type&&a&&"value-func"===a.type&&"selector"===a.value){const i=Zt(o.open)+1,s=Ft(o.close)-1,c=t.originalText.slice(i,s).trim();return Gr(c)?[pg,c]:c}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(Zt(r),Ft(r));case"value-comma_group":{const u=e.getParentNode(),o=e.getParentNode(1),a=vw(e),i=a&&"value-value"===u.type&&("grid"===a||a.startsWith("grid-template")),s=oc(e,"css-atrule"),c=s&&sc(s),l=r.groups.some(g=>yg(g)),p=e.map(n,"groups"),d=[],f=Oo(e,"url");let h=!1,m=!1;for(let g=0;g<r.groups.length;++g){d.push(p[g]);const D=r.groups[g-1],y=r.groups[g],b=r.groups[g+1],v=r.groups[g+2];if(f){(b&&Qt(b)||Qt(y))&&d.push(" ");continue}if(!b||"value-word"===y.type&&y.value.endsWith("-")&&dc(b))continue;const E="value-string"===y.type&&y.value.startsWith("#{"),C=h&&"value-string"===b.type&&b.value.endsWith("}");if(E||C){h=!h;continue}if(h||bg(y)||bg(b)||"value-atword"===y.type&&""===y.value||"~"===y.value||y.value&&y.value.includes("\\")&&b&&"value-comment"!==b.type||D&&D.value&&D.value.indexOf("\\")===D.value.length-1&&"value-operator"===y.type&&"/"===y.value||"\\"===y.value||Vw(y,b)||pc(y)||Dg(y)||fc(b)||Dg(b)&&Jn(b)||fc(y)&&Jn(b)||"--"===y.value&&pc(b))continue;const A=lc(y),w=lc(b);if((A&&pc(b)||w&&fc(y))&&Jn(b)||!D&&cc(y)||Oo(e,"calc")&&(Qt(y)||Qt(b)||Hr(y)||Hr(b))&&Jn(b))continue;const T=(Qt(y)||Hr(y))&&0===g&&("value-number"===b.type||b.isHex)&&o&&Ww(o)&&!Jn(b),x=v&&"value-func"===v.type||v&&Io(v)||"value-func"===y.type||Io(y),S="value-func"===b.type||Io(b)||D&&"value-func"===D.type||D&&Io(D);if(hg(b)||hg(y)||Oo(e,"calc")||T||!(cc(b)&&!x||cc(y)&&!S||Qt(b)&&!x||Qt(y)&&!S||Hr(b)||Hr(y))||!(Jn(b)||A&&(!D||D&&lc(D))))if(yg(y)){if("value-paren_group"===u.type){d.push(Po(be));continue}d.push(be)}else c&&(kw(b)||Bw(b)||Iw(b)||Nw(y)||Pw(y))||s&&"namespace"===s.name.toLowerCase()?d.push(" "):i?y.source&&b.source&&y.source.start.line!==b.source.start.line?(d.push(be),m=!0):d.push(" "):w?d.push(" "):b&&"..."===b.value||dc(y)&&dc(b)&&Ft(y)===Zt(b)||d.push(ve)}return l&&d.push(pg),m&&d.unshift(be),c?We(Me(d)):Fw(e)?We(uc(d)):We(Me(uc(d)))}case"value-paren_group":{const u=e.getParentNode();if(u&&Ow(u)&&(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"):"",Gn(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){const l=e.map(n,"groups"),p=[];for(let d=0;d<l.length;d++)0!==d&&p.push([",",ve]),p.push(l[d]);return We(Me(uc(p)))}const o=$w(e),a=X(r.groups),i=a&&"value-comment"===a.type,s=Mw(r,u),c=We([r.open?n("open"):"",Me([At,Gn([",",ve],e.map(l=>{const p=l.getValue(),d=n();if(_w(p)&&"value-comma_group"===p.type&&p.groups&&"value-paren_group"!==p.groups[0].type&&p.groups[2]&&"value-paren_group"===p.groups[2].type){const f=fg(d.contents.contents);return f[1]=We(f[1]),We(Po(d))}return d},"groups"))]),lg(!i&&ww(t.parser,t.originalText)&&o&&Uw(t)?",":""),At,r.close?n("close"):""],{shouldBreak:o&&!s});return s?Po(c):c}case"value-func":return[r.value,ic(e,"supports")&&qw(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[Cg(r.value),Kt(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Sw(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const u=e.getParentNode(),o=u&&u.groups.indexOf(r),a=o&&u.groups[o-1];return[r.value,a&&"string"==typeof a.value&&"\\"===X(a.value)||Oo(e,"url")?"":ve]}case"value-comma":return[r.value," "];case"value-string":return sg(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 u=nc(r,n);return u?[u,iw]:""}},insertPragma:Cw,massageAstNode:uw},Jw={singleQuote:ct.singleQuote},Qw={languages:[U({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"]})),U({name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),U({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"]})),U({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:Jw,printers:{postcss:Gw},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}};function vg(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}vg.ignoredProperties=new Set(["loc","selfClosing"]);var eT=vg;const tT=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 Ag(e){return en(e,["TextNode"])&&!/\S/.test(e.chars)}function en(e,t){return e&&t.includes(e.type)}function hc(e,t){return en(e.getParentNode(0),t)}function Fg(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},u=r.children||r.body||r.parts||[],o=u.indexOf(n);return-1!==o&&u[o+t]}function mc(e,t=1){return Fg(e,-t)}function xg(e){return Fg(e,1)}function Sg(e){return en(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var nT={getNextNode:xg,getPreviousNode:mc,hasPrettierIgnore:function(e){const t=e.getValue(),n=mc(e,2);return Sg(t)||Sg(n)},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!hc(e,["ElementNode"])||X(n.children)!==t)||!(!hc(e,["Block"])||X(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return en(xg(e),t)},isNodeOfSomeType:en,isParentOfSomeType:hc,isPreviousNodeOfSomeType:function(e,t){return en(mc(e),t)},isVoid:function(e){return en(t=e,["ElementNode"])&&"string"==typeof t.tag&&((n=t.tag[0]).toUpperCase()===n||t.tag.includes("."))&&e.children.every(t=>Ag(t))||tT.has(e.tag);var t,n},isWhitespaceNode:Ag};const{builders:{dedent:wg,fill:Tg,group:Qe,hardline:Yn,ifBreak:Bg,indent:Se,join:jo,line:Ae,softline:lt,literalline:rT},utils:{getDocParts:uT}}=N,{isNonEmptyArray:kg,replaceEndOfLineWith:oT}=I,{locStart:gc,locEnd:yc}={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}},{getNextNode:iT,getPreviousNode:aT,hasPrettierIgnore:sT,isLastNodeOfSiblings:Ng,isNextNodeOfSomeType:Lo,isNodeOfSomeType:Dc,isParentOfSomeType:_o,isPreviousNodeOfSomeType:bc,isVoid:Pg,isWhitespaceNode:Og}=nT;function Ig(e,t,n){const r=e.getValue().children.every(u=>Og(u));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((u,o)=>{const a=n();return 0===o&&"ignore"===t.htmlWhitespaceSensitivity?[lt,a]:a},"children")}function cT(e){return Pg(e)?Bg([lt,"/>"],[" />",lt]):Bg([lt,">"],">")}function Mo(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function Ro(e){return[e.strip&&e.strip.close?"~":"",!1===e.escaped?"}}}":"}}"]}function jg(e){return[Mo(e),e.closeStrip.open?"~":"","/"]}function Lg(e){const t=Ro(e);return[e.closeStrip.close?"~":"",t]}function _g(e){return[Mo(e),e.inverseStrip.open?"~":""]}function Mg(e){const t=Ro(e);return[e.inverseStrip.close?"~":"",t]}function lT(e,t){const n=e.getValue(),r=[Mo(i=n),i.openStrip.open?"~":"","#"],u=function(i){const s=Ro(i);return[i.openStrip.close?"~":"",s]}(n),o=[Cc(0,t)],a=Vo(e,t);var i;if(a&&o.push(Ae,a),kg(n.program.blockParams)){const i=zg(n.program);o.push(Ae,i)}return Qe([r,Se(o),lt,u])}function pT(e,t){return["ignore"===t.htmlWhitespaceSensitivity?Yn:"",_g(e),"else",Mg(e)]}function fT(e,t){const n=e.getParentNode(1);return[_g(n),"else if ",Vo(e,t),Mg(n)]}function dT(e,t,n){const r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[Rg(r)?lt:Yn,jg(r),t("path"),Lg(r)]:[jg(r),t("path"),Lg(r)]}function Rg(e){return Dc(e,["BlockStatement"])&&e.program.body.every(t=>Og(t))}function Vg(e){return Dc(e,["BlockStatement"])&&e.inverse}function $g(e,t,n){if(Rg(e.getValue()))return"";const r=t("program");return Se("ignore"===n.htmlWhitespaceSensitivity?[Yn,r]:r)}function qg(e,t,n){const r=e.getValue(),u=t("inverse"),o="ignore"===n.htmlWhitespaceSensitivity?[Yn,u]:u;return Vg(a=r)&&1===a.inverse.body.length&&Dc(a.inverse.body[0],["BlockStatement"])&&"if"===a.inverse.body[0].path.parts[0]?o:Vg(r)?[pT(r,n),Se(o)]:"";var a}function Wg(e){return uT(jo(Ae,e.split(/[\t\n\f\r ]+/)))}function Kn(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Xr(e=0){return new Array(Math.min(e,2)).fill(Yn)}function Ec(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=e.singleQuote?r:n,o=u===r?n:r;let a=!1;return(t.includes(u.quote)||t.includes(o.quote))&&(a=(t.match(u.regex)||[]).length>(t.match(o.regex)||[]).length),a?o:u}function hT(e,t){const n=Cc(0,t),r=Vo(e,t);return r?Se([n,Ae,Qe(r)]):n}function Ug(e,t){const n=Cc(0,t),r=Vo(e,t);return r?[Se([n,Ae,r]),lt]:n}function Cc(e,t){return t("path")}function Vo(e,t){const n=e.getValue(),r=[];if(n.params.length>0){const u=e.map(t,"params");r.push(...u)}if(n.hash&&n.hash.pairs.length>0){const u=t("hash");r.push(u)}return 0===r.length?"":jo(Ae,r)}function zg(e){return["as |",e.blockParams.join(" "),"|"]}var mT={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(sT(e))return t.originalText.slice(gc(r),yc(r));switch(r.type){case"Block":case"Program":case"Template":return Qe(e.map(n,"body"));case"ElementNode":{const u=Qe(function(i,s){const c=i.getValue(),l=["attributes","modifiers","comments","blockParams"].filter(p=>kg(c[p])).map(p=>[Ae,"blockParams"===p?zg(c):jo(Ae,i.map(s,p))]);return["<",c.tag,Se(l),cT(c)]}(e,n)),o="ignore"===t.htmlWhitespaceSensitivity&&Lo(e,["ElementNode"])?lt:"";if(Pg(r))return[u,o];const a=["</",r.tag,">"];return 0===r.children.length?[u,Se(a),o]:"ignore"===t.htmlWhitespaceSensitivity?[u,Se(Ig(e,t,n)),Yn,Se(a),o]:[u,Se(Qe(Ig(e,t,n))),Se(a),o]}case"BlockStatement":{const u=e.getParentNode(1);return u&&u.inverse&&1===u.inverse.body.length&&u.inverse.body[0]===r&&"if"===u.inverse.body[0].path.parts[0]?[fT(e,n),$g(e,n,t),qg(e,n,t)]:[lT(e,n),Qe([$g(e,n,t),qg(e,n,t),dT(e,n,t)])]}case"ElementModifierStatement":return Qe(["{{",Ug(e,n),"}}"]);case"MustacheStatement":return Qe([Mo(r),Ug(e,n),Ro(r)]);case"SubExpression":return Qe(["(",hT(e,n),lt,")"]);case"AttrNode":{const u="TextNode"===r.value.type;if(u&&""===r.value.chars&&gc(r.value)===yc(r.value))return r.name;const o=u?Ec(t,r.value.chars).quote:"ConcatStatement"===r.value.type?Ec(t,r.value.parts.filter(i=>"TextNode"===i.type).map(i=>i.chars).join("")).quote:"",a=n("value");return[r.name,"=",o,"class"===r.name&&o?Qe(Se(a)):a,o]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return jo(Ae,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let u=r.chars.replace(/{{/g,"\\{{");const o=function(h){for(let m=0;m<2;m++){const g=h.getParentNode(m);if(g&&"AttrNode"===g.type)return g.name.toLowerCase()}}(e);if(o){if("class"===o){const h=u.trim().split(/\s+/).join(" ");let m=!1,g=!1;return _o(e,["ConcatStatement"])&&(bc(e,["MustacheStatement"])&&/^\s/.test(u)&&(m=!0),Lo(e,["MustacheStatement"])&&/\s$/.test(u)&&""!==h&&(g=!0)),[m?Ae:"",h,g?Ae:""]}return oT(u,rT)}const a=/^[\t\n\f\r ]*$/.test(u),i=!aT(e),s=!iT(e);if("ignore"!==t.htmlWhitespaceSensitivity){const h=/^[\t\n\f\r ]*/,m=/[\t\n\f\r ]*$/,g=s&&_o(e,["Template"]),D=i&&_o(e,["Template"]);if(a){if(D||g)return"";let C=[Ae];const A=Kn(u);return A&&(C=Xr(A)),Ng(e)&&(C=C.map(w=>wg(w))),C}const[y]=u.match(h),[b]=u.match(m);let v=[];if(y){v=[Ae];const C=Kn(y);C&&(v=Xr(C)),u=u.replace(h,"")}let E=[];if(b){if(!g){E=[Ae];const C=Kn(b);C&&(E=Xr(C)),Ng(e)&&(E=E.map(A=>wg(A)))}u=u.replace(m,"")}return[...v,Tg(Wg(u)),...E]}const c=Kn(u);let l=Kn(((h="string"==typeof(h=u)?h:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||""),p=function(h){return Kn(((h="string"==typeof h?h:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(u);if((i||s)&&a&&_o(e,["Block","ElementNode","Template"]))return"";a&&c?(l=Math.min(c,2),p=0):(Lo(e,["BlockStatement","ElementNode"])&&(p=Math.max(p,1)),bc(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)));let d="",f="";return 0===p&&Lo(e,["MustacheStatement"])&&(f=" "),0===l&&bc(e,["MustacheStatement"])&&(d=" "),i&&(l=0,d=""),s&&(p=0,f=""),u=u.replace(/^[\t\n\f\r ]+/g,d).replace(/[\t\n\f\r ]+$/,f),[...Xr(l),Tg(Wg(u)),...Xr(p)]}case"MustacheCommentStatement":{const u=gc(r),o=yc(r),a="~"===t.originalText.charAt(u+2),i="~"===t.originalText.charAt(o-3),s=r.value.includes("}}")?"--":"";return["{{",a?"~":"","!",s,r.value,s,i?"~":"","}}"]}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(u,o){const{quote:a,regex:i}=Ec(o,u);return[a,u.replace(i,"\\".concat(a)),a]}(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 h},massageAstNode:eT},gT={languages:[U({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:mT},parsers:{get glimmer(){return{}.parsers.glimmer}}};const{builders:{join:ne,hardline:L,line:Qn,softline:R,group:we,indent:pe,ifBreak:Ue}}=N,{isNextLineEmpty:Hg,isNonEmptyArray:vc}=I,{insertPragma:bT}={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},{locStart:ET,locEnd:Gg}={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 fe(e,t,n){if(0===n.directives.length)return"";const r=ne(Qn,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?we([Qn,r]):[" ",we(pe([R,r]))]}function Ze(e,t,n){const r=e.getValue().length;return e.map((u,o)=>{const a=n();return Hg(t.originalText,u.getValue(),Gg)&&o<r-1?[a,L]:a})}function Jg(e,t,n){const r=e.getNode(),u=[],{interfaces:o}=r,a=e.map(i=>n(i),"interfaces");for(let i=0;i<o.length;i++){const s=o[i];u.push(a[i]);const c=o[i+1];if(c){const l=t.originalText.slice(s.loc.end,c.loc.start),p=l.includes("#"),d=l.replace(/#.*/g,"").trim();u.push(","===d?",":" &",p?Qn:" ")}}return u}function Xg(){}Xg.ignoredProperties=new Set(["loc","comments"]);var CT={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":{const u=[];return e.each((o,a,i)=>{u.push(n()),a!==i.length-1&&(u.push(L),Hg(t.originalText,o.getValue(),Gg)&&u.push(L))},"definitions"),[...u,L]}case"OperationDefinition":{const u="{"!==t.originalText[ET(r)],o=Boolean(r.name);return[u?r.operation:"",u&&o?[" ",n("name")]:"",u&&!o&&vc(r.variableDefinitions)?" ":"",vc(r.variableDefinitions)?we(["(",pe([R,ne([Ue("",", "),R],e.map(n,"variableDefinitions"))]),R,")"]):"",fe(e,n,r),r.selectionSet&&(u||o)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),vc(r.variableDefinitions)?we(["(",pe([R,ne([Ue("",", "),R],e.map(n,"variableDefinitions"))]),R,")"]):""," on ",n("typeCondition"),fe(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",pe([L,ne(L,e.call(u=>Ze(u,t,n),"selections"))]),L,"}"];case"Field":return we([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?we(["(",pe([R,ne([Ue("",", "),R],e.call(u=>Ze(u,t,n),"arguments"))]),R,")"]):"",fe(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',L,ne(L,r.value.replace(/"""/g,"\\$&").split("\n")),L,'"""']:['"',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 we(["[",pe([R,ne([Ue("",", "),R],e.map(n,"values"))]),R,"]"]);case"ObjectValue":return we(["{",t.bracketSpacing&&r.fields.length>0?" ":"",pe([R,ne([Ue("",", "),R],e.map(n,"fields"))]),R,Ue("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?we(["(",pe([R,ne([Ue("",", "),R],e.call(u=>Ze(u,t,n),"arguments"))]),R,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",fe(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?L:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...Jg(e,t,n)]:"",fe(e,n,r),r.fields.length>0?[" {",pe([L,ne(L,e.call(u=>Ze(u,t,n),"fields"))]),L,"}"]:""];case"FieldDefinition":return[n("description"),r.description?L:"",n("name"),r.arguments.length>0?we(["(",pe([R,ne([Ue("",", "),R],e.call(u=>Ze(u,t,n),"arguments"))]),R,")"]):"",": ",n("type"),fe(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?L:"","directive ","@",n("name"),r.arguments.length>0?we(["(",pe([R,ne([Ue("",", "),R],e.call(u=>Ze(u,t,n),"arguments"))]),R,")"]):"",r.repeatable?" repeatable":""," on ",ne(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?L:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),fe(e,n,r),r.values.length>0?[" {",pe([L,ne(L,e.call(u=>Ze(u,t,n),"values"))]),L,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?L:"",n("name"),fe(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?L:Qn:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",fe(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?L:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),fe(e,n,r),r.fields.length>0?[" {",pe([L,ne(L,e.call(u=>Ze(u,t,n),"fields"))]),L,"}"]:""];case"SchemaDefinition":return["schema",fe(e,n,r)," {",r.operationTypes.length>0?pe([L,ne(L,e.call(u=>Ze(u,t,n),"operationTypes"))]):"",L,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?L:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...Jg(e,t,n)]:"",fe(e,n,r),r.fields.length>0?[" {",pe([L,ne(L,e.call(u=>Ze(u,t,n),"fields"))]),L,"}"]:""];case"FragmentSpread":return["...",n("name"),fe(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",fe(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return we([n("description"),r.description?L:"",we(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),fe(e,n,r),r.types.length>0?[" =",Ue(""," "),pe([Ue([Qn," "]),ne([Qn,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?L:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),fe(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:Xg,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(n=>"prettier-ignore"===n.value.trim())},insertPragma:bT,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}},vT={bracketSpacing:ct.bracketSpacing},AT={languages:[U({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:vT,printers:{graphql:CT},parsers:{get graphql(){return{}.parsers.graphql}}},Yg={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:Kg}=I,{locStart:Qg,locEnd:Zg}=Yg,{cjkPattern:Ac,kPattern:FT,punctuationPattern:ey}={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]"},ty=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],xT=[...ty,"tableCell","paragraph","heading"],ST=new RegExp(FT),Fc=new RegExp(ey);function $o(e,t){const[,n,r,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:u}}var xc={mapAst:function(e,t){return function n(r,u,o){const a=Object.assign({},t(r,u,o));return a.children&&(a.children=a.children.map((i,s)=>n(i,s,[a,...o]))),a}(e,null,[])},splitText:function(e,t){const n="non-cjk",r="cj-letter",u="cjk-punctuation",o=[],a=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(Ac,")\n(").concat(Ac,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(const[s,c]of a.entries()){if(s%2==1){o.push({type:"whitespace",value:/\n/.test(c)?"\n":" "});continue}if((0===s||s===a.length-1)&&""===c)continue;const l=c.split(new RegExp("(".concat(Ac,")")));for(const[p,d]of l.entries())(0!==p&&p!==l.length-1||""!==d)&&(p%2!=0?i(Fc.test(d)?{type:"word",value:d,kind:u,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:d,kind:ST.test(d)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==d&&i({type:"word",value:d,kind:n,hasLeadingPunctuation:Fc.test(d[0]),hasTrailingPunctuation:Fc.test(Kg(d))}))}return o;function i(s){const c=Kg(o);var p;c&&"word"===c.type&&(c.kind===n&&s.kind===r&&!c.hasTrailingPunctuation||c.kind===r&&s.kind===n&&!s.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(p=u,c.kind===n&&s.kind===p||c.kind===p&&"non-cjk"===s.kind||[c.value,s.value].some(d=>/\u3000/.test(d))||o.push({type:"whitespace",value:""}))),o.push(s)}},punctuationPattern:ey,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:$o,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;const n=Number($o(e.children[0],t.originalText).numberText),r=Number($o(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const u=Number($o(e.children[2],t.originalText).numberText);return 1===r&&1===u}return 1===r},INLINE_NODE_TYPES:ty,INLINE_NODE_WRAPPER_TYPES:xT,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&Qg(e)===Qg(t)&&Zg(e)===Zg(t)}};const{inferParserByLanguage:wT,getMaxContinuousCount:TT}=I,{builders:{hardline:Sc,markAsRoot:BT},utils:{replaceNewlinesWithLiterallines:kT}}=N,{getFencedCodeBlockValue:NT}=xc;const ny=["format","prettier"];function ry(e){const t="@(".concat(ny.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 uy={startWithPragma:ry,hasPragma:e=>ry(ko(e).content.trimStart()),insertPragma:e=>{const t=ko(e),n="\x3c!-- @".concat(ny[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:oy,mapAst:tn,splitText:OT}=xc,IT=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function iy(e,t,n){return tn(e,r=>{if(!r.children)return r;const u=r.children.reduce((o,a)=>{const i=X(o);return i&&t(i,a)?o.splice(-1,1,n(i,a)):o.push(a),o},[]);return Object.assign({},r,{children:u})})}const{isFrontMatterNode:LT}=I,{startWithPragma:_T}=uy,MT=new Set(["position","raw"]);function ay(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||LT(n.children[0])&&n.children[1]===e)&&"html"===e.type&&_T(e.value)?null:void 0)}ay.ignoredProperties=MT;var RT=ay;const{getLast:qo,getMinNotPresentContinuousCount:VT,getMaxContinuousCount:$T,getStringWidth:qT,isNonEmptyArray:WT}=I,{builders:{breakParent:sy,join:cy,line:ly,literalline:py,markAsRoot:fy,hardline:de,softline:wc,ifBreak:UT,fill:zT,align:Zn,indent:HT,group:Wo,hardlineWithoutBreakParent:dy},utils:{normalizeDoc:GT},printer:{printDocToString:JT}}=N,{replaceEndOfLineWith:Yr}=I,{insertPragma:XT}=uy,{locStart:YT,locEnd:KT}=Yg,{getFencedCodeBlockValue:QT,hasGitDiffFriendlyOrderedList:ZT,splitText:e9,punctuationPattern:hy,INLINE_NODE_TYPES:t9,INLINE_NODE_WRAPPER_TYPES:n9,isAutolink:my}=xc,gy=new Set(["importExport"]),r9=["heading","tableCell","link","wikiLink"],u9=new Set(["listItem","definition","footnoteDefinition"]);function yy(e,t,n,r){const u=e.getValue(),o=null===u.checked?"":u.checked?"[x] ":"[ ] ";return[o,he(e,t,n,{processor:(a,i)=>{if(0===i&&"list"!==a.getValue().type)return Zn(" ".repeat(o.length),n());const s=" ".repeat((3,(c=t.tabWidth-r.length)<0?0:c>3?3:c));var c;return[s,Zn(s,n())]}})]}function Dy(e,t){return function(n,r,u){let o=-1;for(const a of r.children)if(a.type===n.type&&u(a)?o++:o=-1,a===n)return o}(e,t,n=>n.ordered===e.ordered)}function by(e,t){const n=Array.isArray(t)?t:[t];let r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}function Tc(e,t){const n=by(e,t);return-1===n?null:e.getParentNode(n)}function Ey(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return de;const r="always"===n.proseWrap&&!Tc(e,r9);return""!==t?r?ly:" ":r?wc:""}function o9(e,t,n){const r=[];let u=null;const{children:o}=e.getValue();for(const[a,i]of o.entries())switch(Bc(i)){case"start":null===u&&(u={index:a,offset:i.position.end.offset});break;case"end":null!==u&&(r.push({start:u,end:{index:a,offset:i.position.start.offset}}),u=null)}return he(e,t,n,{processor:(a,i)=>{if(r.length>0){const s=r[0];if(i===s.start.index)return[o[s.start.index].value,t.originalText.slice(s.start.offset,s.end.offset),o[s.end.index].value];if(s.start.index<i&&i<s.end.index)return!1;if(i===s.end.index)return r.shift(),!1}return n()}})}function he(e,t,n,r={}){const{postprocessor:u}=r,o=r.processor||(()=>n()),a=e.getValue(),i=[];let s;return e.each((c,l)=>{const p=c.getValue(),d=o(c,l);if(!1!==d){const f={parts:i,prevNode:s,parentNode:a,options:t};(function(h,m){const g=0===m.parts.length,D=t9.includes(h.type),y="html"===h.type&&n9.includes(m.parentNode.type);return!g&&!D&&!y})(p,f)&&(i.push(de),s&&gy.has(s.type)||(function(h,m){const g=(m.prevNode&&m.prevNode.type)===h.type&&u9.has(h.type),D="listItem"===m.parentNode.type&&!m.parentNode.loose,y=m.prevNode&&"listItem"===m.prevNode.type&&m.prevNode.loose,b="next"===Bc(m.prevNode);return y||!(g||D||b||"html"===h.type&&m.prevNode&&"html"===m.prevNode.type&&m.prevNode.position.end.line+1===h.position.start.line||"html"===h.type&&"listItem"===m.parentNode.type&&m.prevNode&&"paragraph"===m.prevNode.type&&m.prevNode.position.end.line+1===h.position.start.line)}(p,f)||Cy(p,f))&&i.push(de),Cy(p,f)&&i.push(de)),i.push(d),s=p}},"children"),u?u(i):i}function i9(e){let t=e;for(;WT(t.children);)t=qo(t.children);return t}function Bc(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 Cy(e,t){return t.prevNode&&"list"===t.prevNode.type&&"code"===e.type&&e.isIndented}function kc(e,t=[]){const n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(r=>"\\".concat(r)).join("|")).test(e)?"<".concat(e,">"):e}function Uo(e,t,n=!0){if(!e)return"";if(n)return" "+Uo(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,u=e.split('"').length-1,o=r>u?'"':u>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var a9={preprocess:function(e,t){return function(n){return iy(n,(r,u)=>"importExport"===r.type&&"importExport"===u.type,(r,u)=>({type:"importExport",value:r.value+"\n\n"+u.value,position:{start:r.position.start,end:u.position.end}}))}(e=function(n){return tn(n,r=>"import"!==r.type&&"export"!==r.type?r:Object.assign({},r,{type:"importExport"}))}(e=function(n,r){return tn(n,(u,o,[a])=>{if("text"!==u.type)return u;let{value:i}=u;return"paragraph"===a.type&&(0===o&&(i=i.trimStart()),o===a.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:u.position,children:OT(i,r)}})}(e=function(n,r){return tn(n,(a,i,s)=>{if("list"===a.type&&a.children.length>0){for(let c=0;c<s.length;c++){const l=s[c];if("list"===l.type&&!l.isAligned)return a.isAligned=!1,a}a.isAligned=function(a){if(!a.ordered)return!0;const[i,s]=a.children;if(oy(i,r.originalText).leadingSpaces.length>1)return!0;const c=u(i);return-1!==c&&(1===a.children.length?c%r.tabWidth==0:c===u(s)&&(c%r.tabWidth==0||oy(s,r.originalText).leadingSpaces.length>1))}(a)}return a});function u(a){return 0===a.children.length?-1:a.children[0].position.start.column-1}}(e=function(n,r){return tn(n,(u,o,a)=>{if("code"===u.type){const i=/^\n?( {4,}|\t)/.test(r.originalText.slice(u.position.start.offset,u.position.end.offset));if(u.isIndented=i,i)for(let s=0;s<a.length;s++){const c=a[s];if(c.hasIndentedCodeblock)break;"list"===c.type&&(c.hasIndentedCodeblock=!0)}}return u})}(e=function(n){return tn(n,r=>"inlineCode"!==r.type?r:Object.assign({},r,{value:r.value.replace(/\s+/g," ")}))}((r=t,n=e=tn(e,u=>"text"===u.type&&"*"!==u.value&&"_"!==u.value&&IT.test(u.value)&&u.position.end.offset-u.position.start.offset!==u.value.length?Object.assign({},u,{value:r.originalText.slice(u.position.start.offset,u.position.end.offset)}):u),e=iy(n,(r,u)=>"text"===r.type&&"text"===u.type,(r,u)=>({type:"text",value:r.value+u.value,position:{start:r.position.start,end:u.position.end}})))),t),t),t)));var n,r},print:function(e,t,n){const r=e.getValue();if(function(u){const o=Tc(u,["linkReference","imageReference"]);return o&&("linkReference"!==o.type||"full"!==o.referenceType)}(e))return e9(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(u=>"word"===u.type?u.value:""===u.value?"":Ey(e,u.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?"":[GT(o9(e,t,n)),gy.has(i9(r).type)?"":de];case"paragraph":return he(e,t,n,{postprocessor:zT});case"sentence":return he(e,t,n);case"word":{let u=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(hy,")(_+)"),"(_+)(".concat(hy,"|$)")].join("|"),"g"),(i,s,c,l,p)=>(c?"".concat(s).concat(c):"".concat(l).concat(p)).replace(/_/g,"\\_"));const o=(i,s,c)=>"sentence"===i.type&&0===c,a=(i,s,c)=>my(i.children[c-1]);return u!==r.value&&(e.match(void 0,o,a)||e.match(void 0,o,(i,s,c)=>"emphasis"===i.type&&0===c,a))&&(u=u.replace(/^(\\?[*_])+/,i=>i.replace(/\\/g,""))),u}case"whitespace":{const u=e.getParentNode(),o=u.children.indexOf(r),a=u.children[o+1],i=a&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(a.value)?"never":t.proseWrap;return Ey(e,r.value,{proseWrap:i})}case"emphasis":{let u;if(my(r.children[0]))u=t.originalText[r.position.start.offset];else{const o=e.getParentNode(),a=o.children.indexOf(r),i=o.children[a-1],s=o.children[a+1];u=i&&"sentence"===i.type&&i.children.length>0&&"word"===qo(i.children).type&&!qo(i.children).hasTrailingPunctuation||s&&"sentence"===s.type&&s.children.length>0&&"word"===s.children[0].type&&!s.children[0].hasLeadingPunctuation||Tc(e,"emphasis")?"*":"_"}return[u,he(e,t,n),u]}case"strong":return["**",he(e,t,n),"**"];case"delete":return["~~",he(e,t,n),"~~"];case"inlineCode":{const u=VT(r.value,"`"),o="`".repeat(u||1),a=u&&!/^\s/.test(r.value)?" ":"";return[o,a,r.value,a,o]}case"wikiLink":{let u="";return u="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),["[[",u,"]]"]}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const u="mailto:";return["<",r.url.startsWith(u)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+u.length)!==u?r.url.slice(u.length):r.url,">"]}case"[":return["[",he(e,t,n),"](",kc(r.url,")"),Uo(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return[""),Uo(r.title,t),")"];case"blockquote":return["> ",Zn("> ",he(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",he(e,t,n)];case"code":{if(r.isIndented){const a=" ".repeat(4);return Zn(a,[a,...Yr(r.value,de)])}const u=t.__inJsTemplate?"~":"`",o=u.repeat(Math.max(3,$T(r.value,u)+1));return[o,r.lang||"",r.meta?" "+r.meta:"",de,...Yr(QT(r,t.originalText),de),de,o]}case"html":{const u=e.getParentNode(),o="root"===u.type&&qo(u.children)===r?r.value.trimEnd():r.value,a=/^<!--[\S\s]*-->$/.test(o);return Yr(o,a?de:fy(py))}case"list":{const u=Dy(r,e.getParentNode()),o=ZT(r,t);return he(e,t,n,{processor:(a,i)=>{const s=function(){const l=r.ordered?(0===i?r.start:o?1:r.start+i)+(u%2==0?". ":") "):u%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(p,d){const f=function(){const m=p.length%d.tabWidth;return 0===m?0:d.tabWidth-m}();return p+" ".repeat(f>=4?0:f)}(l,t):l}(),c=a.getValue();return 2===c.children.length&&"html"===c.children[1].type&&c.children[0].position.start.column!==c.children[1].position.start.column?[s,yy(a,t,n,s)]:[s,Zn(" ".repeat(s.length),yy(a,t,n,s))]}})}case"thematicBreak":{const u=by(e,"list");return-1===u?"---":Dy(e.getParentNode(u),e.getParentNode(u+1))%2==0?"***":"---"}case"linkReference":return["[",he(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 u="always"===t.proseWrap?ly:" ";return Wo(["[",r.identifier,"]:",HT([u,kc(r.url),null===r.title?"":[u,Uo(r.title,t,!1)]])])}case"footnote":return["[^",he(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const u=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)?he(e,t,n):Wo([Zn(" ".repeat(4),he(e,t,n,{processor:(a,i)=>0===i?Wo([wc,n()]):n()})),u&&"footnoteDefinition"===u.type?wc:""])]}case"table":return function(u,o,a){const i=u.getValue(),s=[],c=u.map(m=>m.map((g,D)=>{const y=JT(a(),o).formatted,b=qT(y);return s[D]=Math.max(s[D]||3,b),{text:y,width:b}},"children"),"children"),l=d(!1);if("never"!==o.proseWrap)return[sy,l];const p=d(!0);return[sy,Wo(UT(p,l))];function d(m){const g=[h(c[0],m),f(m)];return c.length>1&&g.push(cy(dy,c.slice(1).map(D=>h(D,m)))),cy(dy,g)}function f(m){const g=s.map((D,y)=>{const b=i.align[y],v="center"===b||"left"===b?":":"-",E="center"===b||"right"===b?":":"-",C=m?"-":"-".repeat(D-2);return"".concat(v).concat(C).concat(E)});return"| ".concat(g.join(" | ")," |")}function h(m,g){const D=m.map(({text:y,width:b},v)=>{if(g)return y;const E=s[v]-b,C=i.align[v];let A=0;"right"===C?A=E:"center"===C&&(A=Math.floor(E/2));const w=E-A;return"".concat(" ".repeat(A)).concat(y).concat(" ".repeat(w))});return"| ".concat(D.join(" | ")," |")}}(e,t,n);case"tableCell":return he(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",fy(py)]:["\\",de];case"liquidNode":return Yr(r.value,de);case"importExport":return[r.value,de];case"jsx":return r.value;case"math":return["$$",de,r.value?[...Yr(r.value,de),de]:"","$$"];case"inlineMath":return t.originalText.slice(YT(r),KT(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n,r){const u=e.getValue();if("code"===u.type&&null!==u.lang){const o=wT(u.lang,r);if(o){const a=r.__inJsTemplate?"~":"`",i=a.repeat(Math.max(3,TT(u.value,a)+1)),s=n(NT(u,r.originalText),{parser:o},{stripTrailingHardline:!0});return BT([i,u.lang,u.meta?" "+u.meta:"",Sc,kT(s),Sc,i])}}switch(u.type){case"front-matter":return nc(u,n);case"importExport":return[n(u.value,{parser:"babel"},{stripTrailingHardline:!0}),Sc];case"jsx":return n("<$>".concat(u.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},massageAstNode:RT,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===Bc(e.getParentNode().children[t-1])},insertPragma:XT},s9={proseWrap:ct.proseWrap,singleQuote:ct.singleQuote},vy={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},c9={languages:[U(vy,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(t=>".mdx"!==t)})),U(vy,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:s9,printers:{mdast:a9},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:l9}=I,p9=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function Ay(e,t){return"text"===e.type||"comment"===e.type||l9(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}Ay.ignoredProperties=p9;var f9=Ay;const{inferParserByLanguage:h9,isFrontMatterNode:Nc}=I,{CSS_DISPLAY_TAGS:m9,CSS_DISPLAY_DEFAULT:g9,CSS_WHITE_SPACE_TAGS:y9,CSS_WHITE_SPACE_DEFAULT:D9}={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"},b9=xy(["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"]),E9=function(e,t){const n=Object.create(null);for(const[r,u]of Object.entries(e))n[r]=t(u,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"]},xy),C9=new Set(["\t","\n","\f","\r"," "]),Fy=e=>e.replace(/[\t\n\f\r ]+$/,""),v9=e=>e.match(/^[\t\n\f\r ]*/)[0];function xy(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function Sy(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!er(e)||!e.children.some(n=>"text"!==n.type&&"interpolation"!==n.type))||!(!Ic(e,t)||nn(e)||"interpolation"===e.type)}function wy(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 nn(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||zo(e)&&("script"===e.name||"style"===e.name))}function Ty(e){return Pc(e).startsWith("pre")}function By(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 ky(e){return Iy(e)||"element"===e.type&&"br"===e.fullName||Ny(e)}function Ny(e){return Py(e)&&Oy(e)}function Py(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 Oy(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 Iy(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function jy(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 Kr(e){return"block"===e||"list-item"===e||e.startsWith("table")}function er(e){return Pc(e).startsWith("pre")}function zo(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Pc(e){return"element"===e.type&&(!e.namespace||zo(e))&&y9[e.name]||D9}const A9=new Set(["template","style","script"]);function Ho(e,t){return Oc(e,t)&&!A9.has(e.fullName)}function Oc(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function Ic(e,t){return Oc(e,t)&&(Ho(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var Ly={HTML_ELEMENT_ATTRIBUTES:E9,HTML_TAGS:b9,htmlTrim:e=>Fy(e).replace(/^[\t\n\f\r ]+/,""),htmlTrimPreserveIndentation:e=>Fy(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&&!nn(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 u=e.stack[r];u&&"object"==typeof u&&!Array.isArray(u)&&t(u)&&n++}return n},dedentString:function(e,t=function(n){let r=Number.POSITIVE_INFINITY;for(const u of n.split("\n")){if(0===u.length)continue;if(!C9.has(u[0]))return 0;const o=v9(u).length;u.length!==o&&o<r&&(r=o)}return r===Number.POSITIVE_INFINITY?0:r}(e)){return 0===t?e:e.split("\n").map(n=>n.slice(t)).join("\n")},forceBreakChildren:By,forceBreakContent:function(e){return By(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>{return(n=t).children&&n.children.some(r=>"text"!==r.type);var n}))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&Py(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Oy(e.lastChild))},forceNextEmptyLine:function(e){return Nc(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 r=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(r)return r[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(r,u){let o=r;for(;o;){if(u(o))return!0;o=o.parent}return!1}(e,r=>"svg:foreignObject"===r.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||zo(e))&&m9[e.name]||g9}},getNodeCssStyleWhiteSpace:Pc,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:wy,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(n){const{lang:r}=n.attrMap;return r&&"postcss"!==r&&"css"!==r?"scss"===r?"scss":"less"===r?"less":void 0:"css"}(e):t&&Ic(e,t)?jy(e)||!("src"in e.attrMap)&&h9(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?jy(e):"babel"},isVueCustomBlock:Ho,isVueNonHtmlBlock:Ic,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(!Oc(n,t))return!1;const r=n.fullName,u=e.fullName;return"script"===r&&"setup"===u||"style"===r&&"vars"===u},isDanglingSpaceSensitiveNode:function(e){return!(Kr(t=e.cssDisplay)||"inline-block"===t||nn(e));var t},isIndentationSensitiveNode:Ty,isLeadingSpaceSensitiveNode:function(e,t){const n=!(Nc(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!er(e.parent)&&(!e.prev&&("root"===e.parent.type||er(e)&&e.parent||nn(e.parent)||Ho(e.parent,t)||(r=e.parent.cssDisplay,Kr(r)||"inline-block"===r))||e.prev&&(u=e.prev.cssDisplay,Kr(u)))));var r,u;return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:er,isScriptLikeTag:nn,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(Nc(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!er(e.parent)&&(!e.next&&("root"===e.parent.type||er(e)&&e.parent||nn(e.parent)||Ho(e.parent,t)||(n=e.parent.cssDisplay,Kr(n)||"inline-block"===n))||e.next&&(r=e.next.cssDisplay,Kr(r)))));var r,n},isWhitespaceSensitiveNode:function(e){return nn(e)||"interpolation"===e.type||Ty(e)},isUnknownNamespace:zo,preferHardlineAsLeadingSpaces:function(e){return Iy(e)||e.prev&&ky(e.prev)||Ny(e)},preferHardlineAsTrailingSpaces:ky,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(wy(e)||Sy(e.parent,t))},shouldPreserveContent:Sy,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},jc=j(function(e,t){function n(r){return t.$0<=r&&r<=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(r){return r>=t.$TAB&&r<=t.$SPACE||r==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(r){return r>=t.$a&&r<=t.$z||r>=t.$A&&r<=t.$Z},t.isAsciiHexDigit=function(r){return r>=t.$a&&r<=t.$f||r>=t.$A&&r<=t.$F||n(r)},t.isNewLine=function(r){return r===t.$LF||r===t.$CR},t.isOctalDigit=function(r){return t.$0<=r&&r<=t.$7}});class _y{constructor(t,n,r){this.filePath=t,this.name=n,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}var Go=Object.defineProperty({StaticSymbol:_y,StaticSymbolCache:class{constructor(){this.cache=new Map}get(e,t,n){const r=(n=n||[]).length?".".concat(n.join(".")):"",u='"'.concat(e,'".').concat(t).concat(r);let o=this.cache.get(u);return o||(o=new _y(e,t,n),this.cache.set(u,o)),o}}},"__esModule",{value:!0});const S9=/-+([a-z0-9])/g;function My(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function Lc(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===V9?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 k9=Lc,I9={assertSync:e=>{if(Jo(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>Jo(e)?e.then(t):t(e),all:e=>e.some(Jo)?Promise.all(e):e};const Ry="ngSyntaxError",Vy="ngParseErrors";const V9=Object.getPrototypeOf({});function Jo(e){return!!e&&"function"==typeof e.then}const H9="undefined"!=typeof window&&window,G9="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var Xo=Object.defineProperty({dashCaseToCamelCase:function(e){return e.replace(S9,(...t)=>t[1].toUpperCase())},splitAtColon:function(e,t){return My(e,":",t)},splitAtPeriod:function(e,t){return My(e,".",t)},visitValue:k9,isDefined:function(e){return null!=e},noUndefined:function(e){return void 0===e?null:e},ValueTransformer:class{visitArray(e,t){return e.map(n=>Lc(n,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=Lc(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},SyncAsync:I9,error:function(e){throw new Error("Internal Error: ".concat(e))},syntaxError:function(e,t){const n=Error(e);return n[Ry]=!0,t&&(n[Vy]=t),n},isSyntaxError:function(e){return e[Ry]},getParseErrors:function(e){return e[Vy]||[]},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 u=e.charCodeAt(n+1);u>=56320&&u<=57343&&(n++,r=(r-55296<<10)+u-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:Jo,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!==dt&&dt||H9||G9},"__esModule",{value:!0}),_c=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(p){return p.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let u=0;function o(p){if(!p||!p.reference)return null;const d=p.reference;if(d instanceof Go.StaticSymbol)return d.name;if(d.__anonymousType)return d.__anonymousType;let f=Xo.stringify(d);return f.indexOf("(")>=0?(f="anonymous_".concat(u++),d.__anonymousType=f):f=r(f),f}var a,p;t.identifierName=o,t.identifierModuleUrl=function(p){const d=p.reference;return d instanceof Go.StaticSymbol?d.filePath:"./".concat(Xo.stringify(d))},t.viewClassName=function(p,d){return"View_".concat(o({reference:p}),"_").concat(d)},t.rendererTypeName=function(p){return"RenderType_".concat(o({reference:p}))},t.hostViewClassName=function(p){return"HostView_".concat(o({reference:p}))},t.componentFactoryName=function(p){return"".concat(o({reference:p}),"NgFactory")},(p=a=t.CompileSummaryKind||(t.CompileSummaryKind={}))[p.Pipe=0]="Pipe",p[p.Directive=1]="Directive",p[p.NgModule=2]="NgModule",p[p.Injectable=3]="Injectable",t.tokenName=function(p){return null!=p.value?r(p.value):o(p.identifier)},t.tokenReference=function(p){return null!=p.identifier?p.identifier.reference:p.value},t.CompileStylesheetMetadata=class{constructor({moduleUrl:p,styles:d,styleUrls:f}={}){this.moduleUrl=p||null,this.styles=s(d),this.styleUrls=s(f)}},t.CompileTemplateMetadata=class{constructor({encapsulation:p,template:d,templateUrl:f,htmlAst:h,styles:m,styleUrls:g,externalStylesheets:D,animations:y,ngContentSelectors:b,interpolation:v,isInline:E,preserveWhitespaces:C}){if(this.encapsulation=p,this.template=d,this.templateUrl=f,this.htmlAst=h,this.styles=s(m),this.styleUrls=s(g),this.externalStylesheets=s(D),this.animations=y?c(y):[],this.ngContentSelectors=b||[],v&&2!=v.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=v,this.isInline=E,this.preserveWhitespaces=C}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class i{static create({isHost:d,type:f,isComponent:h,selector:m,exportAs:g,changeDetection:D,inputs:y,outputs:b,host:v,providers:E,viewProviders:C,queries:A,guards:w,viewQueries:T,entryComponents:x,template:S,componentViewType:B,rendererType:P,componentFactory:O}){const M={},re={},cn={};null!=v&&Object.keys(v).forEach(ke=>{const pt=v[ke],ou=ke.match(n);null===ou?cn[ke]=pt:null!=ou[1]?re[ou[1]]=pt:null!=ou[2]&&(M[ou[2]]=pt)});const tt={};null!=y&&y.forEach(ke=>{const pt=Xo.splitAtColon(ke,[ke,ke]);tt[pt[0]]=pt[1]});const ur={};return null!=b&&b.forEach(ke=>{const pt=Xo.splitAtColon(ke,[ke,ke]);ur[pt[0]]=pt[1]}),new i({isHost:d,type:f,isComponent:!!h,selector:m,exportAs:g,changeDetection:D,inputs:tt,outputs:ur,hostListeners:M,hostProperties:re,hostAttributes:cn,providers:E,viewProviders:C,queries:A,guards:w,viewQueries:T,entryComponents:x,template:S,componentViewType:B,rendererType:P,componentFactory:O})}constructor({isHost:d,type:f,isComponent:h,selector:m,exportAs:g,changeDetection:D,inputs:y,outputs:b,hostListeners:v,hostProperties:E,hostAttributes:C,providers:A,viewProviders:w,queries:T,guards:x,viewQueries:S,entryComponents:B,template:P,componentViewType:O,rendererType:M,componentFactory:re}){this.isHost=!!d,this.type=f,this.isComponent=h,this.selector=m,this.exportAs=g,this.changeDetection=D,this.inputs=y,this.outputs=b,this.hostListeners=v,this.hostProperties=E,this.hostAttributes=C,this.providers=s(A),this.viewProviders=s(w),this.queries=s(T),this.guards=x,this.viewQueries=s(S),this.entryComponents=s(B),this.template=P,this.componentViewType=O,this.rendererType=M,this.componentFactory=re}toSummary(){return{summaryKind:a.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 s(p){return p||[]}function c(p){return p.reduce((d,f)=>{const h=Array.isArray(f)?c(f):f;return d.concat(h)},[])}function l(p){return p.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=i,t.CompilePipeMetadata=class{constructor({type:p,name:d,pure:f}){this.type=p,this.name=d,this.pure=!!f}toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}},t.CompileShallowModuleMetadata=class{},t.CompileNgModuleMetadata=class{constructor({type:p,providers:d,declaredDirectives:f,exportedDirectives:h,declaredPipes:m,exportedPipes:g,entryComponents:D,bootstrapComponents:y,importedModules:b,exportedModules:v,schemas:E,transitiveModule:C,id:A}){this.type=p||null,this.declaredDirectives=s(f),this.exportedDirectives=s(h),this.declaredPipes=s(m),this.exportedPipes=s(g),this.providers=s(d),this.entryComponents=s(D),this.bootstrapComponents=s(y),this.importedModules=s(b),this.exportedModules=s(v),this.schemas=s(E),this.id=A||null,this.transitiveModule=C||null}toSummary(){const p=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:p.entryComponents,providers:p.providers,modules:p.modules,exportedDirectives:p.exportedDirectives,exportedPipes:p.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(p,d){this.providers.push({provider:p,module:d})}addDirective(p){this.directivesSet.has(p.reference)||(this.directivesSet.add(p.reference),this.directives.push(p))}addExportedDirective(p){this.exportedDirectivesSet.has(p.reference)||(this.exportedDirectivesSet.add(p.reference),this.exportedDirectives.push(p))}addPipe(p){this.pipesSet.has(p.reference)||(this.pipesSet.add(p.reference),this.pipes.push(p))}addExportedPipe(p){this.exportedPipesSet.has(p.reference)||(this.exportedPipesSet.add(p.reference),this.exportedPipes.push(p))}addModule(p){this.modulesSet.has(p.reference)||(this.modulesSet.add(p.reference),this.modules.push(p))}addEntryComponent(p){this.entryComponentsSet.has(p.componentType)||(this.entryComponentsSet.add(p.componentType),this.entryComponents.push(p))}},t.ProviderMeta=class{constructor(p,{useClass:d,useValue:f,useExisting:h,useFactory:m,deps:g,multi:D}){this.token=p,this.useClass=d||null,this.useValue=f,this.useExisting=h,this.useFactory=m||null,this.dependencies=g||null,this.multi=!!D}},t.flatten=c,t.templateSourceUrl=function(p,d,f){let h;return h=f.isInline?d.type.reference instanceof Go.StaticSymbol?"".concat(d.type.reference.filePath,".").concat(d.type.reference.name,".html"):"".concat(o(p),"/").concat(o(d.type),".html"):f.templateUrl,d.type.reference instanceof Go.StaticSymbol?h:l(h)},t.sharedStylesheetJitUrl=function(p,d){const f=p.moduleUrl.split(/\/\\/g),h=f[f.length-1];return l("css/".concat(d).concat(h,".ngstyle.js"))},t.ngModuleJitUrl=function(p){return l("".concat(o(p.type),"/module.ngfactory.js"))},t.templateJitUrl=function(p,d){return l("".concat(o(p),"/").concat(o(d.type),".ngfactory.js"))}}),X9=j(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(i,s,c,l){this.file=i,this.offset=s,this.line=c,this.col=l}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(i){const s=this.file.content,c=s.length;let l=this.offset,p=this.line,d=this.col;for(;l>0&&i<0;)if(l--,i++,s.charCodeAt(l)==jc.$LF){p--;const f=s.substr(0,l-1).lastIndexOf(String.fromCharCode(jc.$LF));d=f>0?l-f:l}else d--;for(;l<c&&i>0;){const f=s.charCodeAt(l);l++,i--,f==jc.$LF?(p++,d=0):d++}return new n(this.file,l,p,d)}getContext(i,s){const c=this.file.content;let l=this.offset;if(null!=l){l>c.length-1&&(l=c.length-1);let p=l,d=0,f=0;for(;d<i&&l>0&&(l--,d++,"\n"!=c[l]||++f!=s););for(d=0,f=0;d<i&&p<c.length-1&&(p++,d++,"\n"!=c[p]||++f!=s););return{before:c.substring(l,this.offset),after:c.substring(this.offset,p+1)}}return null}}t.ParseLocation=n;class r{constructor(i,s){this.content=i,this.url=s}}t.ParseSourceFile=r;class u{constructor(i,s,c=null){this.start=i,this.end=s,this.details=c}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var o,a;t.ParseSourceSpan=u,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new u(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),(a=o=t.ParseErrorLevel||(t.ParseErrorLevel={}))[a.WARNING=0]="WARNING",a[a.ERROR=1]="ERROR",t.ParseError=class{constructor(a,i,s=o.ERROR){this.span=a,this.msg=i,this.level=s}contextualMessage(){const a=this.span.start.getContext(100,3);return a?"".concat(this.msg,' ("').concat(a.before,"[").concat(o[this.level]," ->]").concat(a.after,'")'):this.msg}toString(){const a=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(a)}},t.typeSourceSpan=function(a,i){const s=_c.identifierModuleUrl(i),c=null!=s?"in ".concat(a," ").concat(_c.identifierName(i)," in ").concat(s):"in ".concat(a," ").concat(_c.identifierName(i)),l=new r("",c);return new u(new n(l,-1,-1,-1),new n(l,-1,-1,-1))},t.r3JitTypeSourceSpan=function(a,i,s){const c="in ".concat(a," ").concat(i," in ").concat(s),l=new r("",c);return new u(new n(l,-1,-1,-1),new n(l,-1,-1,-1))}});const{ParseSourceSpan:xt}=X9,{htmlTrim:Y9,getLeadingAndTrailingHtmlWhitespace:K9,hasHtmlWhitespace:Q9,canHaveInterpolation:Z9,getNodeCssStyleDisplay:e4,isDanglingSpaceSensitiveNode:t4,isIndentationSensitiveNode:n4,isLeadingSpaceSensitiveNode:r4,isTrailingSpaceSensitiveNode:u4,isWhitespaceSensitiveNode:o4}=Ly,i4=[function(e){return e.map(t=>{if("element"===t.type&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&"text"===t.children[0].type&&"\n"===t.children[0].value[0]){const[n,...r]=t.children;return t.clone({children:1===n.value.length?r:[n.clone({value:n.value.slice(1)}),...r]})}return t})},function(e){const t=n=>"element"===n.type&&n.prev&&"ieConditionalStartComment"===n.prev.type&&n.prev.sourceSpan.end.offset===n.startSourceSpan.start.offset&&n.firstChild&&"ieConditionalEndComment"===n.firstChild.type&&n.firstChild.sourceSpan.start.offset===n.startSourceSpan.end.offset;return e.map(n=>{if(n.children){const r=n.children.map(t);if(r.some(Boolean)){const u=[];for(let o=0;o<n.children.length;o++){const a=n.children[o];if(!r[o+1])if(r[o]){const i=a.prev,c=new xt(i.sourceSpan.start,a.firstChild.sourceSpan.end),l=new xt(c.start,a.sourceSpan.end);u.push(a.clone({condition:i.condition,sourceSpan:l,startSourceSpan:c,children:a.children.slice(1)}))}else u.push(a)}return n.clone({children:u})}}return n})},function(e){return n=t=>"cdata"===t.type,r=t=>"<![CDATA[".concat(t.value,"]]>"),e.map(u=>{if(u.children){const o=u.children.map(n);if(o.some(Boolean)){const a=[];for(let i=0;i<u.children.length;i++){const s=u.children[i];if("text"!==s.type&&!o[i]){a.push(s);continue}const c="text"===s.type?s:s.clone({type:"text",value:r(s)});if(0===a.length||"text"!==X(a).type){a.push(c);continue}const l=a.pop();a.push(l.clone({value:l.value+c.value,sourceSpan:new xt(l.sourceSpan.start,c.sourceSpan.end)}))}return u.clone({children:a})}}return u});var n,r},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(r=>{if(!Z9(r))return r;const u=[];for(const o of r.children){if("text"!==o.type){u.push(o);continue}let a=o.sourceSpan.start,i=null;const s=o.value.split(n);for(let c=0;c<s.length;c++,a=i){const l=s[c];c%2!=0?(i=a.moveBy(l.length+4),u.push({type:"interpolation",sourceSpan:new xt(a,i),children:0===l.length?[]:[{type:"text",value:l,sourceSpan:new xt(a.moveBy(2),i.moveBy(-2))}]})):(i=a.moveBy(l.length),l.length>0&&u.push({type:"text",value:l,sourceSpan:new xt(a,i)}))}}return r.clone({children:u})})},function(e){const t="whitespace";return e.map(n=>{if(!n.children)return n;if(0===n.children.length||1===n.children.length&&"text"===n.children[0].type&&0===Y9(n.children[0].value).length)return n.clone({children:[],hasDanglingSpaces:n.children.length>0});const r=o4(n),u=n4(n);return n.clone({isWhitespaceSensitive:r,isIndentationSensitive:u,children:n.children.reduce((o,a)=>{if("text"!==a.type||r)return[...o,a];const i=[],{leadingWhitespace:s,text:c,trailingWhitespace:l}=K9(a.value);return s&&i.push({type:t}),c&&i.push({type:"text",value:c,sourceSpan:new xt(a.sourceSpan.start.moveBy(s.length),a.sourceSpan.end.moveBy(-l.length))}),l&&i.push({type:t}),[...o,...i]},[]).reduce((o,a,i,s)=>{if(a.type===t)return o;const c=0!==i&&s[i-1].type===t,l=i!==s.length-1&&s[i+1].type===t;return[...o,Object.assign({},a,{hasLeadingSpaces:c,hasTrailingSpaces:l})]},[])})})},function(e,t){return e.map(n=>Object.assign(n,{cssDisplay:e4(n,t)}))},function(e){return e.map(t=>Object.assign(t,{isSelfClosing:!t.children||"element"===t.type&&(t.tagDefinition.isVoid||t.startSourceSpan===t.endSourceSpan)}))},function(e,t){return e.map(n=>"element"!==n.type?n:Object.assign(n,{hasHtmComponentClosingTag:n.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(n.endSourceSpan.start.offset,n.endSourceSpan.end.offset))}))},function(e,t){return e.map(n=>n.children?n.clone(0===n.children.length?{isDanglingSpaceSensitive:t4(n)}:{children:n.children.map(r=>Object.assign({},r,{isLeadingSpaceSensitive:r4(r,t),isTrailingSpaceSensitive:u4(r,t)})).map((r,u,o)=>Object.assign({},r,{isLeadingSpaceSensitive:(0===u||o[u-1].isTrailingSpaceSensitive)&&r.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(u===o.length-1||o[u+1].isLeadingSpaceSensitive)&&r.isTrailingSpaceSensitive}))}):n)},function(e){const t=n=>"element"===n.type&&0===n.attrs.length&&1===n.children.length&&"text"===n.firstChild.type&&!Q9(n.children[0].value)&&!n.firstChild.hasLeadingSpaces&&!n.firstChild.hasTrailingSpaces&&n.isLeadingSpaceSensitive&&!n.hasLeadingSpaces&&n.isTrailingSpaceSensitive&&!n.hasTrailingSpaces&&n.prev&&"text"===n.prev.type&&n.next&&"text"===n.next.type;return e.map(n=>{if(n.children){const r=n.children.map(t);if(r.some(Boolean)){const u=[];for(let o=0;o<n.children.length;o++){const a=n.children[o];if(r[o]){const i=u.pop(),s=n.children[++o],{isTrailingSpaceSensitive:c,hasTrailingSpaces:l}=s;u.push(i.clone({value:i.value+"<".concat(a.rawName,">")+a.firstChild.value+"</".concat(a.rawName,">")+s.value,sourceSpan:new xt(i.sourceSpan.start,s.sourceSpan.end),isTrailingSpaceSensitive:c,hasTrailingSpaces:l}))}else u.push(a)}return n.clone({children:u})}}return n})}];const{builders:{group:l4}}=N;var p4={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:u}=function(o){const i=/,([^,\]}]*)(?:,([^,\]}]*))?$/,c=o.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(!c)return;const l={};l.for=c[3].trim();const p=c[1].trim().replace(/^\(|\)$/g,""),d=p.match(i);return d?(l.alias=p.replace(i,""),l.iterator1=d[1].trim(),d[2]&&(l.iterator2=d[2].trim())):l.alias=p,{left:"".concat([l.alias,l.iterator1,l.iterator2].filter(Boolean).join(",")),operator:c[2],right:l.for}}(e);return[l4(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(u,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},f4=j(function(e){var t,n;t=dt,n=function(){return function(t,n){var r=n&&n.logger||console;function u(C){return" "===C||"\t"===C||"\n"===C||"\f"===C||"\r"===C}function o(C){var A,w=C.exec(t.substring(y));if(w)return y+=(A=w[0]).length,A}for(var a,i,s,c,l,p=t.length,d=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,m=/[,]+$/,g=/^\d+$/,D=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(o(f),y>=p)return b;a=o(h),i=[],","===a.slice(-1)?(a=a.replace(m,""),E()):v()}function v(){for(o(d),s="",c="in descriptor";;){if(l=t.charAt(y),"in descriptor"===c)if(u(l))s&&(i.push(s),s="",c="after descriptor");else{if(","===l)return y+=1,s&&i.push(s),void E();if("("===l)s+=l,c="in parens";else{if(""===l)return s&&i.push(s),void E();s+=l}}else if("in parens"===c)if(")"===l)s+=l,c="in descriptor";else{if(""===l)return i.push(s),void E();s+=l}else if("after descriptor"===c&&!u(l)){if(""===l)return void E();c="in descriptor",y-=1}y+=1}}function E(){var C,A,w,T,x,S,B,P,O,M=!1,re={};for(T=0;T<i.length;T++)S=(x=i[T])[x.length-1],B=x.substring(0,x.length-1),P=parseInt(B,10),O=parseFloat(B),g.test(B)&&"w"===S?((C||A)&&(M=!0),0===P?M=!0:C=P):D.test(B)&&"x"===S?((C||A||w)&&(M=!0),O<0?M=!0:A=O):g.test(B)&&"h"===S?((w||A)&&(M=!0),0===P?M=!0:w=P):M=!0;M?r&&r.error&&r.error("Invalid srcset descriptor found in '"+t+"' at '"+x+"'."):(re.url=a,C&&(re.w=C),A&&(re.d=A),w&&(re.h=w),b.push(re))}}},e.exports?e.exports=n():t.parseSrcset=n()});const{builders:{group:d4,ifBreak:h4,indent:m4,join:Mc,line:Rc,softline:$y}}=N,g4=["__","--","_","-"];function y4(e){const t=e.search(/[^_-]/);if(-1!==t)for(const n of g4){const r=e.indexOf(n,t);if(-1!==r)return e.slice(0,r)}return e}var D4={printImgSrcset:function(e){const t=f4(e,{logger:{error(d){throw new Error(d)}}}),n=t.some(({w:d})=>d),r=t.some(({h:d})=>d);if(n+r+t.some(({d})=>d)>1)throw new Error("Mixed descriptor in srcset is not supported");const u=n?"w":r?"h":"d",o=n?"w":r?"h":"x",a=d=>Math.max(...d),i=t.map(d=>d.url),s=a(i.map(d=>d.length)),c=t.map(d=>d[u]).map(d=>d?d.toString():""),l=c.map(d=>{const f=d.indexOf(".");return-1===f?d.length:f}),p=a(l);return Mc([",",Rc],i.map((d,f)=>{const h=[d],m=c[f];if(m){const y=" ".repeat(s-d.length+1+(p-l[f]));h.push(h4(y," "),m+o)}return h}))},printClassNames:function(e){const t=e.trim().split(/\s+/),n=[];let r;for(let u=0;u<t.length;u++){const o=y4(t[u]);o!==r&&o!==t[u-1]&&n.push([]),X(n).push(t[u]),r=o}return[m4([$y,Mc(Rc,n.map(u=>d4(Mc(Rc,u))))]),$y]}};const{builders:{breakParent:Vc,dedentToRoot:b4,fill:qy,group:Te,hardline:Q,ifBreak:$c,indentIfBreak:E4,indent:Qr,join:Wy,line:Be,literalline:et,softline:ze},utils:{mapDoc:C4,cleanDoc:v4,getDocParts:Uy,isConcat:A4}}=N,{replaceEndOfLineWith:He,isNonEmptyArray:F4}=I,{htmlTrimPreserveIndentation:zy,splitByHtmlWhitespace:x4,countChars:Hy,countParents:S4,dedentString:Gy,forceBreakChildren:w4,forceBreakContent:T4,forceNextEmptyLine:Yo,getLastDescendant:Jy,getPrettierIgnoreAttributeCommentData:B4,hasPrettierIgnore:Xy,inferScriptParser:Yy,isVueCustomBlock:k4,isVueNonHtmlBlock:N4,isVueSlotAttribute:P4,isVueSfcBindingsAttribute:O4,isScriptLikeTag:qc,isTextLikeNode:Re,preferHardlineAsLeadingSpaces:Wc,shouldNotPrintClosingTag:Ky,shouldPreserveContent:I4,unescapeQuoteEntities:Qy,isPreLikeNode:j4}=Ly,{insertPragma:L4}={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:Uc,locEnd:zc}={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}},{printVueFor:_4,printVueBindings:M4,isVueEventBindingExpression:R4}=p4,{printImgSrcset:V4,printClassNames:$4}=D4;function Zy(e,t,n){const r=e.getValue();if(w4(r))return[Vc,...e.map(i=>{const s=i.getValue(),c=s.prev?a(s.prev,s):"";return[c?[c,Yo(s.prev)?Q:""]:"",o(i)]},"children")];const u=r.children.map(()=>Symbol(""));return e.map((i,s)=>{const c=i.getValue();if(Re(c)){if(c.prev&&Re(c.prev)){const g=a(c.prev,c);if(g)return Yo(c.prev)?[Q,Q,o(i)]:[g,o(i)]}return o(i)}const l=[],p=[],d=[],f=[],h=c.prev?a(c.prev,c):"",m=c.next?a(c,c.next):"";return h&&(Yo(c.prev)?l.push(Q,Q):h===Q?l.push(Q):Re(c.prev)?p.push(h):p.push($c("",ze,{groupId:u[s-1]}))),m&&(Yo(c)?Re(c.next)&&f.push(Q,Q):m===Q?Re(c.next)&&f.push(Q):d.push(m)),[...l,Te([...p,Te([o(i),...d],{id:u[s]})]),...f]},"children");function o(i){const s=i.getValue();return Xy(s)?[un(s,t),...He(t.originalText.slice(Uc(s)+(s.prev&&Zo(s.prev)?Jc(s).length:0),zc(s)-(s.next&&rn(s.next)?tu(s,t).length:0)),et),on(s,t)]:n()}function a(i,s){return Re(i)&&Re(s)?i.isTrailingSpaceSensitive?i.hasTrailingSpaces?Wc(s)?Q:Be:"":Wc(s)?Q:ze:Zo(i)&&(Xy(s)||s.firstChild||s.isSelfClosing||"element"===s.type&&s.attrs.length>0)||"element"===i.type&&i.isSelfClosing&&rn(s)?"":!s.isLeadingSpaceSensitive||Wc(s)||rn(s)&&i.lastChild&&eu(i.lastChild)&&i.lastChild.lastChild&&eu(i.lastChild.lastChild)?Q:s.hasLeadingSpaces?Be:ze}}function eD(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&ei(e.firstChild)&&(n-=Xc(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&eu(e.lastChild)?r+=Yc(e,t).length:Zr(e)&&(r-=tu(e.lastChild,t).length),t.originalText.slice(n,r)}function q4(e,t,n){const r=e.getValue();if(!F4(r.attrs))return r.isSelfClosing?" ":"";const u=r.prev&&"comment"===r.prev.type&&B4(r.prev.value),o="boolean"==typeof u?()=>u:Array.isArray(u)?c=>u.includes(c.rawName):()=>!1,a=e.map(c=>{const l=c.getValue();return o(l)?He(t.originalText.slice(Uc(l),zc(l)),et):n()},"attrs"),i="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,s=[Qr([i?" ":Be,Wy(Be,a)])];return r.firstChild&&ei(r.firstChild)||r.isSelfClosing&&Zr(r.parent)||i?s.push(r.isSelfClosing?" ":""):s.push(r.isSelfClosing?Be:ze),s}function Hc(e,t,n){const r=e.getValue();return[Ko(r,t),q4(e,t,n),r.isSelfClosing?"":W4(r)]}function Ko(e,t){return e.prev&&Zo(e.prev)?"":[un(e,t),Jc(e)]}function W4(e){return e.firstChild&&ei(e.firstChild)?"":Xc(e)}function Gc(e,t){return[e.isSelfClosing?"":U4(e,t),Qo(e,t)]}function U4(e,t){return e.lastChild&&eu(e.lastChild)?"":[z4(e,t),Yc(e,t)]}function Qo(e,t){return(e.next?rn(e.next):Zr(e.parent))?"":[tu(e,t),on(e,t)]}function Zo(e){return e.next&&!Re(e.next)&&Re(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function ei(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function rn(e){return e.prev&&"docType"!==e.prev.type&&!Re(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Zr(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Re(Jy(e.lastChild))&&!j4(e)}function eu(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Re(Jy(e))}function un(e,t){return ei(e)?Xc(e.parent):rn(e)?tu(e.prev,t):""}function z4(e,t){return Zr(e)?tu(e.lastChild,t):""}function on(e,t){return eu(e)?Yc(e.parent,t):Zo(e)?Jc(e.next):""}function Jc(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 Xc(e){switch(it(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function Yc(e,t){if(it(!e.isSelfClosing),Ky(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function tu(e,t){if(Ky(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 tD(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?He(t,et):He(Gy(zy(t)),Q):Uy(Wy(Be,x4(t)))}var H4={preprocess:function(e,t){for(const n of i4)e=n(e,t);return e},print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return He(r.raw,et);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[Te(Zy(e,t,n)),Q];case"element":case"ieConditionalComment":{if(I4(r,t))return[un(r,t),Te(Hc(e,t,n)),...He(eD(r,t),et),...Gc(r,t),on(r,t)];const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id");return[Te([Te(Hc(e,t,n),{id:a}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?Be:"":[T4(r)?Vc:"",(u=[o?$c(ze,"",{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?Be:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?b4(ze):ze,Zy(e,t,n)],o?E4(u,{groupId:a}):!qc(r)&&!k4(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?Qr(u):u),(r.next?rn(r.next):Zr(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?$c(ze,"",{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?Be:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*S4(e,i=>i.parent&&"root"!==i.parent.type),"}$")).test(r.lastChild.value)?"":ze]]),Gc(r,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[Ko(r),Qo(r)];case"interpolation":return[Ko(r,t),...e.map(n,"children"),Qo(r,t)];case"text":{if("interpolation"===r.parent.type){const a=/\n[^\S\n]*?$/,i=a.test(r.value),s=i?r.value.replace(a,""):r.value;return[...He(s,et),i?Q:""]}const o=v4([un(r,t),...tD(r),on(r,t)]);return A4(o)||"fill"===o.type?qy(Uy(o)):o}case"docType":return[Te([Ko(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Qo(r,t)];case"comment":return[un(r,t),...He(t.originalText.slice(Uc(r),zc(r)),et),on(r,t)];case"attribute":{if(null===r.value)return r.rawName;const o=Qy(r.value),a=Hy(o,"'")<Hy(o,'"')?"'":'"';return[r.rawName,"=",a,...He('"'===a?o.replace(/"/g,"""):o.replace(/'/g,"'"),et),a]}default:throw new Error("Unexpected node type ".concat(r.type))}var u},insertPragma:L4,massageAstNode:f9,embed:function(e,t,n,r){const u=e.getValue();switch(u.type){case"element":if(qc(u)||"interpolation"===u.type)return;if(!u.isSelfClosing&&N4(u,r)){const o=Yy(u,r);if(!o)return;const a=eD(u,r);let i=/^\s*$/.test(a),s="";return i||(s=n(zy(a),{parser:o,__embeddedInHtml:!0},{stripTrailingHardline:!0}),i=""===s),[un(u,r),Te(Hc(e,r,t)),i?"":Q,s,i?"":Q,Gc(u,r),on(u,r)]}break;case"text":if(qc(u.parent)){const o=Yy(u.parent);if(o){const a="markdown"===o?Gy(u.value.replace(/^[^\S\n]*?\n/,"")):u.value,i={parser:o,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===o){let s="script";const{attrMap:c}=u.parent;c&&("module"===c.type||"text/babel"===c.type&&"module"===c["data-type"])&&(s="module"),i.__babelSourceType=s}return[Vc,un(u,r),n(a,i,{stripTrailingHardline:!0}),on(u,r)]}}else if("interpolation"===u.parent.type){const o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(o.parser="__ng_interpolation",o.trailingComma="none"):o.parser="vue"===r.parser?"__vue_expression":"__js_expression",[Qr([Be,n(u.value,o,{stripTrailingHardline:!0})]),u.parent.next&&rn(u.parent.next)?" ":Be]}break;case"attribute":{if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];if("lwc"===r.parser&&/^{[\S\s]*}$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];const o=function(a,i,s){const c=D=>new RegExp(D.join("|")).test(a.fullName),l=()=>Qy(a.value);let p=!1;const d=(D,y)=>{const b="NGRoot"===D.type?"NGMicrosyntax"===D.node.type&&1===D.node.body.length&&"NGMicrosyntaxExpression"===D.node.body[0].type?D.node.body[0].expression:D.node:"JsExpressionRoot"===D.type?D.node:D;!b||"ObjectExpression"!==b.type&&"ArrayExpression"!==b.type&&("__vue_expression"!==y.parser||"TemplateLiteral"!==b.type&&"StringLiteral"!==b.type)||(p=!0)},h=(D,y=!0)=>Te([Qr([ze,D]),y?ze:""]),m=D=>p?(D=>Te(D))(D):h(D),g=(D,y)=>((a,i)=>n(a,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},i),{stripTrailingHardline:!0}))(D,Object.assign({__onHtmlBindingRoot:d,__embeddedInHtml:!0},y));if("srcset"===a.fullName&&("img"===a.parent.fullName||"source"===a.parent.fullName))return h(V4(l()));if("class"===a.fullName&&!s.parentParser){const D=l();if(!D.includes("{{"))return $4(D)}if("style"===a.fullName&&!s.parentParser){const D=l();if(!D.includes("{{"))return h(g(D,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===s.parser){if("v-for"===a.fullName)return _4(l(),g);if(P4(a)||O4(a,s))return M4(l(),g);const D=["^:","^v-bind:"],y=["^v-"];if(c(["^@","^v-on:"])){const b=l();return m(g(b,{parser:R4(b)?"__js_expression":"__vue_event_binding"}))}if(c(D))return m(g(l(),{parser:"__vue_expression"}));if(c(y))return m(g(l(),{parser:"__js_expression"}))}if("angular"===s.parser){const D=(A,w)=>g(A,Object.assign({},w,{trailingComma:"none"})),y=["^\\*"],b=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],v=["^i18n(-.+)?$"];if(c(["^\\(.+\\)$","^on-"]))return m(D(l(),{parser:"__ng_action"}));if(c(b))return m(D(l(),{parser:"__ng_binding"}));if(c(v)){const A=l().trim();return h(qy(tD(a,A)),!A.includes("@@"))}if(c(y))return m(D(l(),{parser:"__ng_directive"}));const E=/{{([\S\s]+?)}}/g,C=l();if(E.test(C)){const A=[];for(const[w,T]of C.split(E).entries())if(w%2==0)A.push(He(T,et));else try{A.push(Te(["{{",Qr([Be,D(T,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Be,"}}"]))}catch(x){A.push("{{",He(T,et),"}}")}return Te(A)}}return null}(u,0,r);if(o)return[u.rawName,'="',Te(C4(o,a=>"string"==typeof a?a.replace(/"/g,"""):a)),'"'];break}case"front-matter":return nc(u,n)}}};var G4={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."}},Kc={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},X4={languages:[U(Kc,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),U(Kc,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),U(Kc,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),U({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:H4},options:G4,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}};const{getLast:Ve,isNonEmptyArray:nu}=I;function rD(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function uD(e){return"prettier-ignore"===e.value.trim()}function Qc(e){return e&&nu(e.leadingComments)}function oD(e){return e&&nu(e.middleComments)}function iD(e){return e&&e.indicatorComment}function aD(e){return e&&e.trailingComment}function Zc(e){return e&&nu(e.endComments)}function sD(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 tr={getLast:Ve,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let u=0;u<r;u++){const o=e.stack[u];rD(o)&&t(o)&&n++}return n},isNode:rD,isEmptyNode:function(e){return!(nu(e.children)||(t=e,Qc(t)||oD(t)||iD(t)||aD(t)||Zc(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(u=>e(u,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 u=e.position.end.offset-1;u<r;u++){const o=t[u];if("\n"===o&&n++,1===n&&/\S/.test(o))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 r=e.stack[n],u=e.stack[n-1];if(Array.isArray(u)&&"number"==typeof r&&r!==u.length-1)return!1}return!0},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){const u=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],o=null===e.indent?(a=u.match(/^( *)\S/m))?a[1].length:Number.POSITIVE_INFINITY:e.indent-1+t;var a;const i=u.split("\n").map(c=>c.slice(o));return function(c){if("keep"===e.chomping)return 0===Ve(c).length?c.slice(0,-1):c;let l=0;for(let p=c.length-1;p>=0&&0===c[p].length;p--)l++;return 0===l?c:c.slice(0,l>=2&&!n?-(l-1):-l)}("preserve"===r.proseWrap||"blockLiteral"===e.type?i.map(c=>0===c.length?[]:[c]):i.map(c=>0===c.length?[]:sD(c)).reduce((c,l,p)=>0!==p&&i[p-1].length>0&&l.length>0&&!/^\s/.test(l[0])&&!/^\s|\s$/.test(Ve(c))?[...c.slice(0,-1),[...Ve(c),...l]]:[...c,l],[]).map(c=>c.reduce((l,p)=>l.length>0&&/\s$/.test(Ve(l))?[...l.slice(0,-1),Ve(l)+" "+p]:[...l,p],[])).map(c=>"never"===r.proseWrap?[c.join(" ")]:c))},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((u,o,a)=>0===o&&o===a.length-1?u:0!==o&&o!==a.length-1?u.trim():0===o?u.trimEnd():u.trimStart());return"preserve"===n.proseWrap?r.map(u=>0===u.length?[]:[u]):r.map(u=>0===u.length?[]:sD(u)).reduce((u,o,a)=>0!==a&&r[a-1].length>0&&o.length>0&&("quoteDouble"!==e||!Ve(Ve(u)).endsWith("\\"))?[...u.slice(0,-1),[...Ve(u),...o]]:[...u,o],[]).map(u=>"never"===n.proseWrap?[u.join(" ")]:u)},getLastDescendantNode:function e(t){return nu(t.children)?e(Ve(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const n=e.getParentNode();return Zc(n.head)&&uD(Ve(n.head.endComments))}return Qc(t)&&uD(Ve(t.leadingComments))},hasLeadingComments:Qc,hasMiddleComments:oD,hasIndicatorComment:iD,hasTrailingComment:aD,hasEndComments:Zc};const{defineShortcut:ru,mapNode:Z4}=tr;function eB(e){switch(e.type){case"document":ru(e,"head",()=>e.children[0]),ru(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":ru(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":ru(e,"key",()=>e.children[0]),ru(e,"value",()=>e.children[1])}return e}const{builders:{softline:nB,align:rB}}=N,{hasEndComments:uB,isNextLineEmpty:oB,isNode:iB}=tr,el=new WeakMap;function cD(e){return uB(e)&&!iB(e,["documentHead","documentBody","flowMapping","flowSequence"])}var ti={alignWithSpaces:function(e,t){return rB(" ".repeat(e),t)},shouldPrintEndComments:cD,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let u;return el.has(r)?u=el.get(r):(u=new Set,el.set(r,u)),u.has(n.position.end.line)||(u.add(n.position.end.line),!oB(n,t)||cD(e.getParentNode()))?"":nB}};const{builders:{ifBreak:aB,line:lD,softline:sB,hardline:pD,join:cB}}=N,{isEmptyNode:fD,getLast:lB,hasEndComments:pB}=tr,{printNextEmptyLine:fB,alignWithSpaces:dB}=ti;function dD(e,t,n){const r=e.getValue(),u="flowMapping"===r.type,o=u?"{":"[",a=u?"}":"]";let i=sB;u&&r.children.length>0&&n.bracketSpacing&&(i=lD);const s=lB(r.children),c=s&&"flowMappingItem"===s.type&&fD(s.key)&&fD(s.value);return[o,dB(n.tabWidth,[i,hB(e,t,n),"none"===n.trailingComma?"":aB(","),pB(r)?[pD,cB(pD,e.map(t,"endComments"))]:""]),c?"":i,a]}function hB(e,t,n){const r=e.getValue();return e.map((u,o)=>[t(),o===r.children.length-1?"":[",",lD,r.children[o].position.start.line!==r.children[o+1].position.start.line?fB(u,n.originalText):""]],"children")}var mB={printFlowMapping:dD,printFlowSequence:dD};const{builders:{conditionalGroup:gB,group:hD,hardline:ni,ifBreak:mD,join:yB,line:DB}}=N,{hasLeadingComments:ri,hasMiddleComments:gD,hasTrailingComment:tl,hasEndComments:nl,isNode:yD,isEmptyNode:DD,isInlineNode:bD}=tr,{alignWithSpaces:an}=ti;function ED(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:EB,dedentToRoot:CD,fill:CB,hardline:rl,join:vB,line:AB,literalline:vD,markAsRoot:FB},utils:{getDocParts:xB}}=N,{getAncestorCount:SB,getBlockValueLineContents:wB,hasIndicatorComment:TB,isLastDescendantNode:BB,isNode:kB}=tr,{alignWithSpaces:AD}=ti;const{builders:{breakParent:PB,fill:OB,group:IB,hardline:H,join:Ge,line:jB,lineSuffix:LB,literalline:_B},utils:{getDocParts:MB}}=N,{replaceEndOfLineWith:RB,isPreviousLineEmpty:VB}=I,{insertPragma:$B,isPragma:qB}={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:ul}={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},{getFlowScalarLineContents:WB,getLastDescendantNode:FD,hasLeadingComments:UB,hasMiddleComments:xD,hasTrailingComment:nr,hasEndComments:ol,hasPrettierIgnore:zB,isLastDescendantNode:HB,isNode:rr,isInlineNode:GB}=tr,{alignWithSpaces:SD,printNextEmptyLine:JB,shouldPrintEndComments:XB}=ti,{printFlowMapping:YB,printFlowSequence:KB}=mB;function wD(e,t){return nr(e)||t&&(t.head.children.length>0||ol(t.head))}function uu(e,t,n){const r=WB(e,t,n);return Ge(H,r.map(u=>OB(MB(Ge(jB,u)))))}var QB={preprocess:function(e){return Z4(e,eB)},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(),u=[];"mappingValue"!==r.type&&UB(r)&&u.push([Ge(H,e.map(n,"leadingComments")),H]);const{tag:o,anchor:a}=r;o&&u.push(n("tag")),o&&a&&u.push(" "),a&&u.push(n("anchor"));let i="";rr(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!HB(e)&&(i=JB(e,t.originalText)),(o||a)&&(rr(r,["sequence","mapping"])&&!xD(r)?u.push(H):u.push(" ")),xD(r)&&u.push([1===r.middleComments.length?"":H,Ge(H,e.map(n,"middleComments")),H]);const s=e.getParentNode();return zB(e)?u.push(RB(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),_B)):u.push(IB(function(c,l,p,d,f){switch(c.type){case"root":{const{children:h}=c,m=[];p.each((D,y)=>{const b=h[y],v=h[y+1];0!==y&&m.push(H),m.push(f()),wD(b,v)?(m.push(H,"..."),nr(b)&&m.push(" ",f("trailingComment"))):v&&!nr(v.head)&&m.push(H,"---")},"children");const g=FD(c);return rr(g,["blockLiteral","blockFolded"])&&"keep"===g.chomping||m.push(H),m}case"document":{const h=[];return"head"===(m=c,g=l.children[p.getName()+1],l.children[0]===m&&/---(\s|$)/.test(d.originalText.slice(ul(m),ul(m)+4))||m.head.children.length>0||ol(m.head)||nr(m.head)?"head":!wD(m,g)&&!!g&&"root")&&((c.head.children.length>0||c.head.endComments.length>0)&&h.push(f("head")),nr(c.head)?h.push(["---"," ",f(["head","trailingComment"])]):h.push("---")),function(m){return m.body.children.length>0||ol(m.body)}(c)&&h.push(f("body")),Ge(H,h)}case"documentHead":return Ge(H,[...p.map(f,"children"),...p.map(f,"endComments")]);case"documentBody":{const{children:h,endComments:m}=c;let g="";if(h.length>0&&m.length>0){const D=FD(c);rr(D,["blockFolded","blockLiteral"])?"keep"!==D.chomping&&(g=[H,H]):g=H}return[Ge(H,p.map(f,"children")),g,Ge(H,p.map(f,"endComments"))]}case"directive":return["%",Ge(" ",[c.name,...c.parameters])];case"comment":return["#",c.value];case"alias":return["*",c.value];case"tag":return d.originalText.slice(c.position.start.offset,c.position.end.offset);case"anchor":return["&",c.value];case"plain":return uu(c.type,d.originalText.slice(c.position.start.offset,c.position.end.offset),d);case"quoteDouble":case"quoteSingle":{const h="'",m='"',g=d.originalText.slice(c.position.start.offset+1,c.position.end.offset-1);if("quoteSingle"===c.type&&g.includes("\\")||"quoteDouble"===c.type&&/\\[^"]/.test(g)){const y="quoteDouble"===c.type?m:h;return[y,uu(c.type,g,d),y]}if(g.includes(m))return[h,uu(c.type,"quoteDouble"===c.type?g.replace(/\\"/g,m).replace(/'/g,h.repeat(2)):g,d),h];if(g.includes(h))return[m,uu(c.type,"quoteSingle"===c.type?g.replace(/''/g,h):g,d),m];const D=d.singleQuote?h:m;return[D,uu(c.type,g,d),D]}case"blockFolded":case"blockLiteral":return function(e,t,n){const r=e.getValue(),u=SB(e,c=>kB(c,["sequence","mapping"])),o=BB(e),a=["blockFolded"===r.type?">":"|"];null!==r.indent&&a.push(r.indent.toString()),"clip"!==r.chomping&&a.push("keep"===r.chomping?"+":"-"),TB(r)&&a.push(" ",t("indicatorComment"));const i=wB(r,{parentIndent:u,isLastDescendant:o,options:n}),s=[];for(const[c,l]of i.entries())0===c&&s.push(rl),s.push(CB(xB(vB(AB,l)))),c!==i.length-1?s.push(0===l.length?rl:FB(vD)):"keep"===r.chomping&&o&&s.push(CD(0===l.length?rl:vD));return a.push(null===r.indent?EB(AD(n.tabWidth,s)):CD(AD(r.indent-1+u,s))),a}(p,f,d);case"mapping":case"sequence":return Ge(H,p.map(f,"children"));case"sequenceItem":return["- ",SD(2,c.content?f("content"):"")];case"mappingKey":case"mappingValue":return c.content?f("content"):"";case"mappingItem":case"flowMappingItem":return function(e,t,n,r,u){const{key:o,value:a}=e,i=DD(o),s=DD(a);if(i&&s)return": ";const c=r("key"),l=(D=e).key.content&&"alias"===D.key.content.type?" ":"";var D;if(s)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!ED(o.content,u)||tl(o.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",an(2,c)]:[c,l,":"];const p=r("value");if(i)return[": ",an(2,p)];if(ri(a)||!bD(o.content))return["? ",an(2,c),ni,yB("",n.map(r,"value","leadingComments").map(D=>[D,ni])),": ",an(2,p)];if(function(D){if(!D)return!0;switch(D.type){case"plain":case"quoteDouble":case"quoteSingle":return D.position.start.line===D.position.end.line;case"alias":return!0;default:return!1}}(o.content)&&!ri(o.content)&&!gD(o.content)&&!tl(o.content)&&!nl(o)&&!ri(a.content)&&!gD(a.content)&&!nl(a)&&ED(a.content,u))return[c,l,": ",p];const d=Symbol("mappingKey"),f=hD([mD("? "),hD(an(2,c),{id:d})]),h=[ni,": ",an(2,p)],m=[l,":"];ri(a.content)||nl(a)&&a.content&&!yD(a.content,["mapping","sequence"])||"mapping"===t.type&&tl(o.content)&&bD(a.content)||yD(a.content,["mapping","sequence"])&&null===a.content.tag&&null===a.content.anchor?m.push(ni):a.content&&m.push(DB),m.push(p);const g=an(u.tabWidth,m);return gB([[f,mD(h,g,{groupId:d})]])}(c,l,p,f,d);case"flowMapping":return YB(p,f,d);case"flowSequence":return KB(p,f,d);case"flowSequenceItem":return f("content");default:throw new Error("Unexpected node type ".concat(c.type))}var m,g}(r,s,e,t,n))),nr(r)&&!rr(r,["document","documentHead"])&&u.push(LB(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===s.type&&"mapping"===e.getParentNode(2).type&&GB(r)?"":PB,n("trailingComment")])),XB(r)&&u.push(SD("sequenceItem"===r.type?2:0,[H,Ge(H,e.map(c=>[VB(t.originalText,c.getValue(),ul)?H:"",n()],"endComments"))])),u.push(i),u},massageAstNode:function(e,t){if(rr(t))switch(delete t.position,t.type){case"comment":if(qB(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:$B},ZB={bracketSpacing:ct.bracketSpacing,singleQuote:ct.singleQuote,proseWrap:ct.proseWrap},e7=[nw,Qw,gT,AT,c9,X4,{languages:[U({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(t=>"yarn.lock"!==t),".prettierrc"]}))],printers:{yaml:QB},options:ZB,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:t7}=al,{getSupportInfo:n7}=gi,r7=e7.map(e=>or(e,["parsers"]));function sn(e,t=1){return(...n)=>{const r=n[t]||{},u=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...r7,...Array.isArray(u)?u:Object.values(u)]}),e(...n)}}const il=sn(Pn.formatWithCursor);return{formatWithCursor:il,format:(e,t)=>il(e,t).formatted,check(e,t){const{formatted:n}=il(e,t);return n===e},doc:N,getSupportInfo:sn(n7,0),version:t7,util:H5,__debug:{parse:sn(Pn.parse),formatAST:sn(Pn.formatAST),formatDoc:sn(Pn.formatDoc),printToDoc:sn(Pn.printToDoc),printDocToString:sn(Pn.printDocToString)}}}()}}]);
|