prettier 2.1.2 → 2.3.1

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/standalone.js CHANGED
@@ -1,4 +1,25 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).prettier=t()}(this,(function(){"use strict";function e(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n="Prettier is an opinionated code formatter",r="./bin/prettier.js",u={node:">=10.13.0"},o=["index.js","standalone.js","src","bin"],a={"@angular/compiler":"10.0.12","@babel/code-frame":"7.10.4","@babel/parser":"7.11.2","@glimmer/syntax":"0.59.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"3.10.0","angular-estree-parser":"2.2.0","angular-html-parser":"1.7.1",camelcase:"6.0.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"4.0.2",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"4.0.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.132.0","get-stream":"6.0.0",globby:"11.0.1",graphql:"15.3.0","html-element-attributes":"2.2.1","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.10.0",lodash:"4.17.20",mem:"6.1.0",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.0",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"1.0.6","remark-parse":"8.0.3",resolve:"1.17.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.0.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},i={"@babel/core":"7.11.4","@babel/preset-env":"7.11.0","@babel/types":"7.11.0","@glimmer/reference":"0.59.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.0","@rollup/plugin-commonjs":"14.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@types/estree":"0.0.45","@types/node":"14.6.0","@typescript-eslint/types":"3.10.0","babel-loader":"8.1.0",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.1.0",eslint:"7.7.0","eslint-config-prettier":"6.11.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.0","eslint-plugin-jest":"23.20.0","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.20.6","eslint-plugin-unicorn":"21.0.0",execa:"4.0.3",jest:"26.4.2","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.0","npm-run-all":"4.1.5",prettier:"2.1.1",rimraf:"3.0.2",rollup:"2.26.5","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.0",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.13",tempy:"0.6.0","terser-webpack-plugin":"4.1.0",webpack:"4.44.1"},s={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 "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 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"},l={name:"prettier",version:"2.1.2",description:n,bin:r,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:u,files:o,dependencies:a,devDependencies:i,scripts:s},c=Object.freeze({__proto__:null,name:"prettier",version:"2.1.2",description:n,bin:r,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:u,files:o,dependencies:a,devDependencies:i,scripts:s,default:l});function p(){}function d(e,t,n,r,u){for(var o=0,a=t.length,i=0,s=0;o<a;o++){var l=t[o];if(l.removed){if(l.value=e.join(r.slice(s,s+l.count)),s+=l.count,o&&t[o-1].added){var c=t[o-1];t[o-1]=t[o],t[o]=c}}else{if(!l.added&&u){var p=n.slice(i,i+l.count);p=p.map((function(e,t){var n=r[s+t];return n.length>e.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(i,i+l.count));i+=l.count,l.added||(s+=l.count)}}var d=t[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[a-2].value+=d.value,t.pop()),t}function f(e){return{newPos:e.newPos,components:e.components.slice(0)}}p.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var u=this;function o(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,i=e.length,s=1,l=a+i,c=[{newPos:-1,components:[]}],p=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&p+1>=i)return o([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*s;n<=s;n+=2){var r=void 0,l=c[n-1],p=c[n+1],h=(p?p.newPos:0)-n;l&&(c[n-1]=void 0);var m=l&&l.newPos+1<a,g=p&&0<=h&&h<i;if(m||g){if(!m||g&&l.newPos<p.newPos?(r=f(p),u.pushComponent(r.components,void 0,!0)):((r=l).newPos++,u.pushComponent(r.components,!0,void 0)),h=u.extractCommon(r,t,e,n),r.newPos+1>=a&&h+1>=i)return o(d(u,r.components,t,e,u.useLongestToken));c[n]=r}else c[n]=void 0}s++}if(r)!function e(){setTimeout((function(){if(s>l)return r();h()||e()}),0)}();else for(;s<=l;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var u=t.length,o=n.length,a=e.newPos,i=a-r,s=0;a+1<u&&i+1<o&&this.equals(t[a+1],n[i+1]);)a++,i++,s++;return s&&e.components.push({count:s}),e.newPos=a,i},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var h=new p;function m(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var g=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,D=/\S/,y=new p;y.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!D.test(e)&&!D.test(t)},y.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&g.test(t[n])&&g.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var E=new p;function C(e,t,n){return E.diff(e,t,n)}E.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var u=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=u:(this.options.ignoreWhitespace&&(u=u.trim()),t.push(u))}return t};var b=new p;b.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var A=new p;function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}A.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var x=Object.prototype.toString,S=new p;function w(e,t,n,r,u){var o,a;for(t=t||[],n=n||[],r&&(e=r(u,e)),o=0;o<t.length;o+=1)if(t[o]===e)return n[o];if("[object Array]"===x.call(e)){for(t.push(e),a=new Array(e.length),n.push(a),o=0;o<e.length;o+=1)a[o]=w(e[o],t,n,r,u);return t.pop(),n.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===v(e)&&null!==e){t.push(e),a={},n.push(a);var i,s=[];for(i in e)e.hasOwnProperty(i)&&s.push(i);for(s.sort(),o=0;o<s.length;o+=1)a[i=s[o]]=w(e[i],t,n,r,i);t.pop(),n.pop()}else a=e;return a}S.useLongestToken=!0,S.tokenize=E.tokenize,S.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,u=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(w(e,null,null,u),u," ")},S.equals=function(e,t){return p.prototype.equals.call(S,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var B=new p;function T(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 e={};for(u.push(e);o<n.length;){var r=n[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),o++}for(i(e),i(e),e.hunks=[];o<n.length;){var l=n[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(s());else{if(l&&t.strict)throw new Error("Unknown line "+(o+1)+" "+JSON.stringify(l));o++}}}function i(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[o]);if(t){var r="---"===t[1]?"old":"new",u=t[2].split("\t",2),a=u[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(u[1]||"").trim(),o++}}function s(){for(var e=o,u=n[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+u[1],oldLines:+u[2]||1,newStart:+u[3],newLines:+u[4]||1,lines:[],linedelimiters:[]},i=0,s=0;o<n.length&&!(0===n[o].indexOf("--- ")&&o+2<n.length&&0===n[o+1].indexOf("+++ ")&&0===n[o+2].indexOf("@@"));o++){var l=0==n[o].length&&o!=n.length-1?" ":n[o][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;a.lines.push(n[o]),a.linedelimiters.push(r[o]||"\n"),"+"===l?i++:"-"===l?s++:" "===l&&(i++,s++)}if(i||1!==a.newLines||(a.newLines=0),s||1!==a.oldLines||(a.oldLines=0),t.strict){if(i!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(s!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;o<n.length;)a();return u}function k(e,t,n){var r=!0,u=!1,o=!1,a=1;return function i(){if(r&&!o){if(u?a++:r=!1,e+a<=n)return a;o=!0}if(!u)return o||(r=!0),t<=e-a?-a++:(u=!0,i())}}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=T(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(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,d=0;function f(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],u=r.length>0?r[0]:" ",a=r.length>0?r.substr(1):r;if(" "===u||"-"===u){if(!s(t+1,o[t],u,a)&&++l>c)return!1;t++}}return!0}for(var h=0;h<i.length;h++){for(var m=i[h],g=o.length-m.oldLines,D=0,y=d+m.oldStart-1,E=k(y,p,g);void 0!==D;D=E())if(f(m,y+D)){m.offset=d+=D;break}if(void 0===D)return!1;p=m.offset+m.oldStart+m.oldLines}for(var C=0,b=0;b<i.length;b++){var A=i[b],v=A.oldStart+A.offset+C-1;C+=A.newLines-A.oldLines,v<0&&(v=0);for(var F=0;F<A.lines.length;F++){var x=A.lines[F],S=x.length>0?x[0]:" ",w=x.length>0?x.substr(1):x,B=A.linedelimiters[F];if(" "===S)v++;else if("-"===S)o.splice(v,1),a.splice(v,1);else if("+"===S)o.splice(v,0,w),a.splice(v,0,B),v++;else if("\\"===S){var N=A.lines[F-1]?A.lines[F-1][0]:null;"+"===N?r=!0:"-"===N&&(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("")}function O(e,t,n,r,u,o,a){a||(a={}),void 0===a.context&&(a.context=4);var i=C(n,r,a);function s(e){return e.map((function(e){return" "+e}))}i.push({value:"",lines:[]});for(var l=[],c=0,p=0,d=[],f=1,h=1,m=function(e){var t=i[e],u=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=u,t.added||t.removed){var o;if(!c){var m=i[e-1];c=f,p=h,m&&(d=a.context>0?s(m.lines.slice(-a.context)):[],c-=d.length,p-=d.length)}(o=d).push.apply(o,F(u.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=u.length:f+=u.length}else{if(c)if(u.length<=2*a.context&&e<i.length-2){var g;(g=d).push.apply(g,F(s(u)))}else{var D,y=Math.min(u.length,a.context);(D=d).push.apply(D,F(s(u.slice(0,y))));var E={oldStart:c,oldLines:f-c+y,newStart:p,newLines:h-p+y,lines:d};if(e>=i.length-2&&u.length<=a.context){var C=/\n$/.test(n),b=/\n$/.test(r),A=0==u.length&&d.length>E.oldLines;!C&&A&&d.splice(E.oldLines,0,"\"),(C||A)&&b||d.push("\")}l.push(E),c=0,p=0,d=[]}f+=u.length,h+=u.length}},g=0;g<i.length;g++)m(g);return{oldFileName:e,newFileName:t,oldHeader:u,newHeader:o,hunks:l}}function P(e,t,n,r,u,o,a){var i=O(e,t,n,r,u,o,a),s=[];e==t&&s.push("Index: "+e),s.push("==================================================================="),s.push("--- "+i.oldFileName+(void 0===i.oldHeader?"":"\t"+i.oldHeader)),s.push("+++ "+i.newFileName+(void 0===i.newHeader?"":"\t"+i.newHeader));for(var l=0;l<i.hunks.length;l++){var c=i.hunks[l];s.push("@@ -"+c.oldStart+","+c.oldLines+" +"+c.newStart+","+c.newLines+" @@"),s.push.apply(s,c.lines)}return s.join("\n")+"\n"}function _(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function I(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var u=e(t.mine),o=e(t.theirs);void 0!==n&&(u.oldLines===o.oldLines?n+=u.oldLines:n=void 0),void 0!==r&&(u.newLines===o.newLines?r+=u.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(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 j(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return T(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return O(void 0,void 0,t,e)}return e}function M(e){return e.newFileName&&e.newFileName!==e.oldFileName}function L(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function R(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function q(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function V(e,t,n,r,u){var o={offset:t,lines:n,index:0},a={offset:r,lines:u,index:0};for(z(e,o,a),z(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 l;(l=e.lines).push.apply(l,F(G(o)))}else if("+"===s[0]&&" "===i[0]){var c;(c=e.lines).push.apply(c,F(G(a)))}else"-"===i[0]&&" "===s[0]?$(e,o,a):"-"===s[0]&&" "===i[0]?$(e,a,o,!0):i===s?(e.lines.push(i),o.index++,a.index++):U(e,G(o),G(a));else W(e,o,a)}J(e,o),J(e,a),I(e)}function W(e,t,n){var r=G(t),u=G(n);if(H(r)&&H(u)){var o,a;if(_(r,u)&&X(n,r,r.length-u.length))return void(o=e.lines).push.apply(o,F(r));if(_(u,r)&&X(t,u,u.length-r.length))return void(a=e.lines).push.apply(a,F(u))}else if(function(e,t){return e.length===t.length&&_(e,t)}(r,u)){var i;return void(i=e.lines).push.apply(i,F(r))}U(e,r,u)}function $(e,t,n,r){var u,o=G(t),a=function(e,t){var n=[],r=[],u=0,o=!1,a=!1;for(;u<t.length&&e.index<e.lines.length;){var i=e.lines[e.index],s=t[u];if("+"===s[0])break;if(o=o||" "!==i[0],r.push(s),u++,"+"===i[0])for(a=!0;"+"===i[0];)n.push(i),i=e.lines[++e.index];s.substr(1)===i.substr(1)?(n.push(i),e.index++):a=!0}"+"===(t[u]||"")[0]&&o&&(a=!0);if(a)return n;for(;u<t.length;)r.push(t[u++]);return{merged:r,changes:n}}(n,o);a.merged?(u=e.lines).push.apply(u,F(a.merged)):U(e,r?a:o,r?o:a)}function U(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function z(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 J(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function G(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 H(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function X(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 Y(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}B.tokenize=function(e){return e.slice()},B.join=B.removeEmpty=function(e){return e};var K=Object.freeze({__proto__:null,Diff:p,diffChars:function(e,t,n){return h.diff(e,t,n)},diffWords:function(e,t,n){return n=m(n,{ignoreWhitespace:!0}),y.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return y.diff(e,t,n)},diffLines:C,diffTrimmedLines:function(e,t,n){var r=m(n,{ignoreWhitespace:!0});return E.diff(e,t,r)},diffSentences:function(e,t,n){return b.diff(e,t,n)},diffCss:function(e,t,n){return A.diff(e,t,n)},diffJson:function(e,t,n){return S.diff(e,t,n)},diffArrays:function(e,t,n){return B.diff(e,t,n)},structuredPatch:O,createTwoFilesPatch:P,createPatch:function(e,t,n,r,u,o){return P(e,e,t,n,r,u,o)},applyPatch:N,applyPatches:function(e,t){"string"==typeof e&&(e=T(e));var n=0;!function r(){var u=e[n++];if(!u)return t.complete();t.loadFile(u,(function(e,n){if(e)return t.complete(e);var o=N(n,u,t);t.patched(u,o,(function(e){if(e)return t.complete(e);r()}))}))}()},parsePatch:T,merge:function(e,t,n){e=j(e,n),t=j(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(M(e)?M(t)?(r.oldFileName=L(r,e.oldFileName,t.oldFileName),r.newFileName=L(r,e.newFileName,t.newFileName),r.oldHeader=L(r,e.oldHeader,t.oldHeader),r.newHeader=L(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},l=t.hunks[o]||{oldStart:1/0};if(R(s,l))r.hunks.push(q(s,a)),u++,i+=s.newLines-s.oldLines;else if(R(l,s))r.hunks.push(q(l,i)),o++,a+=l.newLines-l.oldLines;else{var c={oldStart:Math.min(s.oldStart,l.oldStart),oldLines:0,newStart:Math.min(s.newStart+a,l.oldStart+i),newLines:0,lines:[]};V(c,s.oldStart,s.lines,l.oldStart,l.lines),o++,u++,r.hunks.push(c)}}return r},convertChangesToDMP:function(e){for(var t,n,r=[],u=0;u<e.length;u++)n=(t=e[u]).added?1:t.removed?-1:0,r.push([n,t.value]);return r},convertChangesToXML:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(Y(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},canonicalize:w});function Q(e){return{type:"concat",parts:e}}function Z(e){return{type:"indent",contents:e}}function ee(e,t){return{type:"align",contents:t,n:e}}function te(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const ne={type:"break-parent"},re=Q([{type:"line",hard:!0},ne]),ue=Q([{type:"line",hard:!0,literal:!0},ne]);var oe={concat:Q,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return Q(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:re,literalline:ue,group:te,conditionalGroup:function(e,t){return te(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:ne,ifBreak:function(e,t,n){return{type:"if-break",breakContents:e,flatContents:t,groupId:(n=n||{}).groupId}},trim:{type:"trim"},indent:Z,align:ee,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=Z(r);r=ee(t%n,r),r=ee(-1/0,r)}return r},markAsRoot:function(e){return ee({type:"root"},e)},dedentToRoot:function(e){return ee(-1/0,e)},dedent:function(e){return ee(-1,e)}},ae=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ie=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 se=ie,le=ie;se.default=le;const ce=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=ae(e);let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=se(r)?2:1))}return t};var pe=ce,de=ce;pe.default=de;var fe=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},he=e=>e[e.length-1],me="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function ge(){throw new Error("setTimeout has not been defined")}function De(){throw new Error("clearTimeout has not been defined")}var ye=ge,Ee=De;function Ce(e){if(ye===setTimeout)return setTimeout(e,0);if((ye===ge||!ye)&&setTimeout)return ye=setTimeout,setTimeout(e,0);try{return ye(e,0)}catch(t){try{return ye.call(null,e,0)}catch(t){return ye.call(this,e,0)}}}"function"==typeof me.setTimeout&&(ye=setTimeout),"function"==typeof me.clearTimeout&&(Ee=clearTimeout);var be,Ae=[],ve=!1,Fe=-1;function xe(){ve&&be&&(ve=!1,be.length?Ae=be.concat(Ae):Fe=-1,Ae.length&&Se())}function Se(){if(!ve){var e=Ce(xe);ve=!0;for(var t=Ae.length;t;){for(be=Ae,Ae=[];++Fe<t;)be&&be[Fe].run();Fe=-1,t=Ae.length}be=null,ve=!1,function(e){if(Ee===clearTimeout)return clearTimeout(e);if((Ee===De||!Ee)&&clearTimeout)return Ee=clearTimeout,clearTimeout(e);try{Ee(e)}catch(t){try{return Ee.call(null,e)}catch(t){return Ee.call(this,e)}}}(e)}}function we(e,t){this.fun=e,this.array=t}we.prototype.run=function(){this.fun.apply(null,this.array)};function Be(){}var Te=Be,ke=Be,Ne=Be,Oe=Be,Pe=Be,_e=Be,Ie=Be;var je=me.performance||{},Me=je.now||je.mozNow||je.msNow||je.oNow||je.webkitNow||function(){return(new Date).getTime()};var Le=new Date;var Re={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];Ae.push(new we(e,t)),1!==Ae.length||ve||Ce(Se)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Te,addListener:ke,once:Ne,off:Oe,removeListener:Pe,removeAllListeners:_e,emit:Ie,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Me.call(je),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Le)/1e3}};var qe="object"==typeof Re&&Re.env&&Re.env.NODE_DEBUG&&/\bsemver\b/i.test(Re.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Ve={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},We="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function $e(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function Ue(e){return e&&e.default||e}var ze=$e((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Ve,r=(t=e.exports={}).re=[],u=t.src=[],o=t.t={};let a=0;const i=(e,t,n)=>{const i=a++;qe(i,t),o[e]=i,u[i]=t,r[i]=new RegExp(t,n?"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 Je=/^[0-9]+$/,Ge=(e,t)=>{const n=Je.test(e),r=Je.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var He={compareIdentifiers:Ge,rcompareIdentifiers:(e,t)=>Ge(t,e)};const{MAX_LENGTH:Xe,MAX_SAFE_INTEGER:Ye}=Ve,{re:Ke,t:Qe}=ze,{compareIdentifiers:Ze}=He;class et{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof et){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>Xe)throw new TypeError("version is longer than ".concat(Xe," characters"));qe("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Ke[Qe.LOOSE]:Ke[Qe.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ye||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ye||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ye||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Ye)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(qe("SemVer.compare",this.version,this.options,e),!(e instanceof et)){if("string"==typeof e&&e===this.version)return 0;e=new et(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof et||(e=new et(e,this.options)),Ze(this.major,e.major)||Ze(this.minor,e.minor)||Ze(this.patch,e.patch)}comparePre(e){if(e instanceof et||(e=new et(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(qe("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Ze(n,r)}while(++t)}compareBuild(e){e instanceof et||(e=new et(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(qe("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Ze(n,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var tt=et;var nt=(e,t,n)=>new tt(e,n).compare(new tt(t,n));var rt=(e,t,n)=>nt(e,t,n)<0;var ut=(e,t,n)=>nt(e,t,n)>=0,ot=$e((function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.prototype.hasOwnProperty,o=function(e,t){return u.call(e,t)};function a(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return e}var i=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,n){var r=0,u=e[0].match(c);u&&(r=u[1].length);var o=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var a=n.newline,l=n.trimLeadingNewline,p=n.trimTrailingNewline,d="string"==typeof a,f=e.length;return e.map((function(e,t){return e=e.replace(o,"$1"),0===t&&l&&(e=e.replace(i,"")),t===f-1&&p&&(e=e.replace(s,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return a}))),e}))}function f(e,t){for(var n="",r=0,u=e.length;r<u;r++)n+=e[r],r<u-1&&(n+=t[r]);return n}function h(e){return o(e,"raw")&&o(e,"length")}var m=function e(t){var n=r(),u=r();return a((function r(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];if(h(o)){var c=o,g=(i[0]===r||i[0]===m)&&p.test(c[0])&&l.test(c[1]),D=g?u:n,y=D.get(c);if(y||(y=d(c,g,t),D.set(c,y)),0===i.length)return y[0];var E=f(y,g?i.slice(1):i);return E}return e(a(a({},t),o||{}))}),{string:function(e){return d([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=m,t.default=m;try{e.exports=m,Object.defineProperty(m,"__esModule",{value:!0}),m.default=m,m.outdent=m}catch(e){}}));function at(){const e=t(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return at=function(){return e},e}function it(){const e=t(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return it=function(){return e},e}function st(){const e=t(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return st=function(){return e},e}function lt(){const e=t(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return lt=function(){return e},e}function ct(){const e=t(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return ct=function(){return e},e}function pt(){const e=t(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return pt=function(){return e},e}const{outdent:dt}=ot;var ft={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:{cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:dt(pt()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:dt(ct())}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:dt(lt()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:dt(st()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:dt(it()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:dt(at()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}}},ht=Ue(c);const mt={compare:nt,lt:rt,gte:ut},gt=ht.version,Dt=ft.options;var yt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:u=!1}={}){const o=gt.split("-",1)[0],a=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(s),i=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),Dt),"name").filter(e=>s(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map((function(t){if(u)return t;return e(t,["cliName","cliCategory","cliDescription"])})).map(e=>{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(s).sort((e,t)=>mt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>s(e)&&l(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const u of t)if(u.parsers)for(const t of u.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let a=u.name;o&&o.name&&(a+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:a})}}(e,a,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:a,options:i};function s(e){return n||!("since"in e)||e.since&&mt.gte(o,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&mt.lt(o,e.deprecated)}}};const Et=/[^\x20-\x7F]/;function Ct(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 n=t.charAt(a);if(e instanceof RegExp){if(!e.test(n))return a}else if(!e.includes(n))return a;u?a--:a++}return(-1===a||a===o)&&a}}const bt=Ct(/\s/),At=Ct(" \t"),vt=Ct(",; \t"),Ft=Ct(/[^\n\r]/);function xt(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 St(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Ft(e,t):t)}function wt(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 Bt(e,t,n){const r=At(e,(n=n||{}).backwards?t-1:t,n);return r!==wt(e,r,n)}function Tt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=vt(e,r),r=xt(e,r),r=At(e,r);return r=St(e,r),r=wt(e,r),!1!==r&&Bt(e,r)}function kt(e,t){let n=null,r=t;for(;r!==n;)n=r,r=At(e,r),r=xt(e,r),r=St(e,r),r=wt(e,r);return r}function Nt(e,t,n){return kt(e,n(t))}function Ot(e,t,n){let r=0;for(let u=n=n||0;u<e.length;++u)"\t"===e[u]?r=r+t-r%t:r++;return r}function Pt(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;if(n.includes(o.quote)||n.includes(a.quote)){i=(n.match(o.regex)||[]).length>(n.match(a.regex)||[]).length?a.quote:o.quote}return i}function _t(e,t,n){const r='"'===t?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,(e,u,o)=>u===r?u:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u));return t+u+t}function It(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>jt(e)&&!e.unignore)||e.prettierIgnore)}function jt(e){return"prettier-ignore"===e.value.trim()}function Mt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Lt={replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?Et.test(e)?pe(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(fe(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(fe(t),")+"),"g"));if(null===n)return 0;const r=new Map;let u=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>u&&(u=n)}for(let e=1;e<u;e++)if(!r.get(e))return e;return u+1},getParserName:function(e,t){const n=yt.getSupportInfo({plugins:t.plugins}).languages.find(t=>t.name.toLowerCase()===e||t.aliases&&t.aliases.includes(e)||t.extensions&&t.extensions.some(t=>t===".".concat(e)));return n?n.parsers[0]:null},getPenultimate:e=>e[e.length-2],getLast:he,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:kt,getNextNonSpaceNonCommentCharacterIndex:Nt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Nt(e,t,n))},skip:Ct,skipWhitespace:bt,skipSpaces:At,skipToLineEnd:vt,skipEverythingButNewLine:Ft,skipInlineComment:xt,skipTrailingComment:St,skipNewline:wt,isNextLineEmptyAfterIndex:Tt,isNextLineEmpty:function(e,t,n){return Tt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=At(e,r,{backwards:!0}),r=wt(e,r,{backwards:!0}),r=At(e,r,{backwards:!0}),r!==wt(e,r,{backwards:!0})},hasNewline:Bt,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t,n){return At(e,(n=n||{}).backwards?t-1:t,n)!==t},getAlignmentSize:Ot,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:Ot(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Pt,printString:function(e,t,n){const r=e.slice(1,-1),u=!r.includes('"')&&!r.includes("'"),o="json"===t.parser?'"':t.__isInHtmlAttribute?"'":Pt(e,t.singleQuote?"'":'"');return n?u?o+r+o:e:_t(r,o,!("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|$)/,"")},hasIgnoreComment:function(e){return It(e.getValue())},hasNodeIgnoreComment:It,isNodeIgnoreComment:jt,makeString:_t,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Mt(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Mt(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Mt(e,t)},isWithinParentArrayProperty:function(e,t){const n=e.getValue(),r=e.getParentNode();if(null==r)return!1;if(!Array.isArray(r[t]))return!1;const u=e.getName();return r[t][u]===n},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}};var Rt={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:qt}=Lt,{convertEndOfLineToChars:Vt}=Rt,{concat:Wt,fill:$t,cursor:Ut}=oe;let zt;function Jt(e,t){return Ht(e,{type:"indent"},t)}function Gt(e,t,n){if(t===-1/0)return e.root||{value:"",length:0,queue:[]};if(t<0)return Ht(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign({},e,{root:e});return Ht(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n)}function Ht(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let u="",o=0,a=0,i=0;for(const e of r)switch(e.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),u+=e.n,o+=e.n.length;break;case"numberAlign":a+=1,i+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return p(),Object.assign({},e,{value:u,length:o,queue:r});function s(e){u+="\t".repeat(e),o+=n.tabWidth*e}function l(e){u+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){a>0&&s(a);d()}():p()}function p(){i>0&&l(i),d()}function d(){a=0,i=0}}function Xt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Yt(e,t,n,r,u){let o=t.length;const a=[e],i=[];for(;n>=0;){if(0===a.length){if(0===o)return!0;a.push(t[o-1]),o--;continue}const[e,s,l]=a.pop();if("string"==typeof l)i.push(l),n-=qt(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)a.push([e,s,l.parts[t]]);break;case"indent":a.push([Jt(e,r),s,l.contents]);break;case"align":a.push([Gt(e,l.n,r),s,l.contents]);break;case"trim":n+=Xt(i);break;case"group":if(u&&l.break)return!1;a.push([e,l.break?1:s,l.contents]),l.id&&(zt[l.id]=a[a.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)a.push([e,s,l.parts[t]]);break;case"if-break":{const t=l.groupId?zt[l.groupId]:s;1===t&&l.breakContents&&a.push([e,s,l.breakContents]),2===t&&l.flatContents&&a.push([e,s,l.flatContents]);break}case"line":switch(s){case 2:if(!l.hard){l.soft||(i.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Kt={printDocToString:function(e,t){zt={};const n=t.printWidth,r=Vt(t.endOfLine);let u=0;const o=[[{value:"",length:0,queue:[]},1,e]],a=[];let i=!1,s=[];for(;0!==o.length;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;a.push(e),u+=qt(e)}else switch(c.type){case"cursor":a.push(Ut.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)o.push([e,l,c.parts[t]]);break;case"indent":o.push([Jt(e,t),l,c.contents]);break;case"align":o.push([Gt(e,c.n,t),l,c.contents]);break;case"trim":u-=Xt(a);break;case"group":switch(l){case 2:if(!i){o.push([e,c.break?1:2,c.contents]);break}case 1:{i=!1;const r=[e,2,c.contents],a=n-u;if(!c.break&&Yt(r,o,a,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r<c.expandedStates.length+1;r++){if(r>=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Yt(n,o,a,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(zt[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-u,{parts:a}=c;if(0===a.length)break;const[i,s]=a,p=[e,2,i],d=[e,1,i],f=Yt(p,[],r,t,!0);if(1===a.length){f?o.push(p):o.push(d);break}const h=[e,2,s],m=[e,1,s];if(2===a.length){f?(o.push(h),o.push(p)):(o.push(m),o.push(d));break}a.splice(0,2);const g=[e,l,$t(a)],D=a[0];Yt([e,2,Wt([i,s,D])],[],r,t,!0)?(o.push(g),o.push(h),o.push(p)):f?(o.push(g),o.push(m),o.push(p)):(o.push(g),o.push(m),o.push(d));break}case"if-break":{const t=c.groupId?zt[c.groupId]:l;1===t&&c.breakContents&&o.push([e,l,c.breakContents]),2===t&&c.flatContents&&o.push([e,l,c.flatContents]);break}case"line-suffix":s.push([e,l,c.contents]);break;case"line-suffix-boundary":s.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(a.push(" "),u+=1);break}i=!0;case 1:if(s.length){o.push([e,l,c]),o.push(...s.reverse()),s=[];break}c.literal?e.root?(a.push(r,e.root.value),u=e.root.length):(a.push(r),u=0):(u-=Xt(a),a.push(r+e.value),u=e.length)}}}const l=a.indexOf(Ut.placeholder);if(-1!==l){const e=a.indexOf(Ut.placeholder,l+1),t=a.slice(0,l).join(""),n=a.slice(l+1,e).join("");return{formatted:t+n+a.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:a.join("")}}};const{literalline:Qt,concat:Zt}=oe,en={};function tn(e,t,n,r){const u=[e];for(;0!==u.length;){const e=u.pop();if(e!==en){if(n&&u.push(e,en),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)u.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)u.push(e.expandedStates[t]);else u.push(e.contents);else e.contents&&u.push(e.contents)}else n(u.pop())}}function nn(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>nn(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&nn(e.breakContents,t),r=e.flatContents&&nn(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=nn(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function rn(e,t,n){let r=n,u=!1;return tn(e,(function(e){const n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1})),r}function un(e){return"string"!=typeof e&&("line"===e.type||void 0)}function on(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function an(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function sn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function ln(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function cn(e){if("concat"===e.type){const t=[];for(let n=0;n<e.parts.length;++n){const r=e.parts[n];if("string"!=typeof r&&"concat"===r.type)t.push(...cn(r).parts);else{const e=cn(r);""!==e&&t.push(e)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?cn(e.breakContents):null,flatContents:null!=e.flatContents?cn(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:cn(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(cn):e.expandedStates}):e.contents?Object.assign({},e,{contents:cn(e.contents)}):e}function pn(e){if("string"==typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(pn).join(", ")+"]";if("indent"===e.type)return"indent("+pn(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+pn(e.contents)+")":e.n<0?"dedent("+pn(e.contents)+")":"root"===e.n.type?"markAsRoot("+pn(e.contents)+")":"align("+JSON.stringify(e.n)+", "+pn(e.contents)+")";if("if-break"===e.type)return"ifBreak("+pn(e.breakContents)+(e.flatContents?", "+pn(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(pn).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+pn(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(pn).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+pn(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var dn={builders:oe,printer:Kt,utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return rn(e,on,!1)},isLineNext:function(e){return rn(e,un,!1)},traverseDoc:tn,findInDoc:rn,mapDoc:nn,propagateBreaks:function(e){const t=new Set,n=[];tn(e,(function(e){if("break-parent"===e.type&&an(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){n.pop().break&&an(n)}}),!0)},removeLines:function(e){return nn(e,sn)},stripTrailingHardline:function e(t,n=!1){if("concat"===t.type&&0!==t.parts.length){const r=n?function(e){let t,{parts:n}=e;for(let r=e.parts.length;r>0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,u=r[r.length-1];if("concat"===u.type)return 2===u.parts.length&&u.parts[0].hard&&"break-parent"===u.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(u))}}return t},normalizeParts:ln,normalizeDoc:function(e){return nn(e,e=>e.parts?Object.assign({},e,{parts:ln(e.parts)}):e)},replaceNewlinesWithLiterallines:function(e){return nn(e,e=>"string"==typeof e&&e.includes("\n")?Zt(e.split(/(\n)/g).map((e,t)=>t%2==0?e:Qt)):e)}},debug:{printDocToDebug:e=>pn(cn(e))}},fn=Object.freeze({__proto__:null,default:{}});const hn=/[/\\]/;function mn(e){return e.split(hn).pop()}var gn=Object.freeze({__proto__:null,extname:function(e){const t=mn(e),n=t.lastIndexOf(".");return-1===n?"":t.slice(n)},basename:mn,isAbsolute:function(){return!0}}),Dn=[],yn=[],En="undefined"!=typeof Uint8Array?Uint8Array:Array,Cn=!1;function bn(){Cn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)Dn[t]=e[t],yn[e.charCodeAt(t)]=t;yn["-".charCodeAt(0)]=62,yn["_".charCodeAt(0)]=63}function An(e,t,n){for(var r,u,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Dn[(u=r)>>18&63]+Dn[u>>12&63]+Dn[u>>6&63]+Dn[63&u]);return o.join("")}function vn(e){var t;Cn||bn();for(var n=e.length,r=n%3,u="",o=[],a=0,i=n-r;a<i;a+=16383)o.push(An(e,a,a+16383>i?i:a+16383));return 1===r?(t=e[n-1],u+=Dn[t>>2],u+=Dn[t<<4&63],u+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],u+=Dn[t>>10],u+=Dn[t>>4&63],u+=Dn[t<<2&63],u+="="),o.push(u),o.join("")}function Fn(e,t,n,r,u){var o,a,i=8*u-r-1,s=(1<<i)-1,l=s>>1,c=-7,p=n?u-1:0,d=n?-1:1,f=e[t+p];for(p+=d,o=f&(1<<-c)-1,f>>=-c,c+=i;c>0;o=256*o+e[t+p],p+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===o)o=1-l;else{if(o===s)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=l}return(f?-1:1)*a*Math.pow(2,o-r)}function xn(e,t,n,r,u,o){var a,i,s,l=8*o-u-1,c=(1<<l)-1,p=c>>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=c):(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>=c?(i=0,a=c):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,l+=u;l>0;e[n+f]=255&a,f+=h,a/=256,l-=8);e[n+f-h]|=128*m}var Sn={}.toString,wn=Array.isArray||function(e){return"[object Array]"==Sn.call(e)};function Bn(){return kn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Tn(e,t){if(Bn()<t)throw new RangeError("Invalid typed array length");return kn.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=kn.prototype:(null===e&&(e=new kn(t)),e.length=t),e}function kn(e,t,n){if(!(kn.TYPED_ARRAY_SUPPORT||this instanceof kn))return new kn(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 Pn(this,e)}return Nn(this,e,t,n)}function Nn(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);kn.TYPED_ARRAY_SUPPORT?(e=t).__proto__=kn.prototype:e=_n(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!kn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Mn(t,n),u=(e=Tn(e,r)).write(t,n);u!==r&&(e=e.slice(0,u));return e}(e,t,n):function(e,t){if(jn(t)){var n=0|In(t.length);return 0===(e=Tn(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Tn(e,0):_n(e,t);if("Buffer"===t.type&&wn(t.data))return _n(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function On(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 Pn(e,t){if(On(t),e=Tn(e,t<0?0:0|In(t)),!kn.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function _n(e,t){var n=t.length<0?0:0|In(t.length);e=Tn(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function In(e){if(e>=Bn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Bn().toString(16)+" bytes");return 0|e}function jn(e){return!(null==e||!e._isBuffer)}function Mn(e,t){if(jn(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 lr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return cr(e).length;default:if(r)return lr(e).length;t=(""+t).toLowerCase(),r=!0}}function Ln(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Qn(this,t,n);case"utf8":case"utf-8":return Xn(this,t,n);case"ascii":return Yn(this,t,n);case"latin1":case"binary":return Kn(this,t,n);case"base64":return Hn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zn(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Rn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function qn(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=kn.from(t,r)),jn(t))return 0===t.length?-1:Vn(e,t,n,r,u);if("number"==typeof t)return t&=255,kn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Vn(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function Vn(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 l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(u){var c=-1;for(o=n;o<i;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===s)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+s>i&&(n=i-s),o=n;o>=0;o--){for(var p=!0,d=0;d<s;d++)if(l(e,o+d)!==l(t,d)){p=!1;break}if(p)return o}return-1}function Wn(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 $n(e,t,n,r){return pr(lr(t,e.length-n),e,n,r)}function Un(e,t,n,r){return pr(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function zn(e,t,n,r){return Un(e,t,n,r)}function Jn(e,t,n,r){return pr(cr(t),e,n,r)}function Gn(e,t,n,r){return pr(function(e,t){for(var n,r,u,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,u=n%256,o.push(u),o.push(r);return o}(t,e.length-n),e,n,r)}function Hn(e,t,n){return 0===t&&n===e.length?vn(e):vn(e.slice(t,n))}function Xn(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u<n;){var o,a,i,s,l=e[u],c=null,p=l>239?4:l>223?3:l>191?2:1;if(u+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[u+1]))&&(s=(31&l)<<6|63&o)>127&&(c=s);break;case 3:o=e[u+1],a=e[u+2],128==(192&o)&&128==(192&a)&&(s=(15&l)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:o=e[u+1],a=e[u+2],i=e[u+3],128==(192&o)&&128==(192&a)&&128==(192&i)&&(s=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&i)>65535&&s<1114112&&(c=s)}null===c?(c=65533,p=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),u+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}kn.TYPED_ARRAY_SUPPORT=void 0===me.TYPED_ARRAY_SUPPORT||me.TYPED_ARRAY_SUPPORT,kn.poolSize=8192,kn._augment=function(e){return e.__proto__=kn.prototype,e},kn.from=function(e,t,n){return Nn(null,e,t,n)},kn.TYPED_ARRAY_SUPPORT&&(kn.prototype.__proto__=Uint8Array.prototype,kn.__proto__=Uint8Array),kn.alloc=function(e,t,n){return function(e,t,n,r){return On(t),t<=0?Tn(e,t):void 0!==n?"string"==typeof r?Tn(e,t).fill(n,r):Tn(e,t).fill(n):Tn(e,t)}(null,e,t,n)},kn.allocUnsafe=function(e){return Pn(null,e)},kn.allocUnsafeSlow=function(e){return Pn(null,e)},kn.isBuffer=function(e){return null!=e&&(!!e._isBuffer||dr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&dr(e.slice(0,0))}(e))},kn.compare=function(e,t){if(!jn(e)||!jn(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},kn.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}},kn.concat=function(e,t){if(!wn(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return kn.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=kn.allocUnsafe(t),u=0;for(n=0;n<e.length;++n){var o=e[n];if(!jn(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,u),u+=o.length}return r},kn.byteLength=Mn,kn.prototype._isBuffer=!0,kn.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)Rn(this,t,t+1);return this},kn.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)Rn(this,t,t+3),Rn(this,t+1,t+2);return this},kn.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)Rn(this,t,t+7),Rn(this,t+1,t+6),Rn(this,t+2,t+5),Rn(this,t+3,t+4);return this},kn.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Xn(this,0,e):Ln.apply(this,arguments)},kn.prototype.equals=function(e){if(!jn(e))throw new TypeError("Argument must be a Buffer");return this===e||0===kn.compare(this,e)},kn.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+">"},kn.prototype.compare=function(e,t,n,r,u){if(!jn(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),l=e.slice(t,n),c=0;c<i;++c)if(s[c]!==l[c]){o=s[c],a=l[c];break}return o<a?-1:a<o?1:0},kn.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},kn.prototype.indexOf=function(e,t,n){return qn(this,e,t,n,!0)},kn.prototype.lastIndexOf=function(e,t,n){return qn(this,e,t,n,!1)},kn.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 Wn(this,e,t,n);case"utf8":case"utf-8":return $n(this,e,t,n);case"ascii":return Un(this,e,t,n);case"latin1":case"binary":return zn(this,e,t,n);case"base64":return Jn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},kn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Yn(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 Kn(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 Qn(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+=sr(e[o]);return u}function Zn(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 er(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 tr(e,t,n,r,u,o){if(!jn(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 nr(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 rr(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 ur(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 or(e,t,n,r,u){return u||ur(e,0,n,4),xn(e,t,n,r,23,4),n+4}function ar(e,t,n,r,u){return u||ur(e,0,n,8),xn(e,t,n,r,52,8),n+8}kn.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),kn.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=kn.prototype;else{var u=t-e;n=new kn(u,void 0);for(var o=0;o<u;++o)n[o]=this[o+e]}return n},kn.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||er(e,t,this.length);for(var r=this[e],u=1,o=0;++o<t&&(u*=256);)r+=this[e+o]*u;return r},kn.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||er(e,t,this.length);for(var r=this[e+--t],u=1;t>0&&(u*=256);)r+=this[e+--t]*u;return r},kn.prototype.readUInt8=function(e,t){return t||er(e,1,this.length),this[e]},kn.prototype.readUInt16LE=function(e,t){return t||er(e,2,this.length),this[e]|this[e+1]<<8},kn.prototype.readUInt16BE=function(e,t){return t||er(e,2,this.length),this[e]<<8|this[e+1]},kn.prototype.readUInt32LE=function(e,t){return t||er(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},kn.prototype.readUInt32BE=function(e,t){return t||er(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},kn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||er(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},kn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||er(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},kn.prototype.readInt8=function(e,t){return t||er(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},kn.prototype.readInt16LE=function(e,t){t||er(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},kn.prototype.readInt16BE=function(e,t){t||er(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},kn.prototype.readInt32LE=function(e,t){return t||er(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},kn.prototype.readInt32BE=function(e,t){return t||er(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},kn.prototype.readFloatLE=function(e,t){return t||er(e,4,this.length),Fn(this,e,!0,23,4)},kn.prototype.readFloatBE=function(e,t){return t||er(e,4,this.length),Fn(this,e,!1,23,4)},kn.prototype.readDoubleLE=function(e,t){return t||er(e,8,this.length),Fn(this,e,!0,52,8)},kn.prototype.readDoubleBE=function(e,t){return t||er(e,8,this.length),Fn(this,e,!1,52,8)},kn.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||tr(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},kn.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||tr(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},kn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,1,255,0),kn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},kn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,2,65535,0),kn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):nr(this,e,t,!0),t+2},kn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,2,65535,0),kn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):nr(this,e,t,!1),t+2},kn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,4,4294967295,0),kn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):rr(this,e,t,!0),t+4},kn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,4,4294967295,0),kn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):rr(this,e,t,!1),t+4},kn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);tr(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},kn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);tr(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},kn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,1,127,-128),kn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},kn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,2,32767,-32768),kn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):nr(this,e,t,!0),t+2},kn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,2,32767,-32768),kn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):nr(this,e,t,!1),t+2},kn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,4,2147483647,-2147483648),kn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):rr(this,e,t,!0),t+4},kn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||tr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),kn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):rr(this,e,t,!1),t+4},kn.prototype.writeFloatLE=function(e,t,n){return or(this,e,t,!0,n)},kn.prototype.writeFloatBE=function(e,t,n){return or(this,e,t,!1,n)},kn.prototype.writeDoubleLE=function(e,t,n){return ar(this,e,t,!0,n)},kn.prototype.writeDoubleBE=function(e,t,n){return ar(this,e,t,!1,n)},kn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var 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||!kn.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},kn.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&&!kn.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=jn(e)?e:lr(new kn(e,r).toString()),i=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%i]}return this};var ir=/[^+\/0-9A-Za-z-_]/g;function sr(e){return e<16?"0"+e.toString(16):e.toString(16)}function lr(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 cr(e){return function(e){var t,n,r,u,o,a;Cn||bn();var i=e.length;if(i%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[i-2]?2:"="===e[i-1]?1:0,a=new En(3*i/4-o),r=o>0?i-4:i;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)u=yn[e.charCodeAt(t)]<<18|yn[e.charCodeAt(t+1)]<<12|yn[e.charCodeAt(t+2)]<<6|yn[e.charCodeAt(t+3)],a[s++]=u>>16&255,a[s++]=u>>8&255,a[s++]=255&u;return 2===o?(u=yn[e.charCodeAt(t)]<<2|yn[e.charCodeAt(t+1)]>>4,a[s++]=255&u):1===o&&(u=yn[e.charCodeAt(t)]<<10|yn[e.charCodeAt(t+1)]<<4|yn[e.charCodeAt(t+2)]>>2,a[s++]=u>>8&255,a[s++]=255&u),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(ir,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function pr(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 dr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var fr=Ue(fn);var hr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:fr.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(){fr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,u=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(!o)break}let o=e.slice(u,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new kn(this.options.readChunk);t=fr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let u=kn.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]=kn.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;if(this.eofReached&&0===this.linesCache.length)return t;if(this.linesCache.length||(e=this._readChunk()),this.linesCache.length){t=this.linesCache.shift();10!==t[t.length-1]&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()))}return this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t}};var mr=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};class gr extends Error{}class Dr extends Error{}class yr extends Error{}var Er={ConfigError:gr,DebugError:Dr,UndefinedParserError:yr},Cr=function(e,t){return(Cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).prettier=t()}(this,(function(){"use strict";function e(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},u=Object.keys(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var t={name:"prettier",version:"2.3.1",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=12.17.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"12.0.2","@babel/code-frame":"7.12.13","@babel/parser":"7.14.4","@glimmer/syntax":"0.79.3","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.25.0","angular-estree-parser":"2.4.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.2.0","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.1","flow-parser":"0.152.0","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":"27.0.1",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.15.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.3.2","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.3","@babel/preset-env":"7.14.4","@babel/types":"7.14.4","@glimmer/reference":"0.79.3","@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","babel-jest":"27.0.2","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","core-js":"3.13.1","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.27.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.23.4","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.24.0","eslint-plugin-regexp":"0.11.0","eslint-plugin-unicorn":"32.0.1","esm-utils":"1.1.0",execa:"5.0.1",jest:"27.0.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.4","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.3.0","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.48.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1",tempy:"1.0.1","terser-webpack-plugin":"5.1.2",webpack:"5.38.1"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.mjs","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2019 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.mjs",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.mjs","build-docs":"node ./scripts/build-docs.mjs"}},n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var u=i((function(e,t){function n(){}function r(e,t,n,r,i){for(var u=0,o=t.length,s=0,a=0;u<o;u++){var l=t[u];if(l.removed){if(l.value=e.join(r.slice(a,a+l.count)),a+=l.count,u&&t[u-1].added){var c=t[u-1];t[u-1]=t[u],t[u]=c}}else{if(!l.added&&i){var p=n.slice(s,s+l.count);p=p.map((function(e,t){var n=r[a+t];return n.length>e.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(a+=l.count)}}var f=t[o-1];return o>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[o-2].value+=f.value,t.pop()),t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=n.callback;"function"==typeof n&&(u=n,n={}),this.options=n;var o=this;function s(e){return u?(setTimeout((function(){u(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=a+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=l)return s([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*c;n<=c;n+=2){var u=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var g=p&&p.newPos+1<a,m=d&&0<=h&&h<l;if(g||m){if(!g||m&&p.newPos<d.newPos?(u=i(d),o.pushComponent(u.components,void 0,!0)):((u=p).newPos++,o.pushComponent(u.components,!0,void 0)),h=o.extractCommon(u,t,e,n),u.newPos+1>=a&&h+1>=l)return s(r(o,u.components,t,e,o.useLongestToken));f[n]=u}else f[n]=void 0}c++}if(u)!function e(){setTimeout((function(){if(c>p)return u();h()||e()}),0)}();else for(;c<=p;){var g=h();if(g)return g}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,u=n.length,o=e.newPos,s=o-r,a=0;o+1<i&&s+1<u&&this.equals(t[o+1],n[s+1]);)o++,s++,a++;return a&&e.components.push({count:a}),e.newPos=o,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}})),o=i((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default;t.characterDiff=r})),s=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};var a=Object.defineProperty({generateOptions:s},"__esModule",{value:!0}),l=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),s.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return s.diff(e,t,n)},t.wordDiff=void 0;var n,r=(n=u)&&n.__esModule?n:{default:n};var i=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,o=/\S/,s=new r.default;t.wordDiff=s,s.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!o.test(e)&&!o.test(t)},s.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&i.test(t[n])&&i.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}})),c=i((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return r.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var i=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return r.diff(e,t,i)},t.lineDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default;t.lineDiff=r,r.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t}})),p=i((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return r.diff(e,t,n)},t.sentenceDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default;t.sentenceDiff=r,r.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}})),f=i((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return r.diff(e,t,n)},t.cssDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default;t.cssDiff=r,r.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}})),d=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return s.diff(e,t,n)},t.canonicalize=a,t.jsonDiff=void 0;var n,r=(n=u)&&n.__esModule?n:{default:n};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=Object.prototype.toString,s=new r.default;function a(e,t,n,r,u){var s,l;for(t=t||[],n=n||[],r&&(e=r(u,e)),s=0;s<t.length;s+=1)if(t[s]===e)return n[s];if("[object Array]"===o.call(e)){for(t.push(e),l=new Array(e.length),n.push(l),s=0;s<e.length;s+=1)l[s]=a(e[s],t,n,r,u);return t.pop(),n.pop(),l}if(e&&e.toJSON&&(e=e.toJSON()),"object"===i(e)&&null!==e){t.push(e),l={},n.push(l);var c,p=[];for(c in e)e.hasOwnProperty(c)&&p.push(c);for(p.sort(),s=0;s<p.length;s+=1)l[c=p[s]]=a(e[c],t,n,r,c);t.pop(),n.pop()}else l=e;return l}t.jsonDiff=s,s.useLongestToken=!0,s.tokenize=c.lineDiff.tokenize,s.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(a(e,null,null,i),i," ")},s.equals=function(e,t){return r.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}})),h=i((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return r.diff(e,t,n)},t.arrayDiff=void 0;var r=new((n=u)&&n.__esModule?n:{default:n}).default;t.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}})),g=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)||[],i=[],u=0;function o(){var e={};for(i.push(e);u<n.length;){var r=n[u];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var o=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);o&&(e.index=o[1]),u++}for(s(e),s(e),e.hunks=[];u<n.length;){var l=n[u];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(a());else{if(l&&t.strict)throw new Error("Unknown line "+(u+1)+" "+JSON.stringify(l));u++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[u]);if(t){var r="---"===t[1]?"old":"new",i=t[2].split("\t",2),o=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(o)&&(o=o.substr(1,o.length-2)),e[r+"FileName"]=o,e[r+"Header"]=(i[1]||"").trim(),u++}}function a(){var e=u,i=n[u++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),o={oldStart:+i[1],oldLines:void 0===i[2]?1:+i[2],newStart:+i[3],newLines:void 0===i[4]?1:+i[4],lines:[],linedelimiters:[]};0===o.oldLines&&(o.oldStart+=1),0===o.newLines&&(o.newStart+=1);for(var s=0,a=0;u<n.length&&!(0===n[u].indexOf("--- ")&&u+2<n.length&&0===n[u+1].indexOf("+++ ")&&0===n[u+2].indexOf("@@"));u++){var l=0==n[u].length&&u!=n.length-1?" ":n[u][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;o.lines.push(n[u]),o.linedelimiters.push(r[u]||"\n"),"+"===l?s++:"-"===l?a++:" "===l&&(s++,a++)}if(s||1!==o.newLines||(o.newLines=0),a||1!==o.oldLines||(o.oldLines=0),t.strict){if(s!==o.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(a!==o.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return o}for(;u<n.length;)o();return i};var m,y=Object.defineProperty({parsePatch:g},"__esModule",{value:!0}),D=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=!0,i=!1,u=!1,o=1;return function s(){if(r&&!u){if(i?o++:r=!1,e+o<=n)return o;u=!0}if(!i)return u||(r=!0),t<=e-o?-o++:(i=!0,s())}}})),E=v,b=function(e,t){"string"==typeof e&&(e=(0,y.parsePatch)(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var u=v(n,i,t);t.patched(i,u,(function(e){if(e)return t.complete(e);r()}))}))}()},C=(m=D)&&m.__esModule?m:{default:m};function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,y.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,u=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],i=r.length>0?r[0]:" ",o=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!a(t+1,u[t],i,o)&&++l>c)return!1;t++}}return!0}for(var h=0;h<s.length;h++){for(var g=s[h],m=u.length-g.oldLines,D=0,E=f+g.oldStart-1,b=(0,C.default)(E,p,m);void 0!==D;D=b())if(d(g,E+D)){g.offset=f+=D;break}if(void 0===D)return!1;p=g.offset+g.oldStart+g.oldLines}for(var v=0,A=0;A<s.length;A++){var F=s[A],x=F.oldStart+F.offset+v-1;v+=F.newLines-F.oldLines;for(var S=0;S<F.lines.length;S++){var w=F.lines[S],T=w.length>0?w[0]:" ",B=w.length>0?w.substr(1):w,k=F.linedelimiters[S];if(" "===T)x++;else if("-"===T)u.splice(x,1),o.splice(x,1);else if("+"===T)u.splice(x,0,B),o.splice(x,0,k),x++;else if("\\"===T){var N=F.lines[S-1]?F.lines[S-1][0]:null;"+"===N?r=!0:"-"===N&&(i=!0)}}}if(r)for(;!u[u.length-1];)u.pop(),o.pop();else i&&(u.push(""),o.push("\n"));for(var P=0;P<u.length-1;P++)u[P]=u[P]+o[P];return u.join("")}var A=Object.defineProperty({applyPatch:E,applyPatches:b},"__esModule",{value:!0}),F=k,x=N,S=P,w=function(e,t,n,r,i,u){return P(e,e,t,n,r,i,u)};function T(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(e,t,n,r,i,u,o){o||(o={}),void 0===o.context&&(o.context=4);var s=(0,c.diffLines)(n,r,o);function a(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var l=[],p=0,f=0,d=[],h=1,g=1,m=function(e){var t=s[e],i=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=i,t.added||t.removed){var u;if(!p){var c=s[e-1];p=h,f=g,c&&(d=o.context>0?a(c.lines.slice(-o.context)):[],p-=d.length,f-=d.length)}(u=d).push.apply(u,T(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?g+=i.length:h+=i.length}else{if(p)if(i.length<=2*o.context&&e<s.length-2){var m;(m=d).push.apply(m,T(a(i)))}else{var y,D=Math.min(i.length,o.context);(y=d).push.apply(y,T(a(i.slice(0,D))));var E={oldStart:p,oldLines:h-p+D,newStart:f,newLines:g-f+D,lines:d};if(e>=s.length-2&&i.length<=o.context){var b=/\n$/.test(n),C=/\n$/.test(r),v=0==i.length&&d.length>E.oldLines;!b&&v&&n.length>0&&d.splice(E.oldLines,0,"\"),(b||v)&&C||d.push("\")}l.push(E),p=0,f=0,d=[]}h+=i.length,g+=i.length}},y=0;y<s.length;y++)m(y);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:u,hunks:l}}function N(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 P(e,t,n,r,i,u,o){return N(k(e,t,n,r,i,u,o))}var O=Object.defineProperty({structuredPatch:F,formatPatch:x,createTwoFilesPatch:S,createPatch:w},"__esModule",{value:!0}),I=function(e,t){if(e.length!==t.length)return!1;return L(e,t)},j=L;function L(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 _=Object.defineProperty({arrayEqual:I,arrayStartsWith:j},"__esModule",{value:!0}),M=q,R=function(e,t,n){e=W(e,n),t=W(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index);(e.newFileName||t.newFileName)&&(U(e)?U(t)?(r.oldFileName=z(r,e.oldFileName,t.oldFileName),r.newFileName=z(r,e.newFileName,t.newFileName),r.oldHeader=z(r,e.oldHeader,t.oldHeader),r.newHeader=z(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader));r.hunks=[];var i=0,u=0,o=0,s=0;for(;i<e.hunks.length||u<t.hunks.length;){var a=e.hunks[i]||{oldStart:1/0},l=t.hunks[u]||{oldStart:1/0};if(H(a,l))r.hunks.push(G(a,o)),i++,s+=a.newLines-a.oldLines;else if(H(l,a))r.hunks.push(G(l,s)),u++,o+=l.newLines-l.oldLines;else{var c={oldStart:Math.min(a.oldStart,l.oldStart),oldLines:0,newStart:Math.min(a.newStart+o,l.oldStart+s),newLines:0,lines:[]};J(c,a.oldStart,a.lines,l.oldStart,l.lines),u++,i++,r.hunks.push(c)}}return r};function $(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(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 q(e){var t=re(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 W(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,y.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,O.structuredPatch)(void 0,void 0,t,e)}return e}function U(e){return e.newFileName&&e.newFileName!==e.oldFileName}function z(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function H(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function G(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function J(e,t,n,r,i){var u={offset:t,lines:n,index:0},o={offset:r,lines:i,index:0};for(Q(e,u,o),Q(e,o,u);u.index<u.lines.length&&o.index<o.lines.length;){var s=u.lines[u.index],a=o.lines[o.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==a[0]&&"+"!==a[0])if("+"===s[0]&&" "===a[0]){var l;(l=e.lines).push.apply(l,$(ee(u)))}else if("+"===a[0]&&" "===s[0]){var c;(c=e.lines).push.apply(c,$(ee(o)))}else"-"===s[0]&&" "===a[0]?Y(e,u,o):"-"===a[0]&&" "===s[0]?Y(e,o,u,!0):s===a?(e.lines.push(s),u.index++,o.index++):K(e,ee(u),ee(o));else X(e,u,o)}Z(e,u),Z(e,o),q(e)}function X(e,t,n){var r=ee(t),i=ee(n);if(te(r)&&te(i)){var u,o;if((0,_.arrayStartsWith)(r,i)&&ne(n,r,r.length-i.length))return void(u=e.lines).push.apply(u,$(r));if((0,_.arrayStartsWith)(i,r)&&ne(t,i,i.length-r.length))return void(o=e.lines).push.apply(o,$(i))}else if((0,_.arrayEqual)(r,i)){var s;return void(s=e.lines).push.apply(s,$(r))}K(e,r,i)}function Y(e,t,n,r){var i,u=ee(t),o=function(e,t){var n=[],r=[],i=0,u=!1,o=!1;for(;i<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],a=t[i];if("+"===a[0])break;if(u=u||" "!==s[0],r.push(a),i++,"+"===s[0])for(o=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];a.substr(1)===s.substr(1)?(n.push(s),e.index++):o=!0}"+"===(t[i]||"")[0]&&u&&(o=!0);if(o)return n;for(;i<t.length;)r.push(t[i++]);return{merged:r,changes:n}}(n,u);o.merged?(i=e.lines).push.apply(i,$(o.merged)):K(e,r?o:u,r?u:o)}function K(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function Q(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 Z(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function ee(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 te(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function ne(e,t,n){for(var r=0;r<n;r++){var i=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+i)return!1}return e.index+=n,!0}function re(e){var t=0,n=0;return e.forEach((function(e){if("string"!=typeof e){var r=re(e.mine),i=re(e.theirs);void 0!==t&&(r.oldLines===i.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===i.newLines?n+=r.newLines:n=void 0)}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:n}}var ie=Object.defineProperty({calcLineCount:M,merge:R},"__esModule",{value:!0}),ue=function(e){for(var t,n,r=[],i=0;i<e.length;i++)t=e[i],n=t.added?1:t.removed?-1:0,r.push([n,t.value]);return r};var oe=Object.defineProperty({convertChangesToDMP:ue},"__esModule",{value:!0}),se=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(ae(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")};function ae(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}var le=Object.defineProperty({convertChangesToXML:se},"__esModule",{value:!0}),ce=i((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 o.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return l.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return l.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return c.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return c.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return p.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return f.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return d.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return d.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return h.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return A.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return A.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return y.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return ie.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return O.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return O.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return O.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return oe.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return le.convertChangesToXML}});var n=function(e){return e&&e.__esModule?e:{default:e}}(u)}));function pe(e){return{type:"concat",parts:e}}function fe(e){return{type:"indent",contents:e}}function de(e,t){return{type:"align",contents:t,n:e}}function he(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}const ge={type:"break-parent"},me={type:"line",hard:!0},ye={type:"line",hard:!0,literal:!0},De=pe([me,ge]),Ee=pe([ye,ge]);var be={concat:pe,join:function(e,t){const n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return pe(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:De,literalline:Ee,group:he,conditionalGroup:function(e,t){return he(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:ge,ifBreak:function(e,t,n={}){return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:fe,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:de,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=fe(r);r=de(t%n,r),r=de(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return de({type:"root"},e)},dedentToRoot:function(e){return de(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return de(-1,e)},hardlineWithoutBreakParent:me,literallineWithoutBreakParent:ye,label:function(e,t){return{type:"label",label:e,contents:t}}},Ce=e=>"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ve=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));var Ae=ve,Fe=ve;Ae.default=Fe;const xe=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=Ce(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=Ae(r)?2:1))}return t};var Se=xe,we=xe;Se.default=we;var Te=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};var Be=e=>e[e.length-1],ke=function(e){return e&&e.Math==Math&&e},Ne=ke("object"==typeof globalThis&&globalThis)||ke("object"==typeof window&&window)||ke("object"==typeof self&&self)||ke("object"==typeof n&&n)||function(){return this}()||Function("return this")(),Pe=function(e){try{return!!e()}catch(e){return!0}},Oe=!Pe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Ie={}.propertyIsEnumerable,je=Object.getOwnPropertyDescriptor,Le={f:je&&!Ie.call({1:2},1)?function(e){var t=je(this,e);return!!t&&t.enumerable}:Ie},_e=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Me={}.toString,Re=function(e){return Me.call(e).slice(8,-1)},$e="".split,Ve=Pe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Re(e)?$e.call(e,""):Object(e)}:Object,qe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},We=function(e){return Ve(qe(e))},Ue=function(e){return"object"==typeof e?null!==e:"function"==typeof e},ze=function(e,t){if(!Ue(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Ue(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Ue(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Ue(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},He=function(e){return Object(qe(e))},Ge={}.hasOwnProperty,Je=Object.hasOwn||function(e,t){return Ge.call(He(e),t)},Xe=Ne.document,Ye=Ue(Xe)&&Ue(Xe.createElement),Ke=!Oe&&!Pe((function(){return 7!=Object.defineProperty((e="div",Ye?Xe.createElement(e):{}),"a",{get:function(){return 7}}).a;var e})),Qe=Object.getOwnPropertyDescriptor,Ze={f:Oe?Qe:function(e,t){if(e=We(e),t=ze(t,!0),Ke)try{return Qe(e,t)}catch(e){}if(Je(e,t))return _e(!Le.f.call(e,t),e[t])}},et=function(e){if(!Ue(e))throw TypeError(String(e)+" is not an object");return e},tt=Object.defineProperty,nt={f:Oe?tt:function(e,t,n){if(et(e),t=ze(t,!0),et(n),Ke)try{return tt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},rt=Oe?function(e,t,n){return nt.f(e,t,_e(1,n))}:function(e,t,n){return e[t]=n,e},it=function(e,t){try{rt(Ne,e,t)}catch(n){Ne[e]=t}return t},ut="__core-js_shared__",ot=Ne[ut]||it(ut,{}),st=Function.toString;"function"!=typeof ot.inspectSource&&(ot.inspectSource=function(e){return st.call(e)});var at,lt,ct,pt,ft=ot.inspectSource,dt=Ne.WeakMap,ht="function"==typeof dt&&/native code/.test(ft(dt)),gt=i((function(e){(e.exports=function(e,t){return ot[e]||(ot[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),mt=0,yt=Math.random(),Dt=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++mt+yt).toString(36)},Et=gt("keys"),bt={},Ct="Object already initialized",vt=Ne.WeakMap;if(ht||ot.state){var At=ot.state||(ot.state=new vt),Ft=At.get,xt=At.has,St=At.set;at=function(e,t){if(xt.call(At,e))throw new TypeError(Ct);return t.facade=e,St.call(At,e,t),t},lt=function(e){return Ft.call(At,e)||{}},ct=function(e){return xt.call(At,e)}}else{var wt=Et[pt="state"]||(Et[pt]=Dt(pt));bt[wt]=!0,at=function(e,t){if(Je(e,wt))throw new TypeError(Ct);return t.facade=e,rt(e,wt,t),t},lt=function(e){return Je(e,wt)?e[wt]:{}},ct=function(e){return Je(e,wt)}}var Tt,Bt,kt={set:at,get:lt,has:ct,enforce:function(e){return ct(e)?lt(e):at(e,{})},getterFor:function(e){return function(t){var n;if(!Ue(t)||(n=lt(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Nt=i((function(e){var t=kt.get,n=kt.enforce,r=String(String).split("String");(e.exports=function(e,t,i,u){var o,s=!!u&&!!u.unsafe,a=!!u&&!!u.enumerable,l=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof t||Je(i,"name")||rt(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==Ne?(s?!l&&e[t]&&(a=!0):delete e[t],a?e[t]=i:rt(e,t,i)):a?e[t]=i:it(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||ft(this)}))})),Pt=Ne,Ot=function(e){return"function"==typeof e?e:void 0},It=function(e,t){return arguments.length<2?Ot(Pt[e])||Ot(Ne[e]):Pt[e]&&Pt[e][t]||Ne[e]&&Ne[e][t]},jt=Math.ceil,Lt=Math.floor,_t=function(e){return isNaN(e=+e)?0:(e>0?Lt:jt)(e)},Mt=Math.min,Rt=function(e){return e>0?Mt(_t(e),9007199254740991):0},$t=Math.max,Vt=Math.min,qt=function(e){return function(t,n,r){var i,u=We(t),o=Rt(u.length),s=function(e,t){var n=_t(e);return n<0?$t(n+t,0):Vt(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((i=u[s++])!=i)return!0}else for(;o>s;s++)if((e||s in u)&&u[s]===n)return e||s||0;return!e&&-1}},Wt={includes:qt(!0),indexOf:qt(!1)}.indexOf,Ut=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),zt={f:Object.getOwnPropertyNames||function(e){return function(e,t){var n,r=We(e),i=0,u=[];for(n in r)!Je(bt,n)&&Je(r,n)&&u.push(n);for(;t.length>i;)Je(r,n=t[i++])&&(~Wt(u,n)||u.push(n));return u}(e,Ut)}},Ht={f:Object.getOwnPropertySymbols},Gt=It("Reflect","ownKeys")||function(e){var t=zt.f(et(e)),n=Ht.f;return n?t.concat(n(e)):t},Jt=function(e,t){for(var n=Gt(t),r=nt.f,i=Ze.f,u=0;u<n.length;u++){var o=n[u];Je(e,o)||r(e,o,i(t,o))}},Xt=/#|\.prototype\./,Yt=function(e,t){var n=Qt[Kt(e)];return n==en||n!=Zt&&("function"==typeof t?Pe(t):!!t)},Kt=Yt.normalize=function(e){return String(e).replace(Xt,".").toLowerCase()},Qt=Yt.data={},Zt=Yt.NATIVE="N",en=Yt.POLYFILL="P",tn=Yt,nn=Ze.f,rn=function(e,t){var n,r,i,u,o,s=e.target,a=e.global,l=e.stat;if(n=a?Ne:l?Ne[s]||it(s,{}):(Ne[s]||{}).prototype)for(r in t){if(u=t[r],i=e.noTargetGet?(o=nn(n,r))&&o.value:n[r],!tn(a?r:s+(l?".":"#")+r,e.forced)&&void 0!==i){if(typeof u==typeof i)continue;Jt(u,i)}(e.sham||i&&i.sham)&&rt(u,"sham",!0),Nt(n,r,u,e)}},un=Array.isArray||function(e){return"Array"==Re(e)},on=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},sn=function(e,t,n){if(on(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},an=function(e,t,n,r,i,u,o,s){for(var a,l=i,c=0,p=!!o&&sn(o,s,3);c<r;){if(c in n){if(a=p?p(n[c],c,t):n[c],u>0&&un(a))l=an(e,t,a,Rt(a.length),l,u-1)-1;else{if(l>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[l]=a}l++}c++}return l},ln=an,cn=It("navigator","userAgent")||"",pn=Ne.process,fn=pn&&pn.versions,dn=fn&&fn.v8;dn?Bt=(Tt=dn.split("."))[0]<4?1:Tt[0]+Tt[1]:cn&&(!(Tt=cn.match(/Edge\/(\d+)/))||Tt[1]>=74)&&(Tt=cn.match(/Chrome\/(\d+)/))&&(Bt=Tt[1]);var hn=Bt&&+Bt,gn=!!Object.getOwnPropertySymbols&&!Pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&hn&&hn<41})),mn=gn&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,yn=gt("wks"),Dn=Ne.Symbol,En=mn?Dn:Dn&&Dn.withoutSetter||Dt,bn=function(e){return Je(yn,e)&&(gn||"string"==typeof yn[e])||(gn&&Je(Dn,e)?yn[e]=Dn[e]:yn[e]=En("Symbol."+e)),yn[e]},Cn=bn("species"),vn=function(e,t){var n;return un(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!un(n.prototype)?Ue(n)&&null===(n=n[Cn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};rn({target:"Array",proto:!0},{flatMap:function(e){var t,n=He(this),r=Rt(n.length);return on(e),(t=vn(n,0)).length=ln(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var An={},Fn=bn("iterator"),xn=Array.prototype,Sn={};Sn[bn("toStringTag")]="z";var wn="[object z]"===String(Sn),Tn=bn("toStringTag"),Bn="Arguments"==Re(function(){return arguments}()),kn=wn?Re:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Tn))?n:Bn?Re(t):"Object"==(r=Re(t))&&"function"==typeof t.callee?"Arguments":r},Nn=bn("iterator"),Pn=function(e){var t=e.return;if(void 0!==t)return et(t.call(e)).value},On=function(e,t){this.stopped=e,this.result=t},In=function(e,t,n){var r,i,u,o,s,a,l,c,p=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=sn(t,p,1+f+h),m=function(e){return r&&Pn(r),new On(!0,e)},y=function(e){return f?(et(e),h?g(e[0],e[1],m):g(e[0],e[1])):h?g(e,m):g(e)};if(d)r=e;else{if("function"!=typeof(i=function(e){if(null!=e)return e[Nn]||e["@@iterator"]||An[kn(e)]}(e)))throw TypeError("Target is not iterable");if(void 0!==(c=i)&&(An.Array===c||xn[Fn]===c)){for(u=0,o=Rt(e.length);o>u;u++)if((s=y(e[u]))&&s instanceof On)return s;return new On(!1)}r=i.call(e)}for(a=r.next;!(l=a.call(r)).done;){try{s=y(l.value)}catch(e){throw Pn(r),e}if("object"==typeof s&&s&&s instanceof On)return s}return new On(!1)};rn({target:"Object",stat:!0},{fromEntries:function(e){var t={};return In(e,(function(e,n){!function(e,t,n){var r=ze(t);r in e?nt.f(e,r,_e(0,n)):e[r]=n}(t,e,n)}),{AS_ENTRIES:!0}),t}});var jn=void 0!==jn?jn:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ln(){throw new Error("setTimeout has not been defined")}function _n(){throw new Error("clearTimeout has not been defined")}var Mn=Ln,Rn=_n;function $n(e){if(Mn===setTimeout)return setTimeout(e,0);if((Mn===Ln||!Mn)&&setTimeout)return Mn=setTimeout,setTimeout(e,0);try{return Mn(e,0)}catch(t){try{return Mn.call(null,e,0)}catch(t){return Mn.call(this,e,0)}}}"function"==typeof jn.setTimeout&&(Mn=setTimeout),"function"==typeof jn.clearTimeout&&(Rn=clearTimeout);var Vn,qn=[],Wn=!1,Un=-1;function zn(){Wn&&Vn&&(Wn=!1,Vn.length?qn=Vn.concat(qn):Un=-1,qn.length&&Hn())}function Hn(){if(!Wn){var e=$n(zn);Wn=!0;for(var t=qn.length;t;){for(Vn=qn,qn=[];++Un<t;)Vn&&Vn[Un].run();Un=-1,t=qn.length}Vn=null,Wn=!1,function(e){if(Rn===clearTimeout)return clearTimeout(e);if((Rn===_n||!Rn)&&clearTimeout)return Rn=clearTimeout,clearTimeout(e);try{Rn(e)}catch(t){try{return Rn.call(null,e)}catch(t){return Rn.call(this,e)}}}(e)}}function Gn(e,t){this.fun=e,this.array=t}Gn.prototype.run=function(){this.fun.apply(null,this.array)};function Jn(){}var Xn=Jn,Yn=Jn,Kn=Jn,Qn=Jn,Zn=Jn,er=Jn,tr=Jn;var nr=jn.performance||{},rr=nr.now||nr.mozNow||nr.msNow||nr.oNow||nr.webkitNow||function(){return(new Date).getTime()};var ir=new Date;var ur={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];qn.push(new Gn(e,t)),1!==qn.length||Wn||$n(Hn)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Xn,addListener:Yn,once:Kn,off:Qn,removeListener:Zn,removeAllListeners:er,emit:tr,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*rr.call(nr),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-ir)/1e3}};var or="object"==typeof ur&&ur.env&&ur.env.NODE_DEBUG&&/\bsemver\b/i.test(ur.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var sr={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},ar=i((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=sr,r=(t=e.exports={}).re=[],i=t.src=[],u=t.t={};let o=0;const s=(e,t,n)=>{const s=o++;or(s,t),u[e]=s,i[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION",`(${i[u.NUMERICIDENTIFIER]})\\.(${i[u.NUMERICIDENTIFIER]})\\.(${i[u.NUMERICIDENTIFIER]})`),s("MAINVERSIONLOOSE",`(${i[u.NUMERICIDENTIFIERLOOSE]})\\.(${i[u.NUMERICIDENTIFIERLOOSE]})\\.(${i[u.NUMERICIDENTIFIERLOOSE]})`),s("PRERELEASEIDENTIFIER",`(?:${i[u.NUMERICIDENTIFIER]}|${i[u.NONNUMERICIDENTIFIER]})`),s("PRERELEASEIDENTIFIERLOOSE",`(?:${i[u.NUMERICIDENTIFIERLOOSE]}|${i[u.NONNUMERICIDENTIFIER]})`),s("PRERELEASE",`(?:-(${i[u.PRERELEASEIDENTIFIER]}(?:\\.${i[u.PRERELEASEIDENTIFIER]})*))`),s("PRERELEASELOOSE",`(?:-?(${i[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[u.PRERELEASEIDENTIFIERLOOSE]})*))`),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD",`(?:\\+(${i[u.BUILDIDENTIFIER]}(?:\\.${i[u.BUILDIDENTIFIER]})*))`),s("FULLPLAIN",`v?${i[u.MAINVERSION]}${i[u.PRERELEASE]}?${i[u.BUILD]}?`),s("FULL",`^${i[u.FULLPLAIN]}$`),s("LOOSEPLAIN",`[v=\\s]*${i[u.MAINVERSIONLOOSE]}${i[u.PRERELEASELOOSE]}?${i[u.BUILD]}?`),s("LOOSE",`^${i[u.LOOSEPLAIN]}$`),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE",`${i[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),s("XRANGEIDENTIFIER",`${i[u.NUMERICIDENTIFIER]}|x|X|\\*`),s("XRANGEPLAIN",`[v=\\s]*(${i[u.XRANGEIDENTIFIER]})(?:\\.(${i[u.XRANGEIDENTIFIER]})(?:\\.(${i[u.XRANGEIDENTIFIER]})(?:${i[u.PRERELEASE]})?${i[u.BUILD]}?)?)?`),s("XRANGEPLAINLOOSE",`[v=\\s]*(${i[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[u.XRANGEIDENTIFIERLOOSE]})(?:${i[u.PRERELEASELOOSE]})?${i[u.BUILD]}?)?)?`),s("XRANGE",`^${i[u.GTLT]}\\s*${i[u.XRANGEPLAIN]}$`),s("XRANGELOOSE",`^${i[u.GTLT]}\\s*${i[u.XRANGEPLAINLOOSE]}$`),s("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),s("COERCERTL",i[u.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM",`(\\s*)${i[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",s("TILDE",`^${i[u.LONETILDE]}${i[u.XRANGEPLAIN]}$`),s("TILDELOOSE",`^${i[u.LONETILDE]}${i[u.XRANGEPLAINLOOSE]}$`),s("LONECARET","(?:\\^)"),s("CARETTRIM",`(\\s*)${i[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",s("CARET",`^${i[u.LONECARET]}${i[u.XRANGEPLAIN]}$`),s("CARETLOOSE",`^${i[u.LONECARET]}${i[u.XRANGEPLAINLOOSE]}$`),s("COMPARATORLOOSE",`^${i[u.GTLT]}\\s*(${i[u.LOOSEPLAIN]})$|^$`),s("COMPARATOR",`^${i[u.GTLT]}\\s*(${i[u.FULLPLAIN]})$|^$`),s("COMPARATORTRIM",`(\\s*)${i[u.GTLT]}\\s*(${i[u.LOOSEPLAIN]}|${i[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE",`^\\s*(${i[u.XRANGEPLAIN]})\\s+-\\s+(${i[u.XRANGEPLAIN]})\\s*$`),s("HYPHENRANGELOOSE",`^\\s*(${i[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[u.XRANGEPLAINLOOSE]})\\s*$`),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const lr=["includePrerelease","loose","rtl"];var cr=e=>e?"object"!=typeof e?{loose:!0}:lr.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const pr=/^[0-9]+$/,fr=(e,t)=>{const n=pr.test(e),r=pr.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var dr={compareIdentifiers:fr,rcompareIdentifiers:(e,t)=>fr(t,e)};const{MAX_LENGTH:hr,MAX_SAFE_INTEGER:gr}=sr,{re:mr,t:yr}=ar,{compareIdentifiers:Dr}=dr;class Er{constructor(e,t){if(t=cr(t),e instanceof Er){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>hr)throw new TypeError(`version is longer than ${hr} characters`);or("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?mr[yr.LOOSE]:mr[yr.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>gr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>gr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>gr||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<gr)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(or("SemVer.compare",this.version,this.options,e),!(e instanceof Er)){if("string"==typeof e&&e===this.version)return 0;e=new Er(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof Er||(e=new Er(e,this.options)),Dr(this.major,e.major)||Dr(this.minor,e.minor)||Dr(this.patch,e.patch)}comparePre(e){if(e instanceof Er||(e=new Er(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(or("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Dr(n,r)}while(++t)}compareBuild(e){e instanceof Er||(e=new Er(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(or("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Dr(n,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}var br=Er;var Cr=(e,t,n)=>new br(e,n).compare(new br(t,n));var vr=(e,t,n)=>Cr(e,t,n)<0;var Ar=(e,t,n)=>Cr(e,t,n)>=0,Fr=i((function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var i=Object.prototype.hasOwnProperty,u=function(e,t){return i.call(e,t)};function o(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return e}var s=/^[ \t]*(?:\r\n|\r|\n)/,a=/(?:\r\n|\r|\n)[ \t]*$/,l=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(e,t,n){var r=0,i=e[0].match(c);i&&(r=i[1].length);var u=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var o=n.newline,l=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof o,d=e.length;return e.map((function(e,t){return e=e.replace(u,"$1"),0===t&&l&&(e=e.replace(s,"")),t===d-1&&p&&(e=e.replace(a,"")),f&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function d(e,t){for(var n="",r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}function h(e){return u(e,"raw")&&u(e,"length")}var g=function e(t){var n=r(),i=r();return o((function r(u){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(h(u)){var c=u,m=(s[0]===r||s[0]===g)&&p.test(c[0])&&l.test(c[1]),y=m?i:n,D=y.get(c);if(D||(D=f(c,m,t),y.set(c,D)),0===s.length)return D[0];var E=d(D,m?s.slice(1):s);return E}return e(o(o({},t),u||{}))}),{string:function(e){return f([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=g,t.default=g;try{e.exports=g,Object.defineProperty(g,"__esModule",{value:!0}),g.default=g,g.outdent=g}catch(e){}}));const{outdent:xr}=Fr,Sr="Config",wr="Editor",Tr="Other",Br="Global",kr="Special",Nr={cursorOffset:{since:"1.4.0",category:kr,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:xr`
2
+ Print (to stderr) where a cursor at the given position would move to after formatting.
3
+ This option cannot be used with --range-start and --range-end.
4
+ `,cliCategory:wr},endOfLine:{since:"1.15.0",category:Br,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:xr`
5
+ Maintain existing
6
+ (mixed values within one file are normalised by looking at what's used after the first line)
7
+ `}]},filepath:{since:"1.4.0",category:kr,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Tr,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:kr,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Tr},parser:{since:"0.0.10",category:Br,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:Br,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:Sr},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Br,description:xr`
8
+ Custom directory that contains prettier plugins in node_modules subdirectory.
9
+ Overrides default behavior when plugins are searched relatively to the location of Prettier.
10
+ Multiple values are accepted.
11
+ `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:Sr},printWidth:{since:"0.0.0",category:Br,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:kr,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:xr`
12
+ Format code ending at a given character offset (exclusive).
13
+ The range will extend forwards to the end of the selected statement.
14
+ This option cannot be used with --cursor-offset.
15
+ `,cliCategory:wr},rangeStart:{since:"1.4.0",category:kr,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:xr`
16
+ Format code starting at a given character offset.
17
+ The range will extend backwards to the start of the first line containing the selected statement.
18
+ This option cannot be used with --cursor-offset.
19
+ `,cliCategory:wr},requirePragma:{since:"1.7.0",category:kr,type:"boolean",default:!1,description:xr`
20
+ Require either '@prettier' or '@format' to be present in the file's first docblock comment
21
+ in order for it to be formatted.
22
+ `,cliCategory:Tr},tabWidth:{type:"int",category:Br,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Br,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Br,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const Pr=["cliName","cliCategory","cliDescription"],Or={compare:Cr,lt:vr,gte:Ar},Ir=t.version,jr={CATEGORY_CONFIG:Sr,CATEGORY_EDITOR:wr,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:Tr,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:Br,CATEGORY_SPECIAL:kr,options:Nr}.options;var Lr={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const u=Ir.split("-",1)[0],o=t.flatMap((e=>e.languages||[])).filter(a),s=((e,t)=>Object.entries(e).map((([e,n])=>Object.assign({[t]:e},n))))(Object.assign({},...t.map((({options:e})=>e)),jr),"name").filter((e=>a(e)&&l(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(t){if(i)return t;return e(t,Pr)})).map((e=>{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(a).sort(((e,t)=>Or.compare(t.since,e.since)))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((e=>a(e)&&l(e))),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map((e=>e.value)));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const u=n.find((e=>e.parsers&&e.parsers[t]));let o=i.name;u&&u.name&&(o+=` (plugin: ${u.name})`),e.choices.push({value:t,description:o})}}(e,o,t));const n=Object.fromEntries(t.filter((t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name])).map((t=>[t.name,t.defaultOptions[e.name]])));return Object.assign(Object.assign({},e),{},{pluginDefaults:n})}));return{languages:o,options:s};function a(e){return n||!("since"in e)||e.since&&Or.gte(u,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&Or.lt(u,e.deprecated)}}};const{getSupportInfo:_r}=Lr,Mr=/[^\x20-\x7F]/;function Rr(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:u}=t;let o=n;for(;o>=0&&o<u;){const n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return(-1===o||o===u)&&o}}const $r=Rr(/\s/),Vr=Rr(" \t"),qr=Rr(",; \t"),Wr=Rr(/[^\n\r]/);function Ur(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 zr(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Wr(e,t):t)}function Hr(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}function Gr(e,t,n={}){const r=Vr(e,n.backwards?t-1:t,n);return r!==Hr(e,r,n)}function Jr(e,t){let n=null,r=t;for(;r!==n;)n=r,r=qr(e,r),r=Ur(e,r),r=Vr(e,r);return r=zr(e,r),r=Hr(e,r),!1!==r&&Gr(e,r)}function Xr(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Vr(e,r),r=Ur(e,r),r=zr(e,r),r=Hr(e,r);return r}function Yr(e,t,n){return Xr(e,n(t))}function Kr(e,t,n=0){let r=0;for(let i=n;i<e.length;++i)"\t"===e[i]?r=r+t-r%t:r++;return r}function Qr(e,t){const n=e.slice(1,-1),r={quote:'"',regex:/"/g},i={quote:"'",regex:/'/g},u="'"===t?i:r,o=u===i?r:i;let s=u.quote;if(n.includes(u.quote)||n.includes(o.quote)){s=(n.match(u.regex)||[]).length>(n.match(o.regex)||[]).length?o.quote:u.quote}return s}function Zr(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,u)=>i===r?i:u===t?"\\"+u:u||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function ei(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");n.length>20&&(n=n.slice(0,19)+"\u2026");return t+(n?" "+n:"")}(e)}var ti={inferParserByLanguage:function(e,t){const{languages:n}=_r({plugins:t.plugins}),r=n.find((({name:t})=>t.toLowerCase()===e))||n.find((({aliases:t})=>Array.isArray(t)&&t.includes(e)))||n.find((({extensions:t})=>Array.isArray(t)&&t.includes(`.${e}`)));return r&&r.parsers[0]},getStringWidth:function(e){return e?Mr.test(e)?Se(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp(`(${Te(t)})+`,"g"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp(`(${Te(t)})+`,"g"));if(null===n)return 0;const r=new Map;let i=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>i&&(i=n)}for(let e=1;e<i;e++)if(!r.get(e))return e;return i+1},getPenultimate:e=>e[e.length-2],getLast:Be,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Xr,getNextNonSpaceNonCommentCharacterIndex:Yr,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Yr(e,t,n))},skip:Rr,skipWhitespace:$r,skipSpaces:Vr,skipToLineEnd:qr,skipEverythingButNewLine:Wr,skipInlineComment:Ur,skipTrailingComment:zr,skipNewline:Hr,isNextLineEmptyAfterIndex:Jr,isNextLineEmpty:function(e,t,n){return Jr(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Vr(e,r,{backwards:!0}),r=Hr(e,r,{backwards:!0}),r=Vr(e,r,{backwards:!0}),r!==Hr(e,r,{backwards:!0})},hasNewline:Gr,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 Vr(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Kr,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:Kr(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Qr,printString:function(e,t){return Zr(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Qr(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:Zr,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,ei(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),ei(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,ei(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){const t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}};var ni={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" ${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:ri,join:ii}=be,ui=e=>Array.isArray(e)||e&&"concat"===e.type,oi=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},si={};function ai(e,t,n,r){const i=[e];for(;i.length>0;){const e=i.pop();if(e!==si){if(n&&i.push(e,si),!t||!1!==t(e))if(ui(e)||"fill"===e.type){const t=oi(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function li(e,t){const n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);const i=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),i=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:i}))}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),i=n[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:n}))}if(e.contents){const n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,i),i}}function ci(e,t,n){let r=n,i=!1;return ai(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function pi(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function fi(e){if(e.length>0){const t=Be(e);t.expandedStates||t.break||(t.break="propagated")}return null}function di(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const hi=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function gi(e){if(!e)return e;if(ui(e)||"fill"===e.type){const t=oi(e);for(;t.length>1&&hi(...t.slice(-2));)t.length-=2;if(t.length>0){const e=gi(Be(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=gi(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{const t=gi(e.breakContents),n=gi(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function mi(e){return li(e,(e=>function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!ui(e))return e;const t=[];for(const n of oi(e)){if(!n)continue;const[e,...r]=ui(n)?oi(n):[n];"string"==typeof e&&"string"==typeof Be(t)?t[t.length-1]+=e:t.push(e),t.push(...r)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function yi(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(ui(e)?n.unshift(...oi(e)):t.length>0&&"string"==typeof Be(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}var Di={isConcat:ui,getDocParts:oi,willBreak:function(e){return ci(e,pi,!1)},traverseDoc:ai,findInDoc:ci,mapDoc:li,propagateBreaks:function(e){const t=new Set,n=[];ai(e,(function(e){if("break-parent"===e.type&&fi(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){n.pop().break&&fi(n)}}),!0)},removeLines:function(e){return li(e,di)},stripTrailingHardline:function(e){return gi(mi(e))},normalizeParts:yi,normalizeDoc:function(e){return li(e,(e=>Array.isArray(e)?yi(e):e.parts?Object.assign(Object.assign({},e),{},{parts:yi(e.parts)}):e))},cleanDoc:mi,replaceEndOfLineWith:function(e,t){return ii(t,e.split("\n")).parts},replaceNewlinesWithLiterallines:function(e){return li(e,(e=>"string"==typeof e&&e.includes("\n")?ii(ri,e.split("\n")):e))}};const{getStringWidth:Ei,getLast:bi}=ti,{convertEndOfLineToChars:Ci}=ni,{fill:vi,cursor:Ai,indent:Fi}=be,{isConcat:xi,getDocParts:Si}=Di;let wi;function Ti(e,t){return ki(e,{type:"indent"},t)}function Bi(e,t,n){if(t===Number.NEGATIVE_INFINITY)return e.root||{value:"",length:0,queue:[]};if(t<0)return ki(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign(Object.assign({},e),{},{root:e});return ki(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n)}function ki(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let i="",u=0,o=0,s=0;for(const e of r)switch(e.type){case"indent":c(),n.useTabs?a(1):l(n.tabWidth);break;case"stringAlign":c(),i+=e.n,u+=e.n.length;break;case"numberAlign":o+=1,s+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:i,length:u,queue:r});function a(e){i+="\t".repeat(e),u+=n.tabWidth*e}function l(e){i+=" ".repeat(e),u+=e}function c(){n.useTabs?function(){o>0&&a(o);f()}():p()}function p(){s>0&&l(s),f()}function f(){o=0,s=0}}function Ni(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof bi(e)&&/^[\t ]*$/.test(bi(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof bi(e)){const n=bi(e).replace(/[\t ]*$/,"");t+=bi(e).length-n.length,e[e.length-1]=n}return t}function Pi(e,t,n,r,i,u){let o=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===o)return!0;s.push(t[o-1]),o--;continue}const[e,l,c]=s.pop();if("string"==typeof c)a.push(c),n-=Ei(c);else if(xi(c)){const t=Si(c);for(let n=t.length-1;n>=0;n--)s.push([e,l,t[n]])}else switch(c.type){case"indent":s.push([Ti(e,r),l,c.contents]);break;case"align":s.push([Bi(e,c.n,r),l,c.contents]);break;case"trim":n+=Ni(a);break;case"group":{if(u&&c.break)return!1;const t=c.break?1:l;s.push([e,t,c.expandedStates&&1===t?bi(c.expandedStates):c.contents]),c.id&&(wi[c.id]=t);break}case"fill":for(let t=c.parts.length-1;t>=0;t--)s.push([e,l,c.parts[t]]);break;case"if-break":case"indent-if-break":{const t=c.groupId?wi[c.groupId]:l;if(1===t){const t="if-break"===c.type?c.breakContents:c.negate?c.contents:Fi(c.contents);t&&s.push([e,l,t])}if(2===t){const t="if-break"===c.type?c.flatContents:c.negate?Fi(c.contents):c.contents;t&&s.push([e,l,t])}break}case"line":switch(l){case 2:if(!c.hard){c.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":i=!0;break;case"line-suffix-boundary":if(i)return!1;break;case"label":s.push([e,l,c.contents])}}return!1}var Oi={printDocToString:function(e,t){wi={};const n=t.printWidth,r=Ci(t.endOfLine);let i=0;const u=[[{value:"",length:0,queue:[]},1,e]],o=[];let s=!1,a=[];for(;u.length>0;){const[e,l,c]=u.pop();if("string"==typeof c){const e="\n"!==r?c.replace(/\n/g,r):c;o.push(e),i+=Ei(e)}else if(xi(c)){const t=Si(c);for(let n=t.length-1;n>=0;n--)u.push([e,l,t[n]])}else switch(c.type){case"cursor":o.push(Ai.placeholder);break;case"indent":u.push([Ti(e,t),l,c.contents]);break;case"align":u.push([Bi(e,c.n,t),l,c.contents]);break;case"trim":i-=Ni(o);break;case"group":switch(l){case 2:if(!s){u.push([e,c.break?1:2,c.contents]);break}case 1:{s=!1;const r=[e,2,c.contents],o=n-i,l=a.length>0;if(!c.break&&Pi(r,u,o,t,l))u.push(r);else if(c.expandedStates){const n=bi(c.expandedStates);if(c.break){u.push([e,1,n]);break}for(let r=1;r<c.expandedStates.length+1;r++){if(r>=c.expandedStates.length){u.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Pi(n,u,o,t,l)){u.push(n);break}}}}else u.push([e,1,c.contents]);break}}c.id&&(wi[c.id]=bi(u)[1]);break;case"fill":{const r=n-i,{parts:o}=c;if(0===o.length)break;const[s,p]=o,f=[e,2,s],d=[e,1,s],h=Pi(f,[],r,t,a.length>0,!0);if(1===o.length){h?u.push(f):u.push(d);break}const g=[e,2,p],m=[e,1,p];if(2===o.length){h?u.push(g,f):u.push(m,d);break}o.splice(0,2);const y=[e,l,vi(o)];Pi([e,2,[s,p,o[0]]],[],r,t,a.length>0,!0)?u.push(y,g,f):h?u.push(y,m,f):u.push(y,m,d);break}case"if-break":case"indent-if-break":{const t=c.groupId?wi[c.groupId]:l;if(1===t){const t="if-break"===c.type?c.breakContents:c.negate?c.contents:Fi(c.contents);t&&u.push([e,l,t])}if(2===t){const t="if-break"===c.type?c.flatContents:c.negate?Fi(c.contents):c.contents;t&&u.push([e,l,t])}break}case"line-suffix":a.push([e,l,c.contents]);break;case"line-suffix-boundary":a.length>0&&u.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(o.push(" "),i+=1);break}s=!0;case 1:if(a.length>0){u.push([e,l,c],...a.reverse()),a=[];break}c.literal?e.root?(o.push(r,e.root.value),i=e.root.length):(o.push(r),i=0):(i-=Ni(o),o.push(r+e.value),i=e.length)}break;case"label":u.push([e,l,c.contents])}0===u.length&&a.length>0&&(u.push(...a.reverse()),a=[])}const l=o.indexOf(Ai.placeholder);if(-1!==l){const e=o.indexOf(Ai.placeholder,l+1),t=o.slice(0,l).join(""),n=o.slice(l+1,e).join("");return{formatted:t+n+o.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:o.join("")}}};const{isConcat:Ii,getDocParts:ji}=Di;function Li(e){if(!e)return"";if(Ii(e)){const t=[];for(const n of ji(e))if(Ii(n))t.push(...Li(n).parts);else{const e=Li(n);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:Li(e.breakContents),flatContents:Li(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:Li(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Li)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Li)}:e.contents?Object.assign(Object.assign({},e),{},{contents:Li(e.contents)}):e}var _i={builders:be,printer:Oi,utils:Di,debug:{printDocToDebug:function(e){const t=Object.create(null),n=new Set;return function e(t,n,i){if("string"==typeof t)return JSON.stringify(t);if(Ii(t)){const n=ji(t).map(e).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if("line"===t.type){const e=Array.isArray(i)&&i[n+1]&&"break-parent"===i[n+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type){return Array.isArray(i)&&i[n-1]&&"line"===i[n-1].type&&i[n-1].hard?void 0:"breakParent"}if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${r(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push(`groupId: ${r(t.groupId)}`);const i=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${i})`}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push(`id: ${r(t.id)}`);const i=n.length>0?`, { ${n.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map((t=>e(t))).join(",")}]${i})`:`group(${e(t.contents)}${i})`}if("fill"===t.type)return`fill([${t.parts.map((t=>e(t))).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(Li(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const r=String(e).slice(7,-1)||"symbol";for(let i=0;;i++){const u=r+(i>0?` #${i}`:"");if(!n.has(u))return n.add(u),t[e]=`Symbol.for(${JSON.stringify(u)})`}}}}},Mi=Object.freeze({__proto__:null,default:{}});function Ri(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var $i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vi=function(e){return $i.exec(e).slice(1)};function qi(){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=Ri(Ki(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Wi(e){var t=Ui(e),n="/"===Qi(e,-1);return(e=Ri(Ki(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Ui(e){return"/"===e.charAt(0)}function zi(){var e=Array.prototype.slice.call(arguments,0);return Wi(Ki(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Hi(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=qi(e).substr(1),t=qi(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),u=Math.min(r.length,i.length),o=u,s=0;s<u;s++)if(r[s]!==i[s]){o=s;break}var a=[];for(s=o;s<r.length;s++)a.push("..");return(a=a.concat(i.slice(o))).join("/")}function Gi(e){var t=Vi(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function Ji(e,t){var n=Vi(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function Xi(e){return Vi(e)[3]}var Yi={extname:Xi,basename:Ji,dirname:Gi,sep:"/",delimiter:":",relative:Hi,join:zi,isAbsolute:Ui,normalize:Wi,resolve:qi};function Ki(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 Qi="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},Zi=Object.freeze({__proto__:null,resolve:qi,normalize:Wi,isAbsolute:Ui,join:zi,relative:Hi,sep:"/",delimiter:":",dirname:Gi,basename:Ji,extname:Xi,default:Yi}),eu=[],tu=[],nu="undefined"!=typeof Uint8Array?Uint8Array:Array,ru=!1;function iu(){ru=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)eu[t]=e[t],tu[e.charCodeAt(t)]=t;tu["-".charCodeAt(0)]=62,tu["_".charCodeAt(0)]=63}function uu(e,t,n){for(var r,i,u=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],u.push(eu[(i=r)>>18&63]+eu[i>>12&63]+eu[i>>6&63]+eu[63&i]);return u.join("")}function ou(e){var t;ru||iu();for(var n=e.length,r=n%3,i="",u=[],o=16383,s=0,a=n-r;s<a;s+=o)u.push(uu(e,s,s+o>a?a:s+o));return 1===r?(t=e[n-1],i+=eu[t>>2],i+=eu[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=eu[t>>10],i+=eu[t>>4&63],i+=eu[t<<2&63],i+="="),u.push(i),u.join("")}function su(e,t,n,r,i){var u,o,s=8*i-r-1,a=(1<<s)-1,l=a>>1,c=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,u=d&(1<<-c)-1,d>>=-c,c+=s;c>0;u=256*u+e[t+p],p+=f,c-=8);for(o=u&(1<<-c)-1,u>>=-c,c+=r;c>0;o=256*o+e[t+p],p+=f,c-=8);if(0===u)u=1-l;else{if(u===a)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),u-=l}return(d?-1:1)*o*Math.pow(2,u-r)}function au(e,t,n,r,i,u){var o,s,a,l=8*u-i-1,c=(1<<l)-1,p=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:u-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-o))<1&&(o--,a*=2),(t+=o+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(o++,a/=2),o+p>=c?(s=0,o=c):o+p>=1?(s=(t*a-1)*Math.pow(2,i),o+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+d]=255&o,d+=h,o/=256,l-=8);e[n+d-h]|=128*g}var lu={}.toString,cu=Array.isArray||function(e){return"[object Array]"==lu.call(e)};function pu(){return du.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fu(e,t){if(pu()<t)throw new RangeError("Invalid typed array length");return du.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=du.prototype:(null===e&&(e=new du(t)),e.length=t),e}function du(e,t,n){if(!(du.TYPED_ARRAY_SUPPORT||this instanceof du))return new du(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 mu(this,e)}return hu(this,e,t,n)}function hu(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);du.TYPED_ARRAY_SUPPORT?(e=t).__proto__=du.prototype:e=yu(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!du.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|bu(t,n),i=(e=fu(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(Eu(t)){var n=0|Du(t.length);return 0===(e=fu(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?fu(e,0):yu(e,t);if("Buffer"===t.type&&cu(t.data))return yu(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function gu(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 mu(e,t){if(gu(t),e=fu(e,t<0?0:0|Du(t)),!du.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function yu(e,t){var n=t.length<0?0:0|Du(t.length);e=fu(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Du(e){if(e>=pu())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+pu().toString(16)+" bytes");return 0|e}function Eu(e){return!(null==e||!e._isBuffer)}function bu(e,t){if(Eu(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 Gu(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Ju(e).length;default:if(r)return Gu(e).length;t=(""+t).toLowerCase(),r=!0}}function Cu(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Lu(this,t,n);case"utf8":case"utf-8":return Pu(this,t,n);case"ascii":return Iu(this,t,n);case"latin1":case"binary":return ju(this,t,n);case"base64":return Nu(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _u(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function vu(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Au(e,t,n,r,i){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=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=du.from(t,r)),Eu(t))return 0===t.length?-1:Fu(e,t,n,r,i);if("number"==typeof t)return t&=255,du.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Fu(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Fu(e,t,n,r,i){var u,o=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,a/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(u=n;u<s;u++)if(l(e,u)===l(t,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===a)return c*o}else-1!==c&&(u-=u-c),c=-1}else for(n+a>s&&(n=s-a),u=n;u>=0;u--){for(var p=!0,f=0;f<a;f++)if(l(e,u+f)!==l(t,f)){p=!1;break}if(p)return u}return-1}function xu(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var u=t.length;if(u%2!=0)throw new TypeError("Invalid hex string");r>u/2&&(r=u/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function Su(e,t,n,r){return Xu(Gu(t,e.length-n),e,n,r)}function wu(e,t,n,r){return Xu(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Tu(e,t,n,r){return wu(e,t,n,r)}function Bu(e,t,n,r){return Xu(Ju(t),e,n,r)}function ku(e,t,n,r){return Xu(function(e,t){for(var n,r,i,u=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,u.push(i),u.push(r);return u}(t,e.length-n),e,n,r)}function Nu(e,t,n){return 0===t&&n===e.length?ou(e):ou(e.slice(t,n))}function Pu(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var u,o,s,a,l=e[i],c=null,p=l>239?4:l>223?3:l>191?2:1;if(i+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(u=e[i+1]))&&(a=(31&l)<<6|63&u)>127&&(c=a);break;case 3:u=e[i+1],o=e[i+2],128==(192&u)&&128==(192&o)&&(a=(15&l)<<12|(63&u)<<6|63&o)>2047&&(a<55296||a>57343)&&(c=a);break;case 4:u=e[i+1],o=e[i+2],s=e[i+3],128==(192&u)&&128==(192&o)&&128==(192&s)&&(a=(15&l)<<18|(63&u)<<12|(63&o)<<6|63&s)>65535&&a<1114112&&(c=a)}null===c?(c=65533,p=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=p}return function(e){var t=e.length;if(t<=Ou)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Ou));return n}(r)}du.TYPED_ARRAY_SUPPORT=void 0===jn.TYPED_ARRAY_SUPPORT||jn.TYPED_ARRAY_SUPPORT,du.poolSize=8192,du._augment=function(e){return e.__proto__=du.prototype,e},du.from=function(e,t,n){return hu(null,e,t,n)},du.TYPED_ARRAY_SUPPORT&&(du.prototype.__proto__=Uint8Array.prototype,du.__proto__=Uint8Array),du.alloc=function(e,t,n){return function(e,t,n,r){return gu(t),t<=0?fu(e,t):void 0!==n?"string"==typeof r?fu(e,t).fill(n,r):fu(e,t).fill(n):fu(e,t)}(null,e,t,n)},du.allocUnsafe=function(e){return mu(null,e)},du.allocUnsafeSlow=function(e){return mu(null,e)},du.isBuffer=Yu,du.compare=function(e,t){if(!Eu(e)||!Eu(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,u=Math.min(n,r);i<u;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},du.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}},du.concat=function(e,t){if(!cu(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return du.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=du.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var u=e[n];if(!Eu(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(r,i),i+=u.length}return r},du.byteLength=bu,du.prototype._isBuffer=!0,du.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)vu(this,t,t+1);return this},du.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)vu(this,t,t+3),vu(this,t+1,t+2);return this},du.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)vu(this,t,t+7),vu(this,t+1,t+6),vu(this,t+2,t+5),vu(this,t+3,t+4);return this},du.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Pu(this,0,e):Cu.apply(this,arguments)},du.prototype.equals=function(e){if(!Eu(e))throw new TypeError("Argument must be a Buffer");return this===e||0===du.compare(this,e)},du.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+">"},du.prototype.compare=function(e,t,n,r,i){if(!Eu(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===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var u=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(u,o),a=this.slice(r,i),l=e.slice(t,n),c=0;c<s;++c)if(a[c]!==l[c]){u=a[c],o=l[c];break}return u<o?-1:o<u?1:0},du.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},du.prototype.indexOf=function(e,t,n){return Au(this,e,t,n,!0)},du.prototype.lastIndexOf=function(e,t,n){return Au(this,e,t,n,!1)},du.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 i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var u=!1;;)switch(r){case"hex":return xu(this,e,t,n);case"utf8":case"utf-8":return Su(this,e,t,n);case"ascii":return wu(this,e,t,n);case"latin1":case"binary":return Tu(this,e,t,n);case"base64":return Bu(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ku(this,e,t,n);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},du.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ou=4096;function Iu(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function ju(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Lu(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",u=t;u<n;++u)i+=Hu(e[u]);return i}function _u(e,t,n){for(var r=e.slice(t,n),i="",u=0;u<r.length;u+=2)i+=String.fromCharCode(r[u]+256*r[u+1]);return i}function Mu(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 Ru(e,t,n,r,i,u){if(!Eu(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<u)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function $u(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,u=Math.min(e.length-n,2);i<u;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Vu(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,u=Math.min(e.length-n,4);i<u;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function qu(e,t,n,r,i,u){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Wu(e,t,n,r,i){return i||qu(e,0,n,4),au(e,t,n,r,23,4),n+4}function Uu(e,t,n,r,i){return i||qu(e,0,n,8),au(e,t,n,r,52,8),n+8}du.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),du.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=du.prototype;else{var i=t-e;n=new du(i,void 0);for(var u=0;u<i;++u)n[u]=this[u+e]}return n},du.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Mu(e,t,this.length);for(var r=this[e],i=1,u=0;++u<t&&(i*=256);)r+=this[e+u]*i;return r},du.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Mu(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},du.prototype.readUInt8=function(e,t){return t||Mu(e,1,this.length),this[e]},du.prototype.readUInt16LE=function(e,t){return t||Mu(e,2,this.length),this[e]|this[e+1]<<8},du.prototype.readUInt16BE=function(e,t){return t||Mu(e,2,this.length),this[e]<<8|this[e+1]},du.prototype.readUInt32LE=function(e,t){return t||Mu(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},du.prototype.readUInt32BE=function(e,t){return t||Mu(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},du.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Mu(e,t,this.length);for(var r=this[e],i=1,u=0;++u<t&&(i*=256);)r+=this[e+u]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},du.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Mu(e,t,this.length);for(var r=t,i=1,u=this[e+--r];r>0&&(i*=256);)u+=this[e+--r]*i;return u>=(i*=128)&&(u-=Math.pow(2,8*t)),u},du.prototype.readInt8=function(e,t){return t||Mu(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},du.prototype.readInt16LE=function(e,t){t||Mu(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},du.prototype.readInt16BE=function(e,t){t||Mu(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},du.prototype.readInt32LE=function(e,t){return t||Mu(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},du.prototype.readInt32BE=function(e,t){return t||Mu(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},du.prototype.readFloatLE=function(e,t){return t||Mu(e,4,this.length),su(this,e,!0,23,4)},du.prototype.readFloatBE=function(e,t){return t||Mu(e,4,this.length),su(this,e,!1,23,4)},du.prototype.readDoubleLE=function(e,t){return t||Mu(e,8,this.length),su(this,e,!0,52,8)},du.prototype.readDoubleBE=function(e,t){return t||Mu(e,8,this.length),su(this,e,!1,52,8)},du.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Ru(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,u=0;for(this[t]=255&e;++u<n&&(i*=256);)this[t+u]=e/i&255;return t+n},du.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Ru(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,u=1;for(this[t+i]=255&e;--i>=0&&(u*=256);)this[t+i]=e/u&255;return t+n},du.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,1,255,0),du.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},du.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,2,65535,0),du.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):$u(this,e,t,!0),t+2},du.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,2,65535,0),du.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):$u(this,e,t,!1),t+2},du.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,4,4294967295,0),du.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Vu(this,e,t,!0),t+4},du.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,4,4294967295,0),du.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Vu(this,e,t,!1),t+4},du.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Ru(this,e,t,n,i-1,-i)}var u=0,o=1,s=0;for(this[t]=255&e;++u<n&&(o*=256);)e<0&&0===s&&0!==this[t+u-1]&&(s=1),this[t+u]=(e/o>>0)-s&255;return t+n},du.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Ru(this,e,t,n,i-1,-i)}var u=n-1,o=1,s=0;for(this[t+u]=255&e;--u>=0&&(o*=256);)e<0&&0===s&&0!==this[t+u+1]&&(s=1),this[t+u]=(e/o>>0)-s&255;return t+n},du.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,1,127,-128),du.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},du.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,2,32767,-32768),du.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):$u(this,e,t,!0),t+2},du.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,2,32767,-32768),du.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):$u(this,e,t,!1),t+2},du.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,4,2147483647,-2147483648),du.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Vu(this,e,t,!0),t+4},du.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Ru(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),du.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Vu(this,e,t,!1),t+4},du.prototype.writeFloatLE=function(e,t,n){return Wu(this,e,t,!0,n)},du.prototype.writeFloatBE=function(e,t,n){return Wu(this,e,t,!1,n)},du.prototype.writeDoubleLE=function(e,t,n){return Uu(this,e,t,!0,n)},du.prototype.writeDoubleBE=function(e,t,n){return Uu(this,e,t,!1,n)},du.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,u=r-n;if(this===e&&n<t&&t<r)for(i=u-1;i>=0;--i)e[i+t]=this[i+n];else if(u<1e3||!du.TYPED_ARRAY_SUPPORT)for(i=0;i<u;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+u),t);return u},du.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 i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!du.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var u;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(u=t;u<n;++u)this[u]=e;else{var o=Eu(e)?e:Gu(new du(e,r).toString()),s=o.length;for(u=0;u<n-t;++u)this[u+t]=o[u%s]}return this};var zu=/[^+\/0-9A-Za-z-_]/g;function Hu(e){return e<16?"0"+e.toString(16):e.toString(16)}function Gu(e,t){var n;t=t||1/0;for(var r=e.length,i=null,u=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&u.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&u.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&u.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&u.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;u.push(n)}else if(n<2048){if((t-=2)<0)break;u.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;u.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;u.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return u}function Ju(e){return function(e){var t,n,r,i,u,o;ru||iu();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");u="="===e[s-2]?2:"="===e[s-1]?1:0,o=new nu(3*s/4-u),r=u>0?s-4:s;var a=0;for(t=0,n=0;t<r;t+=4,n+=3)i=tu[e.charCodeAt(t)]<<18|tu[e.charCodeAt(t+1)]<<12|tu[e.charCodeAt(t+2)]<<6|tu[e.charCodeAt(t+3)],o[a++]=i>>16&255,o[a++]=i>>8&255,o[a++]=255&i;return 2===u?(i=tu[e.charCodeAt(t)]<<2|tu[e.charCodeAt(t+1)]>>4,o[a++]=255&i):1===u&&(i=tu[e.charCodeAt(t)]<<10|tu[e.charCodeAt(t+1)]<<4|tu[e.charCodeAt(t+2)]>>2,o[a++]=i>>8&255,o[a++]=255&i),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(zu,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Xu(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Yu(e){return null!=e&&(!!e._isBuffer||Ku(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ku(e.slice(0,0))}(e))}function Ku(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Qu=r(Mi);var Zu=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:Qu.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(){Qu.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let u=e[r++];if(u===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===u)break}let u=e.slice(i,r);return u.length&&n.push(u),n}_readChunk(e){let t,n=0;const r=[];do{const e=new du(this.options.readChunk);t=Qu.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=du.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,i=i.slice(0,n)),n&&(this.linesCache=this._extractLines(i),e&&(this.linesCache[0]=du.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;if(this.eofReached&&0===this.linesCache.length)return t;if(this.linesCache.length||(e=this._readChunk()),this.linesCache.length){t=this.linesCache.shift();t[t.length-1]!==this.newLineCharacter&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()))}return this.eofReached&&0===this.linesCache.length&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t}};class eo extends Error{}class to extends Error{}class no extends Error{}class ro extends Error{}var io={ConfigError:eo,DebugError:to,UndefinedParserError:no,ArgExpansionBailout:ro},uo=function(e,t){return(uo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};
2
23
  /*! *****************************************************************************
3
24
  Copyright (c) Microsoft Corporation.
4
25
 
@@ -12,4 +33,44 @@
12
33
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
34
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
35
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var br=function(){return(br=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 Ar(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 vr(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(e){u={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(u)throw u.error}}return a}function Fr(e){return this instanceof Fr?(this.v=e,this):new Fr(e)}var xr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return br},__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(e){try{s(r.next(e))}catch(e){o(e)}}function i(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?u(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).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(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=2&o[0]?r.return:o[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,o[1])).done)return u;switch(r=0,u&&(o=[2&o[0],u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(u=a.trys,(u=u.length>0&&u[u.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(6===o[0]&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=u=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},__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:Ar,__read:vr,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(vr(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:Fr,__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(e){u[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||i(e,t)}))})}function i(e,t){try{(n=u[e](t)).value instanceof Fr?Promise.resolve(n.value.v).then(s,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function s(e){i("next",e)}function l(e){i("throw",e)}function c(e,t){e(t),o.shift(),o.length&&i(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:Fr(e[r](t)),done:"return"===r}:u?u(t):t}:u}},__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=Ar(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,u){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,u,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Sr=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),wr=Ue(xr),Br=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(Sr,t)})),Tr=/[|\\{}()[\]^$+*?.]/g,kr=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Tr,"\\$&")},Nr={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]},Or=$e((function(e){var t={};for(var n in Nr)Nr.hasOwnProperty(n)&&(t[Nr[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(e){var t,n,r=e[0]/255,u=e[1]/255,o=e[2]/255,a=Math.min(r,u,o),i=Math.max(r,u,o),s=i-a;return i===a?t=0:r===i?t=(u-o)/s:u===i?t=2+(o-r)/s:o===i&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+i)/2,[t,100*(i===a?0:n<=.5?s/(i+a):s/(2-i-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,u,o,a=e[0]/255,i=e[1]/255,s=e[2]/255,l=Math.max(a,i,s),c=l-Math.min(a,i,s),p=function(e){return(l-e)/6/c+.5};return 0===c?u=o=0:(o=c/l,t=p(a),n=p(i),r=p(s),a===l?u=r-n:i===l?u=1/3+t-r:s===l&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,u))),100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,o,a=1/0;for(var i in Nr)if(Nr.hasOwnProperty(i)){var s=Nr[i],l=(u=e,o=s,Math.pow(u[0]-o[0],2)+Math.pow(u[1]-o[1],2)+Math.pow(u[2]-o[2],2));l<a&&(a=l,r=i)}return r},r.keyword.rgb=function(e){return Nr[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],o=t[2];return u/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,o,a=e[0]/360,i=e[1]/100,s=e[2]/100;if(0===i)return[o=255*s,o,o];t=2*s-(n=s<.5?s*(1+i):s+i-s*i),u=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,u[l]=255*o;return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=o<=1?o:2-o,[t,100*(0===r?2*u/(o+u):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,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]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],o=e[1]/100,a=e[2]/100,i=Math.max(a,.01);return r=(2-o)*a,n=o*i,[u,100*(n=(n/=(t=(2-o)*i)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,o,a,i,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=u,i=l;break;case 1:o=u,a=n,i=l;break;case 2:o=l,a=n,i=u;break;case 3:o=l,a=u,i=n;break;case 4:o=u,a=l,i=n;break;case 5:o=n,a=l,i=u}return[255*o,255*a,255*i]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*u+1.8758*o+.0415*a,r=.0557*u+-.204*o+1.057*a,t=(t=3.2406*u+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,u=e[0];t=e[1]/500+(n=(u+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),i=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,o=Math.max(Math.max(n,r),u),a=Math.min(Math.min(n,r),u),i=o-a;return t=i<=0?0:o===n?(r-u)/i%6:o===r?2+(u-n)/i:4+(n-r)/i+4,t/=6,[360*(t%=1),100*i,100*(i<1?a/(1-i):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,u=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var u,o=[0,0,0],a=t%1*6,i=a%1,s=1-i;switch(Math.floor(a)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return u=(1-n)*r,[255*(n*o[0]+u),255*(n*o[1]+u),255*(n*o[2]+u)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Pr(e){var t=function(){for(var e={},t=Object.keys(Or),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(Or[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}function _r(e,t){return function(n){return t(e(n))}}function Ir(e,t){for(var n=[t[e].parent,e],r=Or[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=_r(Or[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var jr={};Object.keys(Or).forEach((function(e){jr[e]={},Object.defineProperty(jr[e],"channels",{value:Or[e].channels}),Object.defineProperty(jr[e],"labels",{value:Or[e].labels});var t=function(e){for(var t=Pr(e),n={},r=Object.keys(t),u=r.length,o=0;o<u;o++){var a=r[o];null!==t[a].parent&&(n[a]=Ir(a,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];jr[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,u=0;u<r;u++)n[u]=Math.round(n[u]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),jr[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Mr=jr,Lr=$e((function(e){const t=(e,t)=>function(){const n=e.apply(Mr,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(Mr,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(Mr,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,u={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]}};u.color.grey=u.color.gray;for(const t of Object.keys(u)){const n=u[t];for(const t of Object.keys(n)){const r=n[t];u[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=u[t],e.set(r[0],r[1])}Object.defineProperty(u,t,{value:n,enumerable:!1}),Object.defineProperty(u,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];u.color.close="",u.bgColor.close="",u.color.ansi={ansi:t(o,0)},u.color.ansi256={ansi256:n(o,0)},u.color.ansi16m={rgb:r(a,0)},u.bgColor.ansi={ansi:t(o,10)},u.bgColor.ansi256={ansi256:n(o,10)},u.bgColor.ansi16m={rgb:r(a,10)};for(let e of Object.keys(Mr)){if("object"!=typeof Mr[e])continue;const o=Mr[e];"ansi16"===e&&(e="ansi"),"ansi16"in o&&(u.color.ansi[e]=t(o.ansi16,0),u.bgColor.ansi[e]=t(o.ansi16,10)),"ansi256"in o&&(u.color.ansi256[e]=n(o.ansi256,0),u.bgColor.ansi256[e]=n(o.ansi256,10)),"rgb"in o&&(u.color.ansi16m[e]=r(o.rgb,0),u.bgColor.ansi16m[e]=r(o.rgb,10))}return u}})})),Rr={EOL:"\n"},qr=(e,t)=>{t=t||Re.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)};const Vr=Re.env;let Wr;function $r(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Wr)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==Wr)return 0;const t=Wr?1:0;if("win32"===Re.platform){const e=Rr.release().split(".");return Number(Re.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Vr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Vr)||"codeship"===Vr.CI_NAME?1:t;if("TEAMCITY_VERSION"in Vr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Vr.TEAMCITY_VERSION)?1:0;if("truecolor"===Vr.COLORTERM)return 3;if("TERM_PROGRAM"in Vr){const e=parseInt((Vr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Vr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Vr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Vr.TERM)||"COLORTERM"in Vr?1:(Vr.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?Wr=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(Wr=!0),"FORCE_COLOR"in Vr&&(Wr=0===Vr.FORCE_COLOR.length||0!==parseInt(Vr.FORCE_COLOR,10));var Ur={supportsColor:$r,stdout:$r(Re.stdout),stderr:$r(Re.stderr)};const zr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Jr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Gr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Hr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Xr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Yr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Xr.get(e)||e}function Kr(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const t of r)if(isNaN(t)){if(!(u=t.match(Gr)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(u[2].replace(Hr,(e,t,n)=>t?Yr(t):n))}else n.push(Number(t));return n}function Qr(e){Jr.lastIndex=0;const t=[];let n;for(;null!==(n=Jr.exec(e));){const e=n[1];if(n[2]){const r=Kr(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Zr(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var eu=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(zr,(t,o,a,i,s,l)=>{if(o)u.push(Yr(o));else if(i){const t=u.join("");u=[],r.push(0===n.length?t:Zr(e,n)(t)),n.push({inverse:a,styles:Qr(i)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Zr(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},tu=$e((function(e){const t=Ur.stdout,n="win32"===Re.platform&&!(Re.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function i(e){if(!this||!(this instanceof i)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,i.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=i,t.template}a(this,e)}n&&(Lr.blue.open="");for(const e of Object.keys(Lr))Lr[e].closeRe=new RegExp(kr(Lr[e].close),"g"),o[e]={get(){const t=Lr[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Lr.color.closeRe=new RegExp(kr(Lr.color.close),"g");for(const e of Object.keys(Lr.color.ansi))u.has(e)||(o[e]={get(){const t=this.level;return function(){const n=Lr.color[r[t]][e].apply(null,arguments),u={open:n,close:Lr.color.close,closeRe:Lr.color.closeRe};return l.call(this,this._styles?this._styles.concat(u):[u],this._empty,e)}}});Lr.bgColor.closeRe=new RegExp(kr(Lr.bgColor.close),"g");for(const e of Object.keys(Lr.bgColor.ansi)){if(u.has(e))continue;o["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=Lr.bgColor[r[t]][e].apply(null,arguments),u={open:n,close:Lr.bgColor.close,closeRe:Lr.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(u):[u],this._empty,e)}}}}const s=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const u=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>u.level,set(e){u.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>u.enabled,set(e){u.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=s,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const u=Lr.dim.open;n&&this.hasGrey&&(Lr.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return Lr.dim.open=u,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return eu(e,r.join(""))}Object.defineProperties(i.prototype,o),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports})),nu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonDeprecatedHandler=(e,t,{descriptor:n})=>{const r=["".concat(tu.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(tu.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),ru=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(nu,t)})),uu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(tu.default.red(n.descriptor.key(e))," value."),"Expected ".concat(tu.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(tu.default.red(n.descriptor.value(t)),".")].join(" ")})),ou=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(uu,t)})),au=[],iu=[],su=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:u})=>{const o=["Ignored unknown option ".concat(tu.default.yellow(n.pair({key:e,value:t})),".")],a=Object.keys(u).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,u=t.length;if(0===r)return u;if(0===u)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;if(0===r)return u;for(var o,a,i,s,l=0;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(u-=l,0==(r-=l))return u;for(var c=0,p=0;c<r;)iu[l+c]=e.charCodeAt(l+c),au[c]=++c;for(;p<u;)for(o=t.charCodeAt(l+p),i=p++,a=p,c=0;c<r;c++)s=o===iu[l+c]?i:i+1,i=au[c],a=au[c]=i>a?s>a?a+1:s:s>i?i+1:s;return a}(e,t)<3);a&&o.push("Did you mean ".concat(tu.default.blue(n.key(a)),"?")),r.warn(o.join(" "))}})),lu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(su,t)})),cu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(ru,t),wr.__exportStar(ou,t),wr.__exportStar(lu,t)})),pu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),a=Object.create(r);for(const e of n)e in t&&(a[e]=o(t[e],r,u.prototype[e].length));return a}t.createSchema=r;class u{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=u})),du=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),fu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),hu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=wr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const u of e){const e=t.normalizeForwardResult(this._valueSchema.forward(u,t),u);n.push(...e.map(r))}return n}redirect(e,t){const n=[],u=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),u.push(...e.redirect.map(r))}return 0===n.length?{redirect:u}:{redirect:u,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),mu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),gu=$e((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const u of e)t(u)?n.push(u):r.push(u);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,u=["undefined","object","boolean","number","string"];return n!==r?u.indexOf(n)-u.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),Du=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{constructor(e){super(e),this._choices=gu.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(gu.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),yu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),Eu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends yu.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&gu.isInt(e)}}t.IntegerSchema=n})),Cu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pu.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),bu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(du,t),wr.__exportStar(fu,t),wr.__exportStar(hu,t),wr.__exportStar(mu,t),wr.__exportStar(Du,t),wr.__exportStar(Eu,t),wr.__exportStar(yu,t),wr.__exportStar(Cu,t)})),Au=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Sr.apiDescriptor,t.defaultUnknownHandler=su.levenUnknownHandler,t.defaultInvalidHandler=ou.commonInvalidHandler,t.defaultDeprecatedHandler=nu.commonDeprecatedHandler})),vu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Au.defaultDescriptor,unknown:u=Au.defaultUnknownHandler,invalid:o=Au.defaultInvalidHandler,deprecated:a=Au.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:gu.recordFromArray(e,"name"),normalizeDefaultResult:gu.normalizeDefaultResult,normalizeDeprecatedResult:gu.normalizeDeprecatedResult,normalizeForwardResult:gu.normalizeForwardResult,normalizeRedirectResult:gu.normalizeRedirectResult,normalizeValidateResult:gu.normalizeValidateResult},this._unknownHandler=u,this._invalidHandler=o,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=gu.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=gu.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value})}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,u]=gu.partition(Object.keys(e),e=>e in this._utils.schemas);for(const u of r){const r=this._utils.schemas[u],o=r.preprocess(e[u],this._utils),a=gu.normalizeValidateResult(r.validate(o,this._utils),o);if(!0!==a){const{value:e}=a,t=this._invalidHandler(u,e,this._utils);throw"string"==typeof t?new Error(t):t}const i=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},s=({value:e,redirectTo:t})=>{const n=gu.normalizeDeprecatedResult(r.deprecated(e,this._utils),o,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,t,this._utils));else for(const{value:e}of n){const n={key:u,value:e};if(!this._hasDeprecationWarned(n)){const r="string"==typeof t?{key:t,value:e}:t;this._utils.logger.warn(this._deprecatedHandler(n,r,this._utils))}}};gu.normalizeForwardResult(r.forward(o,this._utils),o).forEach(i);const l=gu.normalizeRedirectResult(r.redirect(o,this._utils),o);if(l.redirect.forEach(i),"remain"in l){const e=l.remain;t[u]=u in t?r.overlap(t[u],e,this._utils):e,s({value:e})}for(const{from:e,to:t}of l.redirect)s({value:e,redirectTo:t})}for(const r of u){const u=e[r],o=this._unknownHandler(r,u,this._utils);if(o)for(const e of Object.keys(o)){const r={[e]:o[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),Fu=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),wr.__exportStar(Br,t),wr.__exportStar(cu,t),wr.__exportStar(bu,t),wr.__exportStar(vu,t),wr.__exportStar(pu,t)}));const xu=[],Su=[],wu=(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,l=0;for(;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(r-=l,u-=l,0===r)return u;let c=0,p=0;for(;c<r;)Su[c]=e.charCodeAt(l+c),xu[c]=++c;for(;p<u;)for(o=t.charCodeAt(l+p),i=p++,a=p,c=0;c<r;c++)s=o===Su[c]?i:i+1,i=xu[c],a=xu[c]=i>a?s>a?a+1:s:s>i?i+1:s;return a};var Bu=wu,Tu=wu;Bu.default=Tu;var ku={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 Nu={};for(const e of Object.keys(ku))Nu[ku[e]]=e;const Ou={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 Pu=Ou;for(const e of Object.keys(Ou)){if(!("channels"in Ou[e]))throw new Error("missing channels property: "+e);if(!("labels"in Ou[e]))throw new Error("missing channel labels property: "+e);if(Ou[e].labels.length!==Ou[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Ou[e];delete Ou[e].channels,delete Ou[e].labels,Object.defineProperty(Ou[e],"channels",{value:t}),Object.defineProperty(Ou[e],"labels",{value:n})}function _u(e){const t=function(){const e={},t=Object.keys(Pu);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),r=Object.keys(Pu[e]);for(let u=r.length,o=0;o<u;o++){const u=r[o],a=t[u];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,n.unshift(u))}}return t}function Iu(e,t){return function(n){return t(e(n))}}function ju(e,t){const n=[t[e].parent,e];let r=Pu[t[e].parent][e],u=t[e].parent;for(;t[u].parent;)n.unshift(t[u].parent),r=Iu(Pu[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}Ou.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 l=(u+o)/2;return s=o===u?0:l<=.5?a/(o+u):a/(2-o-u),[i,100*s,100*l]},Ou.rgb.hsv=function(e){let t,n,r,u,o;const a=e[0]/255,i=e[1]/255,s=e[2]/255,l=Math.max(a,i,s),c=l-Math.min(a,i,s),p=function(e){return(l-e)/6/c+.5};return 0===c?(u=0,o=0):(o=c/l,t=p(a),n=p(i),r=p(s),a===l?u=r-n:i===l?u=1/3+t-r:s===l&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*o,100*l]},Ou.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const u=Ou.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]},Ou.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]},Ou.rgb.keyword=function(e){const t=Nu[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(ku)){const a=(o=ku[t],((u=e)[0]-o[0])**2+(u[1]-o[1])**2+(u[2]-o[2])**2);a<r&&(r=a,n=t)}var u,o;return n},Ou.keyword.rgb=function(e){return ku[e]},Ou.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ou.rgb.lab=function(e){const t=Ou.rgb.xyz(e);let n=t[0],r=t[1],u=t[2];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;return[116*r-16,500*(n-r),200*(r-u)]},Ou.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 e=0;e<3;e++)o=t+1/3*-(e-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[e]=255*a;return s},Ou.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);r*=2,n*=r<=1?r:2-r,u*=o<=1?o:2-o;return[t,100*(0===r?2*u/(o+u):2*n/(r+n)),100*((r+n)/2)]},Ou.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]}},Ou.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]},Ou.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 l,c,p;switch(a){default:case 6:case 0:l=i,c=s,p=n;break;case 1:l=s,c=i,p=n;break;case 2:l=n,c=i,p=s;break;case 3:l=n,c=s,p=i;break;case 4:l=s,c=n,p=i;break;case 5:l=i,c=n,p=s}return[255*l,255*c,255*p]},Ou.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},Ou.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]},Ou.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Ou.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]},Ou.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let u;u=360*Math.atan2(r,n)/2/Math.PI,u<0&&(u+=360);return[t,Math.sqrt(n*n+r*r),u]},Ou.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ou.rgb.ansi16=function(e,t=null){const[n,r,u]=e;let o=null===t?Ou.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},Ou.hsv.ansi16=function(e){return Ou.rgb.ansi16(Ou.hsv.rgb(e),e[2])},Ou.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ou.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]},Ou.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Ou.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},Ou.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ou.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]},Ou.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]},Ou.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ou.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const u=[0,0,0],o=t%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)]},Ou.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]},Ou.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]},Ou.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)]},Ou.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ou.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ou.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ou.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ou.gray.hsl=function(e){return[0,0,e[0]]},Ou.gray.hsv=Ou.gray.hsl,Ou.gray.hwb=function(e){return[0,100,e[0]]},Ou.gray.cmyk=function(e){return[0,0,0,e[0]]},Ou.gray.lab=function(e){return[e[0],0,0]},Ou.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},Ou.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Mu={};Object.keys(Pu).forEach(e=>{Mu[e]={},Object.defineProperty(Mu[e],"channels",{value:Pu[e].channels}),Object.defineProperty(Mu[e],"labels",{value:Pu[e].labels});const t=function(e){const t=_u(e),n={},r=Object.keys(t);for(let e=r.length,u=0;u<e;u++){const e=r[u];null!==t[e].parent&&(n[e]=ju(e,t))}return n}(e);Object.keys(t).forEach(n=>{const r=t[n];Mu[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Mu[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var Lu=Mu,Ru=$e((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},u=e=>e,o=(e,t,n)=>[e,t,n],a=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let i;const s=(e,t,n,r)=>{void 0===i&&(i=Lu);const u=r?10:0,o={};for(const[r,a]of Object.entries(i)){const i="ansi16"===r?"ansi":r;r===t?o[i]=e(n,u):"object"==typeof a&&(o[i]=e(a[t],u))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(const[t,n]of Object.entries(i)){for(const[t,r]of Object.entries(n))i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1]);Object.defineProperty(i,t,{value:n,enumerable:!1})}return Object.defineProperty(i,"codes",{value:e,enumerable:!1}),i.color.close="",i.bgColor.close="",a(i.color,"ansi",()=>s(t,"ansi16",u,!1)),a(i.color,"ansi256",()=>s(n,"ansi256",u,!1)),a(i.color,"ansi16m",()=>s(r,"rgb",o,!1)),a(i.bgColor,"ansi",()=>s(t,"ansi16",u,!0)),a(i.bgColor,"ansi256",()=>s(n,"ansi256",u,!0)),a(i.bgColor,"ansi16m",()=>s(r,"rgb",o,!0)),i}})})),qu={isatty:()=>!1},Vu=(e,t=Re.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)};const{env:Wu}=Re;let $u;function Uu(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function zu(e,t){if(0===$u)return 0;if(Vu("color=16m")||Vu("color=full")||Vu("color=truecolor"))return 3;if(Vu("color=256"))return 2;if(e&&!t&&void 0===$u)return 0;const n=$u||0;if("dumb"===Wu.TERM)return n;if("win32"===Re.platform){const e=Rr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Wu)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Wu)||"codeship"===Wu.CI_NAME?1:n;if("TEAMCITY_VERSION"in Wu)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wu.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Wu)return 1;if("truecolor"===Wu.COLORTERM)return 3;if("TERM_PROGRAM"in Wu){const e=parseInt((Wu.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wu.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wu.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wu.TERM)||"COLORTERM"in Wu?1:n}Vu("no-color")||Vu("no-colors")||Vu("color=false")||Vu("color=never")?$u=0:(Vu("color")||Vu("colors")||Vu("color=true")||Vu("color=always"))&&($u=1),"FORCE_COLOR"in Wu&&($u="true"===Wu.FORCE_COLOR?1:"false"===Wu.FORCE_COLOR?0:0===Wu.FORCE_COLOR.length?1:Math.min(parseInt(Wu.FORCE_COLOR,10),3));var Ju={supportsColor:function(e){return Uu(zu(e,e&&e.isTTY))},stdout:Uu(zu(!0,qu.isatty(1))),stderr:Uu(zu(!0,qu.isatty(2)))};var Gu={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}};const Hu=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Xu=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yu=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ku=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Qu=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Zu(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)):Qu.get(e)||e}function eo(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(u=t.match(Yu)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(u[2].replace(Ku,(e,t,n)=>t?Zu(t):n))}else n.push(r)}return n}function to(e){Xu.lastIndex=0;const t=[];let n;for(;null!==(n=Xu.exec(e));){const e=n[1];if(n[2]){const r=eo(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function no(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=t.length>0?r[e](...t):r[e]}return r}var ro=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(Hu,(t,o,a,i,s,l)=>{if(o)u.push(Zu(o));else if(i){const t=u.join("");u=[],r.push(0===n.length?t:no(e,n)(t)),n.push({inverse:a,styles:to(i)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(no(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:uo,stderr:oo}=Ju,{stringReplaceAll:ao,stringEncaseCRLFWithFirstIndex:io}=Gu,{isArray:so}=Array,lo=["ansi","ansi","ansi256","ansi16m"],co=Object.create(null);class po{constructor(e){return fo(e)}}const fo=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=uo?uo.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>bo(t.template,...e),Object.setPrototypeOf(t,ho.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=po,t.template};function ho(e){return fo(e)}for(const[e,t]of Object.entries(Ru))co[e]={get(){const n=yo(this,Do(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};co.visible={get(){const e=yo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const mo=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of mo)co[e]={get(){const{level:t}=this;return function(...n){const r=Do(Ru.color[lo[t]][e](...n),Ru.color.close,this._styler);return yo(this,r,this._isEmpty)}}};for(const e of mo){co["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=Do(Ru.bgColor[lo[t]][e](...n),Ru.bgColor.close,this._styler);return yo(this,r,this._isEmpty)}}}}const go=Object.defineProperties(()=>{},Object.assign({},co,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Do=(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}},yo=(e,t,n)=>{const r=(...e)=>so(e[0])&&so(e[0].raw)?Eo(r,bo(r,...e)):Eo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,go),r._generator=e,r._styler=t,r._isEmpty=n,r},Eo=(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(""))for(;void 0!==n;)t=ao(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=io(t,u,r,o)),r+t+u};let Co;const bo=(e,...t)=>{const[n]=t;if(!so(n)||!so(n.raw))return t.join(" ");const r=t.slice(1),u=[n.raw[0]];for(let e=1;e<n.length;e++)u.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===Co&&(Co=ro),Co(e,u.join(""))};Object.defineProperties(ho.prototype,co);const Ao=ho();Ao.supportsColor=uo,Ao.stderr=ho({level:oo?oo.level:0}),Ao.stderr.supportsColor=oo;var vo=Ao;var Fo=function(e,t){for(var n=-1,r=t.length,u=e.length;++n<r;)e[u+n]=t[n];return e},xo="object"==typeof We&&We&&We.Object===Object&&We,So="object"==typeof self&&self&&self.Object===Object&&self,wo=(xo||So||Function("return this")()).Symbol,Bo=Object.prototype,To=Bo.hasOwnProperty,ko=Bo.toString,No=wo?wo.toStringTag:void 0;var Oo=function(e){var t=To.call(e,No),n=e[No];try{e[No]=void 0;var r=!0}catch(e){}var u=ko.call(e);return r&&(t?e[No]=n:delete e[No]),u},Po=Object.prototype.toString;var _o=function(e){return Po.call(e)},Io=wo?wo.toStringTag:void 0;var jo=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Io&&Io in Object(e)?Oo(e):_o(e)};var Mo=function(e){return null!=e&&"object"==typeof e};var Lo=function(e){return Mo(e)&&"[object Arguments]"==jo(e)},Ro=Object.prototype,qo=Ro.hasOwnProperty,Vo=Ro.propertyIsEnumerable,Wo=Lo(function(){return arguments}())?Lo:function(e){return Mo(e)&&qo.call(e,"callee")&&!Vo.call(e,"callee")},$o=Array.isArray,Uo=wo?wo.isConcatSpreadable:void 0;var zo=function(e){return $o(e)||Wo(e)||!!(Uo&&e&&e[Uo])};var Jo=function e(t,n,r,u,o){var a=-1,i=t.length;for(r||(r=zo),o||(o=[]);++a<i;){var s=t[a];n>0&&r(s)?n>1?e(s,n-1,r,u,o):Fo(o,s):u||(o[o.length]=s)}return o};var Go=function(e){return(null==e?0:e.length)?Jo(e,1):[]};const Ho={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>Fu.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Ho.key(e):""===t?"".concat(Ho.key(e)," without an argument"):"".concat(Ho.key(e),"=").concat(t)};class Xo extends Fu.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Bu(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(vo.yellow(t.descriptor.value(e)),","),"did you mean ".concat(vo.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Yo;function Ko(t,n,{logger:r,isCLI:u=!1,passThrough:o=!1}={}){const a=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const u=e(r.schemas,["_"]);return Fu.levenUnknownHandler(t,n,Object.assign({},r,{schemas:u}))},i=u?Ho:Fu.apiDescriptor,s=function(e,{isCLI:t}){const n=[];t&&n.push(Fu.AnySchema.create({name:"_"}));for(const r of e)n.push(Qo(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(Fu.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:u}),l=new Fu.Normalizer(s,{logger:r,unknown:a,descriptor:i}),c=!1!==r;c&&Yo&&(l._hasDeprecationWarned=Yo);const p=l.normalize(t);return c&&(Yo=l._hasDeprecationWarned),p}function Qo(e,{isCLI:t,optionInfos:n}){let r;const u={name:e.name},o={};switch(e.type){case"int":r=Fu.IntegerSchema,t&&(u.preprocess=e=>Number(e));break;case"string":r=Fu.StringSchema;break;case"choice":r=Fu.ChoiceSchema,u.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=Fu.BooleanSchema;break;case"flag":r=Xo,u.flags=Go(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=Fu.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?u.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):u.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=u.preprocess||(e=>e);u.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?Fu.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(u)})):r.create(Object.assign({},u,o))}var Zo={normalizeApiOptions:function(e,t,n){return Ko(e,t,n)},normalizeCliOptions:function(e,t,n){return Ko(e,t,Object.assign({isCLI:!0},n))}};function ea(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return ea(t[0])}return e.range?e.range[0]:e.start}function ta(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,ta(e.typeAnnotation)):t}var na={locStart:ea,locEnd:ta,composeLoc:function(e,t=e){const n=ea(e);return[n,"number"==typeof t?n+t:ta(t)]}},ra=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),ua=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);n<r.length;n++){const e=r[n].codePointAt(0);if(t){if(!l(e))return!1;t=!1}else if(!c(e))return!1}return!t};let n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const u=new RegExp("["+n+"]"),o=new RegExp("["+n+r+"]");n=r=null;const a=[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],i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function s(e,t){let n=65536;for(let r=0,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 l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):s(e,a)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):s(e,a)||s(e,i))))}})),oa=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=i,t.isStrictReservedWord=s,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return s(e,t)||l(e)},t.isKeyword=function(e){return u.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],u=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"]),o=new Set(n),a=new Set(r);function i(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return i(e,t)||o.has(e)}function l(e){return a.has(e)}})),aa=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return ua.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return ua.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return ua.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return oa.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return oa.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return oa.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return oa.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return oa.isKeyword}})})),ia=/[|\\{}()[\]^$+*?.]/g,sa=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ia,"\\$&")},la={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]},ca=$e((function(e){var t={};for(var n in la)la.hasOwnProperty(n)&&(t[la[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(e){var t,n,r=e[0]/255,u=e[1]/255,o=e[2]/255,a=Math.min(r,u,o),i=Math.max(r,u,o),s=i-a;return i===a?t=0:r===i?t=(u-o)/s:u===i?t=2+(o-r)/s:o===i&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+i)/2,[t,100*(i===a?0:n<=.5?s/(i+a):s/(2-i-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,u,o,a=e[0]/255,i=e[1]/255,s=e[2]/255,l=Math.max(a,i,s),c=l-Math.min(a,i,s),p=function(e){return(l-e)/6/c+.5};return 0===c?u=o=0:(o=c/l,t=p(a),n=p(i),r=p(s),a===l?u=r-n:i===l?u=1/3+t-r:s===l&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,u))),100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,o,a=1/0;for(var i in la)if(la.hasOwnProperty(i)){var s=la[i],l=(u=e,o=s,Math.pow(u[0]-o[0],2)+Math.pow(u[1]-o[1],2)+Math.pow(u[2]-o[2],2));l<a&&(a=l,r=i)}return r},r.keyword.rgb=function(e){return la[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],o=t[2];return u/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,o,a=e[0]/360,i=e[1]/100,s=e[2]/100;if(0===i)return[o=255*s,o,o];t=2*s-(n=s<.5?s*(1+i):s+i-s*i),u=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,u[l]=255*o;return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=o<=1?o:2-o,[t,100*(0===r?2*u/(o+u):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,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]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],o=e[1]/100,a=e[2]/100,i=Math.max(a,.01);return r=(2-o)*a,n=o*i,[u,100*(n=(n/=(t=(2-o)*i)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,o,a,i,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=u,i=l;break;case 1:o=u,a=n,i=l;break;case 2:o=l,a=n,i=u;break;case 3:o=l,a=u,i=n;break;case 4:o=u,a=l,i=n;break;case 5:o=n,a=l,i=u}return[255*o,255*a,255*i]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*u+1.8758*o+.0415*a,r=.0557*u+-.204*o+1.057*a,t=(t=3.2406*u+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,u=e[0];t=e[1]/500+(n=(u+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),i=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,o=Math.max(Math.max(n,r),u),a=Math.min(Math.min(n,r),u),i=o-a;return t=i<=0?0:o===n?(r-u)/i%6:o===r?2+(u-n)/i:4+(n-r)/i+4,t/=6,[360*(t%=1),100*i,100*(i<1?a/(1-i):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,u=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var u,o=[0,0,0],a=t%1*6,i=a%1,s=1-i;switch(Math.floor(a)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return u=(1-n)*r,[255*(n*o[0]+u),255*(n*o[1]+u),255*(n*o[2]+u)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function pa(e){var t=function(){for(var e={},t=Object.keys(ca),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(ca[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}function da(e,t){return function(n){return t(e(n))}}function fa(e,t){for(var n=[t[e].parent,e],r=ca[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=da(ca[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var ha={};Object.keys(ca).forEach((function(e){ha[e]={},Object.defineProperty(ha[e],"channels",{value:ca[e].channels}),Object.defineProperty(ha[e],"labels",{value:ca[e].labels});var t=function(e){for(var t=pa(e),n={},r=Object.keys(t),u=r.length,o=0;o<u;o++){var a=r[o];null!==t[a].parent&&(n[a]=fa(a,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];ha[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,u=0;u<r;u++)n[u]=Math.round(n[u]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),ha[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var ma=ha,ga=$e((function(e){const t=(e,t)=>function(){const n=e.apply(ma,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(ma,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(ma,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,u={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]}};u.color.grey=u.color.gray;for(const t of Object.keys(u)){const n=u[t];for(const t of Object.keys(n)){const r=n[t];u[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=u[t],e.set(r[0],r[1])}Object.defineProperty(u,t,{value:n,enumerable:!1}),Object.defineProperty(u,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];u.color.close="",u.bgColor.close="",u.color.ansi={ansi:t(o,0)},u.color.ansi256={ansi256:n(o,0)},u.color.ansi16m={rgb:r(a,0)},u.bgColor.ansi={ansi:t(o,10)},u.bgColor.ansi256={ansi256:n(o,10)},u.bgColor.ansi16m={rgb:r(a,10)};for(let e of Object.keys(ma)){if("object"!=typeof ma[e])continue;const o=ma[e];"ansi16"===e&&(e="ansi"),"ansi16"in o&&(u.color.ansi[e]=t(o.ansi16,0),u.bgColor.ansi[e]=t(o.ansi16,10)),"ansi256"in o&&(u.color.ansi256[e]=n(o.ansi256,0),u.bgColor.ansi256[e]=n(o.ansi256,10)),"rgb"in o&&(u.color.ansi16m[e]=r(o.rgb,0),u.bgColor.ansi16m[e]=r(o.rgb,10))}return u}})}));const Da=Re.env;let ya;function Ea(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===ya)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==ya)return 0;const t=ya?1:0;if("win32"===Re.platform){const e=Rr.release().split(".");return Number(Re.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Da)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Da)||"codeship"===Da.CI_NAME?1:t;if("TEAMCITY_VERSION"in Da)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Da.TEAMCITY_VERSION)?1:0;if("truecolor"===Da.COLORTERM)return 3;if("TERM_PROGRAM"in Da){const e=parseInt((Da.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Da.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Da.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Da.TERM)||"COLORTERM"in Da?1:(Da.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?ya=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(ya=!0),"FORCE_COLOR"in Da&&(ya=0===Da.FORCE_COLOR.length||0!==parseInt(Da.FORCE_COLOR,10));var Ca={supportsColor:Ea,stdout:Ea(Re.stdout),stderr:Ea(Re.stderr)};const ba=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Aa=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,va=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Fa=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,xa=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Sa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):xa.get(e)||e}function wa(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let u;for(const t of r)if(isNaN(t)){if(!(u=t.match(va)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(u[2].replace(Fa,(e,t,n)=>t?Sa(t):n))}else n.push(Number(t));return n}function Ba(e){Aa.lastIndex=0;const t=[];let n;for(;null!==(n=Aa.exec(e));){const e=n[1];if(n[2]){const r=wa(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Ta(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var ka=(e,t)=>{const n=[],r=[];let u=[];if(t.replace(ba,(t,o,a,i,s,l)=>{if(o)u.push(Sa(o));else if(i){const t=u.join("");u=[],r.push(0===n.length?t:Ta(e,n)(t)),n.push({inverse:a,styles:Ba(i)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Ta(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},Na=$e((function(e){const t=Ca.stdout,n="win32"===Re.platform&&!(Re.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function i(e){if(!this||!(this instanceof i)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,i.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=i,t.template}a(this,e)}n&&(ga.blue.open="");for(const e of Object.keys(ga))ga[e].closeRe=new RegExp(sa(ga[e].close),"g"),o[e]={get(){const t=ga[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},ga.color.closeRe=new RegExp(sa(ga.color.close),"g");for(const e of Object.keys(ga.color.ansi))u.has(e)||(o[e]={get(){const t=this.level;return function(){const n=ga.color[r[t]][e].apply(null,arguments),u={open:n,close:ga.color.close,closeRe:ga.color.closeRe};return l.call(this,this._styles?this._styles.concat(u):[u],this._empty,e)}}});ga.bgColor.closeRe=new RegExp(sa(ga.bgColor.close),"g");for(const e of Object.keys(ga.bgColor.ansi)){if(u.has(e))continue;o["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=ga.bgColor[r[t]][e].apply(null,arguments),u={open:n,close:ga.bgColor.close,closeRe:ga.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(u):[u],this._empty,e)}}}}const s=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const u=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>u.level,set(e){u.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>u.enabled,set(e){u.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=s,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const u=ga.dim.open;n&&this.hasGrey&&(ga.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,"".concat(e.close,"$&").concat(e.open));return ga.dim.open=u,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return ka(e,r.join(""))}Object.defineProperties(i.prototype,o),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports})),Oa=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=l,t.getChalk=c,t.default=function(e,t={}){if(l(t)){const n=c(t);return function(e,t){return t.replace(r.default,(function(...t){const n=function(e){const[t,n]=e.slice(-2),u=(0,r.matchToToken)(e);if("name"===u.type){if((0,aa.isKeyword)(u.value)||(0,aa.isReservedWord)(u.value))return"keyword";if(i.test(u.value)&&("<"===n[t-1]||"</"==n.substr(t-2,2)))return"jsx_tag";if(u.value[0]!==u.value[0].toLowerCase())return"capitalized"}if("punctuator"===u.type&&s.test(u.value))return"bracket";if("invalid"===u.type&&("@"===u.value||"#"===u.value))return"punctuator";return u.type}(t),u=e[n];return u?t[0].split(a).map(e=>u(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();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 a=r?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=e[u]}n.default=e,t&&t.set(e,n);return n}(ra),u=(n=Na)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const a=/\r\n|[\n\r\u2028\u2029]/,i=/^[a-z][\w-]*$/i,s=/^[()[\]{}]$/;function l(e){return u.default.supportsColor||e.forceColor}function c(e){let t=u.default;return e.forceColor&&(t=new u.default.constructor({enabled:!0,level:1})),t}})),Pa=$e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(e,t,n,r={}){if(!u){u=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Re.emitWarning)Re.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}n=Math.max(n,0);return a(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=u?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(Oa);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let u=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r={}){const u=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),a=(0,n.getChalk)(r),i=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),s=(e,t)=>u?e(t):t,l=e.split(o),{start:c,end:p,markerLines:d}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),u=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},i=r.line,s=r.column,l=u.line,c=u.column;let p=Math.max(i-(o+1),0),d=Math.min(t.length,l+a);-1===i&&(p=0),-1===l&&(d=t.length);const f=l-i,h={};if(f)for(let e=0;e<=f;e++){const n=e+i;if(s)if(0===e){const e=t[n-1].length;h[n]=[s,e-s+1]}else if(e===f)h[n]=[0,c];else{const r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else h[i]=s===c?!s||[s,0]:[s,c-s];return{start:p,end:d,markerLines:h}}(t,l,r),f=t.start&&"number"==typeof t.start.column,h=String(p).length;let m=(u?(0,n.default)(e,r):e).split(o).slice(c,p).map((e,t)=>{const n=c+1+t,u=" ".concat(n).slice(-h),o=" ".concat(u," | "),a=d[n],l=!d[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),u=a[1]||1;t=["\n ",s(i.gutter,o.replace(/\d/g," ")),n,s(i.marker,"^").repeat(u)].join(""),l&&r.message&&(t+=" "+s(i.message,r.message))}return[s(i.marker,">"),s(i.gutter,o),e,t].join("")}return" ".concat(s(i.gutter,o)).concat(e)}).join("\n");return r.message&&!f&&(m="".concat(" ".repeat(h+1)).concat(r.message,"\n").concat(m)),u?a.reset(m):m}}));const{ConfigError:_a}=Er,{locStart:Ia,locEnd:ja}=na,Ma=Object.getOwnPropertyNames,La=Object.getOwnPropertyDescriptor;function Ra(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of Ma(n.parsers))Object.defineProperty(t,e,La(n.parsers,e));return t}function qa(e,t){if(t=t||Ra(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ia,locEnd:ja};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new _a("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Va={parse:function(e,t){const n=Ra(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),u=qa(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const r=Pa;throw t.codeFrame=r.codeFrameColumns(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:qa};const{UndefinedParserError:Wa}=Er,{getSupportInfo:$a}=yt,{resolveParser:Ua}=Va,za={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ja(e,t){const n=gn.basename(e).toLowerCase(),r=$a({plugins:t}).languages.filter(e=>null!==e.since);let u=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!u&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=fr.openSync(e,"r")}catch(e){return""}try{const e=new hr(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch(e){return""}finally{try{fr.closeSync(t)}catch(e){}}}(e);u=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return u&&u.parsers[0]}var Ga={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=$a({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,u=Object.assign({},za,mr(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Ja(n.filepath,n.plugins),!n.parser)throw new Wa("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=Ua(Zo.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const a=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=a.printers[n.astFormat];const i=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[a.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[a.name]}),{}),s=Object.assign({},u,i);return Object.keys(s).forEach(e=>{null==n[e]&&(n[e]=s[e])}),"json"===n.parser&&(n.trailingComma="none"),Zo.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(za)},t))},hiddenDefaults:za,inferParser:Ja};var Ha=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const u={};for(const r of Object.keys(t))"function"!=typeof t[r]&&(u[r]=e(t[r],n,t));if(n.printer.massageAstNode){const e=n.printer.massageAstNode(t,u,r);if(null===e)return;if(e)return e}return u};function Xa(){}Xa.ok=function(){},Xa.strictEqual=function(){};const{concat:Ya,line:Ka,hardline:Qa,breakParent:Za,indent:ei,lineSuffix:ti,join:ni,cursor:ri}=dn.builders,{hasNewline:ui,skipNewline:oi,skipSpaces:ai,isPreviousLineEmpty:ii,addLeadingComment:si,addDanglingComment:li,addTrailingComment:ci}=Lt,pi=Symbol("child-nodes");function di(e,t,n){if(!e)return;const{printer:r,locStart:u,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(u(n[t])<=u(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[pi])return e[pi];const a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return a?(n||Object.defineProperty(e,pi,{value:n=[],enumerable:!1}),a.forEach(e=>{di(e,t,n)}),n):void 0}function fi(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,l=n.locStart(o);for(s=r;s>0;--s){const r=e[s-1];Xa.strictEqual(r.precedingNode,u),Xa.strictEqual(r.followingNode,o);const a=t.slice(n.locEnd(r),l);if(!i.test(a))break;l=n.locStart(r)}e.forEach((e,t)=>{t<s?ci(u,e):si(o,e)});for(const e of[u,o])e.comments&&e.comments.length>1&&e.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function hi(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function mi(e,t,n){const r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0}function gi(e,t,n){return e.getNode()===t.cursorNode&&e.getValue()?Ya([ri,n,ri]):n}var Di={attach:function(e,t,n,r){if(!Array.isArray(e))return;const u=[],{locStart:o,locEnd:a}=r;e.forEach((i,s)=>{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(i)-o(t)<=0)return void si(t,i);if(a(i)-a(t)>=0)return void ci(t,i)}!function e(t,n,r){const{locStart:u,locEnd:o}=r,a=di(t,r);let i,s,l=0,c=a.length;for(;l<c;){const t=l+c>>1,p=a[t];if(u(p)-u(n)<=0&&o(n)-o(p)<=0)return n.enclosingNode=p,void e(p,n,r);if(o(p)-u(n)<=0)i=p,l=t+1;else{if(!(o(n)-u(p)<=0))throw new Error("Comment location overlaps with node location");s=p,c=t}}if(n.enclosingNode&&"TemplateLiteral"===n.enclosingNode.type){const{quasis:e}=n.enclosingNode,t=mi(e,n,r);i&&mi(e,i,r)!==t&&(i=null),s&&mi(e,s,r)!==t&&(s=null)}i&&(n.precedingNode=i),s&&(n.followingNode=s)}(t,i,r);const{precedingNode:l,enclosingNode:c,followingNode:p}=i,d=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,f=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,h=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===s;if(ui(n,o(i),{backwards:!0}))d(i,n,r,t,m)||(p?si(p,i):l?ci(l,i):li(c||t,i));else if(ui(n,a(i)))f(i,n,r,t,m)||(l?ci(l,i):p?si(p,i):li(c||t,i));else if(h(i,n,r,t,m));else if(l&&p){const e=u.length;if(e>0){u[e-1].followingNode!==i.followingNode&&fi(u,n,r)}u.push(i)}else l?ci(l,i):p?si(p,i):li(c||t,i)}),fi(u,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const u=e.getValue(),o=t(e),a=u&&u.comments;if(!a||0===a.length)return gi(e,n,o);const i=[],s=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:u}=t;if(r){const r=function(e,t){const n=e.getValue(),r=hi(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=ui(t.originalText,t.locEnd(n))?ui(t.originalText,t.locStart(n),{backwards:!0})?Qa:Ka:" ";return Ya([r,e])}return Ya([r,Qa])}(e,n);if(!r)return;i.push(r);const u=n.originalText,o=oi(u,ai(u,n.locEnd(t)));!1!==o&&ui(u,o)&&i.push(Qa)}else u&&s.push(function(e,t){const n=e.getValue(),r=hi(e,t);if(!r)return"";const{printer:u,originalText:o,locStart:a}=t,i=u.isBlockComment&&u.isBlockComment(n);if(ui(o,a(n),{backwards:!0})){const e=ii(o,n,a);return ti(Ya([Qa,e?Qa:"",r]))}let s=Ya([" ",r]);return i||(s=Ya([ti(s),Za])),s}(e,n))},"comments"),gi(e,n,Ya(i.concat(s)))},printDanglingComments:function(e,t,n,r){const u=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||u.push(hi(e,t))},"comments"),0===u.length?"":n?ni(Qa,u):ei(Ya([Qa,ni(Qa,u)]))):""},getSortedChildNodes:di,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function yi(e,t){const n=Ei(e.stack,t);return-1===n?null:e.stack[n]}function Ei(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Ci=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return he(this.stack)}getNode(e=0){return yi(this,e)}getParentNode(e=0){return yi(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let u=he(n);for(const e of t)u=u[e],n.push(e,u);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=Ei(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=he(n);for(const e of t)u=u[e],n.push(e,u);for(let t=0;t<u.length;++t)t in u&&(n.push(t,u[t]),e(this),n.length-=2);n.length=r}map(e,...t){const{stack:n}=this,{length:r}=n;let u=he(n);for(const e of t)u=u[e],n.push(e,u);const o=new Array(u.length);for(let t=0;t<u.length;++t)t in u&&(n.push(t,u[t]),o[t]=e(this,t),n.length-=2);return n.length=r,o}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 e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),u&&!u(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}};const{utils:{stripTrailingHardline:bi}}=dn,{normalize:Ai}=Ga;var vi={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,u)=>function(e,t,n,r,{stripTrailingHardline:u=!1}={}){const o=Ai(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=Va.parse(e,o),{ast:i}=a;e=a.text;const s=i.comments;delete i.comments,Di.attach(s,i,e,o),o[Symbol.for("comments")]=s||[],o[Symbol.for("tokens")]=i.tokens||[];const l=r(i,o);if(Di.ensureAllCommentsPrinted(s),u)return"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):bi(l,!0);return l}(e,t,n,r,u),n)}};const Fi=dn,xi=Fi.builders,{concat:Si,hardline:wi,addAlignmentToDoc:Bi}=xi,Ti=Fi.utils;function ki(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const u=new Map;let o=function e(n,o){const a=n.getValue(),i=a&&"object"==typeof a&&void 0===o;if(i&&u.has(a))return u.get(a);let s;return s=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?Ni(n,t,e,o):Di.printComments(n,n=>Ni(n,t,e,o),t,o&&o.needsSemi),i&&u.set(a,s),s}(new Ci(e));return n>0&&(o=Bi(Si([wi,o]),n,t.tabWidth)),Ti.propagateBreaks(o),o}function Ni(e,t,n,r){Xa.ok(e instanceof Ci);const u=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:u,locEnd:o}=t,a=u(e),i=o(e);for(const e of r)u(e)>=a&&o(e)<=i&&(e.printed=!0);return n.slice(a,i)}(u,t);if(u)try{const r=vi.printSubtree(e,n,t,ki);if(r)return r}catch(e){if(We.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var Oi=ki;function Pi(e,t,n,r,u=[]){if(!(t<n.locStart(e)||t>n.locEnd(e))){for(const o of Di.getSortedChildNodes(e,n)){const a=Pi(o,t,n,r,[e,...u]);if(a)return a}return!r||r(e)?{node:e,parentNodes:u}:void 0}}const _i=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ii=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function ji(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return _i.has(t.type);case"graphql":return Ii.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Mi={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),u=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const a=Pi(n,u,t,e=>ji(t,e)),i=Pi(n,o,t,e=>ji(t,e));if(!a||!i)return{rangeStart:0,rangeEnd:0};const{startNode:s,endNode:l}=function(e,t,n){let r=e.node,u=t.node;if(r===u)return{startNode:r,endNode:u};for(const r of t.parentNodes){if(!("Program"!==r.type&&"File"!==r.type&&n.locStart(r)>=n.locStart(e.node)))break;u=r}for(const u of e.parentNodes){if(!("Program"!==u.type&&"File"!==u.type&&n.locEnd(u)<=n.locEnd(t.node)))break;r=u}return{startNode:r,endNode:u}}(a,i,t);return{rangeStart:Math.min(t.locStart(s),t.locStart(l)),rangeEnd:Math.max(t.locEnd(s),t.locEnd(l))}},findNodeAtOffset:Pi},Li=Ue(K);const{printer:{printDocToString:Ri},debug:{printDocToDebug:qi}}=dn,{getAlignmentSize:Vi}=Lt,{guessEndOfLine:Wi,convertEndOfLineToChars:$i,countEndOfLineChars:Ui,normalizeEndOfLine:zi}=Rt,Ji=Ga.normalize,Gi=Symbol("cursor");function Hi(e,t,n){const r=t.comments;return r&&(delete t.comments,Di.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function Xi(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const r=Va.parse(e,t),{ast:u}=r;if(e=r.text,t.cursorOffset>=0){const e=Mi.findNodeAtOffset(u,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=Hi(e,u,t),a=Oi(u,t,n),i=Ri(a,t);if(Di.ensureAllCommentsPrinted(o),n>0){const e=i.formatted.trim();void 0!==i.cursorNodeStart&&(i.cursorNodeStart-=i.formatted.indexOf(e)),i.formatted=e+$i(t.endOfLine)}if(t.cursorOffset>=0){let n,r,u,o,a;if(t.cursorNode&&i.cursorNodeText?(n=t.locStart(t.cursorNode),r=e.slice(n,t.locEnd(t.cursorNode)),u=t.cursorOffset-n,o=i.cursorNodeStart,a=i.cursorNodeText):(n=0,r=e,u=t.cursorOffset,o=0,a=i.formatted),r===a)return{formatted:i.formatted,cursorOffset:o+u};const s=r.split("");s.splice(u,0,Gi);const l=a.split(""),c=Li.diffArrays(s,l);let p=o;for(const e of c)if(e.removed){if(e.value.includes(Gi))break}else p+=e.count;return{formatted:i.formatted,cursorOffset:p}}return{formatted:i.formatted,cursorOffset:-1}}function Yi(e,t){const n=Va.resolveParser(t),r="\ufeff"===e.charAt(0);let u=r?e.slice(1):e;const o=t.cursorOffset>=0;o||(t.cursorOffset=-1);const a=!n.hasPragma||n.hasPragma(u);if(t.requirePragma&&!a)return{formatted:e,cursorOffset:t.cursorOffset};"auto"===t.endOfLine&&(t.endOfLine=Wi(u));const i=t.rangeStart>0,s=t.rangeEnd<u.length;if(r&&(o&&t.cursorOffset--,i&&t.rangeStart--,s&&t.rangeEnd--),u.includes("\r")){const e=e=>Ui(u.slice(0,e),"\r\n");o&&(t.cursorOffset-=e(t.cursorOffset)),i&&(t.rangeStart-=e(t.rangeStart)),s&&(t.rangeEnd-=e(t.rangeEnd)),u=zi(u)}let l;return t.rangeStart<0&&(t.rangeStart=0),t.rangeEnd>u.length&&(t.rangeEnd=u.length),i||s?l=function(e,t){const n=Va.parse(e,t),{ast:r}=n;e=n.text;const{rangeStart:u,rangeEnd:o}=Mi.calculateRange(e,t,r),a=e.slice(u,o),i=Math.min(u,e.lastIndexOf("\n",u)+1),s=e.slice(i,u).match(/^\s*/)[0],l=Vi(s,t.tabWidth),c=Xi(a,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>u&&t.cursorOffset<o?t.cursorOffset-u:-1,endOfLine:"lf"}),l),p=c.formatted.trimEnd();let{cursorOffset:d}=t;d>=o?d=t.cursorOffset+(p.length-a.length):c.cursorOffset>=0&&(d=c.cursorOffset+u);let f=e.slice(0,u)+p+e.slice(o);if("lf"!==t.endOfLine){const e=$i(t.endOfLine);d>=0&&"\r\n"===e&&(d+=Ui(f.slice(0,d),"\n")),f=f.replace(/\n/g,e)}return{formatted:f,cursorOffset:d}}(u,t):(!a&&t.insertPragma&&t.printer.insertPragma&&(u=t.printer.insertPragma(u)),l=Xi(u,t)),r&&(l.formatted="\ufeff"+l.formatted,o&&l.cursorOffset>=0&&l.cursorOffset++),l}var Ki={formatWithCursor:(e,t)=>Yi(e,t=Ji(t)),parse(e,t,n){t=Ji(t),e=zi("\ufeff"===e.charAt(0)?e.slice(1):e);const r=Va.parse(e,t);return n&&(r.ast=Ha(r.ast,t)),r},formatAST(e,t){t=Ji(t);const n=Oi(e,t);return Ri(n,t)},formatDoc(e,t){t=Ji(Object.assign({},t,{parser:"babel"}));return Yi(qi(e),t).formatted},printToDoc(e,t){t=Ji(t);const n=Va.parse(e,t),{ast:r,text:u}=n;return Hi(u,r,t),Oi(r,t)},printDocToString:(e,t)=>Ri(e,Ji(t))};const{getMaxContinuousCount:Qi,getStringWidth:Zi,getAlignmentSize:es,getIndentSize:ts,skip:ns,skipWhitespace:rs,skipSpaces:us,skipNewline:os,skipToLineEnd:as,skipEverythingButNewLine:is,skipInlineComment:ss,skipTrailingComment:ls,hasNewline:cs,hasNewlineInRange:ps,hasSpaces:ds,isNextLineEmpty:fs,isNextLineEmptyAfterIndex:hs,isPreviousLineEmpty:ms,getNextNonSpaceNonCommentCharacterIndex:gs,makeString:Ds,addLeadingComment:ys,addDanglingComment:Es,addTrailingComment:Cs}=Lt;var bs={getMaxContinuousCount:Qi,getStringWidth:Zi,getAlignmentSize:es,getIndentSize:ts,skip:ns,skipWhitespace:rs,skipSpaces:us,skipNewline:os,skipToLineEnd:as,skipEverythingButNewLine:is,skipInlineComment:ss,skipTrailingComment:ls,hasNewline:cs,hasNewlineInRange:ps,hasSpaces:ds,isNextLineEmpty:fs,isNextLineEmptyAfterIndex:hs,isPreviousLineEmpty:ms,getNextNonSpaceNonCommentCharacterIndex:gs,makeString:Ds,addLeadingComment:ys,addDanglingComment:Es,addTrailingComment:Cs},As=function(t,n){const{languageId:r}=t,u=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},u,n(t))};const{getLast:vs,hasNewline:Fs,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:xs,getNextNonSpaceNonCommentCharacter:Ss,hasNewlineInRange:ws,isNodeIgnoreComment:Bs,addLeadingComment:Ts,addTrailingComment:ks,addDanglingComment:Ns,getNextNonSpaceNonCommentCharacterIndex:Os}=Lt;function Ps(e,t){const n=(e.body||e.properties).filter(e=>"EmptyStatement"!==e.type);0===n.length?Ns(e,t):Ts(n[0],t)}function _s(e,t){"BlockStatement"===e.type?Ps(e,t):Ts(e,t)}function Is(e,t,n,r,u,o){if(!n||"IfStatement"!==n.type||!r)return!1;return")"===Ss(e,u,o.locEnd)?(ks(t,u),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?ks(t,u):Ns(n,u),!0):"BlockStatement"===r.type?(Ps(r,u),!0):"IfStatement"===r.type?(_s(r.consequent,u),!0):n.consequent===r&&(Ts(r,u),!0)}function js(e,t,n,r,u,o){if(!n||"WhileStatement"!==n.type||!r)return!1;return")"===Ss(e,u,o.locEnd)?(ks(t,u),!0):"BlockStatement"===r.type&&(Ps(r,u),!0)}function Ms(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n)&&("CatchClause"===e.type&&t?(ks(t,r),!0):"BlockStatement"===n.type?(Ps(n,r),!0):"TryStatement"===n.type?(_s(n.finalizer,r),!0):"CatchClause"===n.type&&(_s(n.body,r),!0))}function Ls(e,t,n,r){if(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type||"DeclareClass"===e.type||"DeclareInterface"===e.type||"InterfaceDeclaration"===e.type||"TSInterfaceDeclaration"===e.type)){if(e.decorators&&e.decorators.length>0&&(!n||"Decorator"!==n.type))return ks(e.decorators[e.decorators.length-1],r),!0;if(e.body&&n===e.body)return Ps(e.body,r),!0;if(n)for(const u of["implements","extends","mixins"])if(e[u]&&n===e[u][0])return!t||t!==e.id&&t!==e.typeParameters&&t!==e.superClass?Ns(e,r,u):ks(t,r),!0}return!1}function Rs(e,t,n,r,u){return(t&&n&&("Property"===t.type||"TSDeclareMethod"===t.type||"TSAbstractMethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==Ss(e,n,u.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"TSDeclareMethod"!==t.type&&"MethodDefinition"!==t.type))&&(ks(n,r),!0)}function qs(e,t,n,r,u,o){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return ks(t,u),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&zs(n)&&")"===Ss(e,u,o.locEnd))return ks(t,u),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{if(0!==(n.params||n.parameters).length)return xs(e,o.locEnd(vs(n.params||n.parameters)));const t=xs(e,o.locEnd(n.id));return!1!==t&&xs(e,t+1)})();if(o.locStart(u)>t)return Ps(r,u),!0}return!1}function Vs(e,t){return!(!e||"ImportSpecifier"!==e.type)&&(Ts(e,t),!0)}function Ws(e,t){return!(!e||"LabeledStatement"!==e.type)&&(Ts(e,t),!0)}function $s(e,t,n,r){return t&&t.body&&0===t.body.length?(r?Ns(t,n):Ts(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length)&&(r?Ns(e,n):Ts(e,n),!0)}function Us(e){return"Block"===e.type||"CommentBlock"===e.type}function zs(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||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Js(e){return Us(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Gs={handleOwnLineComment:function(e,t,n,r,u){const{precedingNode:o,enclosingNode:a,followingNode:i}=e;return qs(t,o,a,i,e,n)||function(e,t,n){if(e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&t&&"Identifier"===t.type)return Ts(e,n),!0;return!1}(a,i,e)||Is(t,o,a,i,e,n)||js(t,o,a,i,e,n)||Ms(a,o,i,e)||Ls(a,o,i,e)||Vs(a,e)||function(e,t,n){if(e&&("ForInStatement"===e.type||"ForOfStatement"===e.type))return Ts(e,n),!0;return!1}(a,0,e)||function(e,t,n,r){if(t&&("UnionTypeAnnotation"===t.type||"TSUnionType"===t.type))return Bs(r)&&(n.prettierIgnore=!0,r.unignore=!0),!!e&&(ks(e,r),!0);n&&("UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)&&Bs(r)&&(n.types[0].prettierIgnore=!0,r.unignore=!0);return!1}(o,a,i,e)||$s(a,r,e,u)||function(e,t,n,r,u){if(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&Fs(e,u.locEnd(r)))return ks(n,r),!0;return!1}(t,a,o,e,n)||function(e,t){if(e&&"AssignmentPattern"===e.type)return Ts(e,t),!0;return!1}(a,e)||Rs(t,a,o,e,n)||Ws(a,e)},handleEndOfLineComment:function(e,t,n,r,u){const{precedingNode:o,enclosingNode:a,followingNode:i}=e;return function(e,t){if(e&&Js(t))return Ts(e,t),!0;return!1}(i,e)||qs(t,o,a,i,e,n)||function(e,t,n,r,u,o){const a=t&&!ws(u,o.locEnd(t),o.locStart(r));if((!t||!a)&&e&&("ConditionalExpression"===e.type||"TSConditionalType"===e.type)&&n)return Ts(n,r),!0;return!1}(a,o,i,e,t,n)||Vs(a,e)||Is(t,o,a,i,e,n)||js(t,o,a,i,e,n)||Ms(a,o,i,e)||Ls(a,o,i,e)||Ws(a,e)||function(e,t,n){if(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)return Ts(t.arguments[0],n),!0;return!1}(o,a,e)||function(e,t){if(e&&("Property"===e.type||"ObjectProperty"===e.type))return Ts(e,t),!0;return!1}(a,e)||$s(a,r,e,u)||function(e,t,n){if(e&&"TypeAlias"===e.type)return Ts(e,n),!0;return!1}(a,0,e)||function(e,t,n){if(e&&("VariableDeclarator"===e.type||"AssignmentExpression"===e.type)&&t&&("ObjectExpression"===t.type||"ArrayExpression"===t.type||"TemplateLiteral"===t.type||"TaggedTemplateExpression"===t.type||Us(n)))return Ts(t,n),!0;return!1}(a,i,e)},handleRemainingComment:function(e,t,n,r,u){const{precedingNode:o,enclosingNode:a,followingNode:i}=e;return!!(Is(t,o,a,i,e,n)||js(t,o,a,i,e,n)||function(e,t,n){if(e&&("ObjectProperty"===e.type||"Property"===e.type)&&e.shorthand&&e.key===t&&"AssignmentPattern"===e.value.type)return ks(e.value.left,n),!0;return!1}(a,o,e)||function(e,t,n,r){if(")"!==Ss(e,n,r.locEnd))return!1;if(t&&(zs(t)&&0===(t.params||t.parameters).length||("CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type)&&0===t.arguments.length))return Ns(t,n),!0;if(t&&"MethodDefinition"===t.type&&0===t.value.params.length)return Ns(t.value,n),!0;return!1}(t,a,e,n)||Rs(t,a,o,e,n)||$s(a,r,e,u)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const u=Os(e,n,r.locEnd);if(!1!==u&&"=>"===e.slice(u,u+2))return Ns(t,n),!0;return!1}(t,a,e,n)||function(e,t,n,r,u){if("("!==Ss(e,r,u.locEnd))return!1;if(n&&t&&("FunctionDeclaration"===t.type||"FunctionExpression"===t.type||"ClassMethod"===t.type||"MethodDefinition"===t.type||"ObjectMethod"===t.type))return ks(n,r),!0;return!1}(t,a,o,e,n)||function(e,t,n,r,u){if(!t||"TSMappedType"!==t.type)return!1;if(r&&"TSTypeParameter"===r.type&&r.name)return Ts(r.name,u),!0;if(n&&"TSTypeParameter"===n.type&&n.constraint)return ks(n.constraint,u),!0;return!1}(0,a,o,i,e)||function(e,t){if(e&&("ContinueStatement"===e.type||"BreakStatement"===e.type)&&!e.label)return ks(e,t),!0;return!1}(a,e)||function(e,t,n,r,u){if(!n&&t&&("TSMethodSignature"===t.type||"TSDeclareFunction"===t.type||"TSAbstractMethodDefinition"===t.type)&&";"===Ss(e,r,u.locEnd))return ks(t,r),!0;return!1}(t,a,i,e,n))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isBlockComment:Us,isTypeCastComment:Js,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===e.value.params.length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}};const{builders:{indent:Hs,join:Xs,line:Ys,hardline:Ks,softline:Qs,literalline:Zs,concat:el,group:tl,dedentToRoot:nl},utils:{mapDoc:rl,replaceNewlinesWithLiterallines:ul}}=dn,{isBlockComment:ol,hasLeadingComment:al}=Gs;function il(e){return e.replace(/([\\`]|\${)/g,"\\$1")}function sl(e,t){return rl(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):il(e):e);return Object.assign({},e,{parts:n})})}function ll(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,u)=>{""!==e&&(""===u[r-1]&&n?t.push(el([Ks,e])):t.push(e),n=!0)}),0===t.length?null:Xs(Ks,t)}function cl(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function pl(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...dl)}const dl=[(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 fl(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return ml(n.object)||gl(n);case"CallExpression":return ml(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(ml(n.callee.object.object)||gl(n.callee.object))||"CallExpression"===n.callee.object.type&&ml(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function hl(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function ml(e){return"Identifier"===e.type&&"styled"===e.name}function gl(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Dl(e,t){return al(e,e=>ol(e)&&e.value===" ".concat(t," "))}let yl=0;var El=function(e,t,n,r){const u=e.getValue(),o=e.getParentNode(),a=e.getParentNode(1);switch(u.type){case"TemplateLiteral":{if([cl,fl,hl,pl].some(t=>t(e))){const r=u.quasis.map(e=>e.value.raw);let o=0;const a=r.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,"");return function(e,t,n){const r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";const u=r.expressions?t.map(n,"expressions"):[],o=function(e,t){if(!t||!t.length)return e;let n=0;const r=rl(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const u=r.indexOf("@"),o=u+1;if(u>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[u],t=r[o],n=r.slice(o+1);r=r.slice(0,u).concat([e+t]).concat(n)}const a=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(a.push("${",t[e],"}"),n++):a.push(ul(e))}):a.push(e)}),Object.assign({},e,{parts:a})});return t.length===n?r:null}(e,u);if(!o)throw new Error("Couldn't insert all the expressions");return el(["`",Hs(el([Ks,o])),Qs,"`"])}(n(a,{parser:"scss"},{stripTrailingHardline:!0}),e,t)}if(function(e){const t=e.getValue(),n=e.getParentNode();return Dl(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){const r=u.expressions?e.map(t,"expressions"):[],o=u.quasis.length;if(1===o&&""===u.quasis[0].value.raw.trim())return"``";const a=[];for(let e=0;e<o;e++){const t=0===e,i=e===o-1,s=u.quasis[e].value.cooked;if("string"!=typeof s)return null;const l=s.split("\n"),c=l.length,p=r[e],d=c>2&&""===l[0].trim()&&""===l[1].trim(),f=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),h=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!i&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=h?ll(l):n(s,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=sl(m,!1),!t&&d&&a.push(""),a.push(m),!i&&f&&a.push("")):t||i||!d||a.push(""),p&&a.push(el(["${",p,"}"]))}return el(["`",Hs(el([Ks,Xs(Ks,a)])),Ks,"`"])}const o=function(e){return Dl(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...dl)}(e)?"angular":void 0;if(o)return function(e,t,n,r,u){const o=e.getValue(),a=yl;yl=yl+1>>>0;const i=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(a,"_IN_JS"),s=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+i(t)).join(""),l=e.map(t,"expressions");if(0===l.length&&0===s.trim().length)return"``";const c=new RegExp(i("(\\d+)"),"g");let p=0;const d=rl(n(s,{parser:r,__onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let e=0;e<n.length;e++){let r=n[e];if(e%2==0){r&&(r=il(r),u.embeddedInHtml&&(r=r.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(r));continue}const o=+r;t.push(el(["${",tl(l[o]),"}"]))}return el(t)}),f=/^\s/.test(s)?" ":"",h=/\s$/.test(s)?" ":"",m="ignore"===u.htmlWhitespaceSensitivity?Ks:f&&h?Ys:null;if(m)return tl(el(["`",Hs(el([m,tl(d)])),m,"`"]));return tl(el(["`",f,p>1?Hs(tl(d)):tl(d),h,"`"]))}(e,t,n,o,r);break}case"TemplateElement":if(a&&"TaggedTemplateExpression"===a.type&&1===o.quasis.length&&"Identifier"===a.tag.type&&("md"===a.tag.name||"markdown"===a.tag.name)){const e=o.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),t=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(e);return el([""!==t?Hs(el([Qs,i(e.replace(new RegExp("^".concat(t),"gm"),""))])):el([Zs,nl(i(e))]),Qs])}}function i(e){return sl(n(e,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0)}};var Cl=function(e,t,n){if(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"].forEach(e=>{delete t[e]}),"Program"===e.type&&delete t.sourceType,"BigIntLiteral"===e.type&&(t.value&&(t.value=t.value.toLowerCase()),t.bigint&&(t.bigint=t.bigint.toLowerCase())),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)){t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value)}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type){(e.leadingComments&&e.leadingComments.some(e=>"CommentBlock"===e.type&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})}"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())};const bl=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var Al=bl;Al.graceful=e=>"string"==typeof e&&bl(e)||"\n";var vl=$e((function(e,t){function n(){const e=Rr;return n=function(){return e},e}function r(){const e=(t=Al)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(a);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(a);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return f(e).pragmas},t.parseWithComments=f,t.print=function({comments:e="",pragmas:t={}}){const u=(0,r().default)(e)||n().EOL,o=Object.keys(t),a=o.map(e=>h(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+u).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){const e=t[o[0]];return"".concat("/**"," ").concat(h(o[0],e)[0]).concat(" */")}}const i=e.split(u).map(e=>"".concat(" *"," ").concat(e)).join(u)+u;return"/**"+u+(e?i:"")+(e&&o.length?" *"+u:"")+a+" */"};const u=/\*\/$/,o=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,i=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,d=[];function f(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(u,"").replace(p,"$1");let a="";for(;a!==e;)a=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(s,"").trimRight();const f=Object.create(null),h=e.replace(c,"").replace(s,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(i,"");"string"==typeof f[m[1]]||Array.isArray(f[m[1]])?f[m[1]]=d.concat(f[m[1]],e):f[m[1]]=e}return{comments:h,pragmas:f}}function h(e,t){return d.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:Fl,strip:xl,extract:Sl,print:wl}=vl,{getShebang:Bl}=Lt,{normalizeEndOfLine:Tl}=Rt;function kl(e){const t=Bl(e);t&&(e=e.slice(t.length+1));const n=Sl(e),{pragmas:r,comments:u}=Fl(n);return{shebang:t,text:e,pragmas:r,comments:u}}var Nl={hasPragma:function(e){const t=Object.keys(kl(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:u}=kl(e),o=xl(n),a=wl({pragmas:Object.assign({format:""},r),comments:u.trimStart()});return(t?"".concat(t,"\n"):"")+Tl(a)+(o.startsWith("\n")?"\n":"\n\n")+o}},Ol=$e((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Pl=$e((function(e){!function(){var t,n,r,u,o,a;function i(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],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(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierStart.test(i(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(i(e))},isIdentifierStartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierStart.test(i(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(i(e))}}}()})),_l=$e((function(e){!function(){var t=Pl;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e){var n,r,u;if(0===e.length)return!1;if(u=e.charCodeAt(0),!t.isIdentifierStartES5(u))return!1;for(n=1,r=e.length;n<r;++n)if(u=e.charCodeAt(n),!t.isIdentifierPartES5(u))return!1;return!0}function i(e){var n,r,u,o,a;if(0===e.length)return!1;for(a=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(u=e.charCodeAt(n))&&u<=56319){if(++n>=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;u=1024*(u-55296)+(o-56320)+65536}if(!a(u))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:i,isIdentifierES5:function(e,t){return a(e)&&!u(e,t)},isIdentifierES6:function(e,t){return i(e)&&!o(e,t)}}}()}));const Il=$e((function(e,t){t.ast=Ol,t.code=Pl,t.keyword=_l})).keyword.isIdentifierNameES5,{getLast:jl,hasNewline:Ml,hasNewlineInRange:Ll,hasIgnoreComment:Rl,hasNodeIgnoreComment:ql,skipWhitespace:Vl}=Lt,Wl=new RegExp("^".concat("(?:(?=.)\\s)","*:")),$l=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function Ul(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>Ul(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>Ul(e[n],t))}function zl(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}const Jl=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Gl(e){return e&&Jl.has(e.type)}function Hl(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Xl(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Yl(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Kl(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Ql(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function Zl(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function ec(e){return"get"===e.kind||"set"===e.kind}function tc(e,t,n){return n.locStart(e)===n.locStart(t)}function nc(e,t){return ec(e)||tc(e,e.value,t)}const rc=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const uc=new Set(["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"]);const oc=/^(skip|[fx]?(it|describe|test))$/;function ac(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const ic=new RegExp("([ \n\r\t]+)"),sc=new RegExp("[^ \n\r\t]");function lc(e){return Hl(e)&&(sc.test(fc(e))||!/\n/.test(fc(e)))}function cc(e,t,n){if(Zl(t))return ql(t);return t.comments&&t.comments.some(t=>t.leading&&Ml(e,n.locEnd(t)))}function pc(e){return/^(\d+|\d+\.\d+)$/.test(e)}function dc(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function fc(e){return e.extra?e.extra.raw:e.raw}const hc={"==":!0,"!=":!0,"===":!0,"!==":!0},mc={"*":!0,"/":!0,"%":!0},gc={">>":!0,">>>":!0,"<<":!0};const Dc={};function yc(e){return Dc[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{Dc[e]=t})});var Ec={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFlowVariance:function(e){if(!e.variance)return null;const t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},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()&&Gl(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&$l.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Wl.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:cc,hasNakedLeftSide:zl,hasNewlineBetweenOrAfterDecorators:function(e,t){return Ll(t.originalText,t.locStart(e.decorators[0]),t.locEnd(jl(e.decorators)))||Ml(t.originalText,t.locEnd(jl(e.decorators)))},hasNgSideEffect:function(e){return Ul(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:Ul,hasPrettierIgnore:function(e){return Rl(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Zl(t)&&Zl(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||lc(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>"prettier-ignore"===e.value.trim())}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Gs.isBlockComment(e))},identity:function(e){return e},isBinaryish:function(e){return rc.has(e.type)},isCallOrOptionalCallExpression:ac,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Hl(t)&&!lc(t)},isExportDeclaration:Gl,isFlowAnnotationComment:function(e,t,n){const r=n.locStart(t),u=Vl(e,n.locEnd(t));return!1!==u&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(u,u+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(Kl(n)){if(t+=1,t>1)return!0}else if(ac(n))for(const e of n.arguments)if(Kl(e))return!0;return!1},isFunctionNotation:nc,isFunctionOrArrowExpression:Kl,isGetterOrSetter:ec,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:Zl,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Hl(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Hl,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return ac(t)&&ac(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),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||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:lc,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Xl,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||nc(e,t))},isSimpleFlowType:function(e){return e&&uc.has(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleNumber:pc,isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:Yl,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&Yl(e.key)&&fc(e.key).slice(1,-1)===e.key.value&&(Il(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||pc(e.key.value)&&String(Number(e.key.value))===e.key.value&&"babel"===t.parser)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&dc(e)||"TaggedTemplateExpression"===e.type&&dc(e.quasi))&&!Ml(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Ql(t)&&n&&e(n))return Kl(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return Ql(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&oc.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&oc.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Yl(t.arguments[0])))return!(t.arguments[2]&&!Xl(t.arguments[2]))&&((2===t.arguments.length?Kl(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||Ql(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||!Zl(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,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||tc(e,e.typeAnnotation,t))},matchJsxWhitespaceRegex:ic,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=jl(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Gs.isBlockComment(t)},rawText:fc,returnArgumentHasLeadingComment:function(e,t){if(cc(e.originalText,t,e))return!0;if(zl(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,cc(e.originalText,u,e))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!!gc[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return yc(t)===yc(e)&&("**"!==e&&((!hc[e]||!hc[t])&&(!("%"===t&&mc[e]||"%"===e&&mc[t])&&((t===e||!mc[t]||!mc[e])&&(!gc[e]||!gc[t])))))},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:yc};const{getLeftSidePathName:Cc,hasFlowShorthandAnnotationComment:bc,hasNakedLeftSide:Ac,hasNode:vc,isBitwiseOperator:Fc,startsWithNoLookaheadToken:xc,shouldFlatten:Sc,getPrecedence:wc}=Ec;function Bc(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),u=e.getNode();if(e.getValue()!==u)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(u)&&Tc(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(u))return!1;if("flow"!==t.parser&&bc(e.getValue()))return!0;if("Identifier"===u.type)return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name));if("ParenthesizedExpression"===n.type)return!1;if(!("ClassDeclaration"!==n.type&&"ClassExpression"!==n.type||n.superClass!==u||"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))return!0;if("ExportDefaultDeclaration"===n.type)return function e(t,n){const r=t.getValue(),u=t.getParentNode();if("FunctionExpression"===r.type||"ClassExpression"===r.type)return"ExportDefaultDeclaration"===u.type||!Bc(t,n);if(!Ac(r)||"ExportDefaultDeclaration"!==u.type&&Bc(t,n))return!1;return t.call(t=>e(t,n),...Cc(t,r))}(e,t)||"SequenceExpression"===u.type;if("Decorator"===n.type&&n.expression===u){let e=!1,t=!1,n=u;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===n.type&&n.body===u&&"SequenceExpression"!==u.type&&xc(u,!1)||"ExpressionStatement"===n.type&&xc(u,!0))return!0;switch(u.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===n.type&&"object"===r&&n.object===u;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"**"===n.operator&&"left"===r;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===u.operator)return!0;const t=t=>{let n=0;for(;t;){const r=e.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===t)return!0;t=r}return!1};if("in"===u.operator&&t(u))return!0;if("|>"===u.operator&&u.extra&&u.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===u.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r&&n.superClass===u;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return n.left===u&&("TSTypeAssertion"===u.type||"TSAsExpression"===u.type);case"LogicalExpression":if("LogicalExpression"===u.type)return n.operator!==u.operator;case"BinaryExpression":{if(!u.operator&&"TSTypeAssertion"!==u.type)return!0;const e=n.operator,t=wc(e),o=u.operator,a=wc(o);return t>a||(t===a&&"right"===r?(Xa.strictEqual(n.right,u),!0):t===a&&!Sc(e,o)||(t<a&&"%"===o?"+"===e||"-"===e:!!Fc(e)))}default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return n.test===u;case"BinaryExpression":return!(!u.argument&&"|>"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("TSConditionalType"===n.type&&u===n.extendsType)return!0;case"TSFunctionType":case"TSConstructorType":if("TSConditionalType"===n.type&&u===n.checkType)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)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||"TSIndexedAccessType"===n.type&&u===n.objectType||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&u.params&&u.params.some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof u.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"MemberExpression"===n.type&&"number"==typeof u.value&&"object"===r&&n.object===u;case"AssignmentExpression":{const t=e.getParentNode(1);return"ArrowFunctionExpression"===n.type&&n.body===u||("ClassProperty"!==n.type||n.key!==u||!n.computed)&&(("TSPropertySignature"!==n.type||n.name!==u)&&(("ForStatement"!==n.type||n.init!==u&&n.update!==u)&&("ExpressionStatement"===n.type?"ObjectPattern"===u.left.type:("TSPropertySignature"!==n.type||n.key!==u)&&("AssignmentExpression"!==n.type&&(("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&(("Property"!==n.type||n.value!==u)&&"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&&n.test===u;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!(!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"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&&n.callee===u;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("MemberExpression"===n.type&&"object"===r||("CallExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r){let e=u;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||("MemberExpression"===n.type||"OptionalMemberExpression"===n.type)&&"object"===r;case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||u.extra&&u.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===u||"NGPipeExpression"===n.type&&"right"===r||"MemberExpression"===n.type&&"property"===r||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"BinaryExpression"===n.type&&"<"===n.operator&&"left"===r||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return vc(e,e=>"ObjectTypeAnnotation"===e.type&&vc(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(u)}return!1}function Tc(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(Tc);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Tc);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Tc);break;case"UnaryExpression":if(n.prefix)return e.callParent(Tc)}return!1}var kc=Bc;const{builders:{concat:Nc,join:Oc,line:Pc}}=dn;var _c={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const{params:t}=e.getValue();return Nc([t.length>1?"(":"",Oc(Nc([",",Pc]),e.map(n,"params")),t.length>1?")":""])},"program","body",0):t.__isVueSlotScope?e.call(e=>Oc(Nc([",",Pc]),e.map(n,"params")),"program","body",0):void 0}};var Ic=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{getLast:jc,getPenultimate:Mc,isNextLineEmpty:Lc}=Lt,{hasLeadingComment:Rc,hasTrailingComment:qc,isFunctionCompositionArgs:Vc,isJSXNode:Wc,isLongCurriedCallExpression:$c,shouldPrintComma:Uc}=Ec,{builders:{concat:zc,line:Jc,hardline:Gc,softline:Hc,group:Xc,indent:Yc,conditionalGroup:Kc,ifBreak:Qc,breakParent:Zc},utils:{willBreak:ep}}=dn;function tp(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&tp(e.expression)||"TSAsExpression"===e.type&&tp(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||Wc(e.body))}var np=function(e,t,n){const r=e.getValue(),u="ImportExpression"===r.type,o=u?[r.source]:r.arguments;if(0===o.length)return zc(["(",Di.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===o[0].params.length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return zc(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let a=!1,i=!1,s=!1;const l=o.length-1,c=(e,r)=>{const u=e.getNode(),o=[n(e)];return r===l||(Lc(t.originalText,u,t.locEnd)?(0===r&&(s=!0),a=!0,o.push(",",Gc,Gc)):o.push(",",Jc)),i=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;let r=!1;return t.each(e=>{const t=zc([n(e)]);r=r||ep(t)},"params"),r}(u,e),zc(o)},p=u?[e.call(e=>c(e,0),"source")]:e.map(c,"arguments"),d=u||r.callee&&"Import"===r.callee.type||!Uc(t,"all")?"":",";function f(){return Xc(zc(["(",Yc(zc([Jc,zc(p)])),d,Jc,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&Vc(o))return f();const h=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||tp(n))}(o),m=function(e){const t=jc(e),n=Mc(e);return!Rc(t)&&!qc(t)&&tp(t)&&(!n||n.type!==t.type)}(o);if(h||m){const t=(h?p.slice(1).some(ep):p.slice(0,-1).some(ep))||a||i;let l=[],c=0;const d=e=>{h&&0===c&&(l=[zc([e.call(e=>n(e,{expandFirstArg:!0})),p.length>1?",":"",s?Gc:Jc,s?Gc:""])].concat(p.slice(1))),m&&c===o.length-1&&(l=p.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0})))),c++};u?e.call(d,"source"):e.each(d,"arguments");const g=p.some(ep),D=zc(["(",zc(l),")"]);return zc([g?Zc:"",Kc([g||r.typeArguments||r.typeParameters?Qc(f(),D):D,zc(h?["(",Xc(l[0],{shouldBreak:!0}),zc(l.slice(1)),")"]:["(",zc(p.slice(0,-1)),Xc(jc(l),{shouldBreak:!0}),")"]),f()],{shouldBreak:t})])}const g=zc(["(",Yc(zc([Hc,zc(p)])),Qc(d),Hc,")"]);return $c(e)?g:Xc(g,{shouldBreak:p.some(ep)||a})};const{isNumericLiteral:rp}=Ec,{builders:{concat:up,softline:op,group:ap,indent:ip}}=dn;function sp(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}var lp={printOptionalToken:sp,printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printMemberLookup:function(e,t,n){const r=e.call(n,"property"),u=e.getValue(),o=sp(e);return u.computed?!u.property||rp(u.property)?up([o,"[",r,"]"]):ap(up([o,"[",ip(up([op,r])),op,"]"])):up([o,".",r])},printBindExpressionCallee:function(e,t,n){return up(["::",e.call(n,"callee")])}};const{getLast:cp,isNextLineEmpty:pp,isNextLineEmptyAfterIndex:dp,getNextNonSpaceNonCommentCharacterIndex:fp}=Lt,{hasLeadingComment:hp,hasTrailingComment:mp,isCallOrOptionalCallExpression:gp,isFunctionOrArrowExpression:Dp,isLongCurriedCallExpression:yp,isMemberish:Ep,isNumericLiteral:Cp,isSimpleCallArgument:bp}=Ec,{builders:{concat:Ap,join:vp,hardline:Fp,group:xp,indent:Sp,conditionalGroup:wp,breakParent:Bp},utils:{willBreak:Tp}}=dn,{printOptionalToken:kp,printFunctionTypeParameters:Np,printMemberLookup:Op,printBindExpressionCallee:Pp}=lp;var _p=function(e,t,n){const r=e.getParentNode(),u=!r||"ExpressionStatement"===r.type,o=[];function a(e){const{originalText:n}=t,r=fp(n,e,t.locEnd);return")"===n.charAt(r)?!1!==r&&dp(n,r+1):pp(n,e,t.locEnd)}const i=e.getValue();o.unshift({node:i,printed:Ap([kp(e),Np(e,t,n),np(e,t,n)])}),i.callee&&e.call(e=>function e(r){const u=r.getValue();gp(u)&&(Ep(u.callee)||gp(u.callee))?(o.unshift({node:u,printed:Ap([Di.printComments(r,()=>Ap([kp(r),Np(r,t,n),np(r,t,n)]),t),a(u)?Fp:""])}),r.call(t=>e(t),"callee")):Ep(u)?(o.unshift({node:u,needsParens:kc(r,t),printed:Di.printComments(r,()=>"OptionalMemberExpression"===u.type||"MemberExpression"===u.type?Op(r,t,n):Pp(r,t,n),t)}),r.call(t=>e(t),"object")):"TSNonNullExpression"===u.type?(o.unshift({node:u,printed:Di.printComments(r,()=>"!",t)}),r.call(t=>e(t),"expression")):o.unshift({node:u,printed:r.call(n)})}(e),"callee");const s=[];let l=[o[0]],c=1;for(;c<o.length&&("TSNonNullExpression"===o[c].node.type||gp(o[c].node)||("MemberExpression"===o[c].node.type||"OptionalMemberExpression"===o[c].node.type)&&o[c].node.computed&&Cp(o[c].node.property));++c)l.push(o[c]);if(!gp(o[0].node))for(;c+1<o.length&&(Ep(o[c].node)&&Ep(o[c+1].node));++c)l.push(o[c]);s.push(l),l=[];let p=!1;for(;c<o.length;++c){if(p&&Ep(o[c].node)){if(o[c].node.computed&&Cp(o[c].node.property)){l.push(o[c]);continue}s.push(l),l=[],p=!1}(gp(o[c].node)||"ImportExpression"===o[c].node.type)&&(p=!0),l.push(o[c]),o[c].node.comments&&o[c].node.comments.some(e=>e.trailing)&&(s.push(l),l=[],p=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}l.length>0&&s.push(l);const f=s.length>=2&&!s[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||u&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=cp(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(s);function h(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?Ap(["(",...t,")"]):Ap(t)}const m=s.map(h),g=Ap(m),D=f?3:2,y=Go(s),E=y.slice(1,-1).some(e=>hp(e.node))||y.slice(0,-1).some(e=>mp(e.node))||s[D]&&hp(s[D][0].node);if(s.length<=D&&!E)return yp(e)?g:xp(g);const C=cp(s[f?1:0]).node,b=!gp(C)&&a(C),A=Ap([h(s[0]),f?Ap(s.slice(1,2).map(h)):"",b?Fp:"",function(e){return 0===e.length?"":Sp(xp(Ap([Fp,vp(Fp,e.map(h))])))}(s.slice(f?2:1))]),v=o.map(({node:e})=>e).filter(gp);return E||v.length>2&&v.some(e=>!e.arguments.every(e=>bp(e,0)))||m.slice(0,-1).some(Tp)||function(){const e=cp(cp(s)).node,t=cp(m);return gp(e)&&Tp(t)&&v.slice(0,-1).some(e=>e.arguments.some(Dp))}()?xp(A):Ap([Tp(g)||b?Bp:"",wp([g,A])])};const{builders:{concat:Ip,softline:jp,group:Mp,indent:Lp,join:Rp,line:qp,ifBreak:Vp}}=dn,{shouldPrintComma:Wp}=Ec;var $p={printModuleSource:function(e,t,n){return e.getValue().source?Ip([" from ",e.call(n,"source")]):""},printModuleSpecifiers:function(e,t,n){const r=e.getValue(),u=["ImportDeclaration"===r.type?" ":""];if(r.specifiers&&r.specifiers.length>0){const o=[],a=[];if(e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));a.push(n(t))}},"specifiers"),u.push(Rp(", ",o)),0!==a.length){0!==o.length&&u.push(", ");a.length>1||o.length>0||r.specifiers.some(e=>e.comments)?u.push(Mp(Ip(["{",Lp(Ip([t.bracketSpacing?qp:jp,Rp(Ip([",",qp]),a)])),Vp(Wp(t)?",":""),t.bracketSpacing?qp:jp,"}"]))):u.push(Ip(["{",t.bracketSpacing?" ":"",Ip(a),t.bracketSpacing?" ":"","}"]))}}else u.push("{}");return Ip(u)}};const{isJSXNode:Up}=Ec,{hasNewlineInRange:zp}=Lt,{builders:{concat:Jp,line:Gp,softline:Hp,group:Xp,indent:Yp,align:Kp,ifBreak:Qp,dedent:Zp,breakParent:ed}}=dn;var td=function(e,t,n,r){const u=e.getValue(),o=u[r.consequentNodePropertyName],a=u[r.alternateNodePropertyName],i=[];let s=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>l[e]===u);let p,d,f=l.type===r.conditionalNodeType&&!c,h=0;do{d=p||u,p=e.getParentNode(h),h++}while(p&&p.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>p[e]!==d));const m=p||l,g=d;if(r.shouldCheckJsx&&(Up(u[r.testNodePropertyNames[0]])||Up(o)||Up(a)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(Up)}(g))){s=!0,f=!0;const t=e=>Jp([Qp("(",""),Yp(Jp([Hp,e])),Hp,Qp(")","")]),u=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;i.push(" ? ",u(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",a.type===r.conditionalNodeType||u(a)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const s=Jp([Gp,"? ",o.type===r.conditionalNodeType?Qp("","("):"",Kp(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Qp("",")"):"",Gp,": ",a.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):Kp(2,e.call(n,r.alternateNodePropertyName))]);i.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===u||c?s:t.useTabs?Zp(Yp(s)):Kp(Math.max(0,t.tabWidth-2),s))}const D=Go([...r.testNodePropertyNames.map(e=>u[e].comments),o.comments,a.comments]).filter(Boolean).some(e=>Gs.isBlockComment(e)&&zp(t.originalText,t.locStart(e),t.locEnd(e))),y=!s&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===u)&&!l.computed,E=(e=>l===m?Xp(e,{shouldBreak:D}):D?Jp([e,ed]):e)(Jp([].concat((C=Jp(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===u?Kp(2,C):C),f?Jp(i):Yp(Jp(i)),r.afterParts(y))));var C;return c?Xp(Jp([Yp(Jp([Hp,E])),Hp])):E};const{getNextNonSpaceNonCommentCharacter:nd,hasNewline:rd,hasNewlineInRange:ud,getLast:od,getStringWidth:ad,printString:id,printNumber:sd,hasIgnoreComment:ld,hasNodeIgnoreComment:cd,getIndentSize:pd,getPreferredQuote:dd}=Lt,{isNextLineEmpty:fd,getNextNonSpaceNonCommentCharacterIndex:hd}=bs,{builders:{concat:md,join:gd,line:Dd,hardline:yd,softline:Ed,literalline:Cd,group:bd,indent:Ad,align:vd,conditionalGroup:Fd,fill:xd,ifBreak:Sd,lineSuffixBoundary:wd,addAlignmentToDoc:Bd},utils:{willBreak:Td,isLineNext:kd,isEmpty:Nd,removeLines:Od,normalizeParts:Pd},printer:{printDocToString:_d}}=dn,{insertPragma:Id}=Nl,{printHtmlBinding:jd,isVueEventBindingExpression:Md}=_c,{classChildNeedsASIProtection:Ld,classPropMayCauseASIProblems:Rd,getFlowVariance:qd,getLeftSidePathName:Vd,getParentExportDeclaration:Wd,getTypeScriptMappedTypeModifier:$d,hasDanglingComments:Ud,hasFlowAnnotationComment:zd,hasFlowShorthandAnnotationComment:Jd,hasLeadingOwnLineComment:Gd,hasNakedLeftSide:Hd,hasNewlineBetweenOrAfterDecorators:Xd,hasNgSideEffect:Yd,hasPrettierIgnore:Kd,hasTrailingComment:Qd,hasTrailingLineComment:Zd,identity:ef,isBinaryish:tf,isCallOrOptionalCallExpression:nf,isEmptyJSXElement:rf,isExportDeclaration:uf,isFlowAnnotationComment:of,isFunctionNotation:af,isGetterOrSetter:sf,isJestEachTemplateLiteral:lf,isJSXNode:cf,isJSXWhitespaceExpression:pf,isLastStatement:df,isLiteral:ff,isMeaningfulJSXText:hf,isMemberExpressionChain:mf,isMemberish:gf,isNgForOf:Df,isNumericLiteral:yf,isObjectType:Ef,isObjectTypePropertyAFunction:Cf,isSimpleFlowType:bf,isSimpleNumber:Af,isSimpleTemplateLiteral:vf,isStringLiteral:Ff,isStringPropSafeToUnquote:xf,isTemplateOnItsOwnLine:Sf,isTestCall:wf,isTheOnlyJSXElementInMarkdown:Bf,isTSXFile:Tf,isTypeAnnotationAFunction:kf,matchJsxWhitespaceRegex:Nf,needsHardlineAfterDanglingComment:Of,rawText:Pf,returnArgumentHasLeadingComment:_f,shouldPrintComma:If,shouldFlatten:jf,startsWithNoLookaheadToken:Mf}=Ec,{printOptionalToken:Lf,printFunctionTypeParameters:Rf,printMemberLookup:qf,printBindExpressionCallee:Vf}=lp,{printModuleSource:Wf,printModuleSpecifiers:$f}=$p,Uf=new WeakMap;let zf=0;function Jf(e,t,n){const r=e.getValue();return bd(md([gd(Dd,e.map(n,"decorators")),Xd(r,t)?yd:Dd]))}function Gf(e,t,n){const r=[],u=e.getNode(),o="ClassBody"===u.type;return e.map((e,a)=>{const i=e.getValue();if(!i)return;if("EmptyStatement"===i.type)return;const s=n(e),l=t.originalText,c=[];if(t.semi||o||Bf(t,e)||!function(e,t){if("ExpressionStatement"!==e.getNode().type)return!1;return e.call(e=>function e(t,n){const r=t.getValue();if(kc(t,n)||"ParenthesizedExpression"===r.type||"TypeCastExpression"===r.type||"ArrowFunctionExpression"===r.type&&!Zf(t,n)||"ArrayExpression"===r.type||"ArrayPattern"===r.type||"UnaryExpression"===r.type&&r.prefix&&("+"===r.operator||"-"===r.operator)||"TemplateLiteral"===r.type||"TemplateElement"===r.type||cf(r)||"BindExpression"===r.type&&!r.object||"RegExpLiteral"===r.type||"Literal"===r.type&&r.pattern||"Literal"===r.type&&r.regex)return!0;if(!Hd(r))return!1;return t.call(t=>e(t,n),...Vd(t,r))}(e,t),"expression")}(e,t)?c.push(s):i.comments&&i.comments.some(e=>e.leading)?c.push(n(e,{needsSemi:!0})):c.push(";",s),!t.semi&&o)if(Rd(e))c.push(";");else if("ClassProperty"===i.type){const e=u.body[a+1];Ld(e)&&c.push(";")}fd(l,i,t.locEnd)&&!df(e)&&c.push(yd),r.push(md(c))}),gd(yd,r)}function Hf(e,t,n){const r=e.getNode();if(r.computed)return md(["[",e.call(n,"key"),"]"]);const u=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return md(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!Uf.has(u)){const e=(u.properties||u.body||u.members).some(e=>!e.computed&&e.key&&Ff(e.key)&&!xf(e,t));Uf.set(u,e)}if(("Identifier"===o.type||yf(o)&&Af(sd(Pf(o)))&&String(o.value)===sd(Pf(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&Uf.get(u))){const n=id(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>Di.printComments(e,()=>n,t),"key")}return xf(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Uf.get(u))?e.call(e=>Di.printComments(e,()=>/^\d/.test(o.value)?sd(o.value):o.value,t),"key"):e.call(n,"key")}function Xf(e,t,n){const r=e.getNode(),{kind:u}=r,o=r.value||r,a=[];return u&&"init"!==u&&"method"!==u&&"constructor"!==u?(Xa.ok("get"===u||"set"===u),a.push(u," ")):(o.async&&a.push("async "),o.generator&&a.push("*")),a.push(Hf(e,t,n),r.optional||r.key.optional?"?":"",r===o?Yf(e,t,n):e.call(e=>Yf(e,t,n),"value")),md(a)}function Yf(e,t,n){const r=[Rf(e,t,n),bd(md([Qf(e,n,t),th(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),md(r)}function Kf(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 of(t.originalText,r.typeAnnotation,t)?md([" /*: ",e.call(n,"typeAnnotation")," */"]):md([a?"":o?"!: ":": ",e.call(n,"typeAnnotation")])}function Qf(e,t,n,r,u){const o=e.getValue(),a=e.getParentNode(),i=o.parameters?"parameters":"params",s=wf(a),l=yh(o),c=r&&!(o[i]&&o[i].some(e=>e.comments)),p=u?Rf(e,n,t):"";let d=[];if(o[i]){const r=o[i].length-1;d=e.map((e,u)=>{const a=[],i=e.getValue();return a.push(t(e)),u===r?o.rest&&a.push(",",Dd):s||l||c?a.push(", "):fd(n.originalText,i,n.locEnd)?a.push(",",yd,yd):a.push(",",Dd),md(a)},i)}if(o.rest&&d.push(md(["...",e.call(t,"rest")])),0===d.length)return md([p,"(",Di.printDanglingComments(e,n,!0,e=>")"===nd(n.originalText,e,n.locEnd)),")"]);const f=od(o[i]);if(c)return bd(md([Od(p),"(",md(d.map(Od)),")"]));const h=o[i].every(e=>!e.decorators);if(l&&h)return md([p,"(",md(d),")"]);if(s)return md([p,"(",md(d),")"]);if((Cf(a,n)||kf(a,n)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===o)&&1===o[i].length&&null===o[i][0].name&&o[i][0].typeAnnotation&&null===o.typeParameters&&bf(o[i][0].typeAnnotation)&&!o.rest)return"always"===n.arrowParens?md(["(",md(d),")"]):md(d);const m=!(f&&"RestElement"===f.type||o.rest);return md([p,"(",Ad(md([Ed,md(d)])),Sd(m&&If(n,"all")?",":""),Ed,")"])}function Zf(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){return!(1!==e.params.length||e.rest||e.typeParameters||Ud(e)||"Identifier"!==e.params[0].type||e.params[0].typeAnnotation||e.params[0].comments||e.params[0].optional||e.predicate||e.returnType)}(e.getValue())}return!1}function eh(e,t,n){const r=e.getValue(),u=[];return r.async&&u.push("async "),r.generator?u.push("function* "):u.push("function "),r.id&&u.push(e.call(t,"id")),u.push(Rf(e,n,t),bd(md([Qf(e,t,n),th(e,t,n)])),r.body?" ":"",e.call(t,"body")),md(u)}function th(e,t,n){const r=e.getValue(),u=e.call(t,"returnType");if(r.returnType&&of(n.originalText,r.returnType,n))return md([" /*: ",u," */"]);const o=[u];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),md(o)}function nh(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=["export "],a=r.default||"ExportDefaultDeclaration"===r.type;return a&&o.push("default "),o.push(Di.printDanglingComments(e,t,!0)),Of(r)&&o.push(yd),r.declaration?(o.push(e.call(n,"declaration")),a&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&"EnumDeclaration"!==r.declaration.type&&o.push(u)):(o.push("type"===r.exportKind?"type ":""),o.push($f(e,t,n)),o.push(Wf(e,t,n)),o.push(u)),md(o)}function rh(e,t){const n=Wd(e);return n?Xa.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),md(t)}function uh(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?md([gd(" ",e.map(n,"modifiers"))," "]):""}const oh=new WeakMap;function ah(e){return oh.has(e)||oh.set(e,Symbol("typeParameters")),oh.get(e)}function ih(e,t,n,r){const u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return e.call(n,r);const o=e.getNode(2),a=e.getNode(3),i=e.getNode(4);return null!=o&&wf(o)||0===u[r].length||1===u[r].length&&(Dh(u[r][0])||"GenericTypeAnnotation"===u[r][0].type&&Dh(u[r][0].id)||"TSTypeReference"===u[r][0].type&&Dh(u[r][0].typeName)||"NullableTypeAnnotation"===u[r][0].type||i&&"VariableDeclarator"===i.type&&"TSTypeAnnotation"===o.type&&"ArrowFunctionExpression"!==a.type&&"TSUnionType"!==u[r][0].type&&"UnionTypeAnnotation"!==u[r][0].type&&"TSIntersectionType"!==u[r][0].type&&"IntersectionTypeAnnotation"!==u[r][0].type&&"TSConditionalType"!==u[r][0].type&&"TSMappedType"!==u[r][0].type&&"TSTypeOperator"!==u[r][0].type&&"TSIndexedAccessType"!==u[r][0].type&&"TSArrayType"!==u[r][0].type)?md(["<",gd(", ",e.map(n,r)),function(n){if(!Ud(n))return"";const r=n.comments.every(Gs.isBlockComment),u=Di.printDanglingComments(e,t,r);return r?u:md([u,yd])}(u),">"]):bd(md(["<",Ad(md([Ed,gd(md([",",Dd]),e.map(n,r))])),Sd("typescript"!==t.parser&&"babel-ts"!==t.parser&&If(t,"all")?",":""),Ed,">"]),{id:ah(u)})}function sh(e,t,n){const r=e.getValue(),u=[];r.abstract&&u.push("abstract "),u.push("class");const o=r.id&&Qd(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,a=[],i=[];r.id&&a.push(" ",e.call(n,"id")),a.push(e.call(n,"typeParameters"));const s=["superClass","extends","mixins","implements"].filter(e=>!!r[e]).length>1,l=r.typeParameters&&!Zd(r.typeParameters)&&!s;function c(u){if(r[u]&&0!==r[u].length){const o=Di.printDanglingComments(e,t,!0,({marker:e})=>e===u);i.push(l?Sd(" ",Dd,{groupId:ah(r.typeParameters)}):Dd,o,o&&yd,u,bd(Ad(md([Dd,gd(md([",",Dd]),e.map(n,u))]))))}}if(r.superClass){const r=md(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]),u=e.call(e=>Di.printComments(e,()=>r,t),"superClass");o?i.push(Dd,bd(u)):i.push(" ",u)}else c("extends");if(c("mixins"),c("implements"),o){const e=md(i);l?u.push(bd(md(a.concat(Sd(Ad(e),e))))):u.push(bd(Ad(md(a.concat(e)))))}else u.push(...a,...i);return u.push(" ",e.call(n,"body")),u}function lh(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?Ed:yd:Ed}function ch(e,t,n,r){return e?yd:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?yd:Ed:yd}function ph(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||("ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!cf(e.right)))}function dh(e,t,n,r){if(Gd(r.originalText,t,r))return Ad(md([Dd,n]));return tf(t)&&!ph(t)||"ConditionalExpression"===t.type&&tf(t.test)&&!ph(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||Ff(e)||"MemberExpression"===e.type)&&(Ff(t)||mf(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?bd(Ad(md([Dd,n]))):md([" ",n])}function fh(e,t,n,r,u,o){if(!r)return t;const a=dh(e,r,u,o);return bd(md([t,n,a]))}function hh(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?md([" ",t]):Ad(md([Dd,t]))}function mh(e,t,n){const r=Pf(e),u=n||"DirectiveLiteral"===e.type;return id(r,t,u)}function gh(e){const t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function Dh(e){if(bf(e)||Ef(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}function yh(e){if(!e||e.rest)return!1;const t=e.params||e.parameters;if(!t||1!==t.length)return!1;const n=t[0];return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&Ef(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&Ef(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function Eh(e,t,n,r){const u=[];let o=[];return e.each(e=>{u.push(md(o)),u.push(bd(r(e))),o=[",",Dd],e.getValue()&&fd(t.originalText,e.getValue(),t.locEnd)&&o.push(Ed)},n),md(u)}function Ch(e,t,n){const r=e.getValue(),u=t.semi?";":"",o=[];r.argument&&(_f(t,r.argument)?o.push(md([" (",Ad(md([yd,e.call(n,"argument")])),yd,")"])):tf(r.argument)||"SequenceExpression"===r.argument.type?o.push(bd(md([Sd(" ("," "),Ad(md([Ed,e.call(n,"argument")])),Ed,Sd(")")]))):o.push(" ",e.call(n,"argument")));const a=Array.isArray(r.comments)&&r.comments[r.comments.length-1],i=a&&("CommentLine"===a.type||"Line"===a.type);return i&&o.push(u),Ud(r)&&o.push(" ",Di.printDanglingComments(e,t,!0)),i||o.push(u),md(o)}function bh(e){const t=e.getValue(),n=e.getParentNode();return(t&&(cf(t)||Jd(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(zd(t.leadingComments)||zd(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!ld(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}var Ah={preprocess:Ic,print:function(e,t,n,r){const u=e.getValue();let o=!1;const a=function(e,t,n,r){const u=e.getValue(),o=t.semi?";":"";if(!u)return"";if("string"==typeof u)return u;const a=jd(e,t,n);if(a)return a;let i=[];switch(u.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return md([e.call(n,"node"),yd]);case"File":return u.program&&u.program.interpreter&&i.push(e.call(e=>e.call(n,"interpreter"),"program")),i.push(e.call(n,"program")),md(i);case"Program":{const r=!u.body.every(({type:e})=>"EmptyStatement"===e)||u.comments;if(u.directives){const a=u.directives.length;e.map((e,u)=>{i.push(n(e),o,yd),(u<a-1||r)&&fd(t.originalText,e.getValue(),t.locEnd)&&i.push(yd)},"directives")}return i.push(e.call(e=>Gf(e,t,n),"body")),i.push(Di.printDanglingComments(e,t,!0)),r&&i.push(yd),md(i)}case"EmptyStatement":return"";case"ExpressionStatement":if(u.directive)return md([mh(u.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===u)return md([e.call(n,"expression"),Md(u.expression)?";":""])}return md([e.call(n,"expression"),Bf(t,e)?"":o]);case"ParenthesizedExpression":return!u.expression.comments?md(["(",e.call(n,"expression"),")"]):bd(md(["(",Ad(md([Ed,e.call(n,"expression")])),Ed,")"]));case"AssignmentExpression":return fh(u.left,e.call(n,"left"),md([" ",u.operator]),u.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":{const r=e.getParentNode(),o=e.getParentNode(1),a=u!==r.body&&("IfStatement"===r.type||"WhileStatement"===r.type||"SwitchStatement"===r.type||"DoWhileStatement"===r.type),i=function e(t,n,r,u,o){let a=[];const i=t.getValue();if(tf(i)){jf(i.operator,i.left.operator)?a=a.concat(t.call(t=>e(t,n,r,!0,o),"left")):a.push(bd(t.call(n,"left")));const s=ph(i),l=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===r.parser)&&!Gd(r.originalText,i.right,r),c="NGPipeExpression"===i.type?"|":i.operator,p="NGPipeExpression"===i.type&&0!==i.arguments.length?bd(Ad(md([Ed,": ",gd(md([Ed,":",Sd(" ")]),t.map(n,"arguments").map(e=>vd(2,bd(e))))]))):"",d=md(s?[c," ",t.call(n,"right"),p]:[l?Dd:"",c,l?" ":Dd,t.call(n,"right"),p]),f=t.getParentNode(),h=Zd(i.left),m=h||!(o&&"LogicalExpression"===i.type)&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;a.push(l?"":" ",m?bd(d,{shouldBreak:h}):d),u&&i.comments&&(a=Pd(Di.printComments(t,()=>md(a),r).parts))}else a.push(bd(t.call(n)));return a}(e,n,t,!1,a);if(a)return md(i);if(("CallExpression"===r.type||"OptionalCallExpression"===r.type)&&r.callee===u||"UnaryExpression"===r.type||("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&!r.computed)return bd(md([Ad(md([Ed,md(i)])),Ed]));const s="ReturnStatement"===r.type||"ThrowStatement"===r.type||"JSXExpressionContainer"===r.type&&"JSXAttribute"===o.type||"|"!==u.operator&&"JsExpressionRoot"===r.type||"NGPipeExpression"!==u.type&&("NGRoot"===r.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===r.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||u===r.body&&"ArrowFunctionExpression"===r.type||u!==r.body&&"ForStatement"===r.type||"ConditionalExpression"===r.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===r.type,l="AssignmentExpression"===r.type||"VariableDeclarator"===r.type||"ClassProperty"===r.type||"TSAbstractClassProperty"===r.type||"ClassPrivateProperty"===r.type||"ObjectProperty"===r.type||"Property"===r.type,c=tf(u.left)&&jf(u.operator,u.left.operator);if(s||ph(u)&&!c||!ph(u)&&l)return bd(md(i));if(0===i.length)return"";const p=cf(u.right),d=i.findIndex(e=>"string"!=typeof e&&"group"===e.type),f=i.slice(0,-1===d?1:d+1),h=md(i.slice(f.length,p?-1:void 0)),m=Symbol("logicalChain-"+ ++zf),g=bd(md([...f,Ad(h)]),{id:m});if(!p)return g;const D=od(i);return bd(md([g,Sd(Ad(D),D,{groupId:m})]))}case"AssignmentPattern":return md([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type),r=bd(md(["<",Ad(md([Ed,e.call(n,"typeAnnotation")])),Ed,">"])),o=md([Sd("("),Ad(md([Ed,e.call(n,"expression")])),Ed,Sd(")")]);return t?Fd([md([r,e.call(n,"expression")]),md([r,bd(o,{shouldBreak:!0})]),md([r,e.call(n,"expression")])]):bd(md([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":{const r=e.getParentNode();let o,a=0;do{o=e.getParentNode(a),a++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const i=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&"MemberExpression"!==r.type&&"OptionalMemberExpression"!==r.type;return md([e.call(n,"object"),i?qf(e,t,n):bd(Ad(md([Ed,qf(e,t,n)])))])}case"MetaProperty":return md([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return u.object&&i.push(e.call(n,"object")),i.push(bd(Ad(md([Ed,Vf(e,t,n)])))),md(i);case"Identifier":return md([u.name,Lf(e),Kf(e,t,n)]);case"V8IntrinsicIdentifier":return md(["%",u.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return md(["...",e.call(n,"argument"),Kf(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return i.push(eh(e,n,t)),u.body||i.push(o),md(i);case"ArrowFunctionExpression":{u.async&&i.push("async "),Zf(e,t)?i.push(e.call(n,"params",0)):i.push(bd(md([Qf(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),th(e,n,t)])));const o=Di.printDanglingComments(e,t,!0,e=>{const n=hd(t.originalText,e,t.locEnd);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});o&&i.push(" ",o),i.push(" =>");const a=e.call(e=>n(e,r),"body");if(!Gd(t.originalText,u.body,t)&&("ArrayExpression"===u.body.type||"ObjectExpression"===u.body.type||"BlockStatement"===u.body.type||cf(u.body)||Sf(u.body,t.originalText,t)||"ArrowFunctionExpression"===u.body.type||"DoExpression"===u.body.type))return bd(md([md(i)," ",a]));if("SequenceExpression"===u.body.type)return bd(md([md(i),bd(md([" (",Ad(md([Ed,a])),Ed,")"]))]));const s=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(u.comments&&u.comments.length),l=r&&r.expandLastArg&&If(t,"all"),c="ConditionalExpression"===u.body.type&&!Mf(u.body,!1);return bd(md([md(i),bd(md([Ad(md([Dd,c?Sd("","("):"",a,c?Sd("",")"):""])),s?md([Sd(l?",":""),Ed]):""]))]))}case"YieldExpression":return i.push("yield"),u.delegate&&i.push("*"),u.argument&&i.push(" ",e.call(n,"argument")),md(i);case"AwaitExpression":{i.push("await"),u.argument&&i.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===u||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===u?bd(md([Ad(md([Ed,md(i)])),Ed])):md(i)}case"ImportSpecifier":return u.importKind&&i.push(e.call(n,"importKind")," "),i.push(e.call(n,"imported")),u.local&&u.local.name!==u.imported.name&&i.push(" as ",e.call(n,"local")),md(i);case"ExportSpecifier":return i.push(e.call(n,"local")),u.exported&&u.exported.name!==u.local.name&&i.push(" as ",e.call(n,"exported")),md(i);case"ImportNamespaceSpecifier":return i.push("* as "),i.push(e.call(n,"local")),md(i);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return md(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return nh(e,t,n);case"DeclareExportDeclaration":return md(["declare ",nh(e,t,n)]);case"ExportAllDeclaration":return i.push("export"),"type"===u.exportKind&&i.push(" type"),i.push(" *"),u.exported&&i.push(" as ",e.call(n,"exported")),i.push(Wf(e,t,n),o),md(i);case"ExportNamespaceSpecifier":return md(["* as ",e.call(n,"exported")]);case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":return i.push("import"),u.importKind&&"value"!==u.importKind&&i.push(" ",u.importKind),u.specifiers&&u.specifiers.length>0?(i.push($f(e,t,n)),i.push(Wf(e,t,n))):u.importKind&&"type"===u.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(u),t.locStart(u.source)))?i.push(" {}",Wf(e,t,n)):i.push(" ",e.call(n,"source")),Array.isArray(u.attributes)&&0!==u.attributes.length&&i.push(" with ",md(e.map(n,"attributes"))),i.push(o),md(i);case"ImportAttribute":return md([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":{const r=e.call(e=>Gf(e,t,n),"body"),a=u.body.some(e=>"EmptyStatement"!==e.type),s=u.directives&&u.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return a||s||Ud(u)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type?(i.push("{"),s&&e.each(e=>{i.push(Ad(md([yd,n(e),o]))),fd(t.originalText,e.getValue(),t.locEnd)&&i.push(yd)},"directives"),a&&i.push(Ad(md([yd,r]))),i.push(Di.printDanglingComments(e,t)),i.push(yd,"}"),md(i)):"{}"}case"ReturnStatement":return md(["return",Ch(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":{const r="NewExpression"===u.type,o="ImportExpression"===u.type,a=Lf(e),i=o?[u.source]:u.arguments;if(!o&&!r&&"Identifier"===u.callee.type&&("require"===u.callee.name||"define"===u.callee.name)||1===i.length&&Sf(i[0],t.originalText,t)||!r&&wf(u,e.getParentNode()))return md([r?"new ":"",e.call(n,"callee"),a,Rf(e,t,n),md(["(",o?e.call(n,"source"):gd(", ",e.map(n,"arguments")),")"])]);const s=u.callee&&"Identifier"===u.callee.type&&zd(u.callee.trailingComments);if(s&&(u.callee.trailingComments[0].printed=!0),!o&&!r&&gf(u.callee)&&!e.call(e=>kc(e,t),"callee"))return _p(e,t,n);const l=md([r?"new ":"",o?"import":e.call(n,"callee"),a,s?"/*:: ".concat(u.callee.trailingComments[0].value.slice(2).trim()," */"):"",Rf(e,t,n),np(e,t,n)]);return o||nf(u.callee)?bd(l):l}case"ObjectTypeInternalSlot":return md([u.static?"static ":"","[[",e.call(n,"id"),"]]",Lf(e),u.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":{let r;r="TSTypeLiteral"===u.type?"members":"TSInterfaceBody"===u.type?"body":"properties";const a="ObjectTypeAnnotation"===u.type,i=[];a&&i.push("indexers","callProperties","internalSlots"),i.push(r);const s=i.map(e=>u[e][0]).sort((e,n)=>t.locStart(e)-t.locStart(n))[0],l=e.getParentNode(0),c=a&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),p="TSInterfaceBody"===u.type||c||"ObjectPattern"===u.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&u.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==u.type&&s&&ud(t.originalText,t.locStart(u),t.locStart(s)),d=c?";":"TSInterfaceBody"===u.type||"TSTypeLiteral"===u.type?Sd(o,";"):",",f="RecordExpression"===u.type?"#{":u.exact?"{|":"{",h=u.exact?"|}":"}",m=[];i.forEach(r=>{e.each(e=>{const r=e.getValue();m.push({node:r,printed:n(e),loc:t.locStart(r)})},r)});let g=[];const D=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=md(g.concat(bd(e.printed)));return g=[d,Dd],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!cd(e.node)||g.shift(),fd(t.originalText,e.node,t.locEnd)&&g.push(yd),n});if(u.inexact){let n;if(Ud(u)){const r=!u.comments.every(Gs.isBlockComment),o=Di.printDanglingComments(e,t,!0);n=md([o,r||rd(t.originalText,t.locEnd(u.comments[u.comments.length-1]))?yd:Dd,"..."])}else n="...";D.push(md(g.concat(n)))}const y=od(u[r]),E=!(u.inexact||y&&"RestElement"===y.type);let C;if(0===D.length){if(!Ud(u))return md([f,h,Kf(e,t,n)]);C=bd(md([f,Di.printDanglingComments(e,t),Ed,h,Lf(e),Kf(e,t,n)]))}else C=md([f,Ad(md([t.bracketSpacing?Dd:Ed,md(D)])),Sd(E&&(","!==d||If(t))?d:""),md([t.bracketSpacing?Dd:Ed,h]),Lf(e),Kf(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>yh(e)&&("params"===t||"parameters"===t)&&0===n)||e.match(Dh,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>yh(e)&&("params"===t||"parameters"===t)&&0===n)?C:bd(C,{shouldBreak:p})}case"ObjectProperty":case"Property":return u.method||"get"===u.kind||"set"===u.kind?Xf(e,t,n):(u.shorthand?i.push(e.call(n,"value")):i.push(fh(u.key,Hf(e,t,n),":",u.value,e.call(n,"value"),t)),md(i));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return u.decorators&&0!==u.decorators.length&&i.push(Jf(e,t,n)),u.accessibility&&i.push(u.accessibility+" "),u.static&&i.push("static "),("TSAbstractMethodDefinition"===u.type||u.abstract)&&i.push("abstract "),i.push(Xf(e,t,n)),md(i);case"ObjectMethod":return Xf(e,t,n);case"Decorator":return md(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":{const r="TupleExpression"===u.type?"#[":"[",o="]";if(0===u.elements.length)Ud(u)?i.push(bd(md([r,Di.printDanglingComments(e,t),Ed,o]))):i.push(r,o);else{const a=od(u.elements),s=!(a&&"RestElement"===a.type),l=s&&null===a,c=!t.__inJestEach&&u.elements.length>1&&u.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const u=n[t+1];if(u&&r!==u.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});i.push(bd(md([r,Ad(md([Ed,Eh(e,t,"elements",n)])),l?",":"",Sd(s&&!l&&If(t)?",":""),Di.printDanglingComments(e,t,!0),Ed,o]),{shouldBreak:c}))}return i.push(Lf(e),Kf(e,t,n)),md(i)}case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",Ad(md([Dd,n(e)])))},"expressions"),bd(md(t))}return bd(md([gd(md([",",Dd]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return gh(u);case"NumericLiteral":return sd(u.extra.raw);case"DecimalLiteral":return sd(u.value)+"m";case"BigIntLiteral":return(u.bigint||u.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return u.regex?gh(u.regex):u.bigint?u.raw.toLowerCase():"number"==typeof u.value?sd(u.raw):"string"!=typeof u.value?""+u.value:mh(u,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return mh(u,t);case"UnaryExpression":return i.push(u.operator),/[a-z]$/.test(u.operator)&&i.push(" "),u.argument.comments&&u.argument.comments.length>0?i.push(bd(md(["(",Ad(md([Ed,e.call(n,"argument")])),Ed,")"]))):i.push(e.call(n,"argument")),md(i);case"UpdateExpression":return i.push(e.call(n,"argument"),u.operator),u.prefix&&i.reverse(),md(i);case"ConditionalExpression":return td(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?Ed:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),a="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,s=u.declarations.some(e=>e.init);let l;return 1!==t.length||u.declarations[0].comments?t.length>0&&(l=Ad(t[0])):l=t[0],i=[u.declare?"declare ":"",u.kind,l?md([" ",l]):"",Ad(md(t.slice(1).map(e=>md([",",s&&!a?yd:Dd,e]))))],a&&r.body!==u||i.push(o),bd(md(i))}case"TSTypeAliasDeclaration":{u.declare&&i.push("declare ");const r=dh(u.id,u.typeAnnotation,u.typeAnnotation&&e.call(n,"typeAnnotation"),t);return i.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),bd(md(i))}case"VariableDeclarator":return fh(u.id,e.call(n,"id")," =",u.init,u.init&&e.call(n,"init"),t);case"WithStatement":return bd(md(["with (",e.call(n,"object"),")",hh(u.body,e.call(n,"body"))]));case"IfStatement":{const r=hh(u.consequent,e.call(n,"consequent")),o=bd(md(["if (",bd(md([Ad(md([Ed,e.call(n,"test")])),Ed])),")",r]));if(i.push(o),u.alternate){const r=Qd(u.consequent)&&u.consequent.comments.some(e=>e.trailing&&!Gs.isBlockComment(e))||Of(u),o="BlockStatement"===u.consequent.type&&!r;i.push(o?" ":yd),Ud(u)&&i.push(Di.printDanglingComments(e,t,!0),r?yd:" "),i.push("else",bd(hh(u.alternate,e.call(n,"alternate"),"IfStatement"===u.alternate.type)))}return md(i)}case"ForStatement":{const r=hh(u.body,e.call(n,"body")),o=Di.printDanglingComments(e,t,!0),a=o?md([o,Ed]):"";return u.init||u.test||u.update?md([a,bd(md(["for (",bd(md([Ad(md([Ed,e.call(n,"init"),";",Dd,e.call(n,"test"),";",Dd,e.call(n,"update")])),Ed])),")",r]))]):md([a,bd(md(["for (;;)",r]))])}case"WhileStatement":return bd(md(["while (",bd(md([Ad(md([Ed,e.call(n,"test")])),Ed])),")",hh(u.body,e.call(n,"body"))]));case"ForInStatement":return bd(md([u.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",hh(u.body,e.call(n,"body"))]));case"ForOfStatement":return bd(md(["for",u.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",hh(u.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=hh(u.body,e.call(n,"body")),r=bd(md(["do",t]));return i=[r],"BlockStatement"===u.body.type?i.push(" "):i.push(yd),i.push("while ("),i.push(bd(md([Ad(md([Ed,e.call(n,"test")])),Ed])),")",o),md(i)}case"DoExpression":return md(["do ",e.call(n,"body")]);case"BreakStatement":return i.push("break"),u.label&&i.push(" ",e.call(n,"label")),i.push(o),md(i);case"ContinueStatement":return i.push("continue"),u.label&&i.push(" ",e.call(n,"label")),i.push(o),md(i);case"LabeledStatement":return"EmptyStatement"===u.body.type?md([e.call(n,"label"),":;"]):md([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return md(["try ",e.call(n,"block"),u.handler?md([" ",e.call(n,"handler")]):"",u.finalizer?md([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(u.param){const r=u.param.comments&&u.param.comments.some(e=>!Gs.isBlockComment(e)||e.leading&&rd(t.originalText,t.locEnd(e))||e.trailing&&rd(t.originalText,t.locStart(e),{backwards:!0})),o=e.call(n,"param");return md(["catch ",md(r?["(",Ad(md([Ed,o])),Ed,") "]:["(",o,") "]),e.call(n,"body")])}return md(["catch ",e.call(n,"body")]);case"ThrowStatement":return md(["throw",Ch(e,t,n)]);case"SwitchStatement":return md([bd(md(["switch (",Ad(md([Ed,e.call(n,"discriminant")])),Ed,")"]))," {",u.cases.length>0?Ad(md([yd,gd(yd,e.map(e=>{const r=e.getValue();return md([e.call(n),u.cases.indexOf(r)!==u.cases.length-1&&fd(t.originalText,r,t.locEnd)?yd:""])},"cases"))])):"",yd,"}"]);case"SwitchCase":{u.test?i.push("case ",e.call(n,"test"),":"):i.push("default:");const r=u.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const u=e.call(e=>Gf(e,t,n),"consequent");i.push(1===r.length&&"BlockStatement"===r[0].type?md([" ",u]):Ad(md([yd,u])))}return md(i)}case"DebuggerStatement":return md(["debugger",o]);case"JSXAttribute":if(i.push(e.call(n,"name")),u.value){let r;if(Ff(u.value)){let e=Pf(u.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const n=dd(e,t.jsxSingleQuote?"'":'"'),o="'"===n?"&apos;":"&quot;";e=e.slice(1,-1).replace(new RegExp(n,"g"),o),r=md([n,e,n])}else r=e.call(n,"value");i.push("=",r)}return md(i);case"JSXIdentifier":return""+u.name;case"JSXNamespacedName":return gd(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return gd(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return gd(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return md(["{",e.call(e=>{const r=md(["...",n(e)]),u=e.getValue();return u.comments&&u.comments.length&&bh(e)?md([Ad(md([Ed,Di.printComments(e,()=>r,t)])),Ed]):r},"JSXSpreadAttribute"===u.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":{const t=e.getParentNode(0),r=u.expression.comments&&u.expression.comments.length>0,o="JSXEmptyExpression"===u.expression.type||!r&&("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type||"ArrowFunctionExpression"===u.expression.type||"CallExpression"===u.expression.type||"OptionalCallExpression"===u.expression.type||"FunctionExpression"===u.expression.type||"TemplateLiteral"===u.expression.type||"TaggedTemplateExpression"===u.expression.type||"DoExpression"===u.expression.type||cf(t)&&("ConditionalExpression"===u.expression.type||tf(u.expression)));return bd(o?md(["{",e.call(n,"expression"),wd,"}"]):md(["{",Ad(md([Ed,e.call(n,"expression")])),Ed,wd,"}"]))}case"JSXFragment":case"JSXElement":{const r=Di.printComments(e,()=>function(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&rf(r))return md([e.call(n,"openingElement"),e.call(n,"closingElement")]);const u="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return md([u,md(e.map(n,"children")),o]);r.children=r.children.map(e=>pf(e)?{type:"JSXText",value:" ",raw:" "}:e);const a=r.children.filter(cf).length>0,i=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=Td(u)||a||s||i;const c="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',d=c?md([" "]):Sd(md([p,Ed])," "),f=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,h=function(e,t,n,r,u){const o=e.getValue(),a=[];return e.map((e,t)=>{const i=e.getValue();if(ff(i)){const e=Pf(i);if(hf(i)){const n=e.split(Nf);if(""===n[0]){if(a.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];a.push(ch(u,n[1],i,e))}else a.push(r);n.shift()}let s;if(""===od(n)&&(n.pop(),s=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?a.push(Dd):a.push(e)}),void 0!==s)if(/\n/.test(s)){const e=o.children[t+1];a.push(ch(u,od(a),i,e))}else a.push(r);else{const e=o.children[t+1];a.push(lh(u,od(a),i,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(a.push(""),a.push(yd)):(a.push(""),a.push(r))}else{const r=n(e);a.push(r);const s=o.children[t+1];if(s&&hf(s)){const e=Pf(s).trim().split(Nf)[0];a.push(lh(u,e,i,s))}else a.push(yd)}},"children"),a}(e,0,n,d,f),m=r.children.some(e=>hf(e));for(let e=h.length-2;e>=0;e--){const t=""===h[e]&&""===h[e+1],n=h[e]===yd&&""===h[e+1]&&h[e+2]===yd,r=(h[e]===Ed||h[e]===yd)&&""===h[e+1]&&h[e+2]===d,u=h[e]===d&&""===h[e+1]&&(h[e+2]===Ed||h[e+2]===yd),o=h[e]===d&&""===h[e+1]&&h[e+2]===d,a=h[e]===Ed&&""===h[e+1]&&h[e+2]===yd||h[e]===yd&&""===h[e+1]&&h[e+2]===Ed;n&&m||t||r||o||a?h.splice(e,2):u&&h.splice(e+1,2)}for(;h.length&&(kd(od(h))||Nd(od(h)));)h.pop();for(;h.length&&(kd(h[0])||Nd(h[0]))&&(kd(h[1])||Nd(h[1]));)h.shift(),h.shift();const g=[];h.forEach((e,t)=>{if(e===d){if(1===t&&""===h[t-1])return 2===h.length?void g.push(p):void g.push(md([p,yd]));if(t===h.length-1)return void g.push(p);if(""===h[t-1]&&h[t-2]===yd)return void g.push(p)}g.push(e),Td(e)&&(l=!0)});const D=m?xd(g):bd(md(g),{shouldBreak:!0});if(c)return D;const y=bd(md([u,Ad(md([yd,D])),yd,o]));if(l)return y;return Fd([bd(md([u,md(h),o])),y])}(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const u=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,nf,e=>"JSXExpressionContainer"===e.type),o=kc(e,n);return bd(md([o?"":Sd("("),Ad(md([Ed,t])),Ed,o?"":Sd(")")]),{shouldBreak:u})}(e,r,t)}case"JSXOpeningElement":{const r=e.getValue(),u=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!u)return md(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Ff(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!u&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return bd(md(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",md(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&Qd(od(r.attributes)),a=!r.attributes.length&&!u||t.jsxBracketSameLine&&(!u||r.attributes.length)&&!o,i=r.attributes&&r.attributes.some(e=>e.value&&Ff(e.value)&&e.value.value.includes("\n"));return bd(md(["<",e.call(n,"name"),e.call(n,"typeParameters"),md([Ad(md(e.map(e=>md([Dd,n(e)]),"attributes"))),r.selfClosing?Dd:a?">":Ed]),r.selfClosing?"/>":a?"":">"]),{shouldBreak:i})}case"JSXClosingElement":return md(["</",e.call(n,"name"),">"]);case"JSXOpeningFragment":case"JSXClosingFragment":{const n=u.comments&&u.comments.length,r=n&&!u.comments.every(Gs.isBlockComment),o="JSXOpeningFragment"===u.type;return md([o?"<":"</",Ad(md([r?yd:n&&!o?" ":"",Di.printDanglingComments(e,t,!0)])),r?yd:"",">"])}case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":{const n=u.comments&&!u.comments.every(Gs.isBlockComment);return md([Di.printDanglingComments(e,t,!n),n?yd:""])}case"ClassBody":return u.comments||0!==u.body.length?md(["{",u.body.length>0?Ad(md([yd,e.call(e=>Gf(e,t,n),"body")])):Di.printDanglingComments(e,t),yd,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":{u.decorators&&0!==u.decorators.length&&i.push(Jf(e,t,n)),u.accessibility&&i.push(u.accessibility+" "),u.declare&&i.push("declare "),u.static&&i.push("static "),("TSAbstractClassProperty"===u.type||u.abstract)&&i.push("abstract "),u.readonly&&i.push("readonly ");const r=qd(u);return r&&i.push(r),i.push(Hf(e,t,n),Lf(e),Kf(e,t,n)),u.value&&i.push(" =",dh(u.key,u.value,e.call(n,"value"),t)),i.push(o),bd(md(i))}case"ClassDeclaration":case"ClassExpression":return u.declare&&i.push("declare "),i.push(md(sh(e,t,n))),md(i);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(e.call(n,"expression")),u.typeParameters&&i.push(e.call(n,"typeParameters")),md(i);case"TemplateElement":return gd(Cd,u.value.raw.split(/\r?\n/g));case"TemplateLiteral":{const r=e.getParentNode();if(lf(u,r)){const r=function(e,t,n){const r=e.getNode(),u=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const a=[],i=o.map(e=>"${"+_d(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),s=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<r.quasis.length;e++){const t=s[s.length-1],n=i[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),r.quasis[e].value.raw.includes("\n")&&s.push({hasLineBreak:!1,cells:[]})}const l=Math.max(u.length,...s.map(e=>e.cells.length)),c=Array.from({length:l}).fill(0),p=[{cells:u},...s.filter(e=>0!==e.cells.length)];for(const{cells:e}of p.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],ad(e))});return a.push(wd,"`",Ad(md([yd,gd(yd,p.map(e=>gd(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-ad(t))))))])),yd,"`"),md(a)}}(e,t,n);if(r)return r}let o=e.map(n,"expressions");const a=vf(u);return a&&(o=o.map(e=>_d(e,Object.assign({},t,{printWidth:1/0})).formatted)),i.push(wd,"`"),e.each(e=>{const r=e.getName();if(i.push(n(e)),r<o.length){const{tabWidth:n}=t,s=e.getValue(),l=pd(s.value.raw,n);let c=o[r];a||(u.expressions[r].comments&&u.expressions[r].comments.length||"MemberExpression"===u.expressions[r].type||"OptionalMemberExpression"===u.expressions[r].type||"ConditionalExpression"===u.expressions[r].type||"SequenceExpression"===u.expressions[r].type||"TSAsExpression"===u.expressions[r].type||tf(u.expressions[r]))&&(c=md([Ad(md([Ed,c])),Ed]));const p=0===l&&s.value.raw.endsWith("\n")?vd(-1/0,c):Bd(c,l,n);i.push(bd(md(["${",p,wd,"}"])))}},"quasis"),i.push("`"),md(i)}case"TaggedTemplateExpression":return md([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(u.type));case"TypeAnnotation":case"TSTypeAnnotation":return u.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSNamedTupleMember":return md([e.call(n,"label"),u.optional?"?":"",": ",e.call(n,"elementType")]);case"TSTupleType":case"TupleTypeAnnotation":{const r="TSTupleType"===u.type?"elementTypes":"types",o=u[r].length>0&&"TSRestType"===od(u[r]).type;return bd(md(["[",Ad(md([Ed,Eh(e,t,r,n)])),Sd(If(t,"all")&&!o?",":""),Di.printDanglingComments(e,t,!0),Ed,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return md([e.call(n,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+u.value;case"DeclareClass":return rh(e,sh(e,t,n));case"TSDeclareFunction":return md([u.declare?"declare ":"",eh(e,n,t),o]);case"DeclareFunction":return rh(e,["function ",e.call(n,"id"),u.predicate?" ":"",e.call(n,"predicate"),o]);case"DeclareModule":return rh(e,["module ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareModuleExports":return rh(e,["module.exports",": ",e.call(n,"typeAnnotation"),o]);case"DeclareVariable":return rh(e,["var ",e.call(n,"id"),o]);case"DeclareExportAllDeclaration":return md(["declare export *",Wf(e,t,n)]);case"DeclareOpaqueType":case"OpaqueType":return i.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),u.supertype&&i.push(": ",e.call(n,"supertype")),u.impltype&&i.push(" = ",e.call(n,"impltype")),i.push(o),"DeclareOpaqueType"===u.type?rh(e,i):md(i);case"EnumDeclaration":return md(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===u.type||u.explicitType){let e=null;switch(u.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}i.push("of ",e," ")}return 0===u.members.length?i.push(bd(md(["{",Di.printDanglingComments(e,t),Ed,"}"]))):i.push(bd(md(["{",Ad(md([yd,Eh(e,t,"members",n),If(t)?",":""])),Di.printDanglingComments(e,t,!0),yd,"}"]))),md(i);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return md([e.call(n,"id")," = ","object"==typeof u.init?e.call(n,"init"):String(u.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),a=e.getParentNode(2);let s="TSFunctionType"===u.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!qd(r)&&!r.optional&&t.locStart(r)===t.locStart(u)||"ObjectTypeCallProperty"===r.type||a&&"DeclareFunction"===a.type),l=s&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&s&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return Cf(r,t)&&(s=!0,l=!0),c&&i.push("("),i.push(Qf(e,n,t,!1,!0)),(u.returnType||u.predicate||u.typeAnnotation)&&i.push(s?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&i.push(")"),bd(md(i))}case"TSRestType":return md(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return md([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return md([e.call(n,"name"),Lf(e),u.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return md([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":{("DeclareInterface"===u.type||u.declare)&&i.push("declare "),"TSInterfaceDeclaration"===u.type&&i.push(u.abstract?"abstract ":"",uh(e,t,n)),i.push("interface");const r=[],o=[];"InterfaceTypeAnnotation"!==u.type&&r.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=u.typeParameters&&!Zd(u.typeParameters);if(u.extends&&0!==u.extends.length&&o.push(a?Sd(" ",Dd,{groupId:ah(u.typeParameters)}):Dd,"extends ",(1===u.extends.length?ef:Ad)(gd(md([",",Dd]),e.map(n,"extends")))),u.id&&Qd(u.id)||u.extends&&0!==u.extends.length){const e=md(o);a?i.push(bd(md(r.concat(Sd(Ad(e),e))))):i.push(bd(Ad(md(r.concat(e)))))}else i.push(...r,...o);return i.push(" ",e.call(n,"body")),bd(md(i))}case"ClassImplements":case"InterfaceExtends":return md([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return md([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e<t.length;++e)0===e?r.push(t[e]):Ef(u.types[e-1])&&Ef(u.types[e])?r.push(md([" & ",o?Ad(t[e]):t[e]])):Ef(u.types[e-1])||Ef(u.types[e])?(e>1&&(o=!0),r.push(" & ",e>1?Ad(t[e]):t[e])):r.push(Ad(md([" &",Dd,t[e]])));return bd(md(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&Gd(t.originalText,u,t)),a=Dh(u),i=e.map(e=>{let r=e.call(n);return a||(r=vd(2,r)),Di.printComments(e,()=>r,t)},"types");if(a)return gd(" | ",i);const s=o&&!Gd(t.originalText,u,t),l=md([Sd(md([s?Dd:"","| "])),gd(md([Dd,"| "]),i)]);return kc(e,t)?bd(md([Ad(l),Ed])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?bd(md([Ad(md([Sd(md(["(",Ed])),l])),Ed,Sd(")")])):bd(o?Ad(l):l)}case"NullableTypeAnnotation":return md(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"ObjectTypeCallProperty":return u.static&&i.push("static "),i.push(e.call(n,"value")),md(i);case"ObjectTypeIndexer":{const t=qd(u);return md([t||"","[",e.call(n,"id"),u.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")])}case"ObjectTypeProperty":{const r=qd(u);let o="";return u.proto?o="proto ":u.static&&(o="static "),md([o,sf(u)?u.kind+" ":"",r||"",Hf(e,t,n),Lf(e),af(u,t)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return md([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return mh(u,t);case"NumberLiteralTypeAnnotation":return Xa.strictEqual(typeof u.value,"number"),null!=u.extra?sd(u.extra.raw):sd(u.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===u.type||u.declare)&&i.push("declare ");const r=dh(u.id,u.right,e.call(n,"right"),t);return i.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),bd(md(i))}case"TypeCastExpression":return md(["(",e.call(n,"expression"),Kf(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=e.getValue(),u=t.originalText.slice(0,t.locStart(r)).lastIndexOf("/*");return u>=0&&t.originalText.slice(u).match(/^\/\*\s*::/)?md(["/*:: ",ih(e,t,n,"params")," */"]):ih(e,t,n,"params")}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return ih(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return i.push("[",e.call(n,"name")),u.constraint&&i.push(" in ",e.call(n,"constraint")),i.push("]"),md(i);const o=qd(u);o&&i.push(o),i.push(e.call(n,"name")),u.bound&&(i.push(": "),i.push(e.call(n,"bound"))),u.constraint&&i.push(" extends ",e.call(n,"constraint")),u.default&&i.push(" = ",e.call(n,"default"));const a=e.getNode(2);return r.params&&1===r.params.length&&Tf(t)&&!u.constraint&&"ArrowFunctionExpression"===a.type&&i.push(","),md(i)}case"TypeofTypeAnnotation":return md(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return md(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return md([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return md([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return u.export&&i.push("export "),u.accessibility&&i.push(u.accessibility+" "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(Hf(e,t,n),Lf(e)),u.typeAnnotation&&(i.push(": "),i.push(e.call(n,"typeAnnotation"))),u.initializer&&i.push(" = ",e.call(n,"initializer")),md(i);case"TSParameterProperty":return u.accessibility&&i.push(u.accessibility+" "),u.export&&i.push("export "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(e.call(n,"parameter")),md(i);case"TSTypeReference":return md([e.call(n,"typeName"),ih(e,t,n,"typeParameters")]);case"TSTypeQuery":return md(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),a=u.parameters.length>1?Sd(If(t)?",":""):"",i=bd(md([Ad(md([Ed,gd(md([", ",Ed]),e.map(n,"parameters"))])),a,Ed]));return md([u.export?"export ":"",u.accessibility?md([u.accessibility," "]):"",u.static?"static ":"",u.readonly?"readonly ":"","[",u.parameters?i:"",u.typeAnnotation?"]: ":"]",u.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return md([u.asserts?"asserts ":"",e.call(n,"parameterName"),u.typeAnnotation?md([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return md([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return md([u.isTypeOf?"typeof ":"","import(",e.call(n,u.parameter?"parameter":"argument"),")",u.qualifier?md([".",e.call(n,"qualifier")]):"",ih(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return md([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==u.type&&i.push("new "),i.push(bd(Qf(e,n,t,!1,!0))),u.returnType||u.typeAnnotation){const t="TSConstructorType"===u.type;i.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return md(i);case"TSTypeOperator":return md([u.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=ud(t.originalText,t.locStart(u),t.locEnd(u));return bd(md(["{",Ad(md([t.bracketSpacing?Dd:Ed,u.readonly?md([$d(u.readonly,"readonly")," "]):"",uh(e,t,n),e.call(n,"typeParameter"),u.optional?$d(u.optional,"?"):"",u.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),Sd(o,"")])),Di.printDanglingComments(e,t,!0),t.bracketSpacing?Dd:Ed,"}"]),{shouldBreak:r})}case"TSMethodSignature":return i.push(u.accessibility?md([u.accessibility," "]):"",u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.computed?"[":"",e.call(n,"key"),u.computed?"]":"",Lf(e),Qf(e,n,t,!1,!0)),(u.returnType||u.typeAnnotation)&&i.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),bd(md(i));case"TSNamespaceExportDeclaration":return i.push("export as namespace ",e.call(n,"id")),t.semi&&i.push(";"),bd(md(i));case"TSEnumDeclaration":return u.declare&&i.push("declare "),u.modifiers&&i.push(uh(e,t,n)),u.const&&i.push("const "),i.push("enum ",e.call(n,"id")," "),0===u.members.length?i.push(bd(md(["{",Di.printDanglingComments(e,t),Ed,"}"]))):i.push(bd(md(["{",Ad(md([yd,Eh(e,t,"members",n),If(t,"es5")?",":""])),Di.printDanglingComments(e,t,!0),yd,"}"]))),md(i);case"TSEnumMember":return i.push(e.call(n,"id")),u.initializer&&i.push(" = ",e.call(n,"initializer")),md(i);case"TSImportEqualsDeclaration":return u.isExport&&i.push("export "),i.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&i.push(";"),bd(md(i));case"TSExternalModuleReference":return md(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),a=ff(u.id),s="TSModuleDeclaration"===r.type,l=u.body&&"TSModuleDeclaration"===u.body.type;if(s)i.push(".");else{u.declare&&i.push("declare "),i.push(uh(e,t,n));const r=t.originalText.slice(t.locStart(u),t.locStart(u.id));"Identifier"===u.id.type&&"global"===u.id.name&&!/namespace|module/.test(r)||i.push(a||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return i.push(e.call(n,"id")),l?i.push(e.call(n,"body")):u.body?i.push(" ",bd(e.call(n,"body"))):i.push(o),md(i)}case"PrivateName":return md(["#",e.call(n,"id")]);case"TSPrivateIdentifier":return u.escapedText;case"TSConditionalType":return td(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return md(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return i.push("#!",u.value,yd),fd(t.originalText,u,t.locEnd)&&i.push(yd),md(i);case"NGRoot":return md([].concat(e.call(n,"node"),u.node.comments&&0!==u.node.comments.length?md([" //",u.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return bd(gd(md([";",Dd]),e.map(e=>Yd(e)?n(e):md(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return md([u.prefix,": ",u.value.trim()]);case"NGMicrosyntax":return md(e.map((e,t)=>md([0===t?"":Df(e.getValue(),t,u)?" ":md([";",Dd]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return md([e.call(n,"expression"),null===u.alias?"":md([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=Df(u,t,r)||(1===t&&("then"===u.key.name||"else"===u.key.name)||2===t&&"else"===u.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return md([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return md(["let ",e.call(n,"key"),null===u.value?"":md([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return md([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return i.push("#"),md(i);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return md(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return md(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return md(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(u.type))}}(e,t,n,r);if(!u||Nd(a))return a;const i=Wd(e),s=[];if("ClassMethod"===u.type||"ClassPrivateMethod"===u.type||"ClassProperty"===u.type||"TSAbstractClassProperty"===u.type||"ClassPrivateProperty"===u.type||"MethodDefinition"===u.type||"TSAbstractMethodDefinition"===u.type||"TSDeclareMethod"===u.type);else if(u.decorators&&u.decorators.length>0&&!(i&&t.locStart(i,{ignoreDecorators:!0})>t.locStart(u.decorators[0]))){const r="ClassExpression"===u.type||"ClassDeclaration"===u.type||Xd(u,t)?yd:Dd;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,s.push(n(e),r)},"decorators"),i&&s.unshift(yd)}else uf(u)&&u.declaration&&u.declaration.decorators&&u.declaration.decorators.length>0&&t.locStart(u,{ignoreDecorators:!0})>t.locStart(u.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";s.push(t,n(e),yd)},"declaration","decorators"):o=kc(e,t);const l=[];if(o&&l.unshift("("),l.push(a),o){const t=e.getValue();Jd(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return s.length>0?bd(md(s.concat(l))):md(l)},embed:El,insertPragma:Id,massageAstNode:Cl,hasPrettierIgnore:Kd,willPrintOwnComments:bh,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:function(e,t){const n=e.getValue();switch(n.type){case"CommentBlock":case"Block":{if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return md(["/*",gd(yd,t.map((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart()))),"*/"])}(n);return n.trailing&&!rd(t.originalText,t.locStart(n),{backwards:!0})?md([yd,e]):e}const e=t.locEnd(n),r="*-/"===t.originalText.slice(e-3,e);return"/*"+n.value+(r?"*-/":"*/")}case"CommentLine":case"Line":return t.originalText.slice(t.locStart(n),t.locEnd(n)).trimEnd();default:throw new Error("Not a comment: "+JSON.stringify(n))}},isBlockComment:Gs.isBlockComment,handleComments:{ownLine:Gs.handleOwnLineComment,endOfLine:Gs.handleEndOfLineComment,remaining:Gs.handleRemainingComment},getGapRegex:Gs.getGapRegex,getCommentChildNodes:Gs.getCommentChildNodes};const{concat:vh,hardline:Fh,indent:xh,join:Sh}=dn.builders;var wh={preprocess:Ic,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return vh([e.call(n,"node"),Fh]);case"ArrayExpression":return 0===r.elements.length?"[]":vh(["[",xh(vh([Fh,Sh(vh([",",Fh]),e.map(n,"elements"))])),Fh,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":vh(["{",xh(vh([Fh,Sh(vh([",",Fh]),e.map(n,"properties"))])),Fh,"}"]);case"ObjectProperty":return vh([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return vh(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){return delete t.start,delete t.end,delete t.extra,delete t.loc,delete t.comments,delete t.errors,delete t.range,"Identifier"===e.type?{type:"StringLiteral",value:e.name}:"UnaryExpression"===e.type&&"+"===e.operator?t.argument:void 0}};var Bh={bracketSpacing:{since:"0.0.0",category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:"Common",type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};var Th={arrowParens:{since:"1.9.0",category:"JavaScript",type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Bh.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Bh.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},kh=["js","node"],Nh=[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],Oh=["Jakefile"],Ph=["chakra","d8","gjs","js","node","qjs","rhino","v8","v8-shell"],_h={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:kh,extensions:Nh,filenames:Oh,interpreters:Ph,languageId:183},Ih=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:kh,extensions:Nh,filenames:Oh,interpreters:Ph,languageId:183,default:_h}),jh=[".jsx"],Mh={name:"JSX",type:"programming",group:"JavaScript",extensions:jh,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Lh=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:jh,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:Mh}),Rh=["ts"],qh=["deno","ts-node"],Vh=[".ts"],Wh={name:"TypeScript",type:"programming",color:"#2b7489",aliases:Rh,interpreters:qh,extensions:Vh,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},$h=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:Rh,interpreters:qh,extensions:Vh,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:Wh}),Uh=[".tsx"],zh={name:"TSX",type:"programming",group:"TypeScript",extensions:Uh,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Jh=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:Uh,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:zh}),Gh=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],Hh=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],Xh={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:false,extensions:Gh,filenames:Hh,languageId:174},Yh=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:false,extensions:Gh,filenames:Hh,languageId:174,default:Xh}),Kh=["jsonc"],Qh=[".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"],Zh=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],em={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Kh,extensions:Qh,filenames:Zh,languageId:423},tm=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Kh,extensions:Qh,filenames:Zh,languageId:423,default:em}),nm=[".json5"],rm={name:"JSON5",type:"data",extensions:nm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},um=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:nm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:rm}),om=Ue(Ih),am=Ue(Lh),im=Ue($h),sm=Ue(Jh),lm=Ue(Yh),cm=Ue(tm),pm=Ue(um);var dm={languages:[As(om,e=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])})),As(om,()=>({name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),As(am,()=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]})),As(im,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),As(sm,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),As(lm,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),As(lm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])})),As(cm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])})),As(pm,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:Th,printers:{estree:Ah,"estree-json":wh},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}}};const{isFrontMatterNode:fm}=Lt;var hm=function(e,t,n){if(["raw","raws","sourceIndex","source","before","after","trailingComma"].forEach(e=>{delete t[e]}),fm(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||fm(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&he(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value};const{builders:{hardline:mm,concat:gm,markAsRoot:Dm}}=dn,ym={"---":"yaml","+++":"toml"};var Em={parse:function(e){const t=Object.keys(ym).map(fe).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,u,o,a]=n;let i=ym[u];return"toml"!==i&&o&&o.trim()&&(i=o.trim()),{frontMatter:{type:"front-matter",lang:i,value:a,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Dm(gm(["---",mm,r,r?mm:"","---"]))}}};const{builders:{hardline:Cm,concat:bm}}=dn,{print:Am}=Em;var vm=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=Am(r,n);return e?bm([e,Cm]):""}};const{parse:Fm}=Em;var xm={hasPragma:function(e){return Nl.hasPragma(Fm(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=Fm(e);return(t?t.raw+"\n\n":"")+Nl.insertPragma(n)}};const Sm=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 wm(e,t){const n=[].concat(t);let r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}function Bm(e,t){const n=wm(e,t);return-1===n?null:e.getParentNode(n)}function Tm(e){return"value-operator"===e.type&&"*"===e.value}function km(e){return"value-operator"===e.type&&"/"===e.value}function Nm(e){return"value-operator"===e.type&&"+"===e.value}function Om(e){return"value-operator"===e.type&&"-"===e.value}function Pm(e){return"value-operator"===e.type&&"%"===e.value}function _m(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function Im(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&_m(e.groups[0])}var jm={getAncestorCounter:wm,getAncestorNode:Bm,getPropOfDeclNode:function(e){const t=Bm(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t<e.length;t++)if("string"===e[t].type||"func"===e[t].type)return!0;return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){const n=Bm(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=Bm(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){const n=[].concat(t),r=Bm(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=Bm(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=Bm(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},isSCSSVariable:function(e){return!(!e||"word"!==e.type||!e.value.startsWith("$"))},isLastNode:function(e,t){const n=e.getParentNode();if(!n)return!1;const{nodes:r}=n;return r&&r.indexOf(t)===r.length-1},isLessParser:function(e){return"css"===e.parser||"less"===e.parser},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:Tm,isDivisionNode:km,isAdditionNode:Nm,isSubtractionNode:Om,isModuloNode:Pm,isMathOperatorNode:function(e){return Tm(e)||km(e)||Nm(e)||Om(e)||Pm(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:_m,isKeyValuePairInParenGroupNode:Im,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(Im(t)||n&&Im(n)))return!1;const r=Bm(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||(!!Im(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&Sm.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups){return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,u)=>n+e(r)+("comma_group"===t.groups[0].type&&u!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"")}const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")}};const{printNumber:Mm,printString:Lm,hasIgnoreComment:Rm,hasNewline:qm,isFrontMatterNode:Vm,isNextLineEmpty:Wm}=Lt,{builders:{concat:$m,join:Um,line:zm,hardline:Jm,softline:Gm,group:Hm,fill:Xm,indent:Ym,dedent:Km,ifBreak:Qm,breakParent:Zm},utils:{removeLines:eg}}=dn,{insertPragma:tg}=xm,{getAncestorNode:ng,getPropOfDeclNode:rg,maybeToLowerCase:ug,insideValueFunctionNode:og,insideICSSRuleNode:ag,insideAtRuleNode:ig,insideURLFunctionInImportAtRuleNode:sg,isKeyframeAtRuleKeywords:lg,isWideKeywords:cg,isSCSS:pg,isLastNode:dg,isLessParser:fg,isSCSSControlDirectiveNode:hg,isDetachedRulesetDeclarationNode:mg,isRelationalOperatorNode:gg,isEqualityOperatorNode:Dg,isMultiplicationNode:yg,isDivisionNode:Eg,isAdditionNode:Cg,isSubtractionNode:bg,isMathOperatorNode:Ag,isEachKeywordNode:vg,isForKeywordNode:Fg,isURLFunctionNode:xg,isIfElseKeywordNode:Sg,hasComposesNode:wg,hasParensAroundNode:Bg,hasEmptyRawBefore:Tg,isKeyValuePairNode:kg,isDetachedRulesetCallNode:Ng,isTemplatePlaceholderNode:Og,isTemplatePropNode:Pg,isPostcssSimpleVarNode:_g,isSCSSMapItemNode:Ig,isInlineValueCommentNode:jg,isHashNode:Mg,isLeftCurlyBraceNode:Lg,isRightCurlyBraceNode:Rg,isWordNode:qg,isColonNode:Vg,isMediaAndSupportsKeywords:Wg,isColorAdjusterFuncNode:$g,lastLineHasInlineComment:Ug}=jm;function zg(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Jg(e,t,n){const r=e.getValue(),u=[];let o=0;return e.map(e=>{const a=r.nodes[o-1];if(a&&"css-comment"===a.type&&"prettier-ignore"===a.text.trim()){const n=e.getValue();u.push(t.originalText.slice(t.locStart(n),t.locEnd(n)))}else u.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!qm(t.originalText,t.locStart(r.nodes[o+1]),{backwards:!0})&&!Vm(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?u.push(" "):(u.push(t.__isHTMLStyleAttribute?zm:Jm),Wm(t.originalText,e.getValue(),t.locEnd)&&!Vm(r.nodes[o])&&u.push(Jm))),o++},"nodes"),$m(u)}const Gg=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,Hg=new RegExp(Gg.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 Xg(e,t){return e.replace(Gg,e=>Lm(e,t))}function Yg(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Kg(e){return e.replace(Hg,(e,t,n,r,u)=>!n&&r?Qg(r)+ug(u||""):e)}function Qg(e){return Mm(e).replace(/\.0(?=$|e)/,"")}var Zg={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 $m([r.raw,Jm]);case"css-root":{const u=Jg(e,t,n),o=r.raws.after.trim();return $m([u,o?" ".concat(o):"",u.parts.length&&!t.__isHTMLStyleAttribute?Jm:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(t.locStart(r),t.locEnd(r));return e?n.trimEnd():n}case"css-rule":return $m([e.call(n,"selector"),r.important?" !important":"",r.nodes?$m([r.selector&&"selector-unknown"===r.selector.type&&Ug(r.selector.value)?zm:" ","{",r.nodes.length>0?Ym($m([Jm,Jg(e,t,n)])):"",Jm,"}",mg(r)?";":""]):";"]);case"css-decl":{const u=e.getParentNode(),{between:o}=r.raws,a=o.trim(),i=":"===a;let s=wg(r)?eg(e.call(n,"value")):e.call(n,"value");return!i&&Ug(a)&&(s=Ym($m([Jm,Km(s)]))),$m([r.raws.before.replace(/[\s;]/g,""),ag(e)?r.prop:ug(r.prop),a.startsWith("//")?" ":"",a,r.extend?"":" ",fg(t)&&r.extend&&r.selector?$m(["extend(",e.call(n,"selector"),")"]):"",s,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?$m([" {",Ym($m([Gm,Jg(e,t,n)])),Gm,"}"]):Pg(r)&&!u.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1]?"":t.__isHTMLStyleAttribute&&dg(e,r)?Qm(";",""):";"])}case"css-atrule":{const u=e.getParentNode(),o=Og(r)&&!u.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1];if(fg(t)){if(r.mixin)return $m([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return $m([r.name,$m([e.call(n,"params")]),o?"":";"]);if(r.variable)return $m(["@",r.name,": ",r.value?$m([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?$m(["{",Ym($m([r.nodes.length>0?Gm:"",Jg(e,t,n)])),Gm,"}"]):"",o?"":";"])}return $m(["@",Ng(r)||r.name.endsWith(":")?r.name:ug(r.name),r.params?$m([Ng(r)?"":Og(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?$m([Jm,Jm]):/^\s*\n/.test(r.raws.afterName)?Jm:" ":" ",e.call(n,"params")]):"",r.selector?Ym($m([" ",e.call(n,"selector")])):"",r.value?Hm($m([" ",e.call(n,"value"),hg(r)?Bg(r)?" ":zm:""])):"else"===r.name?" ":"",r.nodes?$m([hg(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&Ug(r.selector.value)||!r.selector&&"string"==typeof r.params&&Ug(r.params)?zm:" ","{",Ym($m([r.nodes.length>0?Gm:"",Jg(e,t,n)])),Gm,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),Hm(Ym(Um(zm,t)))}case"media-query":return $m([Um(" ",e.map(n,"nodes")),dg(e,r)?"":","]);case"media-type":return Kg(Xg(r.value,t));case"media-feature-expression":return r.nodes?$m(["(",$m(e.map(n,"nodes")),")"]):r.value;case"media-feature":return ug(Xg(r.value.replace(/ +/g," "),t));case"media-colon":return $m([r.value," "]);case"media-value":return Kg(Xg(r.value,t));case"media-keyword":return Xg(r.value,t);case"media-url":return Xg(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return Hm($m([ig(e,"custom-selector")?$m([ng(e,"css-atrule").customSelector,zm]):"",Um($m([",",ig(e,["extend","custom-selector","nest"])?zm:Jm]),e.map(n,"nodes"))]));case"selector-selector":return Hm(Ym($m(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return Xg(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),u=n&&t.nodes[n-1];return $m([r.namespace?$m([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===u.type?r.value:Kg(lg(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return $m(["#",r.value]);case"selector-class":return $m([".",Kg(Xg(r.value,t))]);case"selector-attribute":return $m(["[",r.namespace?$m([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Yg(Xg(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":zm;return $m([n,r.value,dg(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?zm:"",u=Kg(Xg(r.value.trim(),t))||zm;return $m([n,u])}case"selector-universal":return $m([r.namespace?$m([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return $m([ug(r.value),r.nodes&&r.nodes.length>0?$m(["(",Um(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=ng(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Kg(Xg(ug(r.value),t));const u=e.getParentNode();if(u.raws&&u.raws.selector){const e=t.locStart(u),n=e+u.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===u.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=t.locStart(u.open)+1,n=t.locEnd(u.close)-1,r=t.originalText.slice(e,n).trim();return Ug(r)?$m([Zm,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"value-comma_group":{const t=e.getParentNode(),u=e.getParentNode(1),o=rg(e),a=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),i=ng(e,"css-atrule"),s=i&&hg(i),l=e.map(n,"groups"),c=[],p=og(e,"url");let d=!1,f=!1;for(let n=0;n<r.groups.length;++n){c.push(l[n]);const o=r.groups[n-1],h=r.groups[n],m=r.groups[n+1],g=r.groups[n+2];if(p){(m&&Cg(m)||Cg(h))&&c.push(" ");continue}if(!m)continue;if("value-word"===h.type&&h.value.endsWith("-")&&"value-atword"===m.type&&m.value.startsWith("prettier-placeholder-"))continue;const D="value-string"===h.type&&h.value.startsWith("#{"),y=d&&"value-string"===m.type&&m.value.endsWith("}");if(D||y){d=!d;continue}if(d)continue;if(Vg(h)||Vg(m))continue;if("value-atword"===h.type&&""===h.value)continue;if("~"===h.value)continue;if(h.value&&h.value.includes("\\")&&m&&"value-comment"!==m.type)continue;if(o&&o.value&&o.value.indexOf("\\")===o.value.length-1&&"value-operator"===h.type&&"/"===h.value)continue;if("\\"===h.value)continue;if(_g(h,m))continue;if(Mg(h)||Lg(h)||Rg(m)||Lg(m)&&Tg(m)||Rg(h)&&Tg(m))continue;if("--"===h.value&&Mg(m))continue;const E=Ag(h),C=Ag(m);if((E&&Mg(m)||C&&Rg(h))&&Tg(m))continue;if(og(e,"calc")&&(Cg(h)||Cg(m)||bg(h)||bg(m))&&Tg(m))continue;const b=(Cg(h)||bg(h))&&0===n&&("value-number"===m.type||m.isHex)&&u&&$g(u)&&!Tg(m),A=g&&"value-func"===g.type||g&&qg(g)||"value-func"===h.type||qg(h),v="value-func"===m.type||qg(m)||o&&"value-func"===o.type||o&&qg(o);if(yg(m)||yg(h)||og(e,"calc")||b||!(Eg(m)&&!A||Eg(h)&&!v||Cg(m)&&!A||Cg(h)&&!v||bg(m)||bg(h))||!(Tg(m)||E&&(!o||o&&Ag(o))))if(jg(h)){if("value-paren_group"===t.type){c.push(Km(Jm));continue}c.push(Jm)}else s&&(Dg(m)||gg(m)||Sg(m)||vg(h)||Fg(h))||i&&"namespace"===i.name.toLowerCase()?c.push(" "):a?h.source&&m.source&&h.source.start.line!==m.source.start.line?(c.push(Jm),f=!0):c.push(" "):C?c.push(" "):m&&"..."===m.value||c.push(zm)}return f&&c.unshift(Jm),s?Hm(Ym($m(c))):sg(e)?Hm(Xm(c)):Hm(Ym(Xm(c)))}case"value-paren_group":{const u=e.getParentNode();if(u&&xg(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 $m([r.open?e.call(n,"open"):"",Um(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push($m([",",zm])),r.push(t[e]);return Hm(Ym(Xm(r)))}const o=Ig(e),a=r.groups[r.groups.length-1],i=a&&"value-comment"===a.type;return Hm($m([r.open?e.call(n,"open"):"",Ym($m([Gm,Um($m([",",zm]),e.map(e=>{const t=e.getValue(),r=n(e);return kg(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=Hm(r.contents.contents.parts[1]),Hm(Km(r))):r},"groups"))])),Qm(!i&&pg(t.parser,t.originalText)&&o&&zg(t)?",":""),Gm,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return $m([r.value,ig(e,"supports")&&Wg(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return $m([Qg(r.value),ug(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||cg(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),u=n&&t.groups[n-1];return $m([r.value,u&&"\\"===u.value[u.value.length-1]||og(e,"url")?"":zm])}case"value-comma":return $m([r.value," "]);case"value-string":return Lm(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return $m(["@",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:vm,insertPragma:tg,hasPrettierIgnore:Rm,massageAstNode:hm},eD={singleQuote:Bh.singleQuote},tD=[".css"],nD={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:tD,languageId:50},rD=Object.freeze({__proto__:null,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:tD,languageId:50,default:nD}),uD=[".pcss",".postcss"],oD={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:uD,aceMode:"text",languageId:262764437},aD=Object.freeze({__proto__:null,name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:uD,aceMode:"text",languageId:262764437,default:oD}),iD=[".less"],sD={name:"Less",type:"markup",group:"CSS",extensions:iD,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},lD=Object.freeze({__proto__:null,name:"Less",type:"markup",group:"CSS",extensions:iD,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198,default:sD}),cD=[".scss"],pD={name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:cD,languageId:329},dD=Object.freeze({__proto__:null,name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:cD,languageId:329,default:pD}),fD=Ue(rD),hD=Ue(aD),mD=Ue(lD),gD=Ue(dD);var DD={languages:[As(fD,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]})),As(hD,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),As(mD,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),As(gD,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:eD,printers:{postcss:Zg},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},yD=Ue(Object.freeze({__proto__:null,default:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}));const ED=new Set(yD);function CD(e){return bD(e,["TextNode"])&&!/\S/.test(e.chars)}function bD(e,t){return e&&t.some(t=>e.type===t)}function AD(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 vD(e,t=1){return AD(e,-t)}function FD(e){return AD(e,1)}function xD(e){return bD(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var SD={getNextNode:FD,getPreviousNode:vD,hasPrettierIgnore:function(e){const t=e.getValue(),n=vD(e,2);return xD(t)||xD(n)},isNextNodeOfSomeType:function(e,t){return bD(FD(e),t)},isNodeOfSomeType:bD,isParentOfSomeType:function(e,t){return bD(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return bD(vD(e),t)},isVoid:function(e){return function(e){return bD(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&(0===e.children||e.children.every(e=>CD(e)))||ED.has(e.tag)},isWhitespaceNode:CD};const{concat:wD,group:BD,hardline:TD,ifBreak:kD,indent:ND,join:OD,line:PD,softline:_D}=dn.builders,{getNextNode:ID,getPreviousNode:jD,hasPrettierIgnore:MD,isNextNodeOfSomeType:LD,isNodeOfSomeType:RD,isParentOfSomeType:qD,isPreviousNodeOfSomeType:VD,isVoid:WD,isWhitespaceNode:$D}=SD;function UD(e,t){const n=e.getValue();return wD(["<",n.tag,zD(e,t),Dy(n),GD(n)])}function zD(e,t){const n=e.getValue();return ND(wD([n.attributes.length?PD:"",OD(PD,e.map(t,"attributes")),n.modifiers.length?PD:"",OD(PD,e.map(t,"modifiers")),n.comments.length?PD:"",OD(PD,e.map(t,"comments"))]))}function JD(e,t,n){return wD(e.map((e,r)=>0===r?wD([_D,n(e,t,n)]):n(e,t,n),"children"))}function GD(e){return WD(e)?kD(wD([_D,"/>"]),wD([" />",_D])):kD(wD([_D,">"]),">")}function HD(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return wD([t,n])}function XD(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return wD([n,t])}function YD(e){const t=HD(e),n=e.openStrip.open?"~":"";return wD([t,n,"#"])}function KD(e){const t=XD(e),n=e.openStrip.close?"~":"";return wD([n,t])}function QD(e){const t=HD(e),n=e.closeStrip.open?"~":"";return wD([t,n,"/"])}function ZD(e){const t=XD(e),n=e.closeStrip.close?"~":"";return wD([n,t])}function ey(e){const t=HD(e),n=e.inverseStrip.open?"~":"";return wD([t,n])}function ty(e){const t=XD(e),n=e.inverseStrip.close?"~":"";return wD([n,t])}function ny(e,t){const n=e.getValue();return BD(wD([YD(n),hy(e,t),Dy(n.program),_D,KD(n)]))}function ry(e){return wD([TD,ey(e),"else",ty(e)])}function uy(e,t){const n=e.getParentNode(1);return wD([ey(n),"else ",hy(e,t),ty(n)])}function oy(e,t){const n=e.getValue();return wD([ay(n)?_D:TD,QD(n),e.call(t,"path"),ZD(n)])}function ay(e){return RD(e,["BlockStatement"])&&e.program.body.every(e=>$D(e))}function iy(e){return RD(e,["BlockStatement"])&&e.inverse}function sy(e,t){if(ay(e.getValue()))return"";const n=e.call(t,"program");return ND(wD([TD,n]))}function ly(e,t){const n=e.getValue(),r=e.call(t,"inverse"),u=wD([TD,r]);return function(e){return iy(e)&&1===e.inverse.body.length&&RD(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?u:iy(n)?wD([ry(n),ND(u)]):""}function cy(e){return(e="string"==typeof e?e:"").split("\n").length-1}function py(e=0,t=0){return new Array(Math.min(e,t)).fill(TD)}function dy(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=t.singleQuote?r:n,o=u===r?n:r;let a=!1;if(e.includes(u.quote)||e.includes(o.quote)){a=(e.match(u.regex)||[]).length>(e.match(o.regex)||[]).length}const i=a?o:u,s=e.replace(i.regex,"\\".concat(i.quote));return wD([i.quote,s,i.quote])}function fy(e,t){const n=my(e,t),r=gy(e,t);return r?ND(wD([n,PD,BD(r)])):n}function hy(e,t){const n=my(e,t),r=gy(e,t);return r?ND(BD(wD([n,PD,r]))):n}function my(e,t){return e.call(t,"path")}function gy(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?OD(PD,r):""}function Dy(e){return e&&e.blockParams.length?wD([" as |",e.blockParams.join(" "),"|"]):""}function yy(e,t,n){let r=0,u=0;for(;;){if(u===e.length)return null;let o=e.indexOf("\n",u);if(-1===o&&(o=e.length),r===t)return u+n>o?null:u+n;if(-1===o)return null;r+=1,u=o+1}}var Ey={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(MD(e)){const e=yy(t.originalText,r.loc.start.line-1,r.loc.start.column),n=yy(t.originalText,r.loc.end.line-1,r.loc.end.column);return t.originalText.slice(e,n)}switch(r.type){case"Block":case"Program":case"Template":return BD(wD(e.map(n,"body")));case"ElementNode":{const u=LD(e,["ElementNode"])?TD:"";if(WD(r))return wD([BD(UD(e,n)),u]);const o=r.children.every(e=>$D(e));return wD([BD(UD(e,n)),BD(wD([o?"":ND(JD(e,t,n)),r.children.length?TD:"",wD(["</",r.tag,">"])])),u])}case"BlockStatement":{const t=e.getParentNode(1),u=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return wD(u?[uy(e,n),sy(e,n),ly(e,n)]:[ny(e,n),BD(wD([sy(e,n),ly(e,n),oy(e,n)]))])}case"ElementModifierStatement":return BD(wD(["{{",hy(e,n),_D,"}}"]));case"MustacheStatement":{const t=qD(e,["AttrNode","ConcatStatement"]),u=qD(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||u;return BD(wD([HD(r),o?ND(_D):"",hy(e,n),_D,XD(r)]))}case"SubExpression":return BD(wD(["(",fy(e,n),_D,")"]));case"AttrNode":{const u="TextNode"===r.value.type;if(u&&""===r.value.chars&&r.value.loc.start.column===r.value.loc.end.column)return wD([r.name]);const o=e.call(n,"value"),a=u?dy(o.parts.join(),t):o;return wD([r.name,"=",a])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return wD([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return wD([OD(PD,e.map(n,"pairs"))]);case"HashPair":return wD([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!jD(e),u=!ID(e),o=!/\S/.test(r.chars),a=cy(r.chars);let i=function(e){return cy(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),s=function(e){return cy(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||u)&&o&&qD(e,["Block","ElementNode","Template"]))return"";o&&a?(i=Math.min(a,t),s=0):(LD(e,["BlockStatement","ElementNode"])&&(s=Math.max(s,1)),VD(e,["BlockStatement","ElementNode"])&&(i=Math.max(i,1)));if(e.stack.includes("attributes")){if(!function(e,t){return qD(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||qD(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return wD([r.chars]);let n="",u="";return qD(e,["ConcatStatement"])&&(VD(e,["MustacheStatement"])&&(n=" "),LD(e,["MustacheStatement"])&&(u=" ")),wD([...py(i,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,u),...py(s,t)])}let l="",c="";0===s&&LD(e,["MustacheStatement"])&&(c=" "),0===i&&VD(e,["MustacheStatement"])&&(l=" "),n&&(i=0,l=""),u&&(s=0,c="");let p=r.chars;return p.startsWith("{{")&&p.includes("}}")&&(p="\\"+p),wD([...py(i,t),p.replace(/^\s+/g,l).replace(/\s+$/,c),...py(s,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return wD(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return wD(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return dy(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}},Cy=["hbs","htmlbars"],by=[".handlebars",".hbs"],Ay={name:"Handlebars",type:"markup",group:"HTML",aliases:Cy,extensions:by,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155};var vy={languages:[As(Ue(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:Cy,extensions:by,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:Ay})),()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:Ey},parsers:{get glimmer(){return{}.parsers.glimmer}}};var Fy={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};const{concat:xy,join:Sy,hardline:wy,line:By,softline:Ty,group:ky,indent:Ny,ifBreak:Oy}=dn.builders,{hasIgnoreComment:Py,isNextLineEmpty:_y}=Lt,{insertPragma:Iy}=Fy;function jy(e,t,n){if(0===n.directives.length)return"";const r=Sy(By,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?ky(xy([By,r])):xy([" ",ky(Ny(xy([Ty,r])))])}function My(e,t,n){const r=e.getValue().length;return e.map((e,u)=>{const o=n(e);return _y(t.originalText,e.getValue(),t.locEnd)&&u<r-1?xy([o,wy]):o})}function Ly(e,t,n){const r=e.getNode(),u=[],{interfaces:o}=r,a=e.map(e=>n(e),"interfaces");for(let e=0;e<o.length;e++){const n=o[e];u.push(a[e]);const r=o[e+1];if(r){const e=t.originalText.slice(n.loc.end,r.loc.start),o=e.includes("#"),a=e.replace(/#.*/g,"").trim();u.push(","===a?",":" &"),u.push(o?By:" ")}}return u}var Ry={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.map((e,o)=>{u.push(xy([e.call(n)])),o!==r.definitions.length-1&&(u.push(wy),_y(t.originalText,e.getValue(),t.locEnd)&&u.push(wy))},"definitions"),xy([xy(u),wy])}case"OperationDefinition":{const u="{"!==t.originalText[t.locStart(r)],o=!!r.name;return xy([u?r.operation:"",u&&o?xy([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.map(n,"variableDefinitions"))])),Ty,")"])):"",jy(e,n,r),r.selectionSet&&(u||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return xy(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.map(n,"variableDefinitions"))])),Ty,")"])):""," on ",e.call(n,"typeCondition"),jy(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return xy(["{",Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"selections"))])),wy,"}"]);case"Field":return ky(xy([r.alias?xy([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.call(e=>My(e,t,n),"arguments"))])),Ty,")"])):"",jy(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?xy(['"""',wy,Sy(wy,r.value.replace(/"""/g,"\\$&").split("\n")),wy,'"""']):xy(['"',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 xy(["$",e.call(n,"name")]);case"ListValue":return ky(xy(["[",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.map(n,"values"))])),Ty,"]"]));case"ObjectValue":return ky(xy(["{",t.bracketSpacing&&r.fields.length>0?" ":"",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.map(n,"fields"))])),Ty,Oy("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return xy([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return xy(["@",e.call(n,"name"),r.arguments.length>0?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.call(e=>My(e,t,n),"arguments"))])),Ty,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return xy([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?xy([" = ",e.call(n,"defaultValue")]):"",jy(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return xy([e.call(n,"description"),r.description?wy:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?xy([" implements ",xy(Ly(e,t,n))]):"",jy(e,n,r),r.fields.length>0?xy([" {",Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"fields"))])),wy,"}"]):""]);case"FieldDefinition":return xy([e.call(n,"description"),r.description?wy:"",e.call(n,"name"),r.arguments.length>0?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.call(e=>My(e,t,n),"arguments"))])),Ty,")"])):"",": ",e.call(n,"type"),jy(e,n,r)]);case"DirectiveDefinition":return xy([e.call(n,"description"),r.description?wy:"","directive ","@",e.call(n,"name"),r.arguments.length>0?ky(xy(["(",Ny(xy([Ty,Sy(xy([Oy("",", "),Ty]),e.call(e=>My(e,t,n),"arguments"))])),Ty,")"])):"",r.repeatable?" repeatable":"",xy([" on ",Sy(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return xy([e.call(n,"description"),r.description?wy:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),jy(e,n,r),r.values.length>0?xy([" {",Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"values"))])),wy,"}"]):""]);case"EnumValueDefinition":return xy([e.call(n,"description"),r.description?wy:"",e.call(n,"name"),jy(e,n,r)]);case"InputValueDefinition":return xy([e.call(n,"description"),r.description?r.description.block?wy:By:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?xy([" = ",e.call(n,"defaultValue")]):"",jy(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return xy([e.call(n,"description"),r.description?wy:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),jy(e,n,r),r.fields.length>0?xy([" {",Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"fields"))])),wy,"}"]):""]);case"SchemaDefinition":return xy(["schema",jy(e,n,r)," {",r.operationTypes.length>0?Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"operationTypes"))])):"",wy,"}"]);case"OperationTypeDefinition":return xy([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return xy([e.call(n,"description"),r.description?wy:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?xy([" implements ",xy(Ly(e,t,n))]):"",jy(e,n,r),r.fields.length>0?xy([" {",Ny(xy([wy,Sy(wy,e.call(e=>My(e,t,n),"fields"))])),wy,"}"]):""]);case"FragmentSpread":return xy(["...",e.call(n,"name"),jy(e,n,r)]);case"InlineFragment":return xy(["...",r.typeCondition?xy([" on ",e.call(n,"typeCondition")]):"",jy(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return ky(xy([e.call(n,"description"),r.description?wy:"",ky(xy(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),jy(e,n,r),r.types.length>0?xy([" =",Oy(""," "),Ny(xy([Oy(xy([By," "])),Sy(xy([By,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return xy([e.call(n,"description"),r.description?wy:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),jy(e,n,r)]);case"NonNullType":return xy([e.call(n,"type"),"!"]);case"ListType":return xy(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:Py,insertPragma:Iy,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}},qy={bracketSpacing:Bh.bracketSpacing},Vy=[".graphql",".gql",".graphqls"],Wy={name:"GraphQL",type:"data",extensions:Vy,tmScope:"source.graphql",aceMode:"text",languageId:139};var $y={languages:[As(Ue(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:Vy,tmScope:"source.graphql",aceMode:"text",languageId:139,default:Wy})),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:qy,printers:{graphql:Ry},parsers:{get graphql(){return{}.parsers.graphql}}};const{getLast:Uy}=Lt,{cjkPattern:zy,kPattern:Jy,punctuationPattern:Gy}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},Hy=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Xy=Hy.concat(["tableCell","paragraph","heading"]),Yy=new RegExp(Jy),Ky=new RegExp(Gy);function Qy(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 Zy={mapAst:function(e,t){return function e(n,r,u){u=u||[];const o=Object.assign({},t(n,r,u));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(u)))),o}(e,null,null)},splitText:function(e,t){const n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(zy,")\n(").concat(zy,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,u)=>{t%2!=1?(0!==t&&t!==u.length-1||""!==e)&&e.split(new RegExp("(".concat(zy,")"))).forEach((e,t,n)=>{(0!==t&&t!==n.length-1||""!==e)&&(t%2!=0?r(Ky.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Yy.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:Ky.test(e[0]),hasTrailingPunctuation:Ky.test(Uy(e))}))}):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),n;function r(e){const t=Uy(n);var r,u;t&&"word"===t.type&&("non-cjk"===t.kind&&"cj-letter"===e.kind&&!t.hasTrailingPunctuation||"cj-letter"===t.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):(r="non-cjk",u="cjk-punctuation",t.kind===r&&e.kind===u||t.kind===u&&e.kind===r||[t.value,e.value].some(e=>/\u3000/.test(e))||n.push({type:"whitespace",value:""}))),n.push(e)}},punctuationPattern:Gy,getFencedCodeBlockValue:function(e,t){const n=t.trimEnd().slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,u=new RegExp("^\\s{0,".concat(r,"}")),o=n.split("\n"),a=n[r],i=n.slice(r).match(new RegExp("^[".concat(a,"]+")))[0],s=new RegExp("^\\s{0,3}".concat(i)).test(o[o.length-1].slice(l(o.length-1)));return o.slice(1,s?-1:void 0).map((e,t)=>e.slice(l(t+1)).replace(u,"")).join("\n");function l(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:Qy,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(Qy(e.children[0],t.originalText).numberText),r=Number(Qy(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(Qy(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:Hy,INLINE_NODE_WRAPPER_TYPES:Xy,isAutolink:function(e,t){if(!e||"link"!==e.type||1!==e.children.length)return!1;const n=e.children[0];return n&&t.locStart(e)===t.locStart(n)&&t.locEnd(e)===t.locEnd(n)}};const{getParserName:eE,getMaxContinuousCount:tE}=Lt,{builders:{hardline:nE,concat:rE,markAsRoot:uE},utils:{replaceNewlinesWithLiterallines:oE}}=dn,{print:aE}=Em,{getFencedCodeBlockValue:iE}=Zy;var sE=function(e,t,n,r){const u=e.getValue();if("code"===u.type&&null!==u.lang){const e=u.lang.match(/^[\w-]+/),t=e?e[0]:"",o=eE(t,r);if(o){const e=r.__inJsTemplate?"~":"`",t=e.repeat(Math.max(3,tE(u.value,e)+1)),a=n(iE(u,r.originalText),{parser:o},{stripTrailingHardline:!0});return uE(rE([t,u.lang,u.meta?" "+u.meta:"",nE,oE(a),nE,t]))}}switch(u.type){case"front-matter":return aE(u,n);case"importExport":return rE([n(u.value,{parser:"babel"},{stripTrailingHardline:!0}),nE]);case"jsx":return n("<$>".concat(u.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:lE}=Em,cE=["format","prettier"];function pE(e){const t="@(".concat(cE.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 dE={startWithPragma:pE,hasPragma:e=>pE(lE(e).content.trimStart()),insertPragma:e=>{const t=lE(e),n="\x3c!-- @".concat(cE[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:fE,mapAst:hE,splitText:mE}=Zy,gE=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function DE(e,t,n){return hE(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const u=e[e.length-1];return u&&t(u,r)?e.splice(-1,1,n(u,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var yE=function(e,t){return e=function(e){return DE(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return hE(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return hE(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:u}=e;return"paragraph"===r.type&&(0===n&&(u=u.trimStart()),n===r.children.length-1&&(u=u.trimEnd())),{type:"sentence",position:e.position,children:mE(u,t)}})}(e=function(e,t){return hE(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t<n.length;t++){const r=n[t];if("list"===r.type&&!r.isAligned)return e.isAligned=!1,e}e.isAligned=r(e)}return e});function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function r(e){if(!e.ordered)return!0;const[r,u]=e.children;if(fE(r,t.originalText).leadingSpaces.length>1)return!0;const o=n(r);if(-1===o)return!1;if(1===e.children.length)return o%t.tabWidth==0;if(o!==n(u))return!1;if(o%t.tabWidth==0)return!0;return fE(u,t.originalText).leadingSpaces.length>1}}(e=function(e,t){return hE(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){const t=r[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e})}(e=function(e){return hE(e,e=>"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return DE(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return hE(e,e=>"text"!==e.type?e:Object.assign({},e,{value:"*"!==e.value&&"_"!==e.value&&"$"!==e.value&&gE.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?t.originalText.slice(e.position.start.offset,e.position.end.offset):e.value}))}(e,t))),t),t),t)))};const{getLast:EE,getMinNotPresentContinuousCount:CE,getMaxContinuousCount:bE,getStringWidth:AE}=Lt,{builders:{breakParent:vE,concat:FE,join:xE,line:SE,literalline:wE,markAsRoot:BE,hardline:TE,softline:kE,ifBreak:NE,fill:OE,align:PE,indent:_E,group:IE},utils:{normalizeDoc:jE},printer:{printDocToString:ME}}=dn,{replaceEndOfLineWith:LE,isFrontMatterNode:RE}=Lt,{getFencedCodeBlockValue:qE,hasGitDiffFriendlyOrderedList:VE,splitText:WE,punctuationPattern:$E,INLINE_NODE_TYPES:UE,INLINE_NODE_WRAPPER_TYPES:zE,isAutolink:JE}=Zy,GE=new Set(["importExport"]),HE=["heading","tableCell","link"],XE=new Set(["listItem","definition","footnoteDefinition"]);function YE(e,t,n,r){const u=e.getValue(),o=null===u.checked?"":u.checked?"[x] ":"[ ] ";return FE([o,nC(e,t,n,{processor:(e,u)=>{if(0===u&&"list"!==e.getValue().type)return PE(" ".repeat(o.length),e.call(n));const a=" ".repeat((i=t.tabWidth-r.length,l=3,i<(s=0)?s:i>l?l:i));var i,s,l;return FE([a,PE(a,e.call(n))])}})])}function KE(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const u of t.children)if(u.type===e.type&&n(u)?r++:r=-1,u===e)return r}(e,t,t=>t.ordered===e.ordered)}function QE(e,t){const n=[].concat(t);let r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}function ZE(e,t){const n=QE(e,t);return-1===n?null:e.getParentNode(n)}function eC(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return TE;const r="always"===n.proseWrap&&!ZE(e,HE);return""!==t?r?SE:" ":r?kE:""}function tC(e,t,n){const r=[];let u=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(uC(e)){case"start":null===u&&(u={index:t,offset:e.position.end.offset});break;case"end":null!==u&&(r.push({start:u,end:{index:t,offset:e.position.start.offset}}),u=null)}}),nC(e,t,n,{processor:(e,u)=>{if(0!==r.length){const e=r[0];if(u===e.start.index)return FE([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.index<u&&u<e.end.index)return!1;if(u===e.end.index)return r.shift(),!1}return e.call(n)}})}function nC(e,t,n,r){const u=(r=r||{}).postprocessor||FE,o=r.processor||(e=>e.call(n)),a=e.getValue(),i=[];let s;return e.map((e,n)=>{const r=e.getValue(),u=o(e,n);if(!1!==u){const e={parts:i,prevNode:s,parentNode:a,options:t};(function(e,t){const n=0===t.parts.length,r=UE.includes(e.type),u="html"===e.type&&zE.includes(t.parentNode.type);return n||r||u})(r,e)||(i.push(TE),s&&GE.has(s.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&XE.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,u=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===uC(t.prevNode),a="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,i="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return u||!(n||r||o||a||i)}(r,e)||oC(r,e))&&i.push(TE),oC(r,e)&&i.push(TE)),i.push(u),s=r}},"children"),u(i)}function rC(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function uC(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 oC(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function aC(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function iC(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+iC(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 sC={preprocess:yE,print:function(e,t,n){const r=e.getValue();if(function(e){const t=ZE(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return FE(WE(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":eC(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":FE([jE(tC(e,t,n)),GE.has(rC(r).type)?"":TE]);case"paragraph":return nC(e,t,n,{postprocessor:OE});case"sentence":return nC(e,t,n);case"word":{let n=r.value.replace(/[$*]/g,"\\$&").replace(new RegExp(["(^|".concat($E,")(_+)"),"(_+)(".concat($E,"|$)")].join("|"),"g"),(e,t,n,r,u)=>(n?"".concat(t).concat(n):"".concat(r).concat(u)).replace(/_/g,"\\_"));const u=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,n,r)=>JE(e.children[r-1],t);return n!==r.value&&(e.match(void 0,u,o)||e.match(void 0,u,(e,t,n)=>"emphasis"===e.type&&0===n,o))&&(n=n.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),n}case"whitespace":{const n=e.getParentNode(),u=n.children.indexOf(r),o=n.children[u+1],a=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return eC(e,r.value,{proseWrap:a})}case"emphasis":{let u;if(JE(r.children[0],t))u=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],a=t.children[n+1];u=o&&"sentence"===o.type&&o.children.length>0&&"word"===EE(o.children).type&&!EE(o.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||ZE(e,"emphasis")?"*":"_"}return FE([u,nC(e,t,n),u])}case"strong":return FE(["**",nC(e,t,n),"**"]);case"delete":return FE(["~~",nC(e,t,n),"~~"]);case"inlineCode":{const e=CE(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return FE([t,n,r.value,n,t])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return FE(["<",n,">"])}case"[":return FE(["[",nC(e,t,n),"](",aC(r.url,")"),iC(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return FE(["![",r.alt||"","](",aC(r.url,")"),iC(r.title,t),")"]);case"blockquote":return FE(["> ",PE("> ",nC(e,t,n))]);case"heading":return FE(["#".repeat(r.depth)+" ",nC(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return PE(e,FE([e,FE(LE(r.value,TE))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,bE(r.value,e)+1));return FE([n,r.lang||"",r.meta?" "+r.meta:"",TE,FE(LE(qE(r,t.originalText),TE)),TE,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&EE(t.children)===r?r.value.trimEnd():r.value,u=/^<!--[\S\s]*-->$/.test(n);return FE(LE(n,u?TE:BE(wE)))}case"list":{const u=KE(r,e.getParentNode()),o=VE(r,t);return nC(e,t,n,{processor:(e,a)=>{const i=function(){const e=r.ordered?(0===a?r.start:o?1:r.start+a)+(u%2==0?". ":") "):u%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),s=e.getValue();return 2===s.children.length&&"html"===s.children[1].type&&s.children[0].position.start.column!==s.children[1].position.start.column?FE([i,YE(e,t,n,i)]):FE([i,PE(" ".repeat(i.length),YE(e,t,n,i))])}})}case"thematicBreak":{const t=QE(e,"list");if(-1===t)return"---";return KE(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return FE(["[",nC(e,t,n),"]","full"===r.referenceType?FE(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return FE(["![",r.alt||"","][",r.identifier,"]"]);default:return FE(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?SE:" ";return IE(FE([FE(["[",r.identifier,"]:"]),_E(FE([e,aC(r.url),null===r.title?"":FE([e,iC(r.title,t,!1)])]))]))}case"footnote":return FE(["[^",nC(e,t,n),"]"]);case"footnoteReference":return FE(["[^",r.identifier,"]"]);case"footnoteDefinition":{const u=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return FE(["[^",r.identifier,"]: ",o?nC(e,t,n):IE(FE([PE(" ".repeat(4),nC(e,t,n,{processor:(e,t)=>0===t?IE(FE([kE,e.call(n)])):e.call(n)})),u&&"footnoteDefinition"===u.type?kE:""]))])}case"table":return function(e,t,n){const r=TE.parts[0],u=e.getValue(),o=[];e.map(e=>{const r=[];e.map(e=>{r.push(ME(e.call(n),t).formatted)},"children"),o.push(r)},"children");const a=o.reduce((e,t)=>e.map((e,n)=>Math.max(e,AE(t[n]))),o[0].map(()=>3)),i=xE(r,[c(o[0]),l(),xE(r,o.slice(1).map(e=>c(e)))]);if("never"!==t.proseWrap)return FE([vE,i]);const s=xE(r,[c(o[0],!0),l(!0),xE(r,o.slice(1).map(e=>c(e,!0)))]);return FE([vE,IE(NE(s,i))]);function l(e){return FE(["| ",xE(" | ",a.map((t,n)=>{const r=e?3:t;switch(u.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}}))," |"])}function c(e,t){return FE(["| ",xE(" | ",t?e:e.map((e,t)=>{switch(u.align[t]){case"right":return d(e,a[t]);case"center":return f(e,a[t]);default:return p(e,a[t])}}))," |"])}function p(e,t){const n=t-AE(e);return FE([e," ".repeat(n)])}function d(e,t){const n=t-AE(e);return FE([" ".repeat(n),e])}function f(e,t){const n=t-AE(e),r=Math.floor(n/2),u=n-r;return FE([" ".repeat(r),e," ".repeat(u)])}}(e,t,n);case"tableCell":return nC(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?FE([" ",BE(wE)]):FE(["\\",TE]);case"liquidNode":return FE(LE(r.value,TE));case"importExport":case"jsx":return FE([r.value,TE]);case"math":return FE(["$$",TE,r.value?FE([FE(LE(r.value,TE)),TE]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:sE,massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"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," ")),"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||RE(n.children[0])&&n.children[1]===e)&&"html"===e.type&&dE.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===uC(e.getParentNode().children[t-1])},insertPragma:dE.insertPragma},lC={proseWrap:Bh.proseWrap,singleQuote:Bh.singleQuote},cC=["pandoc"],pC=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],dC=["contents.lr"],fC={name:"Markdown",type:"prose",aliases:cC,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:true,extensions:pC,filenames:dC,tmScope:"source.gfm",languageId:222},hC=Ue(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:cC,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:true,extensions:pC,filenames:dC,tmScope:"source.gfm",languageId:222,default:fC}));var mC={languages:[As(hC,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),As(hC,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:lC,printers:{mdast:sC},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:gC}=Lt;var DC=Object.freeze({__proto__:null,default:["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"]}),yC=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],EC=["title"],CC=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],bC=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],AC=["autoplay","controls","crossorigin","loop","muted","preload","src"],vC=["href","target"],FC=["color","face","size"],xC=["dir"],SC=["cite"],wC=["alink","background","bgcolor","link","text","vlink"],BC=["clear"],TC=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],kC=["height","width"],NC=["align"],OC=["align","char","charoff","span","valign","width"],PC=["align","char","charoff","span","valign","width"],_C=["value"],IC=["cite","datetime"],jC=["open"],MC=["title"],LC=["open"],RC=["compact"],qC=["align"],VC=["compact"],WC=["height","src","type","width"],$C=["disabled","form","name"],UC=["color","face","size"],zC=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],JC=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],GC=["cols","rows"],HC=["align"],XC=["align"],YC=["align"],KC=["align"],QC=["align"],ZC=["align"],eb=["profile"],tb=["align","noshade","size","width"],nb=["manifest","version"],rb=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],ub=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],ob=["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"],ab=["cite","datetime"],ib=["prompt"],sb=["accesskey","for","form"],lb=["accesskey","align"],cb=["type","value"],pb=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],db=["name"],fb=["compact"],hb=["charset","content","http-equiv","name","scheme"],mb=["high","low","max","min","optimum","value"],gb=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],Db=["compact","reversed","start","type"],yb=["disabled","label"],Eb=["disabled","label","selected","value"],Cb=["for","form","name"],bb=["align"],Ab=["name","type","value","valuetype"],vb=["width"],Fb=["max","value"],xb=["cite"],Sb=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],wb=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Bb=["name"],Tb=["media","sizes","src","srcset","type"],kb=["media","nonce","title","type"],Nb=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],Ob=["align","char","charoff","valign"],Pb=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],_b=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Ib=["align","char","charoff","valign"],jb=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Mb=["align","char","charoff","valign"],Lb=["datetime"],Rb=["align","bgcolor","char","charoff","valign"],qb=["default","kind","label","src","srclang"],Vb=["compact","type"],Wb=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],$b={"*":["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:yC,abbr:EC,applet:CC,area:bC,audio:AC,base:vC,basefont:FC,bdo:xC,blockquote:SC,body:wC,br:BC,button:TC,canvas:kC,caption:NC,col:OC,colgroup:PC,data:_C,del:IC,details:jC,dfn:MC,dialog:LC,dir:RC,div:qC,dl:VC,embed:WC,fieldset:$C,font:UC,form:zC,frame:JC,frameset:GC,h1:HC,h2:XC,h3:YC,h4:KC,h5:QC,h6:ZC,head:eb,hr:tb,html:nb,iframe:rb,img:ub,input:ob,ins:ab,isindex:ib,label:sb,legend:lb,li:cb,link:pb,map:db,menu:fb,meta:hb,meter:mb,object:gb,ol:Db,optgroup:yb,option:Eb,output:Cb,p:bb,param:Ab,pre:vb,progress:Fb,q:xb,script:Sb,select:wb,slot:Bb,source:Tb,style:kb,table:Nb,tbody:Ob,td:Pb,textarea:_b,tfoot:Ib,th:jb,thead:Mb,time:Lb,tr:Rb,track:qb,ul:Vb,video:Wb},Ub=Object.freeze({__proto__:null,a:yC,abbr:EC,applet:CC,area:bC,audio:AC,base:vC,basefont:FC,bdo:xC,blockquote:SC,body:wC,br:BC,button:TC,canvas:kC,caption:NC,col:OC,colgroup:PC,data:_C,del:IC,details:jC,dfn:MC,dialog:LC,dir:RC,div:qC,dl:VC,embed:WC,fieldset:$C,font:UC,form:zC,frame:JC,frameset:GC,h1:HC,h2:XC,h3:YC,h4:KC,h5:QC,h6:ZC,head:eb,hr:tb,html:nb,iframe:rb,img:ub,input:ob,ins:ab,isindex:ib,label:sb,legend:lb,li:cb,link:pb,map:db,menu:fb,meta:hb,meter:mb,object:gb,ol:Db,optgroup:yb,option:Eb,output:Cb,p:bb,param:Ab,pre:vb,progress:Fb,q:xb,script:Sb,select:wb,slot:Bb,source:Tb,style:kb,table:Nb,tbody:Ob,td:Pb,textarea:_b,tfoot:Ib,th:jb,thead:Mb,time:Lb,tr:Rb,track:qb,ul:Vb,video:Wb,default:$b}),zb=Ue(DC),Jb=Ue(Ub);const{getParserName:Gb,isFrontMatterNode:Hb}=Lt,{CSS_DISPLAY_TAGS:Xb,CSS_DISPLAY_DEFAULT:Yb,CSS_WHITE_SPACE_TAGS:Kb,CSS_WHITE_SPACE_DEFAULT:Qb}={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"},Zb=uA(zb),eA=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(Jb,uA),tA=new Set(["\t","\n","\f","\r"," "]),nA=e=>e.replace(/[\t\n\f\r ]+$/,""),rA=e=>e.match(/^[\t\n\f\r ]*/)[0];function uA(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function oA(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||("ieConditionalComment"===e.type&&!e.complete||(!(!DA(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!vA(e,t)||iA(e)||"interpolation"===e.type)))}function aA(e){if("attribute"===e.type)return!1;if(!e.parent)return!1;if("number"!=typeof e.index||0===e.index)return!1;return function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function iA(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||yA(e)&&("script"===e.name||"style"===e.name))}function sA(e){return EA(e).startsWith("pre")}function lA(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function cA(e){return hA(e)||"element"===e.type&&"br"===e.fullName||pA(e)}function pA(e){return dA(e)&&fA(e)}function dA(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 fA(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 hA(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function mA(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 gA(e){return"block"===e||"list-item"===e||e.startsWith("table")}function DA(e){return EA(e).startsWith("pre")}function yA(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function EA(e){return"element"===e.type&&(!e.namespace||yA(e))&&Kb[e.name]||Qb}const CA=new Set(["template","style","script"]);function bA(e,t){return AA(e,t)&&!CA.has(e.fullName)}function AA(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function vA(e,t){return AA(e,t)&&(bA(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var FA={HTML_ELEMENT_ATTRIBUTES:eA,HTML_TAGS:Zb,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(nA(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(nA(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!iA(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(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!tA.has(n[0]))return 0;const e=rA(n).length;n.length!==e&&e<t&&(t=e)}return t===1/0?0:t}(e)){return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n")},forceBreakChildren:lA,forceBreakContent:function(e){return lA(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&dA(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||fA(e.lastChild))},forceNextEmptyLine:function(e){return Hb(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}(e,e=>"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||yA(e))&&Xb[e.name]||Yb}},getNodeCssStyleWhiteSpace:EA,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:aA,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&vA(e,t)?mA(e)||!("src"in e.attrMap)&&Gb(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?mA(e):"babel"},isVueCustomBlock:bA,isVueNonHtmlBlock:vA,isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,gA(t)||"inline-block"===t||iA(e));var t},isIndentationSensitiveNode:sA,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){if(Hb(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(DA(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||DA(e)&&e.parent||iA(e.parent)||bA(e.parent,t)||(n=e.parent.cssDisplay,gA(n)||"inline-block"===n)))return!1;var n;if(e.prev&&!function(e){return!gA(e)}(e.prev.cssDisplay))return!1;return!0}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:DA,isScriptLikeTag:iA,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!Hb(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!DA(e.parent)||!(!e.next&&("root"===e.parent.type||DA(e)&&e.parent||iA(e.parent)||bA(e.parent,t)||(n=e.parent.cssDisplay,gA(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!gA(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return iA(e)||"interpolation"===e.type||sA(e)},isUnknownNamespace:yA,preferHardlineAsLeadingSpaces:function(e){return hA(e)||e.prev&&cA(e.prev)||pA(e)},preferHardlineAsTrailingSpaces:cA,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(aA(e)||oA(e.parent,t))},shouldPreserveContent:oA,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}};const{htmlTrim:xA,getLeadingAndTrailingHtmlWhitespace:SA,hasHtmlWhitespace:wA,canHaveInterpolation:BA,getNodeCssStyleDisplay:TA,isDanglingSpaceSensitiveNode:kA,isIndentationSensitiveNode:NA,isLeadingSpaceSensitiveNode:OA,isTrailingSpaceSensitiveNode:PA,isWhitespaceSensitiveNode:_A}=FA,IA=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const u=e.children[r];if(!n[r+1])if(n[r]){const e=u.prev,n=u.firstChild,r=u.sourceSpan.constructor,o=new r(e.sourceSpan.start,n.sourceSpan.end),a=new r(o.start,u.sourceSpan.end);t.push(u.clone({condition:e.condition,sourceSpan:a,startSourceSpan:o,children:u.children.slice(1)}))}else t.push(u)}return e.clone({children:t})}}return e})},function(e){return function(e,t,n){return e.map(e=>{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let u=0;u<e.children.length;u++){const o=e.children[u];if("text"!==o.type&&!r[u]){t.push(o);continue}const a="text"===o.type?o:o.clone({type:"text",value:n(o)});if(0===t.length||"text"!==t[t.length-1].type){t.push(a);continue}const i=t.pop(),s=i.sourceSpan.constructor;t.push(i.clone({value:i.value+a.value,sourceSpan:new s(i.sourceSpan.start,a.sourceSpan.end)}))}return e.clone({children:t})}}return e})}(e,e=>"cdata"===e.type,e=>"<![CDATA[".concat(e.value,"]]>"))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!BA(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}const e=r.sourceSpan.constructor;let u=r.sourceSpan.start,o=null;const a=r.value.split(n);for(let n=0;n<a.length;n++,u=o){const r=a[n];n%2!=0?(o=u.moveBy(r.length+4),t.push({type:"interpolation",sourceSpan:new e(u,o),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new e(u.moveBy(2),o.moveBy(-2))}]})):(o=u.moveBy(r.length),0!==r.length&&t.push({type:"text",value:r,sourceSpan:new e(u,o)}))}}return e.clone({children:t})})},function(e){return e.map(e=>{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===xA(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const t=_A(e),n=NA(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:n,children:e.children.reduce((e,n)=>{if("text"!==n.type||t)return e.concat(n);const r=[],{leadingWhitespace:u,text:o,trailingWhitespace:a}=SA(n.value);u&&r.push({type:"whitespace"});const i=n.sourceSpan.constructor;return o&&r.push({type:"text",value:o,sourceSpan:new i(n.sourceSpan.start.moveBy(u.length),n.sourceSpan.end.moveBy(-a.length))}),a&&r.push({type:"whitespace"}),e.concat(r)},[]).reduce((e,t,n,r)=>{if("whitespace"===t.type)return e;const u=0!==n&&"whitespace"===r[n-1].type,o=n!==r.length-1&&"whitespace"===r[n+1].type;return e.concat(Object.assign({},t,{hasLeadingSpaces:u,hasTrailingSpaces:o}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:TA(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:kA(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:OA(e,t),isTrailingSpaceSensitive:PA(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!wA(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const u=e.children[r];if(n[r]){const n=t.pop(),o=e.children[++r],a=e.sourceSpan.constructor,{isTrailingSpaceSensitive:i,hasTrailingSpaces:s}=o;t.push(n.clone({value:n.value+"<".concat(u.rawName,">")+u.firstChild.value+"</".concat(u.rawName,">")+o.value,sourceSpan:new a(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:i,hasTrailingSpaces:s}))}else t.push(u)}return e.clone({children:t})}}return e})}];var jA=function(e,t){for(const n of IA)e=n(e,t);return e};var MA={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};const{builders:{concat:LA,group:RA}}=dn;var qA={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(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,u=e.match(t);if(!u)return;const o={};o.for=u[3].trim();const a=u[1].trim().replace(r,""),i=a.match(n);i?(o.alias=a.replace(n,""),o.iterator1=i[1].trim(),i[2]&&(o.iterator2=i[2].trim())):o.alias=a;return{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:u[2],right:o.for}}(e);return LA([RA(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(u,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueSlotScope:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueSlotScope:!0},{stripTrailingHardline:!0})}},VA=$e((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(We,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function u(t){var n,r=t.exec(e.substring(D));if(r)return n=r[0],D+=n.length,n}for(var o,a,i,s,l,c=e.length,p=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,f=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,D=0,y=[];;){if(u(d),D>=c)return y;o=u(f),a=[],","===o.slice(-1)?(o=o.replace(h,""),C()):E()}function E(){for(u(p),i="",s="in descriptor";;){if(l=e.charAt(D),"in descriptor"===s)if(r(l))i&&(a.push(i),i="",s="after descriptor");else{if(","===l)return D+=1,i&&a.push(i),void C();if("("===l)i+=l,s="in parens";else{if(""===l)return i&&a.push(i),void C();i+=l}}else if("in parens"===s)if(")"===l)i+=l,s="in descriptor";else{if(""===l)return a.push(i),void C();i+=l}else if("after descriptor"===s)if(r(l));else{if(""===l)return void C();s="in descriptor",D-=1}D+=1}}function C(){var t,r,u,i,s,l,c,p,d,f=!1,h={};for(i=0;i<a.length;i++)l=(s=a[i])[s.length-1],c=s.substring(0,s.length-1),p=parseInt(c,10),d=parseFloat(c),m.test(c)&&"w"===l?((t||r)&&(f=!0),0===p?f=!0:t=p):g.test(c)&&"x"===l?((t||r||u)&&(f=!0),d<0?f=!0:r=d):m.test(c)&&"h"===l?((u||r)&&(f=!0),0===p?f=!0:u=p):f=!0;f?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(h.url=o,t&&(h.w=t),r&&(h.d=r),u&&(h.h=u),y.push(h))}}}))}));const{builders:{concat:WA,ifBreak:$A,join:UA,line:zA}}=dn;var JA={printImgSrcset:function(e){const t=VA(e,{logger:{error(e){throw new Error(e)}}}),n=t.some(({w:e})=>e),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const u=n?"w":r?"h":"d",o=n?"w":r?"h":"x",a=e=>Math.max(...e),i=t.map(e=>e.url),s=a(i.map(e=>e.length)),l=t.map(e=>e[u]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),p=a(c);return UA(WA([",",zA]),i.map((e,t)=>{const n=[e],r=l[t];if(r){const u=s-e.length+1,a=p-c[t],i=" ".repeat(u+a);n.push($A(i," "),r+o)}return WA(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:GA,utils:{mapDoc:HA,normalizeParts:XA}}=dn,{replaceEndOfLineWith:YA}=Lt,{print:KA}=Em,{breakParent:QA,dedentToRoot:ZA,fill:ev,group:tv,hardline:nv,ifBreak:rv,indent:uv,join:ov,line:av,literalline:iv,softline:sv}=GA,{htmlTrimPreserveIndentation:lv,splitByHtmlWhitespace:cv,countChars:pv,countParents:dv,dedentString:fv,forceBreakChildren:hv,forceBreakContent:mv,forceNextEmptyLine:gv,getLastDescendant:Dv,getPrettierIgnoreAttributeCommentData:yv,hasPrettierIgnore:Ev,inferScriptParser:Cv,isVueCustomBlock:bv,isVueNonHtmlBlock:Av,isScriptLikeTag:vv,isTextLikeNode:Fv,preferHardlineAsLeadingSpaces:xv,shouldNotPrintClosingTag:Sv,shouldPreserveContent:wv,unescapeQuoteEntities:Bv,isPreLikeNode:Tv}=FA,{insertPragma:kv}=MA,{printVueFor:Nv,printVueSlotScope:Ov,isVueEventBindingExpression:Pv}=qA,{printImgSrcset:_v,printClassNames:Iv}=JA;function jv(e){const t=XA(e);return 0===t.length?"":1===t.length?t[0]:GA.concat(t)}function Mv(e,t,n){const r=e.getValue();if(hv(r))return jv([QA,jv(e.map(e=>{const t=e.getValue(),n=t.prev?a(t.prev,t):"";return jv([n?jv([n,gv(t.prev)?nv:""]):"",o(e)])},"children"))]);const u=r.children.map(()=>Symbol(""));return jv(e.map((e,t)=>{const n=e.getValue();if(Fv(n)){if(n.prev&&Fv(n.prev)){const t=a(n.prev,n);if(t)return gv(n.prev)?jv([nv,nv,o(e)]):jv([t,o(e)])}return o(e)}const r=[],i=[],s=[],l=[],c=n.prev?a(n.prev,n):"",p=n.next?a(n,n.next):"";return c&&(gv(n.prev)?r.push(nv,nv):c===nv?r.push(nv):Fv(n.prev)?i.push(c):i.push(rv("",sv,{groupId:u[t-1]}))),p&&(gv(n)?Fv(n.next)&&l.push(nv,nv):p===nv?Fv(n.next)&&l.push(nv):s.push(p)),jv([].concat(r,tv(jv([jv(i),tv(jv([o(e),jv(s)]),{id:u[t]})])),l))},"children"));function o(e){const r=e.getValue();return Ev(r)?jv([].concat(Kv(r,t),YA(t.originalText.slice(t.locStart(r)+(r.prev&&Jv(r.prev)?eF(r).length:0),t.locEnd(r)-(r.next&&Hv(r.next)?rF(r,t).length:0)),iv),Zv(r,t))):n(e)}function a(e,t){return Fv(e)&&Fv(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?xv(t)?nv:av:"":xv(t)?nv:sv:Jv(e)&&(Ev(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&Hv(t)?"":!t.isLeadingSpaceSensitive||xv(t)||Hv(t)&&e.lastChild&&Yv(e.lastChild)&&e.lastChild.lastChild&&Yv(e.lastChild.lastChild)?nv:t.hasLeadingSpaces?av:sv}}function Lv(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&Gv(e.firstChild)&&(n-=tF(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&Yv(e.lastChild)?r+=nF(e,t).length:Xv(e)&&(r-=rF(e.lastChild,t).length),t.originalText.slice(n,r)}function Rv(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const u=r.prev&&"comment"===r.prev.type&&yv(r.prev.value),o="boolean"==typeof u?()=>u:Array.isArray(u)?e=>u.includes(e.rawName):()=>!1,a=e.map(e=>{const r=e.getValue();return o(r)?jv(YA(t.originalText.slice(t.locStart(r),t.locEnd(r)),iv)):n(e)},"attrs"),i="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,s=[uv(jv([i?" ":av,ov(av,a)]))];return r.firstChild&&Gv(r.firstChild)||r.isSelfClosing&&Xv(r.parent)||i?s.push(r.isSelfClosing?" ":""):s.push(r.isSelfClosing?av:sv),jv(s)}function qv(e,t,n){const r=e.getValue();return jv([Vv(r,t),Rv(e,t,n),r.isSelfClosing?"":Wv(r)])}function Vv(e,t){return e.prev&&Jv(e.prev)?"":jv([Kv(e,t),eF(e)])}function Wv(e){return e.firstChild&&Gv(e.firstChild)?"":tF(e)}function $v(e,t){return jv([e.isSelfClosing?"":Uv(e,t),zv(e,t)])}function Uv(e,t){return e.lastChild&&Yv(e.lastChild)?"":jv([Qv(e,t),nF(e,t)])}function zv(e,t){return(e.next?Hv(e.next):Xv(e.parent))?"":jv([rF(e,t),Zv(e,t)])}function Jv(e){return e.next&&!Fv(e.next)&&Fv(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Gv(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Hv(e){return e.prev&&"docType"!==e.prev.type&&!Fv(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Xv(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Fv(Dv(e.lastChild))&&!Tv(e)}function Yv(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Fv(Dv(e))}function Kv(e,t){return Gv(e)?tF(e.parent):Hv(e)?rF(e.prev,t):""}function Qv(e,t){return Xv(e)?rF(e.lastChild,t):""}function Zv(e,t){return Yv(e)?nF(e.parent,t):Jv(e)?eF(e.next):""}function eF(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 tF(e){switch(e.isSelfClosing,e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function nF(e,t){if(e.isSelfClosing,Sv(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function rF(e,t){if(Sv(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 uF(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?YA(t,iv):YA(fv(lv(t)),nv):ov(av,cv(t)).parts}var oF={preprocess:jA,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return jv(YA(r.raw,iv));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),GA.concat([tv(Mv(e,t,n)),nv]);case"element":case"ieConditionalComment":{if(wv(r,t))return jv([].concat(Kv(r,t),tv(qv(e,t,n)),YA(Lv(r,t),iv),$v(r,t),Zv(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 jv([tv(jv([tv(qv(e,t,n),{id:a}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?av:"":jv([mv(r)?QA:"",(u=jv([o?rv(sv,"",{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?av:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?ZA(sv):sv,Mv(e,t,n)]),o?rv(uv(u),u,{groupId:a}):!vv(r)&&!bv(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?uv(u):u),(r.next?Hv(r.next):Xv(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?rv(sv,"",{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?av:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*dv(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":sv])])),$v(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return jv([Vv(r),zv(r)]);case"interpolation":return jv([Vv(r,t),jv(e.map(n,"children")),zv(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return jv([jv(YA(n,iv)),t?nv:""])}return ev(XA([].concat(Kv(r,t),uF(r),Zv(r,t))));case"docType":return jv([tv(jv([Vv(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),zv(r,t)]);case"comment":return jv([Kv(r,t),jv(YA(t.originalText.slice(t.locStart(r),t.locEnd(r)),iv)),Zv(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=Bv(r.value),t=pv(e,"'")<pv(e,'"')?"'":'"';return jv([r.rawName,jv(["=",t,jv(YA('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;"),iv)),t])])}default:throw new Error("Unexpected node type ".concat(r.type))}var u},insertPragma:kv,massageAstNode:function(e,t){return delete t.sourceSpan,delete t.startSourceSpan,delete t.endSourceSpan,delete t.nameSpan,delete t.valueSpan,"text"===e.type||"comment"===e.type||gC(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))},embed:function(e,t,n,r){const u=e.getValue();switch(u.type){case"element":if(vv(u)||"interpolation"===u.type)return;if(!u.isSelfClosing&&Av(u,r)){const o=Cv(u,r);if(!o)return;const a=Lv(u,r);let i=/^\s*$/.test(a),s="";return i||(s=n(lv(a),{parser:o},{stripTrailingHardline:!0}),i=""===s),jv([Kv(u,r),tv(qv(e,r,t)),i?"":nv,s,i?"":nv,$v(u,r),Zv(u,r)])}break;case"text":if(vv(u.parent)){const e=Cv(u.parent);if(e){const t="markdown"===e?fv(u.value.replace(/^[^\S\n]*?\n/,"")):u.value,o={parser:e};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=u.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),o.__babelSourceType=e}return GA.concat([jv([QA,Kv(u,r),n(t,o,{stripTrailingHardline:!0}),Zv(u,r)])])}}else if("interpolation"===u.parent.type)return jv([uv(jv([av,n(u.value,Object.assign({__isInHtmlInterpolation:!0},"angular"===r.parser?{parser:"__ng_interpolation",trailingComma:"none"}:"vue"===r.parser?{parser:"__vue_expression"}:{parser:"__js_expression"}),{stripTrailingHardline:!0})])),u.parent.next&&Hv(u.parent.next)?" ":av]);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 jv([u.rawName,"=",u.value]);if("lwc"===r.parser){if(/^{[\S\s]*}$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return jv([u.rawName,"=",u.value])}const e=function(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),u=()=>Bv(e.value);let o=!1;const a=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},i=e=>tv(e),s=(e,t=!0)=>tv(jv([uv(jv([sv,e])),t?sv:""])),l=e=>o?i(e):s(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:a},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return s(_v(u()));if("class"===e.fullName&&!n.parentParser){const e=u();if(!e.includes("{{"))return Iv(e)}if("style"===e.fullName&&!n.parentParser){const e=u();if(!e.includes("{{"))return s(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return Nv(u(),c);if("slot-scope"===e.fullName)return Ov(u(),c);const t=["^:","^v-bind:"],n=["^v-","^#"];if(r(["^@","^v-on:"])){const e=u();return l(c(e,{parser:Pv(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(u(),{parser:"__vue_expression"}));if(r(n))return l(c(u(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],a=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(u(),{parser:"__ng_action"}));if(r(o))return l(t(u(),{parser:"__ng_binding"}));if(r(a)){const t=u().trim();return s(ev(uF(e,t)),!t.includes("@@"))}if(r(n))return l(t(u(),{parser:"__ng_directive"}));const i=/{{([\S\s]+?)}}/g,p=u();if(i.test(p)){const e=[];return p.split(i).forEach((n,r)=>{if(r%2==0)e.push(jv(YA(n,iv)));else try{e.push(tv(jv(["{{",uv(jv([av,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),av,"}}"])))}catch(t){e.push("{{",jv(YA(n,iv)),"}}")}}),tv(jv(e))}}return null}(u,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return jv([u.rawName,'="',tv(HA(e,e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e)),'"']);break}case"front-matter":return KA(u,n)}}};var aF={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."}},iF=["xhtml"],sF=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],lF={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:iF,extensions:sF,languageId:146},cF=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:iF,extensions:sF,languageId:146,default:lF}),pF=[".vue"],dF={name:"Vue",type:"markup",color:"#2c3e50",extensions:pF,tmScope:"text.html.vue",aceMode:"html",languageId:391},fF=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:pF,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:dF}),hF=Ue(cF),mF=Ue(fF);var gF={languages:[As(hF,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),As(hF,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),As(hF,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),As(mF,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:oF},options:aF,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}};var DF={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)}};const{getLast:yF}=Lt;function EF(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function CF(e){return"prettier-ignore"===e.value.trim()}function bF(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function AF(e){return e&&e.middleComments&&0!==e.middleComments.length}function vF(e){return e&&e.indicatorComment}function FF(e){return e&&e.trailingComment}function xF(e){return e&&e.endComments&&0!==e.endComments.length}function SF(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var wF={getLast:yF,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let u=0;u<r;u++){const r=e.stack[u];EF(r)&&t(r)&&n++}return n},isNode:EF,isEmptyNode:function(e){return!(e.children&&0!==e.children.length||function(e){return bF(e)||AF(e)||vF(e)||FF(e)||xF(e)}(e))},mapNode:function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map(r=>e(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let u=e.position.end.offset-1;u<r;u++){const e=t[u];if("\n"===e&&n++,1===n&&/\S/.test(e))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}const t=e.stack.length;for(let n=1;n<t;n++){const t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&"number"==typeof t&&t!==r.length-1)return!1}return!0},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){const 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:1/0:e.indent-1+t;var a;const i=u.split("\n").map(e=>e.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?s(i.map(e=>0===e.length?[]:[e])):s(i.map(e=>0===e.length?[]:SF(e)).reduce((e,t,n)=>0===n||0===i[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(yF(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(yF(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function s(t){if("keep"===e.chomping)return 0===yF(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:SF(e)).reduce((t,n,u)=>0===u||0===r[u-1].length||0===n.length||"quoteDouble"===e&&yF(yF(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(yF(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return xF(t.head)&&CF(yF(t.head.endComments))}return bF(t)&&CF(yF(t.leadingComments))},hasLeadingComments:bF,hasMiddleComments:AF,hasIndicatorComment:vF,hasTrailingComment:FF,hasEndComments:xF};const BF=dn.builders,{conditionalGroup:TF,breakParent:kF,concat:NF,dedent:OF,dedentToRoot:PF,fill:_F,group:IF,hardline:jF,ifBreak:MF,join:LF,line:RF,lineSuffix:qF,literalline:VF,markAsRoot:WF,softline:$F}=BF,{replaceEndOfLineWith:UF,isPreviousLineEmpty:zF}=Lt,{insertPragma:JF,isPragma:GF}=DF,{getAncestorCount:HF,getBlockValueLineContents:XF,getFlowScalarLineContents:YF,getLast:KF,getLastDescendantNode:QF,hasLeadingComments:ZF,hasMiddleComments:ex,hasIndicatorComment:tx,hasTrailingComment:nx,hasEndComments:rx,hasPrettierIgnore:ux,isLastDescendantNode:ox,isNextLineEmpty:ax,isNode:ix,isEmptyNode:sx,defineShortcut:lx,mapNode:cx}=wF;function px(e){switch(e.type){case"document":lx(e,"head",()=>e.children[0]),lx(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":lx(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":lx(e,"key",()=>e.children[0]),lx(e,"value",()=>e.children[1])}return e}function dx(e,t,n,r,u){switch(e.type){case"root":return NF([LF(jF,n.map((t,r)=>{const o=e.children[r],a=e.children[r+1];return NF([u(t),gx(o,a)?NF([jF,"...",nx(o)?NF([" ",n.call(u,"trailingComment")]):""]):!a||nx(a.head)?"":NF([jF,"---"])])},"children")),0===e.children.length||(a=QF(e),ix(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping)?"":jF]);case"document":{const o=t.children[n.getName()+1];return LF(jF,["head"===Dx(e,o,t,r)?LF(jF,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(u,"head"),NF(["---",nx(e.head)?NF([" ",n.call(u,"head","trailingComment")]):""])].filter(Boolean)):"",mx(e)?n.call(u,"body"):""].filter(Boolean))}case"documentHead":return LF(jF,[].concat(n.map(u,"children"),n.map(u,"endComments")));case"documentBody":{const t=LF(jF,n.map(u,"children")).parts,r=LF(jF,n.map(u,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>ix(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":NF([jF,jF]):jF)(QF(e));return NF([].concat(t,o,r))}case"directive":return NF(["%",LF(" ",[e.name].concat(e.parameters))]);case"comment":return NF(["#",e.value]);case"alias":return NF(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return NF(["&",e.value]);case"plain":return Ax(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',u=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&u.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(u)){const o="quoteDouble"===e.type?n:t;return NF([o,Ax(e.type,u,r),o])}if(u.includes(n))return NF([t,Ax(e.type,"quoteDouble"===e.type?u.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):u,r),t]);if(u.includes(t))return NF([n,Ax(e.type,"quoteSingle"===e.type?u.replace(/''/g,t):u,r),n]);const o=r.singleQuote?t:n;return NF([o,Ax(e.type,u,r),o])}case"blockFolded":case"blockLiteral":{const t=HF(n,e=>ix(e,["sequence","mapping"])),o=ox(n);return NF(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",tx(e)?NF([" ",n.call(u,"indicatorComment")]):"",(null===e.indent?OF:PF)(fx(null===e.indent?r.tabWidth:e.indent-1+t,NF(XF(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,u)=>t.concat(0===r?jF:"",_F(LF(RF,n).parts),r!==u.length-1?0===n.length?jF:WF(VF):"keep"===e.chomping&&o?0===n.length?PF(jF):PF(VF):""),[]))))])}case"sequence":return LF(jF,n.map(u,"children"));case"sequenceItem":return NF(["- ",fx(2,e.content?n.call(u,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(u,"content"):"";case"mapping":return LF(jF,n.map(u,"children"));case"mappingItem":case"flowMappingItem":{const o=sx(e.key),a=sx(e.value);if(o&&a)return NF([": "]);const s=n.call(u,"key"),l=n.call(u,"value");if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?s:"mappingItem"!==e.type||!yx(e.key.content,r)||nx(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?NF(["? ",fx(2,s)]):NF([s,Ex(e)?" ":"",":"]);if(o)return NF([": ",fx(2,l)]);const c=Symbol("mappingKey");return ZF(e.value)||!hx(e.key.content)?NF(["? ",fx(2,s),jF,LF("",n.map(u,"value","leadingComments").map(e=>NF([e,jF]))),": ",fx(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||ZF(e.key.content)||ex(e.key.content)||nx(e.key.content)||rx(e.key)||ZF(e.value.content)||ex(e.value.content)||rx(e.value)||!yx(e.value.content,r)?TF([NF([IF(NF([MF("? "),IF(fx(2,s),{id:c})])),MF(NF([jF,": ",fx(2,l)]),i(NF([Ex(e)?" ":"",":",ZF(e.value.content)||rx(e.value)&&e.value.content&&!ix(e.value.content,["mapping","sequence"])||"mapping"===t.type&&nx(e.key.content)&&hx(e.value.content)||ix(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?jF:e.value.content?RF:"",l])),{groupId:c})])]):NF([s,Ex(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",a="flowMapping"===e.type?"}":"]",s="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?RF:$F,l=0!==e.children.length&&("flowMappingItem"===(o=KF(e.children)).type&&sx(o.key)&&sx(o.value));return NF([t,i(NF([s,NF(n.map((t,n)=>NF([u(t),n===e.children.length-1?"":NF([",",RF,e.children[n].position.start.line!==e.children[n+1].position.start.line?bx(t,r.originalText):""])]),"children")),MF(",","")])),l?"":s,a])}case"flowSequenceItem":return n.call(u,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,a;function i(e){return BF.align(" ".repeat(r.tabWidth),e)}}function fx(e,t){return"number"==typeof e&&e>0?BF.align(" ".repeat(e),t):BF.align(e,t)}function hx(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function mx(e){return 0!==e.body.children.length||rx(e.body)}function gx(e,t){return nx(e)||t&&(0!==t.head.children.length||rx(t.head))}function Dx(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||rx(e.head)||nx(e.head)?"head":!gx(e,t)&&(!!t&&"root")}function yx(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function Ex(e){return e.key.content&&"alias"===e.key.content.type}function Cx(e){return rx(e)&&!ix(e,["documentHead","documentBody"])}function bx(e,t){const n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],r.isNextEmptyLinePrintedChecklist[n.position.end.line]||!ax(n,t)||(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,Cx(e.getParentNode()))?"":$F}function Ax(e,t,n){const r=YF(e,t,n);return LF(jF,r.map(e=>_F(LF(RF,e).parts)))}var vx={preprocess:function(e){return cx(e,px)},print:function(e,t,n){const r=e.getValue(),u=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",a=r.anchor?e.call(n,"anchor"):"",i=ix(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!ox(e)?bx(e,t.originalText):"";return NF(["mappingValue"!==r.type&&ZF(r)?NF([LF(jF,e.map(n,"leadingComments")),jF]):"",o,o&&a?" ":"",a,o||a?ix(r,["sequence","mapping"])&&!ex(r)?jF:" ":"",ex(r)?NF([1===r.middleComments.length?"":jF,LF(jF,e.map(n,"middleComments")),jF]):"",ux(e)?NF(UF(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),VF)):IF(dx(r,u,e,t,n)),nx(r)&&!ix(r,["document","documentHead"])?qF(NF(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===u.type&&"mapping"===e.getParentNode(2).type&&hx(r)?"":kF,e.call(n,"trailingComment")])):"",Cx(r)?fx("sequenceItem"===r.type?2:0,NF([jF,LF(jF,e.map(e=>NF([zF(t.originalText,e.getValue(),t.locStart)?jF:"",n(e)]),"endComments"))])):"",i])},massageAstNode:function(e,t){if(ix(t))switch(delete t.position,t.type){case"comment":if(GF(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:JF},Fx={bracketSpacing:Bh.bracketSpacing,singleQuote:Bh.singleQuote,proseWrap:Bh.proseWrap},xx=["yml"],Sx=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],wx=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],Bx={name:"YAML",type:"data",tmScope:"source.yaml",aliases:xx,extensions:Sx,filenames:wx,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407};var Tx=[dm,DD,vy,$y,mC,gF,{languages:[As(Ue(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:xx,extensions:Sx,filenames:wx,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:Bx})),e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:vx},options:Fx,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:kx}=ht,{getSupportInfo:Nx}=yt,Ox=Tx.map(t=>e(t,["parsers"]));function Px(e,t=1){return(...n)=>{const r=n[t]||{},u=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...Ox,...Array.isArray(u)?u:Object.values(u)]}),e(...n)}}const _x=Px(Ki.formatWithCursor);return{formatWithCursor:_x,format:(e,t)=>_x(e,t).formatted,check(e,t){const{formatted:n}=_x(e,t);return n===e},doc:dn,getSupportInfo:Px(Nx,0),version:kx,util:bs,__debug:{parse:Px(Ki.parse),formatAST:Px(Ki.formatAST),formatDoc:Px(Ki.formatDoc),printToDoc:Px(Ki.printToDoc),printDocToString:Px(Ki.printDocToString)}}}));
36
+ ***************************************************************************** */var oo=function(){return(oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function so(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 ao(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,u=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=u.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}return o}function lo(e){return this instanceof lo?(this.v=e,this):new lo(e)}var co=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}uo(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return oo},__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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},__decorate:function(e,t,n,r){var i,u=arguments.length,o=u<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(u<3?i(o):u>3?i(t,n,o):i(t,n))||o);return u>3&&o&&Object.defineProperty(t,n,o),o},__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(i,u){function o(e){try{a(r.next(e))}catch(e){u(e)}}function s(e){try{a(r.throw(e))}catch(e){u(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}a((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,u,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function s(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:so,__read:ao,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ao(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),i=0;for(t=0;t<n;t++)for(var u=arguments[t],o=0,s=u.length;o<s;o++,i++)r[i]=u[o];return r},__await:lo,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),u=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){u.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof lo?Promise.resolve(n.value.v).then(a,l):c(u[0][2],n)}catch(e){c(u[0][3],e)}var n}function a(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),u.shift(),u.length&&s(u[0][0],u[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:lo(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__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=so(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),po=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map((e=>t.apiDescriptor.value(e))).join(", ")}]`;const n=Object.keys(e);return 0===n.length?"{}":`{ ${n.map((n=>`${t.apiDescriptor.key(n)}: ${t.apiDescriptor.value(e[n])}`)).join(", ")} }`},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),fo=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(po,t)})),ho=/[|\\{}()[\]^$+*?.]/g,go=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ho,"\\$&")},mo={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]},yo=i((function(e){var t={};for(var n in mo)mo.hasOwnProperty(n)&&(t[mo[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 i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var u=r[i].channels,o=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:u}),Object.defineProperty(r[i],"labels",{value:o})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,u=e[2]/255,o=Math.min(r,i,u),s=Math.max(r,i,u),a=s-o;return s===o?t=0:r===s?t=(i-u)/a:i===s?t=2+(u-r)/a:u===s&&(t=4+(r-i)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?a/(s+o):a/(2-s-o)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,u,o=e[0]/255,s=e[1]/255,a=e[2]/255,l=Math.max(o,s,a),c=l-Math.min(o,s,a),p=function(e){return(l-e)/6/c+.5};return 0===c?i=u=0:(u=c/l,t=p(o),n=p(s),r=p(a),o===l?i=r-n:s===l?i=1/3+t-r:a===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*u,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,u,o=1/0;for(var s in mo)if(mo.hasOwnProperty(s)){var a=mo[s],l=(i=e,u=a,Math.pow(i[0]-u[0],2)+Math.pow(i[1]-u[1],2)+Math.pow(i[2]-u[2],2));l<o&&(o=l,r=s)}return r},r.keyword.rgb=function(e){return mo[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],u=t[2];return i/=100,u/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,u,o=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[u=255*a,u,u];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,u=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*u;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,u=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=u<=1?u:2-u,[t,100*(0===r?2*i/(u+i):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,u=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*u),a=255*r*(1-n*(1-u));switch(r*=255,i){case 0:return[r,a,o];case 1:return[s,r,o];case 2:return[o,r,a];case 3:return[o,s,r];case 4:return[a,o,r];case 5:return[r,o,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],u=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-u)*o,n=u*s,[i,100*(n=(n/=(t=(2-u)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,u,o,s,a=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:u=n,o=i,s=l;break;case 1:u=i,o=n,s=l;break;case 2:u=l,o=n,s=i;break;case 3:u=l,o=i,s=n;break;case 4:u=i,o=l,s=n;break;case 5:u=n,o=l,s=i}return[255*u,255*o,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,u=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*u+.0415*o,r=.0557*i+-.204*u+1.057*o,t=(t=3.2406*i+-1.5372*u+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],u=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(u=Math.round(u/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===u&&(o+=60),o},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,u=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=u-o;return t=s<=0?0:u===n?(r-i)/s%6:u===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,u=[0,0,0],o=t%1*6,s=o%1,a=1-s;switch(Math.floor(o)){case 0:u[0]=1,u[1]=s,u[2]=0;break;case 1:u[0]=a,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=s;break;case 3:u[0]=0,u[1]=a,u[2]=1;break;case 4:u[0]=s,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=a}return i=(1-n)*r,[255*(n*u[0]+i),255*(n*u[1]+i),255*(n*u[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Do(e){var t=function(){for(var e={},t=Object.keys(yo),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(yo[r]),u=i.length,o=0;o<u;o++){var s=i[o],a=t[s];-1===a.distance&&(a.distance=t[r].distance+1,a.parent=r,n.unshift(s))}return t}function Eo(e,t){return function(n){return t(e(n))}}function bo(e,t){for(var n=[t[e].parent,e],r=yo[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=Eo(yo[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var Co={};Object.keys(yo).forEach((function(e){Co[e]={},Object.defineProperty(Co[e],"channels",{value:yo[e].channels}),Object.defineProperty(Co[e],"labels",{value:yo[e].labels});var t=function(e){for(var t=Do(e),n={},r=Object.keys(t),i=r.length,u=0;u<i;u++){var o=r[u];null!==t[o].parent&&(n[o]=bo(o,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Co[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Co[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var vo,Ao=Co,Fo=i((function(e){const t=(e,t)=>function(){const n=e.apply(Ao,arguments);return`\x1b[${n+t}m`},n=(e,t)=>function(){const n=e.apply(Ao,arguments);return`\x1b[${38+t};5;${n}m`},r=(e,t)=>function(){const n=e.apply(Ao,arguments);return`\x1b[${38+t};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:`\x1b[${r[0]}m`,close:`\x1b[${r[1]}m`},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const u=e=>e,o=(e,t,n)=>[e,t,n];i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:t(u,0)},i.color.ansi256={ansi256:n(u,0)},i.color.ansi16m={rgb:r(o,0)},i.bgColor.ansi={ansi:t(u,10)},i.bgColor.ansi256={ansi256:n(u,10)},i.bgColor.ansi16m={rgb:r(o,10)};for(let e of Object.keys(Ao)){if("object"!=typeof Ao[e])continue;const u=Ao[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(i.color.ansi[e]=t(u.ansi16,0),i.bgColor.ansi[e]=t(u.ansi16,10)),"ansi256"in u&&(i.color.ansi256[e]=n(u.ansi256,0),i.bgColor.ansi256[e]=n(u.ansi256,10)),"rgb"in u&&(i.color.ansi16m[e]=r(u.rgb,0),i.bgColor.ansi16m[e]=r(u.rgb,10))}return i}})}));function xo(){if(void 0===vo){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])vo="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");vo="LE"}}return vo}function So(){return void 0!==jn.location?jn.location.hostname:""}function wo(){return[]}function To(){return 0}function Bo(){return Number.MAX_VALUE}function ko(){return Number.MAX_VALUE}function No(){return[]}function Po(){return"Browser"}function Oo(){return void 0!==jn.navigator?jn.navigator.appVersion:""}function Io(){}function jo(){}function Lo(){return"javascript"}function _o(){return"browser"}function Mo(){return"/tmp"}var Ro=Mo,$o={EOL:"\n",arch:Lo,platform:_o,tmpdir:Ro,tmpDir:Mo,networkInterfaces:Io,getNetworkInterfaces:jo,release:Oo,type:Po,cpus:No,totalmem:ko,freemem:Bo,uptime:To,loadavg:wo,hostname:So,endianness:xo},Vo=(e,t)=>{t=t||ur.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},qo=r(Object.freeze({__proto__:null,endianness:xo,hostname:So,loadavg:wo,uptime:To,freemem:Bo,totalmem:ko,cpus:No,type:Po,release:Oo,networkInterfaces:Io,getNetworkInterfaces:jo,arch:Lo,platform:_o,tmpDir:Mo,tmpdir:Ro,EOL:"\n",default:$o}));const Wo=ur.env;let Uo;function zo(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Uo)return 0;if(Vo("color=16m")||Vo("color=full")||Vo("color=truecolor"))return 3;if(Vo("color=256"))return 2;if(e&&!e.isTTY&&!0!==Uo)return 0;const t=Uo?1:0;if("win32"===ur.platform){const e=qo.release().split(".");return Number(ur.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Wo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in Wo))||"codeship"===Wo.CI_NAME?1:t;if("TEAMCITY_VERSION"in Wo)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wo.TEAMCITY_VERSION)?1:0;if("truecolor"===Wo.COLORTERM)return 3;if("TERM_PROGRAM"in Wo){const e=parseInt((Wo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wo.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wo.TERM)||"COLORTERM"in Wo?1:(Wo.TERM,t)}(e))}Vo("no-color")||Vo("no-colors")||Vo("color=false")?Uo=!1:(Vo("color")||Vo("colors")||Vo("color=true")||Vo("color=always"))&&(Uo=!0),"FORCE_COLOR"in Wo&&(Uo=0===Wo.FORCE_COLOR.length||0!==parseInt(Wo.FORCE_COLOR,10));var Ho={supportsColor:zo,stdout:zo(ur.stdout),stderr:zo(ur.stderr)};const Go=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Jo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Xo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Yo=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ko=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Qo(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ko.get(e)||e}function Zo(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const t of r)if(isNaN(t)){if(!(i=t.match(Xo)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);n.push(i[2].replace(Yo,((e,t,n)=>t?Qo(t):n)))}else n.push(Number(t));return n}function es(e){Jo.lastIndex=0;const t=[];let n;for(;null!==(n=Jo.exec(e));){const e=n[1];if(n[2]){const r=Zo(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ts(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var ns=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Go,((t,u,o,s,a,l)=>{if(u)i.push(Qo(u));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:ts(e,n)(t)),n.push({inverse:o,styles:es(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ts(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)})),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")},rs=i((function(e){const t=Ho.stdout,n="win32"===ur.platform&&!(ur.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),u=Object.create(null);function o(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return o(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}o(this,e)}n&&(Fo.blue.open="\x1b[94m");for(const e of Object.keys(Fo))Fo[e].closeRe=new RegExp(go(Fo[e].close),"g"),u[e]={get(){const t=Fo[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Fo.color.closeRe=new RegExp(go(Fo.color.close),"g");for(const e of Object.keys(Fo.color.ansi))i.has(e)||(u[e]={get(){const t=this.level;return function(){const n=Fo.color[r[t]][e].apply(null,arguments),i={open:n,close:Fo.color.close,closeRe:Fo.color.closeRe};return l.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});Fo.bgColor.closeRe=new RegExp(go(Fo.bgColor.close),"g");for(const e of Object.keys(Fo.bgColor.ansi)){if(i.has(e))continue;u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=Fo.bgColor[r[t]][e].apply(null,arguments),i={open:n,close:Fo.bgColor.close,closeRe:Fo.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}const a=Object.defineProperties((()=>{}),u);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const i=Fo.dim.open;n&&this.hasGrey&&(Fo.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`);return Fo.dim.open=i,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return ns(e,r.join(""))}Object.defineProperties(s.prototype,u),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports})),is=Object.defineProperty({commonDeprecatedHandler:(e,t,{descriptor:n})=>{const r=[`${rs.default.yellow("string"==typeof e?n.key(e):n.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${rs.default.blue("string"==typeof t?n.key(t):n.pair(t))}`),r.join("; ")+"."}},"__esModule",{value:!0}),us=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(is,t)})),os=Object.defineProperty({commonInvalidHandler:(e,t,n)=>[`Invalid ${rs.default.red(n.descriptor.key(e))} value.`,`Expected ${rs.default.blue(n.schemas[e].expected(n))},`,`but received ${rs.default.red(n.descriptor.value(t))}.`].join(" ")},"__esModule",{value:!0}),ss=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(os,t)})),as=[],ls=[],cs=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:i})=>{const u=[`Ignored unknown option ${rs.default.yellow(n.pair({key:e,value:t}))}.`],o=Object.keys(i).sort().find((t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var u,o,s,a,l=0;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(i-=l,0==(r-=l))return i;for(var c=0,p=0;c<r;)ls[l+c]=e.charCodeAt(l+c),as[c]=++c;for(;p<i;)for(u=t.charCodeAt(l+p),s=p++,o=p,c=0;c<r;c++)a=u===ls[l+c]?s:s+1,s=as[c],o=as[c]=s>o?a>o?o+1:a:a>s?s+1:a;return o}(e,t)<3));o&&u.push(`Did you mean ${rs.default.blue(n.key(o))}?`),r.warn(u.join(" "))}},"__esModule",{value:!0}),ps=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(cs,t)})),fs=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(us,t),co.__exportStar(ss,t),co.__exportStar(ps,t)}));const ds=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function hs(e,t){const n=new e(t),r=Object.create(n);for(const e of ds)e in t&&(r[e]=Ds(t[e],n,ms.prototype[e].length));return r}var gs=hs;class ms{constructor(e){this.name=e.name}static create(e){return hs(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}var ys=ms;function Ds(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var Es=Object.defineProperty({createSchema:gs,Schema:ys},"__esModule",{value:!0});class bs extends Es.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}var Cs=bs,vs=Object.defineProperty({AliasSchema:Cs},"__esModule",{value:!0});class As extends Es.Schema{expected(){return"anything"}validate(){return!0}}var Fs=As,xs=Object.defineProperty({AnySchema:Fs},"__esModule",{value:!0});class Ss extends Es.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=co.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((({value:e})=>({value:[e]}))))}return n}forward(e,t){const n=[];for(const r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Ts))}return n}redirect(e,t){const n=[],r=[];for(const i of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(Ts))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}}var ws=Ss;function Ts({from:e,to:t}){return{from:[e],to:t}}var Bs=Object.defineProperty({ArraySchema:ws},"__esModule",{value:!0});class ks extends Es.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}var Ns=ks,Ps=Object.defineProperty({BooleanSchema:Ns},"__esModule",{value:!0});var Os=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n};var Is=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n};var js=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}};var Ls=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]};var _s=function(e){return e===Math.floor(e)};var Ms=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)};var Rs=function(e){return void 0===e?{}:e};var $s=function(e,t){return!0===e||(!1===e?{value:t}:e)};var Vs=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)};function qs(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}}var Ws=qs;function Us(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>qs(e,t))):[qs(e,t)]}var zs=Us;var Hs=function(e,t){const n=Us("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}},Gs=Object.defineProperty({recordFromArray:Os,mapFromArray:Is,createAutoChecklist:js,partition:Ls,isInt:_s,comparePrimitive:Ms,normalizeDefaultResult:Rs,normalizeValidateResult:$s,normalizeDeprecatedResult:Vs,normalizeTransferResult:Ws,normalizeForwardResult:zs,normalizeRedirectResult:Hs},"__esModule",{value:!0});class Js extends Es.Schema{constructor(e){super(e),this._choices=Gs.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(Gs.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}var Xs=Js,Ys=Object.defineProperty({ChoiceSchema:Xs},"__esModule",{value:!0});class Ks extends Es.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}var Qs=Ks,Zs=Object.defineProperty({NumberSchema:Qs},"__esModule",{value:!0});class ea extends Zs.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&Gs.isInt(e)}}var ta=ea,na=Object.defineProperty({IntegerSchema:ta},"__esModule",{value:!0});class ra extends Es.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}var ia=ra,ua=Object.defineProperty({StringSchema:ia},"__esModule",{value:!0}),oa=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(vs,t),co.__exportStar(xs,t),co.__exportStar(Bs,t),co.__exportStar(Ps,t),co.__exportStar(Ys,t),co.__exportStar(na,t),co.__exportStar(Zs,t),co.__exportStar(ua,t)})),sa=po.apiDescriptor,aa=cs.levenUnknownHandler,la=ss.commonInvalidHandler,ca=is.commonDeprecatedHandler,pa=Object.defineProperty({defaultDescriptor:sa,defaultUnknownHandler:aa,defaultInvalidHandler:la,defaultDeprecatedHandler:ca},"__esModule",{value:!0});class fa{constructor(e,t){const{logger:n=console,descriptor:r=pa.defaultDescriptor,unknown:i=pa.defaultUnknownHandler,invalid:u=pa.defaultInvalidHandler,deprecated:o=pa.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:Gs.recordFromArray(e,"name"),normalizeDefaultResult:Gs.normalizeDefaultResult,normalizeDeprecatedResult:Gs.normalizeDeprecatedResult,normalizeForwardResult:Gs.normalizeForwardResult,normalizeRedirectResult:Gs.normalizeRedirectResult,normalizeValidateResult:Gs.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=u,this._deprecatedHandler=o,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Gs.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=Gs.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value})}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=Gs.partition(Object.keys(e),(e=>e in this._utils.schemas));for(const i of r){const r=this._utils.schemas[i],u=r.preprocess(e[i],this._utils),o=Gs.normalizeValidateResult(r.validate(u,this._utils),u);if(!0!==o){const{value:e}=o,t=this._invalidHandler(i,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},a=({value:e,redirectTo:t})=>{const n=Gs.normalizeDeprecatedResult(r.deprecated(e,this._utils),u,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,t,this._utils));else for(const{value:e}of n){const n={key:i,value:e};if(!this._hasDeprecationWarned(n)){const r="string"==typeof t?{key:t,value:e}:t;this._utils.logger.warn(this._deprecatedHandler(n,r,this._utils))}}};Gs.normalizeForwardResult(r.forward(u,this._utils),u).forEach(s);const l=Gs.normalizeRedirectResult(r.redirect(u,this._utils),u);if(l.redirect.forEach(s),"remain"in l){const e=l.remain;t[i]=i in t?r.overlap(t[i],e,this._utils):e,a({value:e})}for(const{from:e,to:t}of l.redirect)a({value:e,redirectTo:t})}for(const r of i){const i=e[r],u=this._unknownHandler(r,i,this._utils);if(u)for(const e of Object.keys(u)){const r={[e]:u[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}var da=fa,ha=Object.defineProperty({normalize:(e,t,n)=>new fa(t,n).normalize(e),Normalizer:da},"__esModule",{value:!0}),ga=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),co.__exportStar(fo,t),co.__exportStar(fs,t),co.__exportStar(oa,t),co.__exportStar(ha,t),co.__exportStar(Es,t)}));const ma=[],ya=[],Da=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let u,o,s,a,l=0;for(;l<r&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(r-=l,i-=l,0===r)return i;let c=0,p=0;for(;c<r;)ya[c]=e.charCodeAt(l+c),ma[c]=++c;for(;p<i;)for(u=t.charCodeAt(l+p),s=p++,o=p,c=0;c<r;c++)a=u===ya[c]?s:s+1,s=ma[c],o=ma[c]=s>o?a>o?o+1:a:a>s?s+1:a;return o};var Ea=Da,ba=Da;Ea.default=ba;var Ca={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 va={};for(const e of Object.keys(Ca))va[Ca[e]]=e;const Aa={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 Fa=Aa;for(const e of Object.keys(Aa)){if(!("channels"in Aa[e]))throw new Error("missing channels property: "+e);if(!("labels"in Aa[e]))throw new Error("missing channel labels property: "+e);if(Aa[e].labels.length!==Aa[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Aa[e];delete Aa[e].channels,delete Aa[e].labels,Object.defineProperty(Aa[e],"channels",{value:t}),Object.defineProperty(Aa[e],"labels",{value:n})}function xa(e){const t=function(){const e={},t=Object.keys(Fa);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),r=Object.keys(Fa[e]);for(let i=r.length,u=0;u<i;u++){const i=r[u],o=t[i];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,n.unshift(i))}}return t}function Sa(e,t){return function(n){return t(e(n))}}function wa(e,t){const n=[t[e].parent,e];let r=Fa[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),r=Sa(Fa[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}Aa.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),u=Math.max(t,n,r),o=u-i;let s,a;u===i?s=0:t===u?s=(n-r)/o:n===u?s=2+(r-t)/o:r===u&&(s=4+(t-n)/o),s=Math.min(60*s,360),s<0&&(s+=360);const l=(i+u)/2;return a=u===i?0:l<=.5?o/(u+i):o/(2-u-i),[s,100*a,100*l]},Aa.rgb.hsv=function(e){let t,n,r,i,u;const o=e[0]/255,s=e[1]/255,a=e[2]/255,l=Math.max(o,s,a),c=l-Math.min(o,s,a),p=function(e){return(l-e)/6/c+.5};return 0===c?(i=0,u=0):(u=c/l,t=p(o),n=p(s),r=p(a),o===l?i=r-n:s===l?i=1/3+t-r:a===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*u,100*l]},Aa.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Aa.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*u,100*r]},Aa.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Aa.rgb.keyword=function(e){const t=va[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(Ca)){const o=(u=Ca[t],((i=e)[0]-u[0])**2+(i[1]-u[1])**2+(i[2]-u[2])**2);o<r&&(r=o,n=t)}var i,u;return n},Aa.keyword.rgb=function(e){return Ca[e]},Aa.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Aa.rgb.lab=function(e){const t=Aa.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*r-16,500*(n-r),200*(r-i)]},Aa.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,u,o;if(0===n)return o=255*r,[o,o,o];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,a=[0,0,0];for(let e=0;e<3;e++)u=t+1/3*-(e-1),u<0&&u++,u>1&&u--,o=6*u<1?s+6*(i-s)*u:2*u<1?i:3*u<2?s+(i-s)*(2/3-u)*6:s,a[e]=255*o;return a},Aa.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const u=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=u<=1?u:2-u;return[t,100*(0===r?2*i/(u+i):2*n/(r+n)),100*((r+n)/2)]},Aa.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,u=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*u),a=255*r*(1-n*(1-u));switch(r*=255,i){case 0:return[r,a,o];case 1:return[s,r,o];case 2:return[o,r,a];case 3:return[o,s,r];case 4:return[a,o,r];case 5:return[r,o,s]}},Aa.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let u,o;o=(2-n)*r;const s=(2-n)*i;return u=n*i,u/=s<=1?s:2-s,u=u||0,o/=2,[t,100*u,100*o]},Aa.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let u;i>1&&(n/=i,r/=i);const o=Math.floor(6*t),s=1-r;u=6*t-o,0!=(1&o)&&(u=1-u);const a=n+u*(s-n);let l,c,p;switch(o){default:case 6:case 0:l=s,c=a,p=n;break;case 1:l=a,c=s,p=n;break;case 2:l=n,c=s,p=a;break;case 3:l=n,c=a,p=s;break;case 4:l=a,c=n,p=s;break;case 5:l=s,c=n,p=a}return[255*l,255*c,255*p]},Aa.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Aa.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,u,o;return i=3.2406*t+-1.5372*n+-.4986*r,u=-.9689*t+1.8758*n+.0415*r,o=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=Math.min(Math.max(0,i),1),u=Math.min(Math.max(0,u),1),o=Math.min(Math.max(0,o),1),[255*i,255*u,255*o]},Aa.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Aa.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,u=t**3,o=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Aa.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},Aa.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Aa.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let u=null===t?Aa.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),0===u)return 30;let o=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===u&&(o+=60),o},Aa.hsv.ansi16=function(e){return Aa.rgb.ansi16(Aa.hsv.rgb(e),e[2])},Aa.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Aa.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]},Aa.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Aa.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},Aa.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Aa.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),u=Math.min(Math.min(t,n),r),o=i-u;let s,a;return s=o<1?u/(1-o):0,a=o<=0?0:i===t?(n-r)/o%6:i===n?2+(r-t)/o:4+(t-n)/o,a/=6,a%=1,[360*a,100*o,100*s]},Aa.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Aa.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Aa.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],u=t%1*6,o=u%1,s=1-o;let a=0;switch(Math.floor(u)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return a=(1-n)*r,[255*(n*i[0]+a),255*(n*i[1]+a),255*(n*i[2]+a)]},Aa.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]},Aa.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]},Aa.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)]},Aa.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Aa.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Aa.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Aa.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Aa.gray.hsl=function(e){return[0,0,e[0]]},Aa.gray.hsv=Aa.gray.hsl,Aa.gray.hwb=function(e){return[0,100,e[0]]},Aa.gray.cmyk=function(e){return[0,0,0,e[0]]},Aa.gray.lab=function(e){return[e[0],0,0]},Aa.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},Aa.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Ta={};Object.keys(Fa).forEach((e=>{Ta[e]={},Object.defineProperty(Ta[e],"channels",{value:Fa[e].channels}),Object.defineProperty(Ta[e],"labels",{value:Fa[e].labels});const t=function(e){const t=xa(e),n={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){const e=r[i];null!==t[e].parent&&(n[e]=wa(e,t))}return n}(e);Object.keys(t).forEach((n=>{const r=t[n];Ta[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Ta[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Ba=Ta,ka=i((function(e){const t=(e,t)=>(...n)=>`\x1b[${e(...n)+t}m`,n=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};5;${r}m`},r=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};2;${r[0]};${r[1]};${r[2]}m`},i=e=>e,u=(e,t,n)=>[e,t,n],o=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const a=(e,t,n,r)=>{void 0===s&&(s=Ba);const i=r?10:0,u={};for(const[r,o]of Object.entries(s)){const s="ansi16"===r?"ansi":r;r===t?u[s]=e(n,i):"object"==typeof o&&(u[s]=e(o[t],i))}return u};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:`\x1b[${r[0]}m`,close:`\x1b[${r[1]}m`},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",o(s.color,"ansi",(()=>a(t,"ansi16",i,!1))),o(s.color,"ansi256",(()=>a(n,"ansi256",i,!1))),o(s.color,"ansi16m",(()=>a(r,"rgb",u,!1))),o(s.bgColor,"ansi",(()=>a(t,"ansi16",i,!0))),o(s.bgColor,"ansi256",(()=>a(n,"ansi256",i,!0))),o(s.bgColor,"ansi16m",(()=>a(r,"rgb",u,!0))),s}})}));function Na(){return!1}function Pa(){throw new Error("tty.ReadStream is not implemented")}function Oa(){throw new Error("tty.ReadStream is not implemented")}var Ia={isatty:Na,ReadStream:Pa,WriteStream:Oa},ja=(e,t=ur.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},La=r(Object.freeze({__proto__:null,isatty:Na,ReadStream:Pa,WriteStream:Oa,default:Ia}));const{env:_a}=ur;let Ma;function Ra(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function $a(e,t){if(0===Ma)return 0;if(ja("color=16m")||ja("color=full")||ja("color=truecolor"))return 3;if(ja("color=256"))return 2;if(e&&!t&&void 0===Ma)return 0;const n=Ma||0;if("dumb"===_a.TERM)return n;if("win32"===ur.platform){const e=qo.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in _a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in _a))||"codeship"===_a.CI_NAME?1:n;if("TEAMCITY_VERSION"in _a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(_a.TEAMCITY_VERSION)?1:0;if("truecolor"===_a.COLORTERM)return 3;if("TERM_PROGRAM"in _a){const e=parseInt((_a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(_a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(_a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(_a.TERM)||"COLORTERM"in _a?1:n}ja("no-color")||ja("no-colors")||ja("color=false")||ja("color=never")?Ma=0:(ja("color")||ja("colors")||ja("color=true")||ja("color=always"))&&(Ma=1),"FORCE_COLOR"in _a&&(Ma="true"===_a.FORCE_COLOR?1:"false"===_a.FORCE_COLOR?0:0===_a.FORCE_COLOR.length?1:Math.min(parseInt(_a.FORCE_COLOR,10),3));var Va={supportsColor:function(e){return Ra($a(e,e&&e.isTTY))},stdout:Ra($a(!0,La.isatty(1))),stderr:Ra($a(!0,La.isatty(2)))};var qa={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let u=0,o="";do{o+=e.substr(u,r-u)+t+n,u=r+i,r=e.indexOf(t,u)}while(-1!==r);return o+=e.substr(u),o},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,u="";do{const o="\r"===e[r-1];u+=e.substr(i,(o?r-1:r)-i)+t+(o?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return u+=e.substr(i),u}};const Wa=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ua=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,za=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ha=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Ga=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Ja(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)):Ga.get(e)||e}function Xa(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(i=t.match(za)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);n.push(i[2].replace(Ha,((e,t,n)=>t?Ja(t):n)))}else n.push(r)}return n}function Ya(e){Ua.lastIndex=0;const t=[];let n;for(;null!==(n=Ua.exec(e));){const e=n[1];if(n[2]){const r=Xa(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Ka(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=t.length>0?r[e](...t):r[e]}return r}var Qa=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Wa,((t,u,o,s,a,l)=>{if(u)i.push(Ja(u));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Ka(e,n)(t)),n.push({inverse:o,styles:Ya(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Ka(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)})),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")};const{stdout:Za,stderr:el}=Va,{stringReplaceAll:tl,stringEncaseCRLFWithFirstIndex:nl}=qa,{isArray:rl}=Array,il=["ansi","ansi","ansi256","ansi16m"],ul=Object.create(null);class ol{constructor(e){return sl(e)}}const sl=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=Za?Za.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>gl(t.template,...e),Object.setPrototypeOf(t,al.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=ol,t.template};function al(e){return sl(e)}for(const[e,t]of Object.entries(ka))ul[e]={get(){const n=fl(this,pl(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};ul.visible={get(){const e=fl(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const ll=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of ll)ul[e]={get(){const{level:t}=this;return function(...n){const r=pl(ka.color[il[t]][e](...n),ka.color.close,this._styler);return fl(this,r,this._isEmpty)}}};for(const e of ll){ul["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=pl(ka.bgColor[il[t]][e](...n),ka.bgColor.close,this._styler);return fl(this,r,this._isEmpty)}}}}const cl=Object.defineProperties((()=>{}),Object.assign(Object.assign({},ul),{},{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),pl=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},fl=(e,t,n)=>{const r=(...e)=>rl(e[0])&&rl(e[0].raw)?dl(r,gl(r,...e)):dl(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,cl),r._generator=e,r._styler=t,r._isEmpty=n,r},dl=(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:i}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=tl(t,n.close,n.open),n=n.parent;const u=t.indexOf("\n");return-1!==u&&(t=nl(t,i,r,u)),r+t+i};let hl;const gl=(e,...t)=>{const[n]=t;if(!rl(n)||!rl(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let e=1;e<n.length;e++)i.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===hl&&(hl=Qa),hl(e,i.join(""))};Object.defineProperties(al.prototype,ul);const ml=al();ml.supportsColor=Za,ml.stderr=al({level:el?el.level:0}),ml.stderr.supportsColor=el;var yl=ml;const Dl=["_"],El={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>ga.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?`--no-${e}`:!0===t?El.key(e):""===t?`${El.key(e)} without an argument`:`${El.key(e)}=${t}`};class bl extends ga.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=[...t].sort()}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find((t=>Ea(t,e)<3));if(n)return t.logger.warn([`Unknown flag ${yl.yellow(t.descriptor.value(e))},`,`did you mean ${yl.blue(t.descriptor.value(n))}?`].join(" ")),n}return e}expected(){return"a flag"}}let Cl;function vl(t,n,{logger:r,isCLI:i=!1,passThrough:u=!1}={}){const o=u?Array.isArray(u)?(e,t)=>u.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,Dl);return ga.levenUnknownHandler(t,n,Object.assign(Object.assign({},r),{},{schemas:i}))},s=i?El:ga.apiDescriptor,a=function(e,{isCLI:t}){const n=[];t&&n.push(ga.AnySchema.create({name:"_"}));for(const r of e)n.push(Al(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(ga.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),l=new ga.Normalizer(a,{logger:r,unknown:o,descriptor:s}),c=!1!==r;c&&Cl&&(l._hasDeprecationWarned=Cl);const p=l.normalize(t);return c&&(Cl=l._hasDeprecationWarned),p}function Al(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},u={};switch(e.type){case"int":r=ga.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=ga.StringSchema;break;case"choice":r=ga.ChoiceSchema,i.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":r=ga.BooleanSchema;break;case"flag":r=bl,i.flags=n.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean)));break;case"path":r=ga.StringSchema;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(u.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?Be(t):t),r)}return e.array?ga.ArraySchema.create(Object.assign(Object.assign(Object.assign({},t?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),u),{},{valueSchema:r.create(i)})):r.create(Object.assign(Object.assign({},i),u))}var Fl={normalizeApiOptions:function(e,t,n){return vl(e,t,n)},normalizeCliOptions:function(e,t,n){return vl(e,t,Object.assign({isCLI:!0},n))}};const{isNonEmptyArray:xl}=ti;function Sl(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(xl(t))return Sl(t[0])}return e.range?e.range[0]:e.start}function wl(e){return e.range?e.range[1]:e.end}function Tl(e,t){return Sl(e)===Sl(t)}var Bl={locStart:Sl,locEnd:wl,hasSameLocStart:Tl,hasSameLoc:function(e,t){return Tl(e,t)&&function(e,t){return wl(e)===wl(t)}(e,t)}},kl=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}),Nl=Vl,Pl=ql,Ol=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){const t=e.charCodeAt(++n);56320==(64512&t)&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!Vl(r))return!1}else if(!ql(r))return!1}return!t};let Il="\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",jl="\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 Ll=new RegExp("["+Il+"]"),_l=new RegExp("["+Il+jl+"]");Il=jl=null;const Ml=[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],Rl=[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 $l(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function Vl(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ll.test(String.fromCharCode(e)):$l(e,Ml)))}function ql(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&_l.test(String.fromCharCode(e)):$l(e,Ml)||$l(e,Rl))))}var Wl=Object.defineProperty({isIdentifierStart:Nl,isIdentifierChar:Pl,isIdentifierName:Ol},"__esModule",{value:!0}),Ul=ec,zl=tc,Hl=nc,Gl=function(e,t){return tc(e,t)||nc(e)},Jl=function(e){return Kl.has(e)};const Xl=["implements","interface","let","package","private","protected","public","static","yield"],Yl=["eval","arguments"],Kl=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"]),Ql=new Set(Xl),Zl=new Set(Yl);function ec(e,t){return t&&"await"===e||"enum"===e}function tc(e,t){return ec(e,t)||Ql.has(e)}function nc(e){return Zl.has(e)}var rc=Object.defineProperty({isReservedWord:Ul,isStrictReservedWord:zl,isStrictBindOnlyReservedWord:Hl,isStrictBindReservedWord:Gl,isKeyword:Jl},"__esModule",{value:!0}),ic=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return Wl.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return Wl.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return Wl.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return rc.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return rc.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return rc.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return rc.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return rc.isKeyword}})})),uc=/[|\\{}()[\]^$+*?.]/g,oc=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(uc,"\\$&")},sc={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]},ac=i((function(e){var t={};for(var n in sc)sc.hasOwnProperty(n)&&(t[sc[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 i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var u=r[i].channels,o=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:u}),Object.defineProperty(r[i],"labels",{value:o})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,u=e[2]/255,o=Math.min(r,i,u),s=Math.max(r,i,u),a=s-o;return s===o?t=0:r===s?t=(i-u)/a:i===s?t=2+(u-r)/a:u===s&&(t=4+(r-i)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?a/(s+o):a/(2-s-o)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,u,o=e[0]/255,s=e[1]/255,a=e[2]/255,l=Math.max(o,s,a),c=l-Math.min(o,s,a),p=function(e){return(l-e)/6/c+.5};return 0===c?i=u=0:(u=c/l,t=p(o),n=p(s),r=p(a),o===l?i=r-n:s===l?i=1/3+t-r:a===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*u,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,u,o=1/0;for(var s in sc)if(sc.hasOwnProperty(s)){var a=sc[s],l=(i=e,u=a,Math.pow(i[0]-u[0],2)+Math.pow(i[1]-u[1],2)+Math.pow(i[2]-u[2],2));l<o&&(o=l,r=s)}return r},r.keyword.rgb=function(e){return sc[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],u=t[2];return i/=100,u/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,u,o=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[u=255*a,u,u];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,u=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*u;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,u=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=u<=1?u:2-u,[t,100*(0===r?2*i/(u+i):2*n/(r+n)),100*((r+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,u=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*u),a=255*r*(1-n*(1-u));switch(r*=255,i){case 0:return[r,a,o];case 1:return[s,r,o];case 2:return[o,r,a];case 3:return[o,s,r];case 4:return[a,o,r];case 5:return[r,o,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],u=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-u)*o,n=u*s,[i,100*(n=(n/=(t=(2-u)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,u,o,s,a=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:u=n,o=i,s=l;break;case 1:u=i,o=n,s=l;break;case 2:u=l,o=n,s=i;break;case 3:u=l,o=i,s=n;break;case 4:u=i,o=l,s=n;break;case 5:u=n,o=l,s=i}return[255*u,255*o,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,u=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*u+.0415*o,r=.0557*i+-.204*u+1.057*o,t=(t=3.2406*i+-1.5372*u+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],u=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(u=Math.round(u/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===u&&(o+=60),o},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,u=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=u-o;return t=s<=0?0:u===n?(r-i)/s%6:u===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,u=[0,0,0],o=t%1*6,s=o%1,a=1-s;switch(Math.floor(o)){case 0:u[0]=1,u[1]=s,u[2]=0;break;case 1:u[0]=a,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=s;break;case 3:u[0]=0,u[1]=a,u[2]=1;break;case 4:u[0]=s,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=a}return i=(1-n)*r,[255*(n*u[0]+i),255*(n*u[1]+i),255*(n*u[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function lc(e){var t=function(){for(var e={},t=Object.keys(ac),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(ac[r]),u=i.length,o=0;o<u;o++){var s=i[o],a=t[s];-1===a.distance&&(a.distance=t[r].distance+1,a.parent=r,n.unshift(s))}return t}function cc(e,t){return function(n){return t(e(n))}}function pc(e,t){for(var n=[t[e].parent,e],r=ac[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=cc(ac[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var fc={};Object.keys(ac).forEach((function(e){fc[e]={},Object.defineProperty(fc[e],"channels",{value:ac[e].channels}),Object.defineProperty(fc[e],"labels",{value:ac[e].labels});var t=function(e){for(var t=lc(e),n={},r=Object.keys(t),i=r.length,u=0;u<i;u++){var o=r[u];null!==t[o].parent&&(n[o]=pc(o,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];fc[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),fc[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var dc=fc,hc=i((function(e){const t=(e,t)=>function(){const n=e.apply(dc,arguments);return`\x1b[${n+t}m`},n=(e,t)=>function(){const n=e.apply(dc,arguments);return`\x1b[${38+t};5;${n}m`},r=(e,t)=>function(){const n=e.apply(dc,arguments);return`\x1b[${38+t};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:`\x1b[${r[0]}m`,close:`\x1b[${r[1]}m`},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const u=e=>e,o=(e,t,n)=>[e,t,n];i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:t(u,0)},i.color.ansi256={ansi256:n(u,0)},i.color.ansi16m={rgb:r(o,0)},i.bgColor.ansi={ansi:t(u,10)},i.bgColor.ansi256={ansi256:n(u,10)},i.bgColor.ansi16m={rgb:r(o,10)};for(let e of Object.keys(dc)){if("object"!=typeof dc[e])continue;const u=dc[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(i.color.ansi[e]=t(u.ansi16,0),i.bgColor.ansi[e]=t(u.ansi16,10)),"ansi256"in u&&(i.color.ansi256[e]=n(u.ansi256,0),i.bgColor.ansi256[e]=n(u.ansi256,10)),"rgb"in u&&(i.color.ansi16m[e]=r(u.rgb,0),i.bgColor.ansi16m[e]=r(u.rgb,10))}return i}})})),gc=(e,t)=>{t=t||ur.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)};const mc=ur.env;let yc;function Dc(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===yc)return 0;if(gc("color=16m")||gc("color=full")||gc("color=truecolor"))return 3;if(gc("color=256"))return 2;if(e&&!e.isTTY&&!0!==yc)return 0;const t=yc?1:0;if("win32"===ur.platform){const e=qo.release().split(".");return Number(ur.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in mc)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in mc))||"codeship"===mc.CI_NAME?1:t;if("TEAMCITY_VERSION"in mc)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(mc.TEAMCITY_VERSION)?1:0;if("truecolor"===mc.COLORTERM)return 3;if("TERM_PROGRAM"in mc){const e=parseInt((mc.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(mc.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(mc.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(mc.TERM)||"COLORTERM"in mc?1:(mc.TERM,t)}(e))}gc("no-color")||gc("no-colors")||gc("color=false")?yc=!1:(gc("color")||gc("colors")||gc("color=true")||gc("color=always"))&&(yc=!0),"FORCE_COLOR"in mc&&(yc=0===mc.FORCE_COLOR.length||0!==parseInt(mc.FORCE_COLOR,10));var Ec={supportsColor:Dc,stdout:Dc(ur.stdout),stderr:Dc(ur.stderr)};const bc=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Cc=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,vc=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ac=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Fc=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function xc(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Fc.get(e)||e}function Sc(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const t of r)if(isNaN(t)){if(!(i=t.match(vc)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);n.push(i[2].replace(Ac,((e,t,n)=>t?xc(t):n)))}else n.push(Number(t));return n}function wc(e){Cc.lastIndex=0;const t=[];let n;for(;null!==(n=Cc.exec(e));){const e=n[1];if(n[2]){const r=Sc(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Tc(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var Bc=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(bc,((t,u,o,s,a,l)=>{if(u)i.push(xc(u));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Tc(e,n)(t)),n.push({inverse:o,styles:wc(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Tc(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)})),r.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return r.join("")},kc=i((function(e){const t=Ec.stdout,n="win32"===ur.platform&&!(ur.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),u=Object.create(null);function o(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return o(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}o(this,e)}n&&(hc.blue.open="\x1b[94m");for(const e of Object.keys(hc))hc[e].closeRe=new RegExp(oc(hc[e].close),"g"),u[e]={get(){const t=hc[e];return l.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},hc.color.closeRe=new RegExp(oc(hc.color.close),"g");for(const e of Object.keys(hc.color.ansi))i.has(e)||(u[e]={get(){const t=this.level;return function(){const n=hc.color[r[t]][e].apply(null,arguments),i={open:n,close:hc.color.close,closeRe:hc.color.closeRe};return l.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});hc.bgColor.closeRe=new RegExp(oc(hc.bgColor.close),"g");for(const e of Object.keys(hc.bgColor.ansi)){if(i.has(e))continue;u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=hc.bgColor[r[t]][e].apply(null,arguments),i={open:n,close:hc.bgColor.close,closeRe:hc.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}const a=Object.defineProperties((()=>{}),u);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const i=hc.dim.open;n&&this.hasGrey&&(hc.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`);return hc.dim.open=i,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let e=1;e<t.length;e++)r.push(String(n[e-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[e]));return Bc(e,r.join(""))}Object.defineProperties(s.prototype,u),e.exports=s(),e.exports.supportsColor=t,e.exports.default=e.exports})),Nc=Vc,Pc=qc,Oc=function(e,t={}){if(Vc(t)){const n=qc(t);return function(e,t){let n="";for(const{type:r,value:i}of $c(t)){const t=e[r];n+=t?i.split(Mc).map((e=>t(e))).join("\n"):i}return n}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e},Ic=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Lc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(kl),jc=function(e){return e&&e.__esModule?e:{default:e}}(kc);function Lc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Lc=function(){return e},e}const _c=new Set(["as","async","from","get","of","set"]);const Mc=/\r\n|[\n\r\u2028\u2029]/,Rc=/^[()[\]{}]$/;let $c;{const{matchToToken:e}=Ic,t=/^[a-z][\w-]*$/i,n=function(e,n,r){if("name"===e.type){if((0,ic.isKeyword)(e.value)||(0,ic.isStrictReservedWord)(e.value,!0)||_c.has(e.value))return"keyword";if(t.test(e.value)&&("<"===r[n-1]||"</"==r.substr(n-2,2)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return"punctuator"===e.type&&Rc.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator"};$c=function*(t){let r;for(;r=Ic.default.exec(t);){const i=e(r);yield{type:n(i,r.index,t),value:i.value}}}}function Vc(e){return!!jc.default.supportsColor||e.forceColor}function qc(e){return e.forceColor?new jc.default.constructor({enabled:!0,level:1}):jc.default}var Wc=Xc,Uc=function(e,t,n,r={}){if(!Gc){Gc=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(ur.emitWarning)ur.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}n=Math.max(n,0);return Xc(e,{start:{column:n,line:t}},r)},zc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=Hc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(Object.defineProperty({shouldHighlight:Nc,getChalk:Pc,default:Oc},"__esModule",{value:!0}));function Hc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Hc=function(){return e},e}let Gc=!1;const Jc=/\r\n|[\n\r\u2028\u2029]/;function Xc(e,t,n={}){const r=(n.highlightCode||n.forceColor)&&(0,zc.shouldHighlight)(n),i=(0,zc.getChalk)(n),u=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(i),o=(e,t)=>r?e(t):t,s=e.split(Jc),{start:a,end:l,markerLines:c}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:u=2,linesBelow:o=3}=n||{},s=r.line,a=r.column,l=i.line,c=i.column;let p=Math.max(s-(u+1),0),f=Math.min(t.length,l+o);-1===s&&(p=0),-1===l&&(f=t.length);const d=l-s,h={};if(d)for(let e=0;e<=d;e++){const n=e+s;if(a)if(0===e){const e=t[n-1].length;h[n]=[a,e-a+1]}else if(e===d)h[n]=[0,c];else{const r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else h[s]=a===c?!a||[a,0]:[a,c-a];return{start:p,end:f,markerLines:h}}(t,s,n),p=t.start&&"number"==typeof t.start.column,f=String(l).length;let d=(r?(0,zc.default)(e,n):e).split(Jc).slice(a,l).map(((e,t)=>{const r=a+1+t,i=` ${` ${r}`.slice(-f)} |`,s=c[r],l=!c[r+1];if(s){let t="";if(Array.isArray(s)){const r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),a=s[1]||1;t=["\n ",o(u.gutter,i.replace(/\d/g," "))," ",r,o(u.marker,"^").repeat(a)].join(""),l&&n.message&&(t+=" "+o(u.message,n.message))}return[o(u.marker,">"),o(u.gutter,i),e.length>0?` ${e}`:"",t].join("")}return` ${o(u.gutter,i)}${e.length>0?` ${e}`:""}`})).join("\n");return n.message&&!p&&(d=`${" ".repeat(f+1)}${n.message}\n${d}`),r?i.reset(d):d}var Yc=Object.defineProperty({codeFrameColumns:Wc,default:Uc},"__esModule",{value:!0}),Kc=r(Zi);const{ConfigError:Qc}=io,{locStart:Zc,locEnd:ep}=Bl,tp=Object.getOwnPropertyNames,np=Object.getOwnPropertyDescriptor;function rp(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of tp(n.parsers))Object.defineProperty(t,e,np(n.parsers,e));return t}function ip(e,t=rp(e)){if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Zc,locEnd:ep};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Qc(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}var up={parse:function(e,t){const n=rp(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((e=>[e,{enumerable:!0,get:()=>n[e].parse}])))),i=ip(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Yc;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:ip};const{UndefinedParserError:op}=io,{getSupportInfo:sp}=Lr,{resolveParser:ap}=up,lp={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function cp(e,t){const n=Kc.basename(e).toLowerCase(),r=sp({plugins:t}).languages.filter((e=>null!==e.since));let i=r.find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=Qu.openSync(e,"r")}catch{return""}try{const e=new Zu(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch{return""}finally{try{Qu.closeSync(t)}catch{}}}(e);i=r.find((e=>e.interpreters&&e.interpreters.includes(t)))}return i&&i.parsers[0]}var pp={normalize:function(e,t={}){const n=Object.assign({},e),r=sp({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign(Object.assign({},lp),Object.fromEntries(r.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!n.parser)if(n.filepath){if(n.parser=cp(n.filepath,n.plugins),!n.parser)throw new op(`No parser could be inferred for file: ${n.filepath}`)}else{(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel"}const u=ap(Fl.normalizeApiOptions(n,[r.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;const o=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find((e=>e.printers&&e.printers[t]));if(!n)throw new Error(`Couldn't find plugin for AST format "${t}"`);return n}(n);n.printer=o.printers[n.astFormat];const s=Object.fromEntries(r.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[o.name])).map((e=>[e.name,e.pluginDefaults[o.name]]))),a=Object.assign(Object.assign({},i),s);for(const[e,t]of Object.entries(a))null!==n[e]&&void 0!==n[e]||(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),Fl.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(lp)},t))},hiddenDefaults:lp,inferParser:cp};var fp=function e(t,n,r){if(Array.isArray(t))return t.map((t=>e(t,n,r))).filter(Boolean);if(!t||"object"!=typeof t)return t;const i=n.printer.massageAstNode;let u;u=i&&i.ignoredProperties?i.ignoredProperties:new Set;const o={};for(const[r,i]of Object.entries(t))u.has(r)||"function"==typeof i||(o[r]=e(i,n,t));if(i){const e=i(t,o,r);if(null===e)return;if(e)return e}return o},dp="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 hp(e,t){var n={seen:[],stylize:mp};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),bp(t)?n.showHidden=t:t&&Np(n,t),Ap(n.showHidden)&&(n.showHidden=!1),Ap(n.depth)&&(n.depth=2),Ap(n.colors)&&(n.colors=!1),Ap(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=gp),yp(n,e,n.depth)}function gp(e,t){var n=hp.styles[t];return n?"\x1b["+hp.colors[n][0]+"m"+e+"\x1b["+hp.colors[n][1]+"m":e}function mp(e,t){return e}function yp(e,t,n){if(e.customInspect&&t&&Tp(t.inspect)&&t.inspect!==hp&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return vp(r)||(r=yp(e,r,n)),r}var i=function(e,t){if(Ap(t))return e.stylize("undefined","undefined");if(vp(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(bp(t))return e.stylize(""+t,"boolean");if(Cp(t))return e.stylize("null","null")}(e,t);if(i)return i;var u=Object.keys(t),o=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(t)),wp(t)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return Dp(t);if(0===u.length){if(Tp(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Fp(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Sp(t))return e.stylize(Date.prototype.toString.call(t),"date");if(wp(t))return Dp(t)}var a,l,c="",p=!1,f=["{","}"];(a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),Tp(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return Fp(t)&&(c=" "+RegExp.prototype.toString.call(t)),Sp(t)&&(c=" "+Date.prototype.toUTCString.call(t)),wp(t)&&(c=" "+Dp(t)),0!==u.length||p&&0!=t.length?n<0?Fp(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=p?function(e,t,n,r,i){for(var u=[],o=0,s=t.length;o<s;++o)Pp(t,String(o))?u.push(Ep(e,t,n,r,String(o),!0)):u.push("");return i.forEach((function(i){i.match(/^\d+$/)||u.push(Ep(e,t,n,r,i,!0))})),u}(e,t,n,o,u):u.map((function(r){return Ep(e,t,n,o,r,p)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,f)):f[0]+c+f[1]}function Dp(e){return"["+Error.prototype.toString.call(e)+"]"}function Ep(e,t,n,r,i,u){var o,s,a;if((a=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),Pp(r,i)||(o="["+i+"]"),s||(e.seen.indexOf(a.value)<0?(s=Cp(n)?yp(e,a.value,null):yp(e,a.value,n-1)).indexOf("\n")>-1&&(s=u?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Ap(o)){if(u&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function bp(e){return"boolean"==typeof e}function Cp(e){return null===e}function vp(e){return"string"==typeof e}function Ap(e){return void 0===e}function Fp(e){return xp(e)&&"[object RegExp]"===kp(e)}function xp(e){return"object"==typeof e&&null!==e}function Sp(e){return xp(e)&&"[object Date]"===kp(e)}function wp(e){return xp(e)&&("[object Error]"===kp(e)||e instanceof Error)}function Tp(e){return"function"==typeof e}function Bp(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function kp(e){return Object.prototype.toString.call(e)}function Np(e,t){if(!t||!xp(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Pp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Op(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,u=Math.min(n,r);i<u;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}hp.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]},hp.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Ip,jp=Object.prototype.hasOwnProperty,Lp=Object.keys||function(e){var t=[];for(var n in e)jp.call(e,n)&&t.push(n);return t},_p=Array.prototype.slice;function Mp(){return void 0!==Ip?Ip:Ip="foo"===function(){}.name}function Rp(e){return Object.prototype.toString.call(e)}function $p(e){return!Yu(e)&&("function"==typeof jn.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function Vp(e,t){e||Gp(e,!0,t,"==",Jp)}var qp=/\s*function\s+([^\(\s]*)\s*/;function Wp(e){if(Tp(e)){if(Mp())return e.name;var t=e.toString().match(qp);return t&&t[1]}}function Up(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return zp(Hp(e.actual),128)+" "+e.operator+" "+zp(Hp(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||Gp;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=Wp(t),u=r.indexOf("\n"+i);if(u>=0){var o=r.indexOf("\n",u+1);r=r.substring(o+1)}this.stack=r}}}function zp(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function Hp(e){if(Mp()||!Tp(e))return hp(e);var t=Wp(e);return"[Function"+(t?": "+t:"")+"]"}function Gp(e,t,n,r,i){throw new Up({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function Jp(e,t){e||Gp(e,!0,t,"==",Jp)}function Xp(e,t,n){e!=t&&Gp(e,t,n,"==",Xp)}function Yp(e,t,n){e==t&&Gp(e,t,n,"!=",Yp)}function Kp(e,t,n){Zp(e,t,!1)||Gp(e,t,n,"deepEqual",Kp)}function Qp(e,t,n){Zp(e,t,!0)||Gp(e,t,n,"deepStrictEqual",Qp)}function Zp(e,t,n,r){if(e===t)return!0;if(Yu(e)&&Yu(t))return 0===Op(e,t);if(Sp(e)&&Sp(t))return e.getTime()===t.getTime();if(Fp(e)&&Fp(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($p(e)&&$p(t)&&Rp(e)===Rp(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Op(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Yu(e)!==Yu(t))return!1;var i=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==i&&i===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(Bp(e)||Bp(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=ef(e),u=ef(t);if(i&&!u||!i&&u)return!1;if(i)return Zp(e=_p.call(e),t=_p.call(t),n);var o,s,a=Lp(e),l=Lp(t);if(a.length!==l.length)return!1;for(a.sort(),l.sort(),s=a.length-1;s>=0;s--)if(a[s]!==l[s])return!1;for(s=a.length-1;s>=0;s--)if(!Zp(e[o=a[s]],t[o],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function ef(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function tf(e,t,n){Zp(e,t,!1)&&Gp(e,t,n,"notDeepEqual",tf)}function nf(e,t,n){Zp(e,t,!0)&&Gp(e,t,n,"notDeepStrictEqual",nf)}function rf(e,t,n){e!==t&&Gp(e,t,n,"===",rf)}function uf(e,t,n){e===t&&Gp(e,t,n,"!==",uf)}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(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function sf(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&Gp(i,n,"Missing expected exception"+r);var u="string"==typeof r,o=!e&&i&&!n;if((!e&&wp(i)&&u&&of(i,n)||o)&&Gp(i,n,"Got unwanted exception"+r),e&&i&&n&&!of(i,n)||!e&&i)throw i}function af(e,t,n){sf(!0,e,t,n)}function lf(e,t,n){sf(!1,e,t,n)}function cf(e){if(e)throw e}Vp.AssertionError=Up,dp(Up,Error),Vp.fail=Gp,Vp.ok=Jp,Vp.equal=Xp,Vp.notEqual=Yp,Vp.deepEqual=Kp,Vp.deepStrictEqual=Qp,Vp.notDeepEqual=tf,Vp.notDeepStrictEqual=nf,Vp.strictEqual=rf,Vp.notStrictEqual=uf,Vp.throws=af,Vp.doesNotThrow=lf,Vp.ifError=cf;var pf=r(Object.freeze({__proto__:null,default:Vp,AssertionError:Up,fail:Gp,ok:Jp,assert:Jp,equal:Xp,notEqual:Yp,deepEqual:Kp,deepStrictEqual:Qp,notDeepEqual:tf,notDeepStrictEqual:nf,strictEqual:rf,notStrictEqual:uf,throws:af,doesNotThrow:lf,ifError:cf}));const{builders:{line:ff,hardline:df,breakParent:hf,indent:gf,lineSuffix:mf,join:yf,cursor:Df}}=_i,{hasNewline:Ef,skipNewline:bf,skipSpaces:Cf,isPreviousLineEmpty:vf,addLeadingComment:Af,addDanglingComment:Ff,addTrailingComment:xf}=ti,Sf=new WeakMap;function wf(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:u}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&u(n[t])<=u(e));--t);return void n.splice(t+1,0,e)}}else if(Sf.has(e))return Sf.get(e);const o=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((([e])=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e)).map((([,e])=>e));if(o){n||(n=[],Sf.set(e,n));for(const e of o)wf(e,t,n);return n}}function Tf(e,t,n,r){const{locStart:i,locEnd:u}=n,o=i(t),s=u(t),a=wf(e,n);let l,c,p=0,f=a.length;for(;p<f;){const e=p+f>>1,r=a[e],d=i(r),h=u(r);if(d<=o&&s<=h)return Tf(r,t,n,r);if(h<=o)l=r,p=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");c=r,f=e}}if(r&&"TemplateLiteral"===r.type){const{quasis:e}=r,i=jf(e,t,n);l&&jf(e,l,n)!==i&&(l=null),c&&jf(e,c,n)!==i&&(c=null)}return{enclosingNode:r,precedingNode:l,followingNode:c}}const Bf=()=>!1;const kf=e=>!/[\S\n\u2028\u2029]/.test(e);function Nf(e,t,n,r){const{comment:i,precedingNode:u}=n[r],{locStart:o,locEnd:s}=t;let a=o(i);if(u)for(let t=r-1;t>=0;t--){const{comment:r,precedingNode:i}=n[t];if(i!==u||!kf(e.slice(s(r),a)))break;a=o(r)}return Ef(e,a,{backwards:!0})}function Pf(e,t,n,r){const{comment:i,followingNode:u}=n[r],{locStart:o,locEnd:s}=t;let a=s(i);if(u)for(let t=r+1;t<n.length;t++){const{comment:r,followingNode:i}=n[t];if(i!==u||!kf(e.slice(a,o(r))))break;a=s(r)}return Ef(e,a)}function Of(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:u,enclosingNode:o}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(o)||/^[\s(]*$/;let a,l=n.locStart(u);for(a=r;a>0;--a){const{comment:r,precedingNode:o,followingNode:c}=e[a-1];pf.strictEqual(o,i),pf.strictEqual(c,u);const p=t.slice(n.locEnd(r),l);if(!s.test(p))break;l=n.locStart(r)}for(const[t,{comment:n}]of e.entries())t<a?xf(i,n):Af(u,n);for(const e of[i,u])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function If(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function jf(e,t,n){const r=n.locStart(t)-1;for(let t=1;t<e.length;++t)if(r<n.locStart(e[t]))return t-1;return 0}function Lf(e,t,n){const r=e.getValue();if(!r)return{};let i=r.comments||[];n&&(i=i.filter((e=>!n.has(e))));const u=r===t.cursorNode;if(0===i.length){const e=u?Df:"";return{leading:e,trailing:e}}const o=[],s=[];return e.each((()=>{const r=e.getValue();if(n&&n.has(r))return;const{leading:i,trailing:u}=r;i?o.push(function(e,t){const n=e.getValue(),r=[If(e,t)],{printer:i,originalText:u,locStart:o,locEnd:s}=t;if(i.isBlockComment&&i.isBlockComment(n)){const e=Ef(u,s(n))?Ef(u,o(n),{backwards:!0})?df:ff:" ";r.push(e)}else r.push(df);const a=bf(u,Cf(u,s(n)));return!1!==a&&Ef(u,a)&&r.push(df),r}(e,t)):u&&s.push(function(e,t){const n=e.getValue(),r=If(e,t),{printer:i,originalText:u,locStart:o}=t,s=i.isBlockComment&&i.isBlockComment(n);if(Ef(u,o(n),{backwards:!0})){const e=vf(u,n,o);return mf([df,e?df:"",r])}let a=[" ",r];return s||(a=[mf(a),hf]),a}(e,t))}),"comments"),u&&(o.unshift(Df),s.push(Df)),{leading:o,trailing:s}}var _f={attach:function(e,t,n,r){if(!Array.isArray(e))return;const i=[],{locStart:u,locEnd:o,printer:{handleComments:s={}}}=r,{avoidAstMutation:a,ownLine:l=Bf,endOfLine:c=Bf,remaining:p=Bf}=s,f=e.map(((i,u)=>Object.assign(Object.assign({},Tf(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===u})));for(const[e,t]of f.entries()){const{comment:n,precedingNode:r,enclosingNode:s,followingNode:d,text:h,options:g,ast:m,isLastComment:y}=t;if("json"===g.parser||"json5"===g.parser||"__js_expression"===g.parser||"__vue_expression"===g.parser){if(u(n)-u(m)<=0){Af(m,n);continue}if(o(n)-o(m)>=0){xf(m,n);continue}}let D;if(a?D=[t]:(n.enclosingNode=s,n.precedingNode=r,n.followingNode=d,D=[n,h,g,m,y]),Nf(h,g,f,e))n.placement="ownLine",l(...D)||(d?Af(d,n):r?xf(r,n):Ff(s||m,n));else if(Pf(h,g,f,e))n.placement="endOfLine",c(...D)||(r?xf(r,n):d?Af(d,n):Ff(s||m,n));else if(n.placement="remaining",p(...D));else if(r&&d){const e=i.length;if(e>0){i[e-1].followingNode!==d&&Of(i,h,g)}i.push(t)}else r?xf(r,n):d?Af(d,n):Ff(s||m,n)}if(Of(i,n,r),!a)for(const t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,n,r){const{leading:i,trailing:u}=Lf(e,n,r);return i||u?[i,t,u]:t},printCommentsSeparately:Lf,printDanglingComments:function(e,t,n,r){const i=[],u=e.getValue();return u&&u.comments?(e.each((()=>{const n=e.getValue();n.leading||n.trailing||r&&!r(n)||i.push(If(e,t))}),"comments"),0===i.length?"":n?yf(df,i):gf([df,yf(df,i)])):""},getSortedChildNodes:wf,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 Mf(e,t){const n=Rf(e.stack,t);return-1===n?null:e.stack[n]}function Rf(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var $f=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return Be(this.stack)}getNode(e=0){return Mf(this,e)}getParentNode(e=0){return Mf(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=Be(n);for(const e of t)i=i[e],n.push(e,i);const u=e(this);return n.length=r,u}callParent(e,t=0){const n=Rf(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=Be(n);for(const e of t)i=i[e],n.push(e,i);for(let t=0;t<i.length;++t)n.push(t,i[t]),e(this,t,i),n.length-=2;n.length=r}map(e,...t){const n=[];return this.each(((t,r,i)=>{n[r]=e(t,r,i)}),...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 i of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let i=null;if("number"==typeof n&&(i=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,i))return r;n=this.stack[t--],r=this.stack[t--]}}};const{utils:{stripTrailingHardline:Vf}}=_i,{normalize:qf}=pp;var Wf={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,((e,t,i)=>function(e,t,n,r,{stripTrailingHardline:i=!1}={}){const u=qf(Object.assign(Object.assign(Object.assign({},n),t),{},{parentParser:n.parser,originalText:e}),{passThrough:!0}),o=up.parse(e,u),{ast:s}=o;e=o.text;const a=s.comments;delete s.comments,_f.attach(a,s,e,u),u[Symbol.for("comments")]=a||[],u[Symbol.for("tokens")]=s.tokens||[];const l=r(s,u);if(_f.ensureAllCommentsPrinted(a),i)return"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):Vf(l);return l}(e,t,n,r,i)),n)}};const{builders:{hardline:Uf,addAlignmentToDoc:zf},utils:{propagateBreaks:Hf}}=_i,{printComments:Gf}=_f;function Jf(e,t,r=0){const{printer:i}=t;i.preprocess&&(e=i.preprocess(e,t));const u=new Map,o=new $f(e);let s=a();return r>0&&(s=zf([Uf,s],r,t.tabWidth)),Hf(s),s;function a(e,t){return void 0===e||e===o?l(t):Array.isArray(e)?o.call((()=>l(t)),...e):o.call((()=>l(t)),e)}function l(e){const r=o.getValue(),i=r&&"object"==typeof r&&void 0===e;if(i&&u.has(r))return u.get(r);const s=function(e,t,r,i){const u=e.getValue(),{printer:o}=t;let s,a;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))({doc:s,printedComments:a}=function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:u}=t,o=i(e),s=u(e),a=new Set;for(const e of r)i(e)>=o&&u(e)<=s&&(e.printed=!0,a.add(e));return{doc:n.slice(o,s),printedComments:a}}(u,t));else{if(u)try{s=Wf.printSubtree(e,r,t,Jf)}catch(e){if(n.PRETTIER_DEBUG)throw e}s||(s=o.print(e,t,r,i))}o.willPrintOwnComments&&o.willPrintOwnComments(e,t)||(s=Gf(e,s,t,a));return s}(o,t,a,e);return i&&u.set(r,s),s}}var Xf=Jf;function Yf(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 Kf(e,t,n,r,i=[],u){const{locStart:o,locEnd:s}=n,a=o(e),l=s(e);if(!(t>l||t<a||"rangeEnd"===u&&t===a||"rangeStart"===u&&t===l)){for(const o of _f.getSortedChildNodes(e,n)){const s=Kf(o,t,n,r,[e,...i],u);if(s)return s}return!r||r(e,i[0])?{node:e,parentNodes:i}:void 0}}const Qf=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Zf=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function ed(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,n&&n.type);case"json":case"json5":case"json-stringify":return Qf.has(t.type);case"graphql":return Zf.has(t.kind);case"vue":return"root"!==t.tag}return!1}var td={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:i,locStart:u,locEnd:o}=t;pf.ok(i>r);const s=e.slice(r,i).search(/\S/),a=-1===s;if(!a)for(r+=s;i>r&&!/\S/.test(e[i-1]);--i);const l=Kf(n,r,t,((e,n)=>ed(t,e,n)),[],"rangeStart"),c=a?l:Kf(n,i,t,(e=>ed(t,e)),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let p,f;if((({parser:e})=>"json"===e||"json5"===e||"json-stringify"===e)(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find((e=>Qf.has(e.type)&&r.has(e)))}(l,c);p=e,f=e}else({startNode:p,endNode:f}=function(e,t,{locStart:n,locEnd:r}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};const o=n(e.node);for(const e of Yf(t.parentNodes)){if(!(n(e)>=o))break;u=e}const s=r(t.node);for(const t of Yf(e.parentNodes)){if(!(r(t)<=s))break;i=t}return{startNode:i,endNode:u}}(l,c,t));return{rangeStart:Math.min(u(p),u(f)),rangeEnd:Math.max(o(p),o(f))}},findNodeAtOffset:Kf};const{printer:{printDocToString:nd},debug:{printDocToDebug:rd}}=_i,{getAlignmentSize:id}=ti,{guessEndOfLine:ud,convertEndOfLineToChars:od,countEndOfLineChars:sd,normalizeEndOfLine:ad}=ni,ld=pp.normalize,cd=Symbol("cursor");function pd(e,t,n){const r=t.comments;return r&&(delete t.comments,_f.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function fd(e,t,n=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:i}=up.parse(e,t);if(t.cursorOffset>=0){const e=td.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const u=pd(i,r,t),o=Xf(r,t,n),s=nd(o,t);if(_f.ensureAllCommentsPrinted(u),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+od(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,o,a;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,o=s.cursorNodeStart,a=s.cursorNodeText):(e=0,n=i,r=t.cursorOffset,o=0,a=s.formatted),n===a)return{formatted:s.formatted,cursorOffset:o+r,comments:u};const l=n.split("");l.splice(r,0,cd);const c=a.split(""),p=ce.diffArrays(l,c);let f=o;for(const e of p)if(e.removed){if(e.value.includes(cd))break}else f+=e.count;return{formatted:s.formatted,cursorOffset:f,comments:u}}return{formatted:s.formatted,cursorOffset:-1,comments:u}}function dd(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function hd(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=dd(e,n,-1),r=dd(e,r,0),i=dd(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function gd(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u}=hd(e,t);const o="\ufeff"===e.charAt(0);if(o&&(e=e.slice(1),n--,r--,i--),"auto"===u&&(u=ud(e)),e.includes("\r")){const t=t=>sd(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=ad(e)}return{hasBOM:o,text:e,options:hd(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u}))}}function md(e,t){const n=up.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function yd(e,t){let n,{hasBOM:r,text:i,options:u}=gd(e,ld(t));return u.rangeStart>=u.rangeEnd&&""!==i||u.requirePragma&&!md(i,u)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(u.rangeStart>0||u.rangeEnd<i.length?n=function(e,t){const{ast:n,text:r}=up.parse(e,t),{rangeStart:i,rangeEnd:u}=td.calculateRange(r,t,n),o=r.slice(i,u),s=Math.min(i,r.lastIndexOf("\n",i)+1),a=r.slice(s,i).match(/^\s*/)[0],l=id(a,t.tabWidth),c=fd(o,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"}),l),p=c.formatted.trimEnd();let{cursorOffset:f}=t;f>u?f+=p.length-o.length:c.cursorOffset>=0&&(f=c.cursorOffset+i);let d=r.slice(0,i)+p+r.slice(u);if("lf"!==t.endOfLine){const e=od(t.endOfLine);f>=0&&"\r\n"===e&&(f+=sd(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f,comments:c.comments}}(i,u):(!u.requirePragma&&u.insertPragma&&u.printer.insertPragma&&!md(i,u)&&(i=u.printer.insertPragma(i)),n=fd(i,u)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Dd={formatWithCursor:yd,parse(e,t,n){const{text:r,options:i}=gd(e,ld(t)),u=up.parse(r,i);return n&&(u.ast=fp(u.ast,i)),u},formatAST(e,t){t=ld(t);const n=Xf(e,t);return nd(n,t)},formatDoc:(e,t)=>yd(rd(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=ld(t);const{ast:n,text:r}=up.parse(e,t);return pd(r,n,t),Xf(n,t)},printDocToString:(e,t)=>nd(e,ld(t))};const{getMaxContinuousCount:Ed,getStringWidth:bd,getAlignmentSize:Cd,getIndentSize:vd,skip:Ad,skipWhitespace:Fd,skipSpaces:xd,skipNewline:Sd,skipToLineEnd:wd,skipEverythingButNewLine:Td,skipInlineComment:Bd,skipTrailingComment:kd,hasNewline:Nd,hasNewlineInRange:Pd,hasSpaces:Od,isNextLineEmpty:Id,isNextLineEmptyAfterIndex:jd,isPreviousLineEmpty:Ld,getNextNonSpaceNonCommentCharacterIndex:_d,makeString:Md,addLeadingComment:Rd,addDanglingComment:$d,addTrailingComment:Vd}=ti;var qd={getMaxContinuousCount:Ed,getStringWidth:bd,getAlignmentSize:Cd,getIndentSize:vd,skip:Ad,skipWhitespace:Fd,skipSpaces:xd,skipNewline:Sd,skipToLineEnd:wd,skipEverythingButNewLine:Td,skipInlineComment:Bd,skipTrailingComment:kd,hasNewline:Nd,hasNewlineInRange:Pd,hasSpaces:Od,isNextLineEmpty:Id,isNextLineEmptyAfterIndex:jd,isPreviousLineEmpty:Ld,getNextNonSpaceNonCommentCharacterIndex:_d,makeString:Md,addLeadingComment:Rd,addDanglingComment:$d,addTrailingComment:Vd};const Wd=["languageId"];var Ud=function(t,n){const{languageId:r}=t,i=e(t,Wd);return Object.assign(Object.assign({linguistLanguageId:r},i),n(t))},zd=i((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Hd=i((function(e){!function(){var t,n,r,i,u,o;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(u=new Array(128),o=0;o<128;++o)u[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),Gd=i((function(e){!function(){var t=Hd;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function u(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function o(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n<r;++n)if(i=e.charCodeAt(n),!t.isIdentifierPartES5(i))return!1;return!0}function s(e){var n,r,i,u,o;if(0===e.length)return!1;for(o=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(i=e.charCodeAt(n))&&i<=56319){if(++n>=r)return!1;if(!(56320<=(u=e.charCodeAt(n))&&u<=57343))return!1;i=1024*(i-55296)+(u-56320)+65536}if(!o(i))return!1;o=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:u,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!u(e,t)}}}()}));const Jd=i((function(e,t){t.ast=zd,t.code=Hd,t.keyword=Gd})).keyword.isIdentifierNameES5,{getLast:Xd,hasNewline:Yd,skipWhitespace:Kd,isNonEmptyArray:Qd,isNextLineEmptyAfterIndex:Zd}=ti,{locStart:eh,locEnd:th,hasSameLocStart:nh}=Bl,rh=new RegExp("^(?:(?=.)\\s)*:"),ih=new RegExp("^(?:(?=.)\\s)*::");function uh(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function oh(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const sh=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function ah(e){return e&&sh.has(e.type)}function lh(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function ch(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function ph(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function fh(e){return Eh(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function dh(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function hh(e){return"get"===e.kind||"set"===e.kind}function gh(e){return hh(e)||nh(e,e.value)}const mh=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const yh=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);const Dh=/^(skip|[fx]?(it|describe|test))$/;function Eh(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function bh(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Ch(e){return/^(\d+|\d+\.\d+)$/.test(e)}function vh(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function Ah(e){return e.extra?e.extra.raw:e.raw}const Fh={"==":!0,"!=":!0,"===":!0,"!==":!0},xh={"*":!0,"/":!0,"%":!0},Sh={">>":!0,">>>":!0,"<<":!0};const wh={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const n of t)wh[n]=e;function Th(e){return wh[e]}const Bh=new WeakMap;function kh(e){if(Bh.has(e))return Bh.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),Bh.set(e,t),t}const Nh=new WeakMap;function Ph(e){if(Nh.has(e))return Nh.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Nh.set(e,t),t}function Oh(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ih(e){return e&&(e.prettierIgnore||_h(e,jh.PrettierIgnore))}const jh={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Lh=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,i)=>!(e&jh.Leading&&!n.leading||e&jh.Trailing&&!n.trailing||e&jh.Dangling&&(n.leading||n.trailing)||e&jh.Block&&!uh(n)||e&jh.Line&&!oh(n)||e&jh.First&&0!==r||e&jh.Last&&r!==i.length-1||e&jh.PrettierIgnore&&!Oh(n)||t&&!t(n))};function _h(e,t,n){if(!e||!Qd(e.comments))return!1;const r=Lh(t,n);return!r||e.comments.some(r)}function Mh(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=Lh(t,n);return r?e.comments.filter(r):e.comments}function Rh(e){return Eh(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var $h={getFunctionParameters:kh,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:Ph,iterateCallArgumentsPath:function(e,t){const n=e.getValue();"ImportExpression"===n.type?(e.call((e=>t(e,0)),"source"),n.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=kh(e);return t.length>0&&"RestElement"===Xd(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&ah(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&uh(e[0])&&ih.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&Qd(e.trailingComments)&&uh(e.trailingComments[0])&&rh.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return dh(t)?Ih(t):_h(t,jh.Leading,(t=>Yd(e,th(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Eh(e)||bh(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,n)));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some((t=>e(t,n)))},hasIgnoreComment:function(e){return Ih(e.getValue())},hasNodeIgnoreComment:Ih,identity:function(e){return e},isBinaryish:function(e){return mh.has(e.type)},isBlockComment:uh,isCallLikeExpression:Rh,isLineComment:oh,isPrettierIgnoreComment:Oh,isCallExpression:Eh,isMemberExpression:bh,isExportDeclaration:ah,isFlowAnnotationComment:function(e,t){const n=eh(t),r=Kd(e,th(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(ph(n)){if(t+=1,t>1)return!0}else if(Eh(n))for(const e of n.arguments)if(ph(e))return!0;return!1},isFunctionNotation:gh,isFunctionOrArrowExpression:ph,isGetterOrSetter:hh,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:dh,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 Eh(t)&&Eh(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):Rh(t)?("ImportExpression"===t.type||e(t.callee,n))&&Ph(t).every(r):bh(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 bh(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:lh,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&lh(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||gh(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!yh.has(e.type))},isSimpleNumber:Ch,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every((e=>{if(_h(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(bh(e)){let t=e;for(;bh(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,_h(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:ch,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&ch(e.key)&&Ah(e.key).slice(1,-1)===e.key.value&&(Jd(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Ch(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&vh(e)||"TaggedTemplateExpression"===e.type&&vh(e.quasi))&&!Yd(t,eh(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(fh(t)&&n&&e(n))return ph(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return fh(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Dh.test(t.callee.name)||function(e){return bh(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Dh.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||ch(t.arguments[0])))return!(t.arguments[2]&&!lh(t.arguments[2]))&&((2===t.arguments.length?ph(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&kh(t.arguments[1]).length<=1)||fh(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!dh(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||nh(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>Zd(t,th(e)),needsHardlineAfterDanglingComment:function(e){if(!_h(e))return!1;const t=Xd(Mh(e,jh.Dangling));return t&&!uh(t)},rawText:Ah,shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(Sh[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return Th(t)===Th(e)&&("**"!==e&&((!Fh[e]||!Fh[t])&&(!("%"===t&&xh[e]||"%"===e&&xh[t])&&((t===e||!xh[t]||!xh[e])&&(!Sh[e]||!Sh[t])))))},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:Th,hasComment:_h,getComments:Mh,CommentCheckFlags:jh};const{getStringWidth:Vh,getIndentSize:qh}=ti,{builders:{join:Wh,hardline:Uh,softline:zh,group:Hh,indent:Gh,align:Jh,lineSuffixBoundary:Xh,addAlignmentToDoc:Yh},printer:{printDocToString:Kh},utils:{mapDoc:Qh}}=_i,{isBinaryish:Zh,isJestEachTemplateLiteral:eg,isSimpleTemplateLiteral:tg,hasComment:ng,isMemberExpression:rg}=$h;function ig(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var ug={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&eg(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some((e=>e.length>0))){t.__inJestEach=!0;const u=e.map(n,"expressions");t.__inJestEach=!1;const o=[],s=u.map((e=>"${"+Kh(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),a=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<r.quasis.length;e++){const t=Be(a),n=s[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),r.quasis[e].value.raw.includes("\n")&&a.push({hasLineBreak:!1,cells:[]})}const l=Math.max(i.length,...a.map((e=>e.cells.length))),c=Array.from({length:l}).fill(0),p=[{cells:i},...a.filter((e=>e.cells.length>0))];for(const{cells:e}of p.filter((e=>!e.hasLineBreak)))for(const[t,n]of e.entries())c[t]=Math.max(c[t],Vh(n));return o.push(Xh,"`",Gh([Uh,Wh(Uh,p.map((e=>Wh(" | ",e.cells.map(((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-Vh(t))))))))]),Uh,"`"),o}}(e,n,t);if(r)return r}let i="expressions";"TSTemplateLiteralType"===r.type&&(i="types");const u=[];let o=e.map(t,i);const s=tg(r);return s&&(o=o.map((e=>Kh(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),u.push(Xh,"`"),e.each((e=>{const a=e.getName();if(u.push(t()),a<o.length){const{tabWidth:t}=n,l=e.getValue(),c=qh(l.value.raw,t);let p=o[a];if(!s){const e=r[i][a];(ng(e)||rg(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||"TSAsExpression"===e.type||Zh(e))&&(p=[Gh([zh,p]),zh])}const f=0===c&&l.value.raw.endsWith("\n")?Jh(Number.NEGATIVE_INFINITY,p):Yh(p,c,t);u.push(Hh(["${",f,Xh,"}"]))}}),"quasis"),u.push("`"),u},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){const n=e.getValue();let r=t();return ng(n)&&(r=Hh([Gh([zh,r]),zh])),["${",r,Xh,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return Qh(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):ig(e):e))},uncookTemplateElementValue:ig};const{builders:{indent:og,softline:sg,literalline:ag,dedentToRoot:lg}}=_i,{escapeTemplateCharacters:cg}=ug;var pg=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`"));const i=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),u=""!==i;u&&(r=r.replace(new RegExp(`^${i}`,"gm"),""));const o=cg(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",u?og([sg,o]):[ag,lg(o)],sg,"`"]};const{isNonEmptyArray:fg}=ti,{builders:{indent:dg,hardline:hg,softline:gg},utils:{mapDoc:mg,replaceNewlinesWithLiterallines:yg,cleanDoc:Dg}}=_i,{printTemplateExpressions:Eg}=ug;var bg=function(e,t,n){const r=e.getValue(),i=r.quasis.map((e=>e.value.raw));let u=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!fg(t))return e;let n=0;const r=mg(Dg(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?yg(e):(n++,t[e]))):e));return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",dg([hg,r]),gg,"`"]}(n(i.reduce(((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+u+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),r,Eg(e,t))};const{builders:{indent:Cg,join:vg,hardline:Ag}}=_i,{escapeTemplateCharacters:Fg,printTemplateExpressions:xg}=ug;function Sg(e){const t=[];let n=!1;const r=e.map((e=>e.trim()));for(const[e,i]of r.entries())""!==i&&(""===r[e-1]&&n?t.push([Ag,i]):t.push(i),n=!0);return 0===t.length?null:vg(Ag,t)}var wg=function(e,t,n){const r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";const u=xg(e,t),o=[];for(let e=0;e<i;e++){const t=0===e,s=e===i-1,a=r.quasis[e].value.cooked,l=a.split("\n"),c=l.length,p=u[e],f=c>2&&""===l[0].trim()&&""===l[1].trim(),d=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),h=l.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!s&&/#[^\n\r]*$/.test(l[c-1]))return null;let g=null;g=h?Sg(l):n(a,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=Fg(g,!1),!t&&f&&o.push(""),o.push(g),!s&&d&&o.push("")):t||s||!f||o.push(""),p&&o.push(p)}return["`",Cg([Ag,vg(Ag,o)]),Ag,"`"]};const{builders:{indent:Tg,line:Bg,hardline:kg,group:Ng},utils:{mapDoc:Pg}}=_i,{printTemplateExpressions:Og,uncookTemplateElementValue:Ig}=ug;let jg=0;var Lg=function(e,t,n,r,{parser:i}){const u=e.getValue(),o=jg;jg=jg+1>>>0;const s=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${o}_IN_JS`,a=u.quasis.map(((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t))).join(""),l=Og(e,t);if(0===l.length&&0===a.trim().length)return"``";const c=new RegExp(s("(\\d+)"),"g");let p=0;const f=n(a,{parser:i,__onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),d=Pg(f,(e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let e=0;e<n.length;e++){let i=n[e];if(e%2==0){i&&(i=Ig(i),r.__embeddedInHtml&&(i=i.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(i));continue}const u=Number(i);t.push(l[u])}return t})),h=/^\s/.test(a)?" ":"",g=/\s$/.test(a)?" ":"",m="ignore"===r.htmlWhitespaceSensitivity?kg:h&&g?Bg:null;return Ng(m?["`",Tg([m,Ng(d)]),m,"`"]:["`",h,p>1?Tg(Ng(d)):Ng(d),g,"`"])};const{hasComment:_g,CommentCheckFlags:Mg,isObjectProperty:Rg}=$h;function $g(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((e=>"jsx"===e.name.name))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return qg(n.object)||Wg(n);case"CallExpression":return qg(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(qg(n.callee.object.object)||Wg(n.callee.object))||"CallExpression"===n.callee.object.type&&qg(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>Rg(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...Vg)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return Ug(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return Ug(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>Rg(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...Vg)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const Vg=[(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 qg(e){return"Identifier"===e.type&&"styled"===e.name}function Wg(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Ug(e,t){return _g(e,Mg.Block|Mg.Leading,(({value:e})=>e===` ${t} `))}var zg=function(e,t,n,r){const i=e.getValue();if("TemplateLiteral"!==i.type||function({quasis:e}){return e.some((({value:{cooked:e}})=>null===e))}(i))return;const u=$g(e);return u?"markdown"===u?pg(e,t,n):"css"===u?bg(e,t,n):"graphql"===u?wg(e,t,n):"html"===u||"angular"===u?Lg(e,t,n,r,{parser:u}):void 0:void 0};const{isBlockComment:Hg}=$h,Gg=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jg=e=>{for(const t of e.quasis)delete t.value};function Xg(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(const{type:e,expression:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&Jg(n);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Jg(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;for(const[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&Jg(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&Jg(r.value)}}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Jg(t.quasi),"TemplateLiteral"===e.type){(e.leadingComments&&e.leadingComments.some((e=>Hg(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Jg(t)}return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}Xg.ignoredProperties=Gg;var Yg=Xg;const Kg=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter((e=>"\r\n"===e)).length;return n>t.length-n?"\r\n":"\n"};var Qg=Kg;Qg.graceful=e=>"string"==typeof e&&Kg(e)||"\n";var Zg=function(e){const t=e.match(am);return t?t[0].trimLeft():""},em=function(e){const t=e.match(am);return t&&t[0]?e.substring(t[0].length):e},tm=function(e){return gm(e).pragmas},nm=gm,rm=function({comments:e="",pragmas:t={}}){const n=(0,um().default)(e)||im().EOL,r=" *",i=Object.keys(t),u=i.map((e=>mm(e,t[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+n)).join("");if(!e){if(0===i.length)return"";if(1===i.length&&!Array.isArray(t[i[0]])){const e=t[i[0]];return`/** ${mm(i[0],e)[0]} */`}}const o=e.split(n).map((e=>` * ${e}`)).join(n)+n;return"/**"+n+(e?o:"")+(e&&i.length?r+n:"")+u+" */"};function im(){const e=qo;return im=function(){return e},e}function um(){const e=function(e){return e&&e.__esModule?e:{default:e}}(Qg);return um=function(){return e},e}const om=/\*\/$/,sm=/^\/\*\*/,am=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,lm=/(^|\s+)\/\/([^\r\n]*)/g,cm=/^(\r?\n)+/,pm=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,fm=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,dm=/(\r?\n|^) *\* ?/g,hm=[];function gm(e){const t=(0,um().default)(e)||im().EOL;e=e.replace(sm,"").replace(om,"").replace(dm,"$1");let n="";for(;n!==e;)n=e,e=e.replace(pm,`${t}$1 $2${t}`);e=e.replace(cm,"").trimRight();const r=Object.create(null),i=e.replace(fm,"").replace(cm,"").trimRight();let u;for(;u=fm.exec(e);){const e=u[2].replace(lm,"");"string"==typeof r[u[1]]||Array.isArray(r[u[1]])?r[u[1]]=hm.concat(r[u[1]],e):r[u[1]]=e}return{comments:i,pragmas:r}}function mm(e,t){return hm.concat(t).map((t=>`@${e} ${t}`.trim()))}var ym=Object.defineProperty({extract:Zg,strip:em,parse:tm,parseWithComments:nm,print:rm},"__esModule",{value:!0});const{parseWithComments:Dm,strip:Em,extract:bm,print:Cm}=ym,{getShebang:vm}=ti,{normalizeEndOfLine:Am}=ni;function Fm(e){const t=vm(e);t&&(e=e.slice(t.length+1));const n=bm(e),{pragmas:r,comments:i}=Dm(n);return{shebang:t,text:e,pragmas:r,comments:i}}var xm={hasPragma:function(e){const t=Object.keys(Fm(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=Fm(e),u=Em(n),o=Cm({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?`${t}\n`:"")+Am(o)+(u.startsWith("\n")?"\n":"\n\n")+u}};const{getLast:Sm,hasNewline:wm,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Tm,getNextNonSpaceNonCommentCharacter:Bm,hasNewlineInRange:km,addLeadingComment:Nm,addTrailingComment:Pm,addDanglingComment:Om,getNextNonSpaceNonCommentCharacterIndex:Im,isNonEmptyArray:jm}=ti,{isBlockComment:Lm,getFunctionParameters:_m,isPrettierIgnoreComment:Mm,isJsxNode:Rm,hasFlowShorthandAnnotationComment:$m,hasFlowAnnotationComment:Vm,hasIgnoreComment:qm,isCallLikeExpression:Wm,getCallArguments:Um,isCallExpression:zm,isMemberExpression:Hm,isObjectProperty:Gm}=$h,{locStart:Jm,locEnd:Xm}=Bl;function Ym(e,t){const n=(e.body||e.properties).find((({type:e})=>"EmptyStatement"!==e));n?Nm(n,t):Om(e,t)}function Km(e,t){"BlockStatement"===e.type?Ym(e,t):Nm(e,t)}function Qm({comment:e,followingNode:t}){return!(!t||!wy(e))&&(Nm(t,e),!0)}function Zm({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){if(!n||"IfStatement"!==n.type||!r)return!1;return")"===Bm(i,e,Xm)?(Pm(t,e),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Pm(t,e):Om(n,e),!0):"BlockStatement"===r.type?(Ym(r,e),!0):"IfStatement"===r.type?(Km(r.consequent,e),!0):n.consequent===r&&(Nm(r,e),!0)}function ey({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){if(!n||"WhileStatement"!==n.type||!r)return!1;return")"===Bm(i,e,Xm)?(Pm(t,e),!0):"BlockStatement"===r.type?(Ym(r,e),!0):n.body===r&&(Nm(r,e),!0)}function ty({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(Pm(t,e),!0):"BlockStatement"===r.type?(Ym(r,e),!0):"TryStatement"===r.type?(Km(r.finalizer,e),!0):"CatchClause"===r.type&&(Km(r.body,e),!0))}function ny({comment:e,enclosingNode:t,followingNode:n}){return!(!Hm(t)||!n||"Identifier"!==n.type)&&(Nm(t,e),!0)}function ry({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){const u=t&&!km(i,Xm(t),Jm(e));return!(t&&u||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r)&&(Nm(r,e),!0)}function iy({comment:e,precedingNode:t,enclosingNode:n}){return!(!Gm(n)||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(Pm(n.value.left,e),!0)}function uy({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(jm(n.decorators)&&(!r||"Decorator"!==r.type))return Pm(Sm(n.decorators),e),!0;if(n.body&&r===n.body)return Ym(n.body,e),!0;if(r)for(const i of["implements","extends","mixins"])if(n[i]&&r===n[i][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Om(n,e,i):Pm(t,e),!0}return!1}function oy({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&&":"!==Bm(r,t,Xm)||!(!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))&&(Pm(t,e),!0)}function sy({comment:e,precedingNode:t,enclosingNode:n,text:r}){return"("===Bm(r,e,Xm)&&(!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(Pm(t,e),!0))}function ay({comment:e,enclosingNode:t,text:n}){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const r=Im(n,e,Xm);return!1!==r&&"=>"===n.slice(r,r+2)&&(Om(t,e),!0)}function ly({comment:e,enclosingNode:t,text:n}){return")"===Bm(n,e,Xm)&&(t&&(Sy(t)&&0===_m(t).length||Wm(t)&&0===Um(t).length)?(Om(t,e),!0):!(!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==_m(t.value).length)&&(Om(t.value,e),!0))}function cy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:i}){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Pm(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Sy(n)&&")"===Bm(i,e,Xm))return Pm(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{const e=_m(n);if(e.length>0)return Tm(i,Xm(Sm(e)));const t=Tm(i,Xm(n.id));return!1!==t&&Tm(i,t+1)})();if(Jm(e)>t)return Ym(r,e),!0}return!1}function py({comment:e,enclosingNode:t}){return!(!t||"ImportSpecifier"!==t.type)&&(Nm(t,e),!0)}function fy({comment:e,enclosingNode:t}){return!(!t||"LabeledStatement"!==t.type)&&(Nm(t,e),!0)}function dy({comment:e,enclosingNode:t}){return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Pm(t,e),!0)}function hy({comment:e,precedingNode:t,enclosingNode:n}){return!!(zm(n)&&t&&n.callee===t&&n.arguments.length>0)&&(Nm(n.arguments[0],e),!0)}function gy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Mm(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Mm(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Pm(t,e),!0))}function my({comment:e,enclosingNode:t}){return!!Gm(t)&&(Nm(t,e),!0)}function yy({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:i}){return r&&r.body&&0===r.body.length?(i?Om(r,e):Nm(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&!jm(t.directives)?(i?Om(t,e):Nm(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type)&&(Om(n,e),!0)}function Dy({comment:e,enclosingNode:t}){return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Nm(t,e),!0)}function Ey({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&wm(r,Xm(e)))&&(Pm(t,e),!0)}function by({comment:e,enclosingNode:t}){return!(!t||"AssignmentPattern"!==t.type)&&(Nm(t,e),!0)}function Cy({comment:e,enclosingNode:t}){return!(!t||"TypeAlias"!==t.type)&&(Nm(t,e),!0)}function vy({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&&!Lm(e))&&(Nm(n,e),!0)}function Ay({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Bm(r,e,Xm))&&(Pm(t,e),!0)}function Fy({comment:e,enclosingNode:t,followingNode:n}){if(Mm(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function xy({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Nm(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Pm(t.constraint,e),!0))}function Sy(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 wy(e){return Lm(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Ty={handleOwnLineComment:function(e){return[Fy,cy,ny,Zm,ey,ty,uy,py,Dy,gy,yy,Ey,by,oy,fy].some((t=>t(e)))},handleEndOfLineComment:function(e){return[Qm,cy,ry,py,Zm,ey,ty,uy,fy,hy,my,yy,Cy,vy].some((t=>t(e)))},handleRemainingComment:function(e){return[Fy,Zm,ey,iy,ly,oy,yy,ay,sy,xy,dy,Ay].some((t=>t(e)))},isTypeCastComment:wy,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===_m(e.value).length&&!e.value.returnType&&!jm(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&&(Rm(t)||$m(t)||zm(n)&&(Vm(t.leadingComments)||Vm(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!qm(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getFunctionParameters:By,getLeftSidePathName:ky,hasFlowShorthandAnnotationComment:Ny,hasNakedLeftSide:Py,hasNode:Oy,isBitwiseOperator:Iy,startsWithNoLookaheadToken:jy,shouldFlatten:Ly,getPrecedence:_y,isCallExpression:My,isMemberExpression:Ry,isObjectProperty:$y}=$h;function Vy(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&qy(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&Ny(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name))||"left"===r&&"async"===i.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type||"TSNonNullExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return Wy(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(jy(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&jy(i,!1))return!0}switch(i.type){case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.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&&"|>"===i.operator)return!0;if("in"===i.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==i.type;case"ConditionalExpression":return"TSAsExpression"===i.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"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{const{operator:e,type:t}=i;if(!e&&"TSTypeAssertion"!==t)return!0;const u=_y(e),o=n.operator,s=_y(o);return s>u||("right"===r&&s===u||(s===u&&!Ly(o,e)||(s<u&&"%"===e?"+"===o||"-"===o:!!Iy(o))))}default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;if("expression"===r&&i.argument&&"PipelinePrimaryTopicReference"===i.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!(!i.argument&&"|>"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!i.types||i.types.length>1))return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&By(i).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&(("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&("AssignmentExpression"!==n.type&&(("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&(("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)))))}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(i.extra&&i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&Ry(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!i.extra||!i.extra.parenthesized)||"ArrayExpression"===n.type||My(n)&&n.arguments[r]===i||"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&&!My(n)&&!$y(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Oy(e,(e=>"ObjectTypeAnnotation"===e.type&&Oy(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(i)}return!1}function qy(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(qy);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return Be(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(qy);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(qy);break;case"UnaryExpression":if(n.prefix)return e.callParent(qy)}return!1}function Wy(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Vy(e,t):!(!Py(n)||"ExportDefaultDeclaration"!==r.type&&Vy(e,t))&&e.call((e=>Wy(e,t)),...ky(e,n))}var Uy=Vy;var zy=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{join:Hy,line:Gy,group:Jy,softline:Xy,indent:Yy}}=_i;var Ky={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((e=>{const t=Hy([",",Gy],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",Yy([Xy,Jy(t)]),Xy,")"]}),"program","body",0):t.__isVueBindings?e.call((e=>Hy([",",Gy],e.map(n,"params"))),"program","body",0):void 0}};const{printComments:Qy}=_f,{getLast:Zy}=ti,{builders:{join:eD,line:tD,softline:nD,group:rD,indent:iD,align:uD,ifBreak:oD,indentIfBreak:sD},utils:{cleanDoc:aD,getDocParts:lD,isConcat:cD}}=_i,{hasLeadingOwnLineComment:pD,isBinaryish:fD,isJsxNode:dD,shouldFlatten:hD,hasComment:gD,CommentCheckFlags:mD,isCallExpression:yD,isMemberExpression:DD,isObjectProperty:ED}=$h;let bD=0;function CD(e,t,n,r,i){let u=[];const o=e.getValue();if(fD(o)){hD(o.operator,o.left.operator)?u=[...u,...e.call((e=>CD(e,t,n,!0,i)),"left")]:u.push(rD(t("left")));const s=vD(o),a=("|>"===o.operator||"NGPipeExpression"===o.type||"|"===o.operator&&"__vue_expression"===n.parser)&&!pD(n.originalText,o.right),l="NGPipeExpression"===o.type?"|":o.operator,c="NGPipeExpression"===o.type&&o.arguments.length>0?rD(iD([nD,": ",eD([nD,":",oD(" ")],e.map(t,"arguments").map((e=>uD(2,rD(e)))))])):"",p=s?[l," ",t("right"),c]:[a?tD:"",l,a?" ":tD,t("right"),c],f=e.getParentNode(),d=gD(o.left,mD.Trailing|mD.Line),h=d||!(i&&"LogicalExpression"===o.type)&&f.type!==o.type&&o.left.type!==o.type&&o.right.type!==o.type;if(u.push(a?"":" ",h?rD(p,{shouldBreak:d}):p),r&&gD(o)){const t=aD(Qy(e,u,n));u=cD(t)||"fill"===t.type?lD(t):[t]}}else u.push(rD(t()));return u}function vD(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||("ArrayExpression"===e.right.type&&e.right.elements.length>0||!!dD(e.right)))}var AD={printBinaryishExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),u=e.getParentNode(1),o=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),s=CD(e,n,t,!1,o);if(o)return s;if(yD(i)&&i.callee===r||"UnaryExpression"===i.type||DD(i)&&!i.computed)return rD([iD([nD,...s]),nD]);const a="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===u.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&!yD(u)||"TemplateLiteral"===i.type,l="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"PropertyDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||ED(i),c=fD(r.left)&&hD(r.operator,r.left.operator);if(a||vD(r)&&!c||!vD(r)&&l)return rD(s);if(0===s.length)return"";const p=dD(r.right),f=s.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),d=s.slice(0,-1===f?1:f+1),h=s.slice(d.length,p?-1:void 0),g=Symbol("logicalChain-"+ ++bD),m=rD([...d,iD(h)],{id:g});if(!p)return m;const y=Zy(s);return rD([m,sD(y,{groupId:g})])},shouldInlineLogicalExpression:vD};const{builders:{join:FD,line:xD,group:SD}}=_i,{hasNode:wD,hasComment:TD,getComments:BD}=$h,{printBinaryishExpression:kD}=AD;function ND(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var PD={printAngular:function(e,t,n){const r=e.getValue();if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),TD(r.node)?" //"+BD(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return kD(e,t,n);case"NGChainedExpression":return SD(FD([";",xD],e.map((e=>function(e){return wD(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":ND(e.getValue(),t,r)?" ":[";",xD],n()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),i=e.getParentNode(),u=ND(r,t,i)||(1===t&&("then"===r.key.name||"else"===r.key.name)||2===t&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===i.body[t-1].type&&"then"===i.body[t-1].key.name)&&"NGMicrosyntaxExpression"===i.body[0].type;return[n("key"),u?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(r.type)}.`)}}};const{printComments:OD,printDanglingComments:ID}=_f,{builders:{line:jD,hardline:LD,softline:_D,group:MD,indent:RD,conditionalGroup:$D,fill:VD,ifBreak:qD,lineSuffixBoundary:WD,join:UD},utils:{willBreak:zD}}=_i,{getLast:HD,getPreferredQuote:GD}=ti,{isJsxNode:JD,rawText:XD,isLiteral:YD,isCallExpression:KD,isStringLiteral:QD,isBinaryish:ZD,hasComment:eE,CommentCheckFlags:tE,hasNodeIgnoreComment:nE}=$h,{willPrintOwnComments:rE}=Ty,iE=e=>""===e||e===jD||e===LD||e===_D;function uE(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return YD(t)&&!dE(t)}(r))return[n("openingElement"),n("closingElement")];const i="JSXElement"===r.type?n("openingElement"):n("openingFragment"),u="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[i,...e.map(n,"children"),u];r.children=r.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&YD(e.expression)&&" "===e.expression.value&&!eE(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));const o=r.children.filter(JD).length>0,s=r.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=zD(i)||o||a||s;const c="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=c?" ":qD([p,_D]," "),d=function(e,t,n,r,i){const u=[];return e.each(((e,t,o)=>{const s=e.getValue();if(YD(s)){const e=XD(s);if(dE(s)){const n=e.split(cE);if(""===n[0]){if(u.push(""),n.shift(),/\n/.test(n[0])){const e=o[t+1];u.push(sE(i,n[1],s,e))}else u.push(r);n.shift()}let a;if(""===HD(n)&&(n.pop(),a=n.pop()),0===n.length)return;for(const[e,t]of n.entries())e%2==1?u.push(jD):u.push(t);if(void 0!==a)if(/\n/.test(a)){const e=o[t+1];u.push(sE(i,HD(u),s,e))}else u.push(r);else{const e=o[t+1];u.push(oE(i,HD(u),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&u.push("",LD):u.push("",r)}else{const e=n();u.push(e);const r=o[t+1];if(r&&dE(r)){const e=fE(XD(r)).split(cE)[0];u.push(oE(i,e,s,r))}else u.push(LD)}}),"children"),u}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((e=>dE(e)));for(let e=d.length-2;e>=0;e--){const t=""===d[e]&&""===d[e+1],n=d[e]===LD&&""===d[e+1]&&d[e+2]===LD,r=(d[e]===_D||d[e]===LD)&&""===d[e+1]&&d[e+2]===f,i=d[e]===f&&""===d[e+1]&&(d[e+2]===_D||d[e+2]===LD),u=d[e]===f&&""===d[e+1]&&d[e+2]===f,o=d[e]===_D&&""===d[e+1]&&d[e+2]===LD||d[e]===LD&&""===d[e+1]&&d[e+2]===_D;n&&h||t||r||u||o?d.splice(e,2):i&&d.splice(e+1,2)}for(;d.length>0&&iE(HD(d));)d.pop();for(;d.length>1&&iE(d[0])&&iE(d[1]);)d.shift(),d.shift();const g=[];for(const[e,t]of d.entries()){if(t===f){if(1===e&&""===d[e-1]){if(2===d.length){g.push(p);continue}g.push([p,LD]);continue}if(e===d.length-1){g.push(p);continue}if(""===d[e-1]&&d[e-2]===LD){g.push(p);continue}}g.push(t),zD(t)&&(l=!0)}const m=h?VD(g):MD(g,{shouldBreak:!0});if(c)return m;const y=MD([i,RD([LD,m]),LD,u]);return l?y:$D([MD([i,...d,u]),y])}function oE(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?_D:LD:_D}function sE(e,t,n,r){return e?LD:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?LD:_D:LD}function aE(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),KD,(e=>"JSXExpressionContainer"===e.type)),u=Uy(e,n);return MD([u?"":qD("("),RD([_D,t]),_D,u?"":qD(")")],{shouldBreak:i})}(e,OD(e,uE(e,t,n),t),t)}function lE(e,t,n){const r=e.getValue();return["{",e.call((e=>{const r=["...",n()],i=e.getValue();return eE(i)&&rE(e)?[RD([_D,OD(e,r,t)]),_D]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}const cE=new RegExp("([ \n\r\t]+)"),pE=new RegExp("[^ \n\r\t]"),fE=e=>e.replace(new RegExp("(?:^"+cE.source+"|"+cE.source+"$)"),"");function dE(e){return YD(e)&&(pE.test(XD(e))||!/\n/.test(XD(e)))}var hE={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&JD(t)&&JD(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||dE(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&nE(r.expression)},printJsx:function(e,t,n){const r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return function(e,t,n){const r=e.getValue(),i=[];if(i.push(n("name")),r.value){let e;if(QD(r.value)){let n=XD(r.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"');const i=GD(n,t.jsxSingleQuote?"'":'"'),u="'"===i?"&apos;":"&quot;";n=n.slice(1,-1).replace(new RegExp(i,"g"),u),e=[i,n,i]}else e=n("value");i.push("=",e)}return i}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return UD(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return UD(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return lE(e,t,n);case"JSXSpreadChild":return lE(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),i=e.getParentNode(0),u="JSXEmptyExpression"===r.expression.type||!eE(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||KD(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||JD(i)&&("ConditionalExpression"===r.expression.type||ZD(r.expression)));return MD(u?["{",n("expression"),WD,"}"]:["{",RD([_D,n("expression")]),_D,WD,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return aE(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),i=r.name&&eE(r.name)||r.typeParameters&&eE(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!i)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&QD(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&!eE(r.attributes[0]))return MD(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const u=r.attributes.length>0&&eE(HD(r.attributes),tE.Trailing),o=0===r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length>0)&&!u,s=r.attributes&&r.attributes.some((e=>e.value&&QD(e.value)&&e.value.value.includes("\n")));return MD(["<",n("name"),n("typeParameters"),RD(e.map((()=>[jD,n()]),"attributes")),r.selfClosing?jD:o?">":_D,r.selfClosing?"/>":o?"":">"],{shouldBreak:s})}(e,t,n);case"JSXClosingElement":return function(e,t,n){const r=e.getValue(),i=[];i.push("</");const u=n("name");return eE(r.name,tE.Leading|tE.Line)?i.push(RD([LD,u]),LD):eE(r.name,tE.Leading|tE.Block)?i.push(" ",u):i.push(u),i.push(">"),i}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){const n=e.getValue(),r=eE(n),i=eE(n,tE.Line),u="JSXOpeningFragment"===n.type;return[u?"<":"</",RD([i?LD:r&&!u?" ":"",ID(e,t,!0)]),i?LD:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=eE(n,tE.Line);return[ID(e,t,!r),r?LD:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(r.type)}.`)}}};rn({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=He(this),n=Rt(t.length),r=vn(t,0);return r.length=ln(r,t,t,n,0,void 0===e?1:_t(e)),r}});const{isNonEmptyArray:gE}=ti,{builders:{indent:mE,join:yE,line:DE}}=_i,{isFlowAnnotationComment:EE}=$h;function bE(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),u=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,o="DeclareFunction"===i.type&&i.id===r;return EE(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":u?"!: ":": ",n("typeAnnotation")]}var CE={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 gE(r.modifiers)?[yE(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:bE,printRestSpread:function(e,t,n){return["...",n("argument"),bE(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:mE([DE,t])}};const{printDanglingComments:vE}=_f,{builders:{line:AE,softline:FE,hardline:xE,group:SE,indent:wE,ifBreak:TE,fill:BE}}=_i,{getLast:kE,hasNewline:NE}=ti,{shouldPrintComma:PE,hasComment:OE,CommentCheckFlags:IE,isNextLineEmpty:jE,isNumericLiteral:LE,isSignedNumericLiteral:_E}=$h,{locStart:ME}=Bl,{printOptionalToken:RE,printTypeAnnotation:$E}=CE;function VE(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(LE(e)||_E(e)&&!OE(e.argument))&&!OE(e,IE.Trailing|IE.Line,(e=>!NE(t.originalText,ME(e),{backwards:!0})))))}function qE(e,t,n,r){const i=[];let u=[];return e.each((e=>{i.push(u,SE(r())),u=[",",AE],e.getValue()&&jE(e.getValue(),t)&&u.push(FE)}),n),i}function WE(e,t,n,r){const i=[];return e.each(((e,u,o)=>{const s=u===o.length-1;i.push([n(),s?r:","]),s||i.push(jE(e.getValue(),t)?[xE,xE]:OE(o[u+1],IE.Leading|IE.Line)?xE:AE)}),"elements"),BE(i)}var UE={printArray:function(e,t,n){const r=e.getValue(),i=[],u="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)OE(r,IE.Dangling)?i.push(SE([u,vE(e,t),FE,"]"])):i.push(u,"]");else{const o=kE(r.elements),s=!(o&&"RestElement"===o.type),a=null===o,l=Symbol("array"),c=!t.__inJestEach&&r.elements.length>1&&r.elements.every(((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const u="ArrayExpression"===r?"elements":"properties";return e[u]&&e[u].length>1})),p=VE(r,t),f=s?a?",":PE(t)?p?TE(",","",{groupId:l}):TE(","):"":"";i.push(SE([u,wE([FE,p?WE(e,t,n,f):[qE(e,t,"elements",n),f],vE(e,t,!0)]),FE,"]"],{shouldBreak:c,id:l}))}return i.push(RE(e),$E(e,t,n)),i},printArrayItems:qE,isConciselyPrintedArray:VE};const{printDanglingComments:zE}=_f,{getLast:HE,getPenultimate:GE}=ti,{getFunctionParameters:JE,hasComment:XE,CommentCheckFlags:YE,isFunctionCompositionArgs:KE,isJsxNode:QE,isLongCurriedCallExpression:ZE,shouldPrintComma:eb,getCallArguments:tb,iterateCallArgumentsPath:nb,isNextLineEmpty:rb,isCallExpression:ib,isStringLiteral:ub,isObjectProperty:ob}=$h,{builders:{line:sb,hardline:ab,softline:lb,group:cb,indent:pb,conditionalGroup:fb,ifBreak:db,breakParent:hb},utils:{willBreak:gb}}=_i,{ArgExpansionBailout:mb}=io,{isConciselyPrintedArray:yb}=UE;function Db(e,t=!1){return"ObjectExpression"===e.type&&(e.properties.length>0||XE(e))||"ArrayExpression"===e.type&&(e.elements.length>0||XE(e))||"TSTypeAssertion"===e.type&&Db(e.expression)||"TSAsExpression"===e.type&&Db(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some((e=>"EmptyStatement"!==e.type))||XE(n,YE.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&Db(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(ib(e.body)||"ConditionalExpression"===e.body.type)||QE(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type;var n}var Eb=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,u=tb(r);if(0===u.length)return["(",zE(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===JE(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>XE(e)))}(u))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let o=!1,s=!1;const a=u.length-1,l=[];nb(e,((e,r)=>{const i=e.getNode(),u=[n()];r===a||(rb(i,t)?(0===r&&(s=!0),o=!0,u.push(",",ab,ab)):u.push(",",sb)),l.push(u)}));const c=i||r.callee&&"Import"===r.callee.type||!eb(t,"all")?"":",";function p(){return cb(["(",pb([sb,...l]),c,sb,")"],{shouldBreak:!0})}if(o||"Decorator"!==e.getParentNode().type&&KE(u))return p();const f=function(e){if(2!==e.length)return!1;const[t,n]=e;if("ModuleExpression"===t.type&&function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&ob(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&ub(e.properties[0].value)&&"module"===e.properties[0].value.value}(n))return!0;return!XE(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!Db(n)}(u),d=function(e,t){const n=HE(e),r=GE(e);return!XE(n,YE.Leading)&&!XE(n,YE.Trailing)&&Db(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&yb(n,t))}(u,t);if(f||d){if(f?l.slice(1).some(gb):l.slice(0,-1).some(gb))return p();let t=[];try{e.try((()=>{nb(e,((e,r)=>{f&&0===r&&(t=[[n([],{expandFirstArg:!0}),l.length>1?",":"",s?ab:sb,s?ab:""],...l.slice(1)]),d&&r===a&&(t=[...l.slice(0,-1),n([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof mb)return p();throw e}return[l.some(gb)?hb:"",fb([["(",...t,")"],f?["(",cb(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...l.slice(0,-1),cb(HE(t),{shouldBreak:!0}),")"],p()])]}const h=["(",pb([lb,...l]),db(c),lb,")"];return ZE(e)?h:cb(h,{shouldBreak:l.some(gb)||o})};const{builders:{softline:bb,group:Cb,indent:vb,label:Ab}}=_i,{isNumericLiteral:Fb,isMemberExpression:xb,isCallExpression:Sb}=$h,{printOptionalToken:wb}=CE;function Tb(e,t,n){const r=n("property"),i=e.getValue(),u=wb(e);return i.computed?!i.property||Fb(i.property)?[u,"[",r,"]"]:Cb([u,"[",vb([bb,r]),bb,"]"]):[u,".",r]}var Bb={printMemberExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode();let u,o=0;do{u=e.getParentNode(o),o++}while(u&&(xb(u)||"TSNonNullExpression"===u.type));const s=n("object"),a=Tb(e,t,n),l=u&&("NewExpression"===u.type||"BindExpression"===u.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!xb(i)||("AssignmentExpression"===i.type||"VariableDeclarator"===i.type)&&(Sb(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&Sb(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return Ab("member-chain"===s.label?"member-chain":"member",[s,l?a:Cb(vb([bb,a]))])},printMemberLookup:Tb};const{printComments:kb}=_f,{getLast:Nb,isNextLineEmptyAfterIndex:Pb,getNextNonSpaceNonCommentCharacterIndex:Ob}=ti,{isCallExpression:Ib,isMemberExpression:jb,isFunctionOrArrowExpression:Lb,isLongCurriedCallExpression:_b,isMemberish:Mb,isNumericLiteral:Rb,isSimpleCallArgument:$b,hasComment:Vb,CommentCheckFlags:qb,isNextLineEmpty:Wb}=$h,{locEnd:Ub}=Bl,{builders:{join:zb,hardline:Hb,group:Gb,indent:Jb,conditionalGroup:Xb,breakParent:Yb,label:Kb},utils:{willBreak:Qb}}=_i,{printMemberLookup:Zb}=Bb,{printOptionalToken:eC,printFunctionTypeParameters:tC,printBindExpressionCallee:nC}=CE;var rC=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,u=[];function o(e){const{originalText:n}=t,r=Ob(n,e,Ub);return")"===n.charAt(r)?!1!==r&&Pb(n,r+1):Wb(e,t)}function s(e){const r=e.getValue();Ib(r)&&(Mb(r.callee)||Ib(r.callee))?(u.unshift({node:r,printed:[kb(e,[eC(e),tC(e,t,n),Eb(e,t,n)],t),o(r)?Hb:""]}),e.call((e=>s(e)),"callee")):Mb(r)?(u.unshift({node:r,needsParens:Uy(e,t),printed:kb(e,jb(r)?Zb(e,t,n):nC(e,t,n),t)}),e.call((e=>s(e)),"object")):"TSNonNullExpression"===r.type?(u.unshift({node:r,printed:kb(e,"!",t)}),e.call((e=>s(e)),"expression")):u.unshift({node:r,printed:n()})}const a=e.getValue();u.unshift({node:a,printed:[eC(e),tC(e,t,n),Eb(e,t,n)]}),a.callee&&e.call((e=>s(e)),"callee");const l=[];let c=[u[0]],p=1;for(;p<u.length&&("TSNonNullExpression"===u[p].node.type||Ib(u[p].node)||jb(u[p].node)&&u[p].node.computed&&Rb(u[p].node.property));++p)c.push(u[p]);if(!Ib(u[0].node))for(;p+1<u.length&&(Mb(u[p].node)&&Mb(u[p+1].node));++p)c.push(u[p]);l.push(c),c=[];let f=!1;for(;p<u.length;++p){if(f&&Mb(u[p].node)){if(u[p].node.computed&&Rb(u[p].node.property)){c.push(u[p]);continue}l.push(c),c=[],f=!1}(Ib(u[p].node)||"ImportExpression"===u[p].node.type)&&(f=!0),c.push(u[p]),Vb(u[p].node,qb.Trailing)&&(l.push(c),c=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}c.length>0&&l.push(c);const h=l.length>=2&&!Vb(l[1][0].node)&&function(e){const n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=Nb(e[0]).node;return jb(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(l);function g(e){const t=e.map((e=>e.printed));return e.length>0&&Nb(e).needsParens?["(",...t,")"]:t}const m=l.map(g),y=m,D=h?3:2,E=l.flat(),b=E.slice(1,-1).some((e=>Vb(e.node,qb.Leading)))||E.slice(0,-1).some((e=>Vb(e.node,qb.Trailing)))||l[D]&&Vb(l[D][0].node,qb.Leading);if(l.length<=D&&!b)return _b(e)?y:Gb(y);const C=Nb(l[h?1:0]).node,v=!Ib(C)&&o(C),A=[g(l[0]),h?l.slice(1,2).map(g):"",v?Hb:"",function(e){return 0===e.length?"":Jb(Gb([Hb,zb(Hb,e.map(g))]))}(l.slice(h?2:1))],F=u.map((({node:e})=>e)).filter(Ib);let x;return x=b||F.length>2&&F.some((e=>!e.arguments.every((e=>$b(e,0)))))||m.slice(0,-1).some(Qb)||function(){const e=Nb(Nb(l)).node,t=Nb(m);return Ib(e)&&Qb(t)&&F.slice(0,-1).some((e=>e.arguments.some(Lb)))}()?Gb(A):[Qb(y)||v?Yb:"",Xb([y,A])],Kb("member-chain",x)};const{builders:{join:iC,group:uC}}=_i,{getCallArguments:oC,hasFlowAnnotationComment:sC,isCallExpression:aC,isMemberish:lC,isStringLiteral:cC,isTemplateOnItsOwnLine:pC,isTestCall:fC,iterateCallArgumentsPath:dC}=$h,{printOptionalToken:hC,printFunctionTypeParameters:gC}=CE;var mC={printCallExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),u="NewExpression"===r.type,o="ImportExpression"===r.type,s=hC(e),a=oC(r);if(a.length>0&&(!o&&!u&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){const n=oC(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&cC(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,i)||1===a.length&&pC(a[0],t.originalText)||!u&&fC(r,i))){const r=[];return dC(e,(()=>{r.push(n())})),[u?"new ":"",n("callee"),s,gC(e,t,n),"(",iC(", ",r),")"]}const l=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&sC(r.callee.trailingComments);if(l&&(r.callee.trailingComments[0].printed=!0),!o&&!u&&lC(r.callee)&&!e.call((e=>Uy(e,t)),"callee"))return rC(e,t,n);const c=[u?"new ":"",o?"import":n("callee"),s,l?`/*:: ${r.callee.trailingComments[0].value.slice(2).trim()} */`:"",gC(e,t,n),Eb(e,t,n)];return o||aC(r.callee)?uC(c):c}};const{isNonEmptyArray:yC,getStringWidth:DC}=ti,{builders:{line:EC,group:bC,indent:CC,indentIfBreak:vC},utils:{cleanDoc:AC,willBreak:FC}}=_i,{hasLeadingOwnLineComment:xC,isBinaryish:SC,isStringLiteral:wC,isLiteral:TC,isNumericLiteral:BC,isCallExpression:kC,isMemberExpression:NC,getCallArguments:PC,rawText:OC,hasComment:IC,isSignedNumericLiteral:jC,isObjectProperty:LC}=$h,{shouldInlineLogicalExpression:_C}=AD,{printCallExpression:MC}=mC;function RC(e,t,n,r,i,u){const o=function(e,t,n,r,i){const u=e.getValue(),o=u[i];if(!o)return"only-left";const s=!$C(o);if(e.match($C,VC,(e=>!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return s?"ArrowFunctionExpression"===o.type&&"ArrowFunctionExpression"===o.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&$C(o.right)||xC(t.originalText,o))return"break-after-operator";if("CallExpression"===o.type&&"require"===o.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(VC(e)){const t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>LC(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}(u)||function(e){const t=function(e){if(function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params)return e.typeParameters.params;return null}(e);if(yC(t)){const n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[n]||e.default)))return!0}return!1}(u)||function(e){if("VariableDeclarator"!==e.type)return!1;const{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;const n=qC(t.typeAnnotation);return yC(n)&&n.length>1&&n.some((e=>yC(qC(e))||"TSConditionalType"===e.type))}(u))return"break-lhs";const a=function(e,t,n){if(!LC(e))return!1;t=AC(t);const r=3;return"string"==typeof t&&DC(t)<n.tabWidth+r}(u,r,t);if(e.call((()=>function(e,t,n,r){const i=e.getValue();if(SC(i)&&!_C(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{const{test:e}=i;return SC(e)&&!_C(e)}case"ClassExpression":return yC(i.decorators)}if(r)return!1;let u=i;const o=[];for(;;)if("UnaryExpression"===u.type)u=u.argument,o.push("argument");else{if("TSNonNullExpression"!==u.type)break;u=u.expression,o.push("expression")}if(wC(u)||e.call((()=>WC(e,t,n)),...o))return!0;return!1}(e,t,n,a)),i))return"break-after-operator";if(a||"TemplateLiteral"===o.type||"TaggedTemplateExpression"===o.type||"BooleanLiteral"===o.type||BC(o)||"ClassExpression"===o.type)return"never-break-after-operator";return"fluid"}(e,t,n,r,u),s=n(u,{assignmentLayout:o});switch(o){case"break-after-operator":return bC([bC(r),i,bC(CC([EC,s]))]);case"never-break-after-operator":return bC([bC(r),i," ",s]);case"fluid":{const e=Symbol("assignment");return bC([bC(r),i,bC(CC(EC),{id:e}),vC(s,{groupId:e})])}case"break-lhs":return bC([r,i," ",bC(s)]);case"chain":return[bC(r),i,EC,s];case"chain-tail":return[bC(r),i,CC([EC,s])];case"chain-tail-arrow-chain":return[bC(r),i,s];case"only-left":return r}}function $C(e){return"AssignmentExpression"===e.type}function VC(e){return $C(e)||"VariableDeclarator"===e.type}function qC(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function WC(e,t,n,r=!1){const i=e.getValue(),u=()=>WC(e,t,n,!0);if("TSNonNullExpression"===i.type)return e.call(u,"expression");if(kC(i)){if("member-chain"===MC(e,t,n).label)return!1;const r=PC(i);return!!(0===r.length||1===r.length&&function(e,{printWidth:t}){if(IC(e))return!1;const n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||jC(e)&&!IC(e.argument))return!0;const r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(r)return r.length<=n;if(wC(e))return OC(e).length<=n;if("TemplateLiteral"===e.type)return 0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n");return TC(e)}(r[0],t))&&(!function(e,t){const n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(yC(n)){if(n.length>1)return!0;if(1===n.length){const e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type)return!0}const r=e.typeParameters?"typeParameters":"typeArguments";if(FC(t(r)))return!0}return!1}(i,n)&&e.call(u,"callee"))}return NC(i)?e.call(u,"object"):r&&("Identifier"===i.type||"ThisExpression"===i.type)}var UC={printVariableDeclarator:function(e,t,n){return RC(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){const r=e.getValue();return RC(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:RC};const{getNextNonSpaceNonCommentCharacter:zC}=ti,{printDanglingComments:HC}=_f,{builders:{line:GC,hardline:JC,softline:XC,group:YC,indent:KC,ifBreak:QC},utils:{removeLines:ZC,willBreak:ev}}=_i,{getFunctionParameters:tv,iterateFunctionParametersPath:nv,isSimpleType:rv,isTestCall:iv,isTypeAnnotationAFunction:uv,isObjectType:ov,isObjectTypePropertyAFunction:sv,hasRestParameter:av,shouldPrintComma:lv,hasComment:cv,isNextLineEmpty:pv}=$h,{locEnd:fv}=Bl,{ArgExpansionBailout:dv}=io,{printFunctionTypeParameters:hv}=CE;function gv(e){if(!e)return!1;const t=tv(e);if(1!==t.length)return!1;const[n]=t;return!cv(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&ov(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&ov(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 mv={printFunctionParameters:function(e,t,n,r,i){const u=e.getValue(),o=tv(u),s=i?hv(e,n,t):"";if(0===o.length)return[s,"(",HC(e,n,!0,(e=>")"===zC(n.originalText,e,fv))),")"];const a=e.getParentNode(),l=iv(a),c=gv(u),p=[];if(nv(e,((e,r)=>{const i=r===o.length-1;i&&u.rest&&p.push("..."),p.push(t()),i||(p.push(","),l||c?p.push(" "):pv(o[r],n)?p.push(JC,JC):p.push(GC))})),r){if(ev(s)||ev(p))throw new dv;return YC([ZC(s),"(",ZC(p),")"])}const f=o.every((e=>!e.decorators));return c&&f||l?[s,"(",...p,")"]:(sv(a)||uv(a)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===u)&&1===o.length&&null===o[0].name&&u.this!==o[0]&&o[0].typeAnnotation&&null===u.typeParameters&&rv(o[0].typeAnnotation)&&!u.rest?"always"===n.arrowParens?["(",...p,")"]:p:[s,"(",KC([XC,...p]),QC(!av(u)&&lv(n,"all")?",":""),XC,")"]},shouldHugFunctionParameters:gv,shouldGroupFunctionParameters:function(e,t){const n=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;const r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){const e=r[0];if(e.constraint||e.default)return!1}}return 1===tv(e).length&&(ov(n)||ev(t))}};const{printComments:yv,printDanglingComments:Dv}=_f,{getLast:Ev}=ti,{builders:{group:bv,join:Cv,line:vv,softline:Av,indent:Fv,align:xv,ifBreak:Sv}}=_i,{locStart:wv}=Bl,{isSimpleType:Tv,isObjectType:Bv,hasLeadingOwnLineComment:kv,isObjectTypePropertyAFunction:Nv,shouldPrintComma:Pv}=$h,{printAssignment:Ov}=UC,{printFunctionParameters:Iv,shouldGroupFunctionParameters:jv}=mv,{printArrayItems:Lv}=UE;function _v(e){if(Tv(e)||Bv(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,n=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&n)return!0}return!1}var Mv={printOpaqueType:function(e,t,n){const r=t.semi?";":"",i=e.getValue(),u=[];return u.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&u.push(": ",n("supertype")),i.impltype&&u.push(" = ",n("impltype")),u.push(r),u},printTypeAlias:function(e,t,n){const r=t.semi?";":"",i=e.getValue(),u=[];i.declare&&u.push("declare "),u.push("type ",n("id"),n("typeParameters"));const o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[Ov(e,t,n,u," =",o),r]},printIntersectionType:function(e,t,n){const r=e.getValue(),i=e.map(n,"types"),u=[];let o=!1;for(let e=0;e<i.length;++e)0===e?u.push(i[e]):Bv(r.types[e-1])&&Bv(r.types[e])?u.push([" & ",o?Fv(i[e]):i[e]]):Bv(r.types[e-1])||Bv(r.types[e])?(e>1&&(o=!0),u.push(" & ",e>1?Fv(i[e]):i[e])):u.push(Fv([" &",vv,i[e]]));return bv(u)},printUnionType:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),u=!("TypeParameterInstantiation"===i.type||"TSTypeParameterInstantiation"===i.type||"GenericTypeAnnotation"===i.type||"TSTypeReference"===i.type||"TSTypeAssertion"===i.type||"TupleTypeAnnotation"===i.type||"TSTupleType"===i.type||"FunctionTypeParam"===i.type&&!i.name&&e.getParentNode(1).this!==i||("TypeAlias"===i.type||"VariableDeclarator"===i.type||"TSTypeAliasDeclaration"===i.type)&&kv(t.originalText,r)),o=_v(r),s=e.map((e=>{let r=n();return o||(r=xv(2,r)),yv(e,r,t)}),"types");if(o)return Cv(" | ",s);const a=u&&!kv(t.originalText,r),l=[Sv([a?vv:"","| "]),Cv([vv,"| "],s)];return Uy(e,t)?bv([Fv(l),Av]):"TupleTypeAnnotation"===i.type&&i.types.length>1||"TSTupleType"===i.type&&i.elementTypes.length>1?bv([Fv([Sv(["(",Av]),l]),Av,Sv(")")]):bv(u?Fv(l):l)},printFunctionType:function(e,t,n){const r=e.getValue(),i=[],u=e.getParentNode(0),o=e.getParentNode(1),s=e.getParentNode(2);let a="TSFunctionType"===r.type||!(("ObjectTypeProperty"===u.type||"ObjectTypeInternalSlot"===u.type)&&!u.variance&&!u.optional&&wv(u)===wv(r)||"ObjectTypeCallProperty"===u.type||s&&"DeclareFunction"===s.type),l=a&&("TypeAnnotation"===u.type||"TSTypeAnnotation"===u.type);const c=l&&a&&("TypeAnnotation"===u.type||"TSTypeAnnotation"===u.type)&&"ArrowFunctionExpression"===o.type;Nv(u)&&(a=!0,l=!0),c&&i.push("(");const p=Iv(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=jv(r,f);return i.push(d?bv(p):p),f&&i.push(f),c&&i.push(")"),bv(i)},printTupleType:function(e,t,n){const r=e.getValue(),i="TSTupleType"===r.type?"elementTypes":"types",u=r[i].length>0&&"TSRestType"===Ev(r[i]).type;return bv(["[",Fv([Av,Lv(e,t,i,n)]),Sv(Pv(t,"all")&&!u?",":""),Dv(e,t,!0),Av,"]"])},printIndexedAccessType:function(e,t,n){const r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]},shouldHugType:_v};const{printDanglingComments:Rv}=_f,{builders:{join:$v,line:Vv,hardline:qv,softline:Wv,group:Uv,indent:zv,ifBreak:Hv}}=_i,{isTestCall:Gv,hasComment:Jv,CommentCheckFlags:Xv,isTSXFile:Yv,shouldPrintComma:Kv,getFunctionParameters:Qv}=$h,{createGroupIdMapper:Zv}=ti,{shouldHugType:eA}=Mv,tA=Zv("typeParameters");function nA(e,t){const n=e.getValue();if(!Jv(n,Xv.Dangling))return"";const r=!Jv(n,Xv.Line),i=Rv(e,t,r);return r?i:[i,qv]}var rA={printTypeParameter:function(e,t,n){const r=e.getValue(),i=[],u=e.getParentNode();return"TSMappedType"===u.type?(i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),u.nameType&&i.push(" as ",e.callParent((()=>n("nameType")))),i.push("]"),i):(r.variance&&i.push(n("variance")),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default")),i)},printTypeParameters:function(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return n(r);const u=e.getNode(2);if(u&&Gv(u)||0===i[r].length||1===i[r].length&&(eA(i[r][0])||"NullableTypeAnnotation"===i[r][0].type))return["<",$v(", ",e.map(n,r)),nA(e,t),">"];const o="TSTypeParameterInstantiation"===i.type?"":1===Qv(i).length&&Yv(t)&&!i[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":Kv(t,"all")?Hv(","):"";return Uv(["<",zv([Wv,$v([",",Vv],e.map(n,r))]),o,Wv,">"],{id:tA(i)})},getTypeParametersGroupId:tA};const{printComments:iA}=_f,{printString:uA,printNumber:oA}=ti,{isNumericLiteral:sA,isSimpleNumber:aA,isStringLiteral:lA,isStringPropSafeToUnquote:cA,rawText:pA}=$h,{printAssignment:fA}=UC,dA=new WeakMap;function hA(e,t,n){const r=e.getNode();if(r.computed)return["[",n("key"),"]"];const i=e.getParentNode(),{key:u}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===u.type)return["#",n("key")];if("consistent"===t.quoteProps&&!dA.has(i)){const e=(i.properties||i.body||i.members).some((e=>!e.computed&&e.key&&lA(e.key)&&!cA(e,t)));dA.set(i,e)}if(("Identifier"===u.type||sA(u)&&aA(oA(pA(u)))&&String(u.value)===oA(pA(u))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&dA.get(i))){const n=uA(JSON.stringify("Identifier"===u.type?u.name:u.value.toString()),t);return e.call((e=>iA(e,n,t)),"key")}return cA(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!dA.get(i))?e.call((e=>iA(e,/^\d/.test(u.value)?oA(u.value):u.value,t)),"key"):n("key")}var gA={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):fA(e,t,n,hA(e,t,n),":","value")},printPropertyKey:hA};const{printDanglingComments:mA,printCommentsSeparately:yA}=_f,{getNextNonSpaceNonCommentCharacterIndex:DA}=ti,{builders:{line:EA,softline:bA,group:CA,indent:vA,ifBreak:AA,hardline:FA,join:xA,indentIfBreak:SA},utils:{removeLines:wA,willBreak:TA}}=_i,{ArgExpansionBailout:BA}=io,{getFunctionParameters:kA,hasLeadingOwnLineComment:NA,isFlowAnnotationComment:PA,isJsxNode:OA,isTemplateOnItsOwnLine:IA,shouldPrintComma:jA,startsWithNoLookaheadToken:LA,isBinaryish:_A,isLineComment:MA,hasComment:RA,getComments:$A,CommentCheckFlags:VA,isCallLikeExpression:qA,isCallExpression:WA,getCallArguments:UA,hasNakedLeftSide:zA,getLeftSide:HA}=$h,{locEnd:GA}=Bl,{printFunctionParameters:JA,shouldGroupFunctionParameters:XA}=mv,{printPropertyKey:YA}=gA,{printFunctionTypeParameters:KA}=CE;function QA(e,t,n){const r=e.getNode(),i=JA(e,n,t),u=eF(e,n,t),o=XA(r,u),s=[KA(e,t,n),CA([o?CA(i):i,u])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function ZA(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){const t=kA(e);return!(1!==t.length||e.typeParameters||RA(e,VA.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||RA(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}return!1}function eF(e,t,n){const r=e.getValue(),i=t("returnType");if(r.returnType&&PA(n.originalText,r.returnType))return[" /*: ",i," */"];const u=[i];return r.returnType&&r.returnType.typeAnnotation&&u.unshift(": "),r.predicate&&u.push(r.returnType?" ":": ",t("predicate")),u}function tF(e,t,n){const r=e.getValue(),i=t.semi?";":"",u=[];r.argument&&(!function(e,t){if(NA(e.originalText,t))return!0;if(zA(t)){let n,r=t;for(;n=HA(r);)if(r=n,NA(e.originalText,r))return!0}return!1}(t,r.argument)?_A(r.argument)||"SequenceExpression"===r.argument.type?u.push(CA([AA(" ("," "),vA([bA,n("argument")]),bA,AA(")")])):u.push(" ",n("argument")):u.push([" (",vA([FA,n("argument")]),FA,")"]));const o=$A(r),s=Be(o),a=s&&MA(s);return a&&u.push(i),RA(r,VA.Dangling)&&u.push(" ",mA(e,t,!0)),a||u.push(i),u}var nF={printFunction:function(e,t,n,r){const i=e.getValue();let u=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){const t=e.getParentNode();WA(t)&&UA(t).length>1&&(u=!0)}const o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));const s=JA(e,t,n,u),a=eF(e,t,n),l=XA(i,a);return o.push(KA(e,n,t),CA([l?CA(s):s,a]),i.body?" ":"",t("body")),!n.semi||!i.declare&&i.body||o.push(";"),o},printArrowFunction:function(e,t,n,r){let i=e.getValue();const u=[],o=[];let s=!1;if(function a(){const l=function(e,t,n,r){const i=[];if(e.getValue().async&&i.push("async "),ZA(e,t))i.push(n(["params",0]));else{const u=r&&(r.expandLastArg||r.expandFirstArg);let o=eF(e,n,t);if(u){if(TA(o))throw new BA;o=CA(wA(o))}i.push(CA([JA(e,n,t,u,!0),o]))}const u=mA(e,t,!0,(e=>{const n=DA(t.originalText,e,GA);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return u&&i.push(" ",u),i}(e,t,n,r);if(0===u.length)u.push(l);else{const{leading:n,trailing:r}=yA(e,t);u.push([n,l]),o.unshift(r)}s=s||i.returnType&&kA(i).length>0||i.typeParameters||kA(i).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==i.body.type||r&&r.expandLastArg?o.unshift(n("body",r)):(i=i.body,e.call(a,"body"))}(),u.length>1)return function(e,t,n,r,i,u){const o=e.getName(),s=e.getParentNode(),a=qA(s)&&"callee"===o,l=Boolean(t&&t.assignmentLayout),c="BlockStatement"!==u.body.type&&"ObjectExpression"!==u.body.type,p=a&&c||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return CA([CA(vA([a||l?bA:"",CA(xA([" =>",EA],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",SA(c?vA([EA,i]):[" ",i],{groupId:f}),a?AA(bA,"",{groupId:f}):""])}(e,r,u,s,o,i);const a=u;if(a.push(" =>"),!NA(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||OA(i.body)||IA(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return CA([...a," ",o]);if("SequenceExpression"===i.body.type)return CA([...a,CA([" (",vA([bA,o]),bA,")"])]);const l=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!RA(i),c=r&&r.expandLastArg&&jA(t,"all"),p="ConditionalExpression"===i.body.type&&!LA(i.body,!1);return CA([...a,CA([vA([EA,p?AA("","("):"",o,p?AA("",")"):""]),l?[AA(c?",":""),bA]:""])])},printMethod:function(e,t,n){const r=e.getNode(),{kind:i}=r,u=r.value||r,o=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(pf.ok("get"===i||"set"===i),o.push(i," ")):u.async&&o.push("async "),u.generator&&o.push("*"),o.push(YA(e,t,n),r.optional||r.key.optional?"?":""),r===u?o.push(QA(e,t,n)):"FunctionExpression"===u.type?o.push(e.call((e=>QA(e,t,n)),"value")):o.push(n("value")),o},printReturnStatement:function(e,t,n){return["return",tF(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",tF(e,t,n)]},printMethodInternal:QA,shouldPrintParamsWithoutParens:ZA};const{isNonEmptyArray:rF,hasNewline:iF}=ti,{builders:{line:uF,hardline:oF,join:sF,breakParent:aF,group:lF}}=_i,{locStart:cF,locEnd:pF}=Bl,{getParentExportDeclaration:fF}=$h;function dF(e,t){return e.decorators.some((e=>iF(t.originalText,pF(e))))}function hF(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;const t=e.declaration&&e.declaration.decorators;return rF(t)&&cF(e,{ignoreDecorators:!0})>cF(t[0])}var gF={printDecorators:function(e,t,n){const r=e.getValue(),{decorators:i}=r;if(!rF(i)||hF(e.getParentNode()))return;const u="ClassExpression"===r.type||"ClassDeclaration"===r.type||dF(r,t);return[fF(e)?oF:u?aF:"",sF(uF,e.map(n,"decorators")),uF]},printClassMemberDecorators:function(e,t,n){const r=e.getValue();return lF([sF(uF,e.map(n,"decorators")),dF(r,t)?oF:uF])},printDecoratorsBeforeExport:function(e,t,n){return[sF(oF,e.map(n,"declaration","decorators")),oF]},hasDecoratorsBeforeExport:hF};const{isNonEmptyArray:mF,createGroupIdMapper:yF}=ti,{printComments:DF,printDanglingComments:EF}=_f,{builders:{join:bF,line:CF,hardline:vF,softline:AF,group:FF,indent:xF,ifBreak:SF}}=_i,{hasComment:wF,CommentCheckFlags:TF}=$h,{getTypeParametersGroupId:BF}=rA,{printMethod:kF}=nF,{printOptionalToken:NF,printTypeAnnotation:PF}=CE,{printPropertyKey:OF}=gA,{printAssignment:IF}=UC,{printClassMemberDecorators:jF}=gF;const LF=yF("heritageGroup");function _F(e){return e.typeParameters&&!wF(e.typeParameters,TF.Trailing|TF.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}(e)}function MF(e,t,n,r){const i=e.getValue();if(!mF(i[r]))return"";const u=EF(e,t,!0,(({marker:e})=>e===r));return[_F(i)?SF(" ",CF,{groupId:BF(i.typeParameters)}):CF,u,u&&vF,r,FF(xF([CF,bF([",",CF],e.map(n,r))]))]}function RF(e,t,n){const r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?FF(SF(["(",xF([AF,r]),AF,")"],r)):r}var $F={printClass:function(e,t,n){const r=e.getValue(),i=[];r.declare&&i.push("declare "),r.abstract&&i.push("abstract "),i.push("class");const u=r.id&&wF(r.id,TF.Trailing)||r.superClass&&wF(r.superClass)||mF(r.extends)||mF(r.mixins)||mF(r.implements),o=[],s=[];if(r.id&&o.push(" ",n("id")),o.push(n("typeParameters")),r.superClass){const r=["extends ",RF(e,t,n),n("superTypeParameters")],i=e.call((e=>DF(e,r,t)),"superClass");u?s.push(CF,FF(i)):s.push(" ",i)}else s.push(MF(e,t,n,"extends"));if(s.push(MF(e,t,n,"mixins"),MF(e,t,n,"implements")),u){let e;e=_F(r)?[...o,xF(s)]:xF([...o,s]),i.push(FF(e,{id:LF(r)}))}else i.push(...o,...s);return i.push(" ",n("body")),i},printClassMethod:function(e,t,n){const r=e.getValue(),i=[];return mF(r.decorators)&&i.push(jF(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.readonly&&i.push("readonly "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),i.push(kF(e,t,n)),i},printClassProperty:function(e,t,n){const r=e.getValue(),i=[],u=t.semi?";":"";return mF(r.decorators)&&i.push(jF(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.declare&&i.push("declare "),r.static&&i.push("static "),("TSAbstractClassProperty"===r.type||r.abstract)&&i.push("abstract "),r.override&&i.push("override "),r.readonly&&i.push("readonly "),r.variance&&i.push(n("variance")),i.push(OF(e,t,n),NF(e),PF(e,t,n)),[IF(e,t,n,i," =","value"),u]},printHardlineAfterHeritage:function(e){return SF(vF,"",{groupId:LF(e)})}};const{isNonEmptyArray:VF}=ti,{builders:{join:qF,line:WF,group:UF,indent:zF,ifBreak:HF}}=_i,{hasComment:GF,identity:JF,CommentCheckFlags:XF}=$h,{getTypeParametersGroupId:YF}=rA,{printTypeScriptModifiers:KF}=CE;var QF={printInterface:function(e,t,n){const r=e.getValue(),i=[];r.declare&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",KF(e,t,n)),i.push("interface");const u=[],o=[];"InterfaceTypeAnnotation"!==r.type&&u.push(" ",n("id"),n("typeParameters"));const s=r.typeParameters&&!GF(r.typeParameters,XF.Trailing|XF.Line);return VF(r.extends)&&o.push(s?HF(" ",WF,{groupId:YF(r.typeParameters)}):WF,"extends ",(1===r.extends.length?JF:zF)(qF([",",WF],e.map(n,"extends")))),r.id&&GF(r.id,XF.Trailing)||VF(r.extends)?s?i.push(UF([...u,zF(o)])):i.push(UF(zF([...u,...o]))):i.push(...u,...o),i.push(" ",n("body")),UF(i)}};const{isNonEmptyArray:ZF}=ti,{builders:{softline:ex,group:tx,indent:nx,join:rx,line:ix,ifBreak:ux,hardline:ox}}=_i,{printDanglingComments:sx}=_f,{hasComment:ax,CommentCheckFlags:lx,shouldPrintComma:cx,needsHardlineAfterDanglingComment:px}=$h,{locStart:fx,hasSameLoc:dx}=Bl,{hasDecoratorsBeforeExport:hx,printDecoratorsBeforeExport:gx}=gF;function mx(e,t,n){const r=e.getValue();if(!r.source)return"";const i=[];return Dx(r,t)||i.push(" from"),i.push(" ",n("source")),i}function yx(e,t,n){const r=e.getValue();if(Dx(r,t))return"";const i=[" "];if(ZF(r.specifiers)){const u=[],o=[];if(e.each((()=>{const t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)u.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);o.push(n())}}),"specifiers"),i.push(rx(", ",u)),o.length>0){u.length>0&&i.push(", ");o.length>1||u.length>0||r.specifiers.some((e=>ax(e)))?i.push(tx(["{",nx([t.bracketSpacing?ix:ex,rx([",",ix],o)]),ux(cx(t)?",":""),t.bracketSpacing?ix:ex,"}"])):i.push(["{",t.bracketSpacing?" ":"",...o,t.bracketSpacing?" ":"","}"])}}else i.push("{}");return i}function Dx(e,t){const{type:n,importKind:r,source:i,specifiers:u}=e;return"ImportDeclaration"===n&&!ZF(u)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(fx(e),fx(i)))}function Ex(e,t,n){const r=e.getNode();return ZF(r.assertions)?[" assert {",t.bracketSpacing?" ":"",rx(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var bx={printImportDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",u=[],{importKind:o}=r;return u.push("import"),o&&"value"!==o&&u.push(" ",o),u.push(yx(e,t,n),mx(e,t,n),Ex(e,t,n),i),u},printExportDeclaration:function(e,t,n){const r=e.getValue(),i=[];hx(r)&&i.push(gx(e,t,n));const{type:u,exportKind:o,declaration:s}=r;return i.push("export"),(r.default||"ExportDefaultDeclaration"===u)&&i.push(" default"),ax(r,lx.Dangling)&&(i.push(" ",sx(e,t,!0)),px(r)&&i.push(ox)),s?i.push(" ",n("declaration")):i.push("type"===o?" type":"",yx(e,t,n),mx(e,t,n),Ex(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:u}=r;if(i&&"ClassDeclaration"!==u&&"FunctionDeclaration"!==u&&"TSInterfaceDeclaration"!==u&&"DeclareClass"!==u&&"DeclareFunction"!==u&&"TSDeclareFunction"!==u&&"EnumDeclaration"!==u)return!0;return!1}(r,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",u=[],{exportKind:o,exported:s}=r;return u.push("export"),"type"===o&&u.push(" type"),u.push(" *"),s&&u.push(" as ",n("exported")),u.push(mx(e,t,n),Ex(e,t,n),i),u},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:i,importKind:u}=r,o=[];"ImportSpecifier"===i&&u&&o.push(u," ");const s=i.startsWith("Import"),a=s?"imported":"local",l=s?"local":"exported";let c="",p="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?c="*":r[a]&&(c=n(a)),!r[l]||r[a]&&dx(r[a],r[l])||(p=n(l)),o.push(c,c&&p?" as ":"",p),o}};const{printDanglingComments:Cx}=_f,{builders:{line:vx,softline:Ax,group:Fx,indent:xx,ifBreak:Sx,hardline:wx}}=_i,{getLast:Tx,hasNewlineInRange:Bx,hasNewline:kx,isNonEmptyArray:Nx}=ti,{shouldPrintComma:Px,hasComment:Ox,getComments:Ix,CommentCheckFlags:jx,isNextLineEmpty:Lx}=$h,{locStart:_x,locEnd:Mx}=Bl,{printOptionalToken:Rx,printTypeAnnotation:$x}=CE,{shouldHugFunctionParameters:Vx}=mv,{shouldHugType:qx}=Mv,{printHardlineAfterHeritage:Wx}=$F;var Ux={printObject:function(e,t,n){const r=t.semi?";":"",i=e.getValue();let u;u="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const o="ObjectTypeAnnotation"===i.type,s=[u];o&&s.push("indexers","callProperties","internalSlots");const a=s.map((e=>i[e][0])).sort(((e,t)=>_x(e)-_x(t)))[0],l=e.getParentNode(0),c=o&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),p="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==i.type&&a&&Bx(t.originalText,_x(i),_x(a)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Sx(r,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",h=i.exact?"|}":"}",g=[];for(const t of s)e.each((e=>{const t=e.getValue();g.push({node:t,printed:n(),loc:_x(t)})}),t);s.length>1&&g.sort(((e,t)=>e.loc-t.loc));let m=[];const y=g.map((e=>{const n=[...m,Fx(e.printed)];return m=[f,vx],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!Ox(e.node,jx.PrettierIgnore)||m.shift(),Lx(e.node,t)&&m.push(wx),n}));if(i.inexact){let n;if(Ox(i,jx.Dangling)){const r=Ox(i,jx.Line);n=[Cx(e,t,!0),r||kx(t.originalText,Mx(Tx(Ix(i))))?wx:vx,"..."]}else n=["..."];y.push([...m,...n])}const D=Tx(i[u]),E=!(i.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&Ox(D,jx.PrettierIgnore));let b;if(0===y.length){if(!Ox(i,jx.Dangling))return[d,h,$x(e,t,n)];b=Fx([d,Cx(e,t),Ax,h,Rx(e),$x(e,t,n)])}else b=[c&&Nx(i.properties)?Wx(l):"",d,xx([t.bracketSpacing?vx:Ax,...y]),Sx(E&&(","!==f||Px(t))?f:""),t.bracketSpacing?vx:Ax,h,Rx(e),$x(e,t,n)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,n)=>Vx(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||e.match(qx,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,n)=>Vx(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||!p&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?b:Fx(b,{shouldBreak:p})}};const{printDanglingComments:zx}=_f,{printString:Hx,printNumber:Gx}=ti,{builders:{hardline:Jx,softline:Xx,group:Yx,indent:Kx}}=_i,{getParentExportDeclaration:Qx,isFunctionNotation:Zx,isGetterOrSetter:eS,rawText:tS,shouldPrintComma:nS}=$h,{locStart:rS,locEnd:iS}=Bl,{printClass:uS}=$F,{printOpaqueType:oS,printTypeAlias:sS,printIntersectionType:aS,printUnionType:lS,printFunctionType:cS,printTupleType:pS,printIndexedAccessType:fS}=Mv,{printInterface:dS}=QF,{printTypeParameter:hS,printTypeParameters:gS}=rA,{printExportDeclaration:mS,printExportAllDeclaration:yS}=bx,{printArrayItems:DS}=UE,{printObject:ES}=Ux,{printPropertyKey:bS}=gA,{printOptionalToken:CS,printTypeAnnotation:vS,printRestSpread:AS}=CE;function FS(e,t){const n=Qx(e);return n?(pf.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var xS={printFlow:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",u=[];switch(r.type){case"DeclareClass":return FS(e,uS(e,t,n));case"DeclareFunction":return FS(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),i]);case"DeclareModule":return FS(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return FS(e,["module.exports",": ",n("typeAnnotation"),i]);case"DeclareVariable":return FS(e,["var ",n("id"),i]);case"DeclareOpaqueType":return FS(e,oS(e,t,n));case"DeclareInterface":return FS(e,dS(e,t,n));case"DeclareTypeAlias":return FS(e,sS(e,t,n));case"DeclareExportDeclaration":return FS(e,mS(e,t,n));case"DeclareExportAllDeclaration":return FS(e,yS(e,t,n));case"OpaqueType":return oS(e,t,n);case"TypeAlias":return sS(e,t,n);case"IntersectionTypeAnnotation":return aS(e,t,n);case"UnionTypeAnnotation":return lS(e,t,n);case"FunctionTypeAnnotation":return cS(e,t,n);case"TupleTypeAnnotation":return pS(e,t,n);case"GenericTypeAnnotation":return[n("id"),gS(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return fS(e,t,n);case"TypeAnnotation":return n("typeAnnotation");case"TypeParameter":return hS(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(r.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===r.type||r.explicitType){let e=null;switch(r.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}u.push("of ",e," ")}if(0!==r.members.length||r.hasUnknownMembers){const i=r.members.length>0?[Jx,DS(e,t,"members",n),r.hasUnknownMembers||nS(t)?",":""]:[];u.push(Yx(["{",Kx([...i,...r.hasUnknownMembers?[Jx,"..."]:[]]),zx(e,t,!0),Jx,"}"]))}else u.push(Yx(["{",zx(e,t),Xx,"}"]));return u;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==typeof r.init?n("init"):String(r.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":{const t=r.name?n("name"):e.getParentNode().this===r?"this":"";return[t,CS(e),t?": ":"",n("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return dS(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{const{kind:e}=r;return pf.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return r.static&&u.push("static "),u.push(n("value")),u;case"ObjectTypeIndexer":return[r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let i="";return r.proto?i="proto ":r.static&&(i="static "),[i,eS(r)?r.kind+" ":"",r.variance?n("variance"):"",bS(e,t,n),CS(e),Zx(r)?"":": ",n("value")]}case"ObjectTypeAnnotation":return ES(e,t,n);case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",CS(e),r.method?"":": ",n("value")];case"ObjectTypeSpreadProperty":return AS(e,t,n);case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return Hx(tS(r),t);case"NumberLiteralTypeAnnotation":pf.strictEqual(typeof r.value,"number");case"BigIntLiteralTypeAnnotation":return r.extra?Gx(r.extra.raw):Gx(r.raw);case"TypeCastExpression":return["(",n("expression"),vS(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const i=gS(e,t,n,"params");if("flow"===t.parser){const e=rS(r),n=iS(r),u=t.originalText.lastIndexOf("/*",e),o=t.originalText.indexOf("*/",n);if(-1!==u&&-1!==o){const e=t.originalText.slice(u+2,o).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",i," */"]}}return i}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(r.type))}}};const{hasNewlineInRange:SS}=ti,{isJsxNode:wS,isBlockComment:TS,getComments:BS,isCallExpression:kS,isMemberExpression:NS}=$h,{locStart:PS,locEnd:OS}=Bl,{builders:{line:IS,softline:jS,group:LS,indent:_S,align:MS,ifBreak:RS,dedent:$S,breakParent:VS}}=_i;function qS(e,t,n){const r=e.getValue(),i="ConditionalExpression"===r.type,u=i?"alternate":"falseType",o=e.getParentNode(),s=i?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return o.type===r.type&&o[u]===r?MS(2,s):s}const WS=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var US={printTernary:function(e,t,n){const r=e.getValue(),i="ConditionalExpression"===r.type,u=i?"consequent":"trueType",o=i?"alternate":"falseType",s=i?["test"]:["checkType","extendsType"],a=r[u],l=r[o],c=[];let p=!1;const f=e.getParentNode(),d=f.type===r.type&&s.some((e=>f[e]===r));let h,g,m=f.type===r.type&&!d,y=0;do{g=h||r,h=e.getParentNode(y),y++}while(h&&h.type===r.type&&s.every((e=>h[e]!==g)));const D=h||f,E=g;if(i&&(wS(r[s[0]])||wS(a)||wS(l)||function(e){const t=[e];for(let e=0;e<t.length;e++){const n=t[e];for(const e of["test","consequent","alternate"]){const r=n[e];if(wS(r))return!0;"ConditionalExpression"===r.type&&t.push(r)}}return!1}(E))){p=!0,m=!0;const e=e=>[RS("("),_S([jS,e]),jS,RS(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;c.push(" ? ",t(a)?n(u):e(n(u))," : ",l.type===r.type||t(l)?n(o):e(n(o)))}else{const e=[IS,"? ",a.type===r.type?RS("","("):"",MS(2,n(u)),a.type===r.type?RS("",")"):"",IS,": ",l.type===r.type?n(o):MS(2,n(o))];c.push(f.type!==r.type||f[o]===r||d?e:t.useTabs?$S(_S(e)):MS(Math.max(0,t.tabWidth-2),e))}const b=[...s.map((e=>BS(r[e]))),BS(a),BS(l)].flat().some((e=>TS(e)&&SS(t.originalText,PS(e),OS(e)))),C=!p&&(NS(f)||"NGPipeExpression"===f.type&&f.left===r)&&!f.computed,v=function(e){const t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let t=0;!n;t++){const i=e.getParentNode(t);kS(i)&&i.callee===r||NS(i)&&i.object===r||"TSNonNullExpression"===i.type&&i.expression===r?r=i:"NewExpression"===i.type&&i.callee===r||"TSAsExpression"===i.type&&i.expression===r?(n=e.getParentNode(t+1),r=i):n=i}return r!==t&&n[WS.get(n.type)]===r}(e),A=(F=[qS(e,0,n),m?c:_S(c),i&&C&&!v?jS:""],f===D?LS(F,{shouldBreak:b}):b?[F,VS]:F);var F;return d||v?LS([_S([jS,A]),jS]):A}};const{builders:{hardline:zS}}=_i,{getLeftSidePathName:HS,hasNakedLeftSide:GS,isJsxNode:JS,isTheOnlyJsxElementInMarkdown:XS,hasComment:YS,CommentCheckFlags:KS,isNextLineEmpty:QS}=$h,{shouldPrintParamsWithoutParens:ZS}=nF;function ew(e,t,n,r){const i=e.getValue(),u=[],o="ClassBody"===i.type,s=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if("EmptyStatement"!==n.type)return n}}(i[r]);return e.each(((e,r,i)=>{const a=e.getValue();if("EmptyStatement"===a.type)return;const l=n();t.semi||o||XS(t,e)||!function(e,t){if("ExpressionStatement"!==e.getNode().type)return!1;return e.call((e=>tw(e,t)),"expression")}(e,t)?u.push(l):YS(a,KS.Leading)?u.push(n([],{needsSemi:!0})):u.push(";",l),!t.semi&&o&&nw(a)&&function(e,t){const n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){const e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;const e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(a,i[r+1])&&u.push(";"),a!==s&&(u.push(zS),QS(a,t)&&u.push(zS))}),r),u}function tw(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(!ZS(e,t))return!0;break;case"UnaryExpression":{const{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(JS(n))return!0}return!!Uy(e,t)||!!GS(n)&&e.call((e=>tw(e,t)),...HS(e,n))}const nw=({type:e})=>"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e;var rw={printBody:function(e,t,n){return ew(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return ew(e,t,n,"consequent")}};const{printDanglingComments:iw}=_f,{isNonEmptyArray:uw}=ti,{builders:{hardline:ow,indent:sw}}=_i,{hasComment:aw,CommentCheckFlags:lw,isNextLineEmpty:cw}=$h,{printHardlineAfterHeritage:pw}=$F,{printBody:fw}=rw;function dw(e,t,n){const r=e.getValue(),i=uw(r.directives),u=r.body.some((e=>"EmptyStatement"!==e.type)),o=aw(r,lw.Dangling);if(!i&&!u&&!o)return"";const s=[];if(i&&e.each(((e,r,i)=>{s.push(n()),(r<i.length-1||u||o)&&(s.push(ow),cw(e.getValue(),t)&&s.push(ow))}),"directives"),u&&s.push(fw(e,t,n)),o&&s.push(iw(e,t,!0)),"Program"===r.type){const t=e.getParentNode();t&&"ModuleExpression"===t.type||s.push(ow)}return s}var hw={printBlock:function(e,t,n){const r=e.getValue(),i=[];if("StaticBlock"===r.type&&i.push("static "),"ClassBody"===r.type&&uw(r.body)){const t=e.getParentNode();i.push(pw(t))}i.push("{");const u=dw(e,t,n);if(u)i.push(sw([ow,u]),ow);else{const t=e.getParentNode(),n=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!n.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===r.type||"ClassBody"===r.type||i.push(ow)}return i.push("}"),i},printBlockBody:dw};const{printDanglingComments:gw}=_f,{hasNewlineInRange:mw}=ti,{builders:{join:yw,line:Dw,hardline:Ew,softline:bw,group:Cw,indent:vw,conditionalGroup:Aw,ifBreak:Fw}}=_i,{isLiteral:xw,getTypeScriptMappedTypeModifier:Sw,shouldPrintComma:ww,isCallExpression:Tw,isMemberExpression:Bw}=$h,{locStart:kw,locEnd:Nw}=Bl,{printOptionalToken:Pw,printTypeScriptModifiers:Ow}=CE,{printTernary:Iw}=US,{printFunctionParameters:jw,shouldGroupFunctionParameters:Lw}=mv,{printTemplateLiteral:_w}=ug,{printArrayItems:Mw}=UE,{printObject:Rw}=Ux,{printClassProperty:$w,printClassMethod:Vw}=$F,{printTypeParameter:qw,printTypeParameters:Ww}=rA,{printPropertyKey:Uw}=gA,{printFunction:zw,printMethodInternal:Hw}=nF,{printInterface:Gw}=QF,{printBlock:Jw}=hw,{printTypeAlias:Xw,printIntersectionType:Yw,printUnionType:Kw,printFunctionType:Qw,printTupleType:Zw,printIndexedAccessType:eT}=Mv;var tT={printTypescript:function(e,t,n){const r=e.getValue();if(!r.type.startsWith("TS"))return;if(r.type.endsWith("Keyword"))return r.type.slice(2,-7).toLowerCase();const i=t.semi?";":"",u=[];switch(r.type){case"TSThisType":return"this";case"TSTypeAssertion":{const e=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),t=Cw(["<",vw([bw,n("typeAnnotation")]),bw,">"]),i=[Fw("("),vw([bw,n("expression")]),bw,Fw(")")];return e?Aw([[t,n("expression")],[t,Cw(i,{shouldBreak:!0})],[t,n("expression")]]):Cw([t,n("expression")])}case"TSDeclareFunction":return zw(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),i];case"TSModuleBlock":return Jw(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return Rw(e,t,n);case"TSTypeAliasDeclaration":return Xw(e,t,n);case"TSQualifiedName":return yw(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return Vw(e,t,n);case"TSAbstractClassProperty":return $w(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return u.push(n("expression")),r.typeParameters&&u.push(n("typeParameters")),u;case"TSTemplateLiteralType":return _w(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 Gw(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Ww(e,t,n,"params");case"TSTypeParameter":return qw(e,t,n);case"TSAsExpression":{u.push(n("expression")," as ",n("typeAnnotation"));const t=e.getParentNode();return Tw(t)&&t.callee===r||Bw(t)&&t.object===r?Cw([vw([bw,...u]),bw]):u}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.readonly&&u.push("readonly "),u.push(Uw(e,t,n),Pw(e)),r.typeAnnotation&&u.push(": ",n("typeAnnotation")),r.initializer&&u.push(" = ",n("initializer")),u;case"TSParameterProperty":return r.accessibility&&u.push(r.accessibility+" "),r.export&&u.push("export "),r.static&&u.push("static "),r.readonly&&u.push("readonly "),u.push(n("parameter")),u;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{const u=e.getParentNode(),o=r.parameters.length>1?Fw(ww(t)?",":""):"",s=Cw([vw([bw,yw([", ",bw],e.map(n,"parameters"))]),o,bw]);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"===u.type?i:""]}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")]:"",Ww(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return eT(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&u.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&u.push("new "),u.push(Cw(jw(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){const e="TSConstructorType"===r.type;u.push(e?" => ":": ",n("returnType"),n("typeAnnotation"))}return u;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{const u=mw(t.originalText,kw(r),Nw(r));return Cw(["{",vw([t.bracketSpacing?Dw:bw,r.readonly?[Sw(r.readonly,"readonly")," "]:"",Ow(e,t,n),n("typeParameter"),r.optional?Sw(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),Fw(i)]),gw(e,t,!0),t.bracketSpacing?Dw:bw,"}"],{shouldBreak:u})}case"TSMethodSignature":{const i=r.kind&&"method"!==r.kind?`${r.kind} `:"";u.push(r.accessibility?[r.accessibility," "]:"",i,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Pw(e));const o=jw(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",a=r[s],l=a?n(s):"",c=Lw(r,l);return u.push(c?Cw(o):o),a&&u.push(": ",Cw(l)),Cw(u)}case"TSNamespaceExportDeclaration":return u.push("export as namespace ",n("id")),t.semi&&u.push(";"),Cw(u);case"TSEnumDeclaration":return r.declare&&u.push("declare "),r.modifiers&&u.push(Ow(e,t,n)),r.const&&u.push("const "),u.push("enum ",n("id")," "),0===r.members.length?u.push(Cw(["{",gw(e,t),bw,"}"])):u.push(Cw(["{",vw([Ew,Mw(e,t,"members",n),ww(t,"es5")?",":""]),gw(e,t,!0),Ew,"}"])),u;case"TSEnumMember":return u.push(n("id")),r.initializer&&u.push(" = ",n("initializer")),u;case"TSImportEqualsDeclaration":return r.isExport&&u.push("export "),u.push("import "),r.importKind&&"value"!==r.importKind&&u.push(r.importKind," "),u.push(n("id")," = ",n("moduleReference")),t.semi&&u.push(";"),Cw(u);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{const o=e.getParentNode(),s=xw(r.id),a="TSModuleDeclaration"===o.type,l=r.body&&"TSModuleDeclaration"===r.body.type;if(a)u.push(".");else{r.declare&&u.push("declare "),u.push(Ow(e,t,n));const i=t.originalText.slice(kw(r),kw(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(i)||u.push(s||/(^|\s)module(\s|$)/.test(i)?"module ":"namespace ")}return u.push(n("id")),l?u.push(n("body")):r.body?u.push(" ",Cw(n("body"))):u.push(i),u}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return Iw(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return Yw(e,t,n);case"TSUnionType":return Kw(e,t,n);case"TSFunctionType":return Qw(e,t,n);case"TSTupleType":return Zw(e,t,n);case"TSTypeReference":return[n("typeName"),Ww(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return Hw(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(r.type)}.`)}}};const{hasNewline:nT}=ti,{builders:{join:rT,hardline:iT},utils:{replaceNewlinesWithLiterallines:uT}}=_i,{isLineComment:oT,isBlockComment:sT}=$h,{locStart:aT,locEnd:lT}=Bl;var cT={printComment:function(e,t){const n=e.getValue();if(oT(n))return t.originalText.slice(aT(n),lT(n)).trimEnd();if(sT(n)){if(function(e){const t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(n)){const e=function(e){const t=e.value.split("\n");return["/*",rT(iT,t.map(((e,n)=>0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())))),"*/"]}(n);return n.trailing&&!nT(t.originalText,aT(n),{backwards:!0})?[iT,e]:e}const e=lT(n),r="*-/"===t.originalText.slice(e-3,e);return["/*",uT(n.value),r?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}};const{printString:pT,printNumber:fT}=ti;function dT(e){return e.toLowerCase()}function hT({pattern:e,flags:t}){return`/${e}/${t=t.split("").sort().join("")}`}var gT={printLiteral:function(e,t){const n=e.getNode();switch(n.type){case"RegExpLiteral":return hT(n);case"BigIntLiteral":return dT(n.bigint||n.extra.raw);case"NumericLiteral":return fT(n.extra.raw);case"StringLiteral":return pT(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return fT(n.value)+"m";case"Literal":{if(n.regex)return hT(n.regex);if(n.bigint)return dT(n.raw);if(n.decimal)return fT(n.decimal)+"m";const{value:e}=n;return"number"==typeof e?fT(n.raw):"string"==typeof e?pT(n.raw,t):String(e)}}}};const{printDanglingComments:mT}=_f,{hasNewline:yT}=ti,{builders:{join:DT,line:ET,hardline:bT,softline:CT,group:vT,indent:AT},utils:{replaceNewlinesWithLiterallines:FT}}=_i,{insertPragma:xT}=xm,{hasFlowShorthandAnnotationComment:ST,hasComment:wT,CommentCheckFlags:TT,isTheOnlyJsxElementInMarkdown:BT,isBlockComment:kT,isLineComment:NT,isNextLineEmpty:PT,needsHardlineAfterDanglingComment:OT,rawText:IT,hasIgnoreComment:jT,isCallExpression:LT,isMemberExpression:_T}=$h,{locStart:MT,locEnd:RT}=Bl,{printHtmlBinding:$T,isVueEventBindingExpression:VT}=Ky,{printAngular:qT}=PD,{printJsx:WT,hasJsxIgnoreComment:UT}=hE,{printFlow:zT}=xS,{printTypescript:HT}=tT,{printOptionalToken:GT,printBindExpressionCallee:JT,printTypeAnnotation:XT,adjustClause:YT,printRestSpread:KT}=CE,{printImportDeclaration:QT,printExportDeclaration:ZT,printExportAllDeclaration:eB,printModuleSpecifier:tB}=bx,{printTernary:nB}=US,{printTemplateLiteral:rB}=ug,{printArray:iB}=UE,{printObject:uB}=Ux,{printClass:oB,printClassMethod:sB,printClassProperty:aB}=$F,{printProperty:lB}=gA,{printFunction:cB,printArrowFunction:pB,printMethod:fB,printReturnStatement:dB,printThrowStatement:hB}=nF,{printCallExpression:gB}=mC,{printVariableDeclarator:mB,printAssignmentExpression:yB}=UC,{printBinaryishExpression:DB}=AD,{printSwitchCaseConsequent:EB}=rw,{printMemberExpression:bB}=Bb,{printBlock:CB,printBlockBody:vB}=hw,{printComment:AB}=cT,{printLiteral:FB}=gT,{printDecorators:xB}=gF;function SB(e,t){const n=IT(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;const i=t.singleQuote?"'":'"';return i+r+i}var wB={preprocess:zy,print:function(e,t,n,r){const i=function(e,t,n,r){const i=e.getValue(),u=t.semi?";":"";if(!i)return"";if("string"==typeof i)return i;for(const r of[FB,$T,qT,WT,zT,HT]){const i=r(e,t,n);if(void 0!==i)return i}let o=[];switch(i.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),bT];case"File":return i.program&&i.program.interpreter&&o.push(n(["program","interpreter"])),o.push(n("program")),o;case"Program":return vB(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return[SB(i.expression,t),u];if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return[n("expression"),VT(i.expression)?";":""]}return[n("expression"),BT(t,e)?"":u];case"ParenthesizedExpression":return!wT(i.expression)&&("ObjectExpression"===i.expression.type||"ArrayExpression"===i.expression.type)?["(",n("expression"),")"]:vT(["(",AT([CT,n("expression")]),CT,")"]);case"AssignmentExpression":return yB(e,t,n);case"VariableDeclarator":return mB(e,t,n);case"BinaryExpression":case"LogicalExpression":return DB(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return bB(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return i.object&&o.push(n("object")),o.push(vT(AT([CT,JT(e,t,n)]))),o;case"Identifier":return[i.name,GT(e),XT(e,t,n)];case"V8IntrinsicIdentifier":return["%",i.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return KT(e,t,n);case"FunctionDeclaration":case"FunctionExpression":return cB(e,n,t,r);case"ArrowFunctionExpression":return pB(e,t,n,r);case"YieldExpression":return o.push("yield"),i.delegate&&o.push("*"),i.argument&&o.push(" ",n("argument")),o;case"AwaitExpression":if(o.push("await"),i.argument){o.push(" ",n("argument"));const t=e.getParentNode();if(LT(t)&&t.callee===i||_T(t)&&t.object===i){o=[AT([CT,...o]),CT];const t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return vT(o)}}return o;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ZT(e,t,n);case"ExportAllDeclaration":return eB(e,t,n);case"ImportDeclaration":return QT(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return tB(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return CB(e,t,n);case"ThrowStatement":return hB(e,t,n);case"ReturnStatement":return dB(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return gB(e,t,n);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return uB(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?fB(e,t,n):lB(e,t,n);case"ObjectMethod":return fB(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return iB(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(((e,r)=>{0===r?t.push(n()):t.push(",",AT([ET,n()]))}),"expressions"),vT(t)}return vT(DT([",",ET],e.map(n,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),u];case"DirectiveLiteral":return SB(i,t);case"UnaryExpression":return o.push(i.operator),/[a-z]$/.test(i.operator)&&o.push(" "),wT(i.argument)?o.push(vT(["(",AT([CT,n("argument")]),CT,")"])):o.push(n("argument")),o;case"UpdateExpression":return o.push(n("argument"),i.operator),i.prefix&&o.reverse(),o;case"ConditionalExpression":return nB(e,t,n);case"VariableDeclaration":{const t=e.map(n,"declarations"),r=e.getParentNode(),s="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,a=i.declarations.some((e=>e.init));let l;return 1!==t.length||wT(i.declarations[0])?t.length>0&&(l=AT(t[0])):l=t[0],o=[i.declare?"declare ":"",i.kind,l?[" ",l]:"",AT(t.slice(1).map((e=>[",",a&&!s?bT:ET,e])))],s&&r.body!==i||o.push(u),vT(o)}case"WithStatement":return vT(["with (",n("object"),")",YT(i.body,n("body"))]);case"IfStatement":{const r=YT(i.consequent,n("consequent")),u=vT(["if (",vT([AT([CT,n("test")]),CT]),")",r]);if(o.push(u),i.alternate){const r=wT(i.consequent,TT.Trailing|TT.Line)||OT(i),u="BlockStatement"===i.consequent.type&&!r;o.push(u?" ":bT),wT(i,TT.Dangling)&&o.push(mT(e,t,!0),r?bT:" "),o.push("else",vT(YT(i.alternate,n("alternate"),"IfStatement"===i.alternate.type)))}return o}case"ForStatement":{const r=YT(i.body,n("body")),u=mT(e,t,!0),o=u?[u,CT]:"";return i.init||i.test||i.update?[o,vT(["for (",vT([AT([CT,n("init"),";",ET,n("test"),";",ET,n("update")]),CT]),")",r])]:[o,vT(["for (;;)",r])]}case"WhileStatement":return vT(["while (",vT([AT([CT,n("test")]),CT]),")",YT(i.body,n("body"))]);case"ForInStatement":return vT(["for (",n("left")," in ",n("right"),")",YT(i.body,n("body"))]);case"ForOfStatement":return vT(["for",i.await?" await":""," (",n("left")," of ",n("right"),")",YT(i.body,n("body"))]);case"DoWhileStatement":{const e=YT(i.body,n("body"));return o=[vT(["do",e])],"BlockStatement"===i.body.type?o.push(" "):o.push(bT),o.push("while (",vT([AT([CT,n("test")]),CT]),")",u),o}case"DoExpression":return[i.async?"async ":"","do ",n("body")];case"BreakStatement":return o.push("break"),i.label&&o.push(" ",n("label")),o.push(u),o;case"ContinueStatement":return o.push("continue"),i.label&&o.push(" ",n("label")),o.push(u),o;case"LabeledStatement":return"EmptyStatement"===i.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),i.handler?[" ",n("handler")]:"",i.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(i.param){const e=wT(i.param,(e=>!kT(e)||e.leading&&yT(t.originalText,RT(e))||e.trailing&&yT(t.originalText,MT(e),{backwards:!0}))),r=n("param");return["catch ",e?["(",AT([CT,r]),CT,") "]:["(",r,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[vT(["switch (",AT([CT,n("discriminant")]),CT,")"])," {",i.cases.length>0?AT([bT,DT(bT,e.map(((e,r,i)=>{const u=e.getValue();return[n(),r!==i.length-1&&PT(u,t)?bT:""]}),"cases"))]):"",bT,"}"];case"SwitchCase":{i.test?o.push("case ",n("test"),":"):o.push("default:");const r=i.consequent.filter((e=>"EmptyStatement"!==e.type));if(r.length>0){const i=EB(e,t,n);o.push(1===r.length&&"BlockStatement"===r[0].type?[" ",i]:AT([bT,i]))}return o}case"DebuggerStatement":return["debugger",u];case"ClassDeclaration":case"ClassExpression":return oB(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return sB(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return aB(e,t,n);case"TemplateElement":return FT(i.value.raw);case"TemplateLiteral":return rB(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return o.push("#!",i.value,bT),PT(i,t)&&o.push(bT),o;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{o.push("module {");const e=n("body");return e&&o.push(AT([bT,e]),bT),o.push("}"),o}default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i)return"";const u=e.getValue(),{type:o}=u;if("ClassMethod"===o||"ClassPrivateMethod"===o||"ClassProperty"===o||"PropertyDefinition"===o||"TSAbstractClassProperty"===o||"ClassPrivateProperty"===o||"MethodDefinition"===o||"TSAbstractMethodDefinition"===o||"TSDeclareMethod"===o)return i;const s=xB(e,t,n);if(s)return vT([...s,i]);if(!Uy(e,t))return r&&r.needsSemi?[";",i]:i;const a=[r&&r.needsSemi?";(":"(",i];if(ST(u)){const[e]=u.trailingComments;a.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return a.push(")"),a},embed:zg,insertPragma:xT,massageAstNode:Yg,hasPrettierIgnore:e=>jT(e)||UT(e),willPrintOwnComments:Ty.willPrintOwnComments,canAttachComment:function(e){return e.type&&!kT(e)&&!NT(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:AB,isBlockComment:kT,handleComments:{avoidAstMutation:!0,ownLine:Ty.handleOwnLineComment,endOfLine:Ty.handleEndOfLineComment,remaining:Ty.handleRemainingComment},getCommentChildNodes:Ty.getCommentChildNodes};const{builders:{hardline:TB,indent:BB,join:kB}}=_i;const NB=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function PB(e,t){const{type:n}=e;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(const[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}PB.ignoredProperties=NB;var OB={preprocess:zy,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),TB];case"ArrayExpression":{if(0===r.elements.length)return"[]";const t=e.map((()=>null===e.getValue()?"null":n()),"elements");return["[",BB([TB,kB([",",TB],t)]),TB,"]"]}case"ObjectExpression":return 0===r.properties.length?"{}":["{",BB([TB,kB([",",TB],e.map(n,"properties"))]),TB,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":{const t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===r?JSON.stringify(r.name):r.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:PB};const IB="Common";var jB={bracketSpacing:{since:"0.0.0",category:IB,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:IB,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:IB,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 LB="JavaScript";var _B={arrowParens:{since:"1.9.0",category:LB,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:jB.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:LB,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:LB,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:jB.singleQuote,jsxSingleQuote:{since:"1.15.0",category:LB,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:LB,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:LB,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)."}]}},MB={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},RB={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},$B={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},VB={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},qB={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},WB={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175};var UB={languages:[Ud(MB,(e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),Ud(MB,(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),Ud(MB,(()=>({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}))),Ud(RB,(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),Ud($B,(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),Ud(VB,(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}))),Ud(VB,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),Ud(qB,(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]}))),Ud(WB,(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],options:_B,printers:{estree:wB,"estree-json":OB},parsers:{get babel(){return require("./parser-babel").parsers.babel},get"babel-flow"(){return require("./parser-babel").parsers["babel-flow"]},get"babel-ts"(){return require("./parser-babel").parsers["babel-ts"]},get json(){return require("./parser-babel").parsers.json},get json5(){return require("./parser-babel").parsers.json5},get"json-stringify"(){return require("./parser-babel").parsers["json-stringify"]},get __js_expression(){return require("./parser-babel").parsers.__js_expression},get __vue_expression(){return require("./parser-babel").parsers.__vue_expression},get __vue_event_binding(){return require("./parser-babel").parsers.__vue_event_binding},get flow(){return require("./parser-flow").parsers.flow},get typescript(){return require("./parser-typescript").parsers.typescript},get __ng_action(){return require("./parser-angular").parsers.__ng_action},get __ng_binding(){return require("./parser-angular").parsers.__ng_binding},get __ng_interpolation(){return require("./parser-angular").parsers.__ng_interpolation},get __ng_directive(){return require("./parser-angular").parsers.__ng_directive},get espree(){return require("./parser-espree").parsers.espree},get meriyah(){return require("./parser-meriyah").parsers.meriyah},get __babel_estree(){return require("./parser-babel").parsers.__babel_estree}}};const{isFrontMatterNode:zB}=ti,HB=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function GB(e,t,n){if(zB(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||zB(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&Be(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,n)=>{const r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}GB.ignoredProperties=HB;var JB=GB;const{builders:{hardline:XB,markAsRoot:YB}}=_i;var KB=function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return YB([e.startDelimiter,XB,r,r?XB:"",e.endDelimiter])}};const{builders:{hardline:QB}}=_i;var ZB=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=KB(r,n);return e?[e,QB]:""}};const ek=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var tk=function(e){const t=e.match(ek);if(!t)return{content:e};const{startDelimiter:n,language:r,value:i="",endDelimiter:u}=t.groups;let o=r.trim()||"yaml";if("+++"===n&&(o="toml"),"yaml"!==o&&n!==u)return{content:e};const[s]=t;return{frontMatter:{type:"front-matter",lang:o,value:i,startDelimiter:n,endDelimiter:u,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)}};var nk={hasPragma:function(e){return xm.hasPragma(tk(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=tk(e);return(t?t.raw+"\n\n":"")+xm.insertPragma(n)}};const{isNonEmptyArray:rk}=ti,ik=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 uk(e,t){const n=Array.isArray(t)?t:[t];let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function ok(e,t){const n=uk(e,t);return-1===n?null:e.getParentNode(n)}function sk(e){return"value-operator"===e.type&&"*"===e.value}function ak(e){return"value-operator"===e.type&&"/"===e.value}function lk(e){return"value-operator"===e.type&&"+"===e.value}function ck(e){return"value-operator"===e.type&&"-"===e.value}function pk(e){return"value-operator"===e.type&&"%"===e.value}function fk(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function dk(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&fk(e.groups[0])}function hk(e){return e&&"value-colon"===e.type}var gk={getAncestorCounter:uk,getAncestorNode:ok,getPropOfDeclNode:function(e){const t=ok(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(rk(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(rk(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=ok(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){const t=ok(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=ok(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){const t=e.getValue(),n=ok(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){const n=ok(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:sk,isDivisionNode:ak,isAdditionNode:lk,isSubtractionNode:ck,isModuloNode:pk,isMathOperatorNode:function(e){return sk(e)||ak(e)||lk(e)||ck(e)||pk(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:fk,isKeyValuePairInParenGroupNode:dk,isKeyInValuePairNode:function(e,t){if(!fk(t))return!1;const{groups:n}=t,r=n.indexOf(e);return-1!==r&&hk(n[r+1])},isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(dk(t)||n&&dk(n)))return!1;const r=ok(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||(!!dk(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:hk,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&ik.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups){return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce(((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":"")),"")+(t.close&&t.close.value?t.close.value:"")}const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},mk=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:yk,skipEverythingButNewLine:Dk}=ti;function Ek(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?mk(e.source.start,t)-1:null}function bk(e,t){if("css-comment"===e.type&&e.inline)return Dk(t,e.source.startOffset);const n=e.nodes&&yk(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?mk(e.source.end,t):null}function Ck(e,t,n){e.source&&(e.source.startOffset=Ek(e,n)+t,e.source.endOffset=bk(e,n)+t);for(const r in e){const i=e[r];"source"!==r&&i&&"object"==typeof i&&Ck(i,t,n)}}function vk(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 Ak={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,n){t.source&&(t.source.startOffset=Ek(t,n),t.source.endOffset=bk(t,n));for(const r in t){const i=t[r];"source"!==r&&i&&"object"==typeof i&&("value-root"===i.type||"value-unknown"===i.type?Ck(i,vk(t),i.text||i.value):e(i,n))}},replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",i=!1;const u=[];for(let o=0;o<e.length;o++){const s=e[o];switch(n){case"initial":if("'"===s){n="single-quotes";continue}if('"'===s){n="double-quotes";continue}if(("u"===s||"U"===s)&&"url("===e.slice(o,o+4).toLowerCase()){n="url",o+=3;continue}if("*"===s&&"/"===e[o-1]){n="comment-block";continue}if("/"===s&&"/"===e[o-1]){n="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===s&&"\\"!==e[o-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"double-quotes":if('"'===s&&"\\"!==e[o-1]&&(n=r,r="initial"),"\n"===s||"\r"===s)return e;continue;case"url":if(")"===s&&(n="initial"),"\n"===s||"\r"===s)return e;if("'"===s){n="single-quotes",r="url";continue}if('"'===s){n="double-quotes",r="url";continue}continue;case"comment-block":"/"===s&&"*"===e[o-1]&&(n="initial");continue;case"comment-inline":'"'!==s&&"'"!==s&&"*"!==s||(i=!0),"\n"!==s&&"\r"!==s||(i&&u.push([t,o]),n="initial",i=!1);continue}}for(const[t,n]of u)e=e.slice(0,t)+e.slice(t,n).replace(/["'*]/g," ")+e.slice(n);return e}};const{printNumber:Fk,printString:xk,hasNewline:Sk,isFrontMatterNode:wk,isNextLineEmpty:Tk,isNonEmptyArray:Bk}=ti,{builders:{join:kk,line:Nk,hardline:Pk,softline:Ok,group:Ik,fill:jk,indent:Lk,dedent:_k,ifBreak:Mk,breakParent:Rk},utils:{removeLines:$k,getDocParts:Vk}}=_i,{insertPragma:qk}=nk,{getAncestorNode:Wk,getPropOfDeclNode:Uk,maybeToLowerCase:zk,insideValueFunctionNode:Hk,insideICSSRuleNode:Gk,insideAtRuleNode:Jk,insideURLFunctionInImportAtRuleNode:Xk,isKeyframeAtRuleKeywords:Yk,isWideKeywords:Kk,isSCSS:Qk,isLastNode:Zk,isLessParser:eN,isSCSSControlDirectiveNode:tN,isDetachedRulesetDeclarationNode:nN,isRelationalOperatorNode:rN,isEqualityOperatorNode:iN,isMultiplicationNode:uN,isDivisionNode:oN,isAdditionNode:sN,isSubtractionNode:aN,isMathOperatorNode:lN,isEachKeywordNode:cN,isForKeywordNode:pN,isURLFunctionNode:fN,isIfElseKeywordNode:dN,hasComposesNode:hN,hasParensAroundNode:gN,hasEmptyRawBefore:mN,isKeyValuePairNode:yN,isKeyInValuePairNode:DN,isDetachedRulesetCallNode:EN,isTemplatePlaceholderNode:bN,isTemplatePropNode:CN,isPostcssSimpleVarNode:vN,isSCSSMapItemNode:AN,isInlineValueCommentNode:FN,isHashNode:xN,isLeftCurlyBraceNode:SN,isRightCurlyBraceNode:wN,isWordNode:TN,isColonNode:BN,isMediaAndSupportsKeywords:kN,isColorAdjusterFuncNode:NN,lastLineHasInlineComment:PN,isAtWordPlaceholderNode:ON}=gk,{locStart:IN,locEnd:jN}=Ak;function LN(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function _N(e,t,n){const r=[];return e.each(((e,i,u)=>{const o=u[i-1];if(o&&"css-comment"===o.type&&"prettier-ignore"===o.text.trim()){const n=e.getValue();r.push(t.originalText.slice(IN(n),jN(n)))}else r.push(n());i!==u.length-1&&("css-comment"===u[i+1].type&&!Sk(t.originalText,IN(u[i+1]),{backwards:!0})&&!wk(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?Nk:Pk),Tk(t.originalText,e.getValue(),jN)&&!wk(u[i])&&r.push(Pk)))}),"nodes"),r}const MN=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,RN=new RegExp(MN.source+"|"+`(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?`+`(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})`+`(${/[A-Za-z]+/g.source})?`,"g");function $N(e,t){return e.replace(MN,(e=>xk(e,t)))}function VN(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function qN(e){return e.replace(RN,((e,t,n,r,i)=>!n&&r?WN(r)+zk(i||""):e))}function WN(e){return Fk(e).replace(/\.0(?=$|e)/,"")}var UN={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,Pk];case"css-root":{const i=_N(e,t,n),u=r.raws.after.trim();return[i,u?` ${u}`:"",Vk(i).length>0?Pk:""]}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(IN(r),jN(r));return e?n.trimEnd():n}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&PN(r.selector.value)?Nk:" ","{",r.nodes.length>0?Lk([Pk,_N(e,t,n)]):"",Pk,"}",nN(r)?";":""]:";"];case"css-decl":{const i=e.getParentNode(),{between:u}=r.raws,o=u.trim(),s=":"===o;let a=hN(r)?$k(n("value")):n("value");return!s&&PN(o)&&(a=Lk([Pk,_k(a)])),[r.raws.before.replace(/[\s;]/g,""),Gk(e)?r.prop:zk(r.prop),o.startsWith("//")?" ":"",o,r.extend?"":" ",eN(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",a,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",Lk([Ok,_N(e,t,n)]),Ok,"}"]:CN(r)&&!i.raws.semicolon&&";"!==t.originalText[jN(r)-1]?"":t.__isHTMLStyleAttribute&&Zk(e,r)?Mk(";"):";"]}case"css-atrule":{const i=e.getParentNode(),u=bN(r)&&!i.raws.semicolon&&";"!==t.originalText[jN(r)-1];if(eN(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",u?"":";"];if(r.function)return[r.name,n("params"),u?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",Lk([r.nodes.length>0?Ok:"",_N(e,t,n)]),Ok,"}"]:"",u?"":";"]}return["@",EN(r)||r.name.endsWith(":")?r.name:zk(r.name),r.params?[EN(r)?"":bN(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[Pk,Pk]:/^\s*\n/.test(r.raws.afterName)?Pk:" ":" ",n("params")]:"",r.selector?Lk([" ",n("selector")]):"",r.value?Ik([" ",n("value"),tN(r)?gN(r)?" ":Nk:""]):"else"===r.name?" ":"",r.nodes?[tN(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&PN(r.selector.value)||!r.selector&&"string"==typeof r.params&&PN(r.params)?Nk:" ","{",Lk([r.nodes.length>0?Ok:"",_N(e,t,n)]),Ok,"}"]:u?"":";"]}case"media-query-list":{const t=[];return e.each((e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),Ik(Lk(kk(Nk,t)))}case"media-query":return[kk(" ",e.map(n,"nodes")),Zk(e,r)?"":","];case"media-type":return qN($N(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return zk($N(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return qN($N(r.value,t));case"media-keyword":return $N(r.value,t);case"media-url":return $N(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":return r.value;case"selector-root":return Ik([Jk(e,"custom-selector")?[Wk(e,"css-atrule").customSelector,Nk]:"",kk([",",Jk(e,["extend","custom-selector","nest"])?Nk:Pk],e.map(n,"nodes"))]);case"selector-selector":return Ik(Lk(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return $N(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===i.type?r.value:qN(Yk(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",qN($N(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?VN($N(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===r?"":Nk,r.value,Zk(e,r)?"":" "]}return[r.value.trim().startsWith("(")?Nk:"",qN($N(r.value.trim(),t))||Nk];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[zk(r.value),Bk(r.nodes)?["(",kk(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{const n=Wk(e,"css-rule");if(n&&n.isSCSSNesterProperty)return qN($N(zk(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=IN(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const u=e.getParentNode(1);if("value-paren_group"===i.type&&u&&"value-func"===u.type&&"selector"===u.value){const e=IN(i.open)+1,n=jN(i.close)-1,r=t.originalText.slice(e,n).trim();return PN(r)?[Rk,r]:r}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(IN(r),jN(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),u=Uk(e),o=u&&"value-value"===t.type&&("grid"===u||u.startsWith("grid-template")),s=Wk(e,"css-atrule"),a=s&&tN(s),l=r.groups.some((e=>FN(e))),c=e.map(n,"groups"),p=[],f=Hk(e,"url");let d=!1,h=!1;for(let n=0;n<r.groups.length;++n){p.push(c[n]);const u=r.groups[n-1],l=r.groups[n],g=r.groups[n+1],m=r.groups[n+2];if(f){(g&&sN(g)||sN(l))&&p.push(" ");continue}if(!g)continue;if("value-word"===l.type&&l.value.endsWith("-")&&ON(g))continue;const y="value-string"===l.type&&l.value.startsWith("#{"),D=d&&"value-string"===g.type&&g.value.endsWith("}");if(y||D){d=!d;continue}if(d)continue;if(BN(l)||BN(g))continue;if("value-atword"===l.type&&""===l.value)continue;if("~"===l.value)continue;if(l.value&&l.value.includes("\\")&&g&&"value-comment"!==g.type)continue;if(u&&u.value&&u.value.indexOf("\\")===u.value.length-1&&"value-operator"===l.type&&"/"===l.value)continue;if("\\"===l.value)continue;if(vN(l,g))continue;if(xN(l)||SN(l)||wN(g)||SN(g)&&mN(g)||wN(l)&&mN(g))continue;if("--"===l.value&&xN(g))continue;const E=lN(l),b=lN(g);if((E&&xN(g)||b&&wN(l))&&mN(g))continue;if(!u&&oN(l))continue;if(Hk(e,"calc")&&(sN(l)||sN(g)||aN(l)||aN(g))&&mN(g))continue;const C=(sN(l)||aN(l))&&0===n&&("value-number"===g.type||g.isHex)&&i&&NN(i)&&!mN(g),v=m&&"value-func"===m.type||m&&TN(m)||"value-func"===l.type||TN(l),A="value-func"===g.type||TN(g)||u&&"value-func"===u.type||u&&TN(u);if(uN(g)||uN(l)||Hk(e,"calc")||C||!(oN(g)&&!v||oN(l)&&!A||sN(g)&&!v||sN(l)&&!A||aN(g)||aN(l))||!(mN(g)||E&&(!u||u&&lN(u))))if(FN(l)){if("value-paren_group"===t.type){p.push(_k(Pk));continue}p.push(Pk)}else a&&(iN(g)||rN(g)||dN(g)||cN(l)||pN(l))||s&&"namespace"===s.name.toLowerCase()?p.push(" "):o?l.source&&g.source&&l.source.start.line!==g.source.start.line?(p.push(Pk),h=!0):p.push(" "):b?p.push(" "):g&&"..."===g.value||ON(l)&&ON(g)&&jN(l)===IN(g)||p.push(Nk)}return l&&p.push(Rk),h&&p.unshift(Pk),a?Ik(Lk(p)):Xk(e)?Ik(jk(p)):Ik(Lk(jk(p)))}case"value-paren_group":{const i=e.getParentNode();if(i&&fN(i)&&(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"):"",kk(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",Nk]),r.push(t[e]);return Ik(Lk(jk(r)))}const u=AN(e),o=Be(r.groups),s=o&&"value-comment"===o.type,a=DN(r,i),l=Ik([r.open?n("open"):"",Lk([Ok,kk([",",Nk],e.map((e=>{const t=e.getValue(),r=n();if(yN(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){const e=Vk(r.contents.contents);return e[1]=Ik(e[1]),Ik(_k(r))}return r}),"groups"))]),Mk(!s&&Qk(t.parser,t.originalText)&&u&&LN(t)?",":""),Ok,r.close?n("close"):""],{shouldBreak:u&&!a});return a?_k(l):l}case"value-func":return[r.value,Jk(e,"supports")&&kN(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[WN(r.value),zk(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Kk(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return[r.value,i&&"string"==typeof i.value&&"\\"===Be(i.value)||Hk(e,"url")?"":Nk]}case"value-comma":return[r.value," "];case"value-string":return xk(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 ${JSON.stringify(r.type)}`)}},embed:ZB,insertPragma:qk,massageAstNode:JB},zN={singleQuote:jB.singleQuote},HN={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},GN={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},JN={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329};var XN={languages:[Ud({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"]}))),Ud(HN,(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),Ud(GN,(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),Ud(JN,(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],options:zN,printers:{postcss:UN},parsers:{get css(){return require("./parser-postcss").parsers.css},get less(){return require("./parser-postcss").parsers.less},get scss(){return require("./parser-postcss").parsers.scss}}};var YN={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function KN(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}KN.ignoredProperties=new Set(["loc","selfClosing"]);var QN=KN;const ZN=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 eP(e){return tP(e,["TextNode"])&&!/\S/.test(e.chars)}function tP(e,t){return e&&t.includes(e.type)}function nP(e,t){return tP(e.getParentNode(0),t)}function rP(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],u=i.indexOf(n);return-1!==u&&i[u+t]}function iP(e,t=1){return rP(e,-t)}function uP(e){return rP(e,1)}function oP(e){return tP(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var sP={getNextNode:uP,getPreviousNode:iP,hasPrettierIgnore:function(e){const t=e.getValue(),n=iP(e,2);return oP(t)||oP(n)},isLastNodeOfSiblings:function(e){const t=e.getValue(),n=e.getParentNode(0);return!(!nP(e,["ElementNode"])||Be(n.children)!==t)||!(!nP(e,["Block"])||Be(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return tP(uP(e),t)},isNodeOfSomeType:tP,isParentOfSomeType:nP,isPreviousNodeOfSomeType:function(e,t){return tP(iP(e),t)},isVoid:function(e){return function(e){return tP(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>eP(e)))||ZN.has(e.tag)},isWhitespaceNode:eP};const{builders:{dedent:aP,fill:lP,group:cP,hardline:pP,ifBreak:fP,indent:dP,join:hP,line:gP,softline:mP,literalline:yP},utils:{getDocParts:DP,replaceEndOfLineWith:EP}}=_i,{isNonEmptyArray:bP}=ti,{locStart:CP,locEnd:vP}=YN,{getNextNode:AP,getPreviousNode:FP,hasPrettierIgnore:xP,isLastNodeOfSiblings:SP,isNextNodeOfSomeType:wP,isNodeOfSomeType:TP,isParentOfSomeType:BP,isPreviousNodeOfSomeType:kP,isVoid:NP,isWhitespaceNode:PP}=sP;function OP(e,t){return CP(e)-CP(t)}function IP(e,t,n){const r=e.getValue().children.every((e=>PP(e)));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map(((e,r)=>{const i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[mP,i]:i}),"children")}function jP(e){return NP(e)?fP([mP,"/>"],[" />",mP]):fP([mP,">"],">")}function LP(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function _P(e){const t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function MP(e){return[LP(e),e.closeStrip.open?"~":"","/"]}function RP(e){const t=_P(e);return[e.closeStrip.close?"~":"",t]}function $P(e){return[LP(e),e.inverseStrip.open?"~":""]}function VP(e){const t=_P(e);return[e.inverseStrip.close?"~":"",t]}function qP(e,t){const n=e.getValue(),r=function(e){return[LP(e),e.openStrip.open?"~":"","#"]}(n),i=function(e){const t=_P(e);return[e.openStrip.close?"~":"",t]}(n),u=[nO(e,t)],o=rO(e,t);if(o&&u.push(gP,o),bP(n.program.blockParams)){const e=iO(n.program);u.push(gP,e)}return cP([r,dP(u),mP,i])}function WP(e,t){return["ignore"===t.htmlWhitespaceSensitivity?pP:"",$P(e),"else",VP(e)]}function UP(e,t){const n=e.getParentNode(1);return[$P(n),"else if ",rO(e,t),VP(n)]}function zP(e,t,n){const r=e.getValue();if("ignore"===n.htmlWhitespaceSensitivity){return[HP(r)?mP:pP,MP(r),t("path"),RP(r)]}return[MP(r),t("path"),RP(r)]}function HP(e){return TP(e,["BlockStatement"])&&e.program.body.every((e=>PP(e)))}function GP(e){return TP(e,["BlockStatement"])&&e.inverse}function JP(e,t,n){if(HP(e.getValue()))return"";const r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?dP([pP,r]):dP(r)}function XP(e,t,n){const r=e.getValue(),i=t("inverse"),u="ignore"===n.htmlWhitespaceSensitivity?[pP,i]:i;return function(e){return GP(e)&&1===e.inverse.body.length&&TP(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?u:GP(r)?[WP(r,n),dP(u)]:""}function YP(e){return DP(hP(gP,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function KP(e){return(e="string"==typeof e?e:"").split("\n").length-1}function QP(e=0){return new Array(Math.min(e,2)).fill(pP)}function ZP(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=e.singleQuote?r:n,u=i===r?n:r;let o=!1;if(t.includes(i.quote)||t.includes(u.quote)){o=(t.match(i.regex)||[]).length>(t.match(u.regex)||[]).length}return o?u:i}function eO(e,t){const n=nO(e,t),r=rO(e,t);return r?dP([n,gP,cP(r)]):n}function tO(e,t){const n=nO(e,t),r=rO(e,t);return r?[dP([n,gP,r]),mP]:n}function nO(e,t){return t("path")}function rO(e,t){const n=e.getValue(),r=[];if(n.params.length>0){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const e=t("hash");r.push(e)}return 0===r.length?"":hP(gP,r)}function iO(e){return["as |",e.blockParams.join(" "),"|"]}var uO={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(xP(e))return t.originalText.slice(CP(r),vP(r));switch(r.type){case"Block":case"Program":case"Template":return cP(e.map(n,"body"));case"ElementNode":{const i=cP(function(e,t){const n=e.getValue(),r=["attributes","modifiers","comments"].filter((e=>bP(n[e]))),i=r.flatMap((e=>n[e])).sort(OP);for(const n of r)e.each((e=>{const n=i.indexOf(e.getValue());i.splice(n,1,[gP,t()])}),n);bP(n.blockParams)&&i.push(gP,iO(n));return["<",n.tag,dP(i),jP(n)]}(e,n)),u="ignore"===t.htmlWhitespaceSensitivity&&wP(e,["ElementNode"])?mP:"";if(NP(r))return[i,u];const o=["</",r.tag,">"];return 0===r.children.length?[i,dP(o),u]:"ignore"===t.htmlWhitespaceSensitivity?[i,dP(IP(e,t,n)),pP,dP(o),u]:[i,dP(cP(IP(e,t,n))),dP(o),u]}case"BlockStatement":{const i=e.getParentNode(1);return i&&i.inverse&&1===i.inverse.body.length&&i.inverse.body[0]===r&&"if"===i.inverse.body[0].path.parts[0]?[UP(e,n),JP(e,n,t),XP(e,n,t)]:[qP(e,n),cP([JP(e,n,t),XP(e,n,t),zP(e,n,t)])]}case"ElementModifierStatement":return cP(["{{",tO(e,n),"}}"]);case"MustacheStatement":return cP([LP(r),tO(e,n),_P(r)]);case"SubExpression":return cP(["(",eO(e,n),mP,")"]);case"AttrNode":{const e="TextNode"===r.value.type;if(e&&""===r.value.chars&&CP(r.value)===vP(r.value))return r.name;const i=e?ZP(t,r.value.chars).quote:"ConcatStatement"===r.value.type?ZP(t,r.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join("")).quote:"",u=n("value");return[r.name,"=",i,"class"===r.name&&i?cP(dP(u)):u,i]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return hP(gP,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let n=r.chars.replace(/{{/g,"\\{{");const i=function(e){for(let t=0;t<2;t++){const n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(i){if("class"===i){const t=n.trim().split(/\s+/).join(" ");let r=!1,i=!1;return BP(e,["ConcatStatement"])&&(kP(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),wP(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(i=!0)),[r?gP:"",t,i?gP:""]}return EP(n,yP)}const u=/^[\t\n\f\r ]*$/.test(n),o=!FP(e),s=!AP(e);if("ignore"!==t.htmlWhitespaceSensitivity){const t=/^[\t\n\f\r ]*/,r=/[\t\n\f\r ]*$/,i=s&&BP(e,["Template"]),a=o&&BP(e,["Template"]);if(u){if(a||i)return"";let t=[gP];const r=KP(n);return r&&(t=QP(r)),SP(e)&&(t=t.map((e=>aP(e)))),t}const[l]=n.match(t),[c]=n.match(r);let p=[];if(l){p=[gP];const e=KP(l);e&&(p=QP(e)),n=n.replace(t,"")}let f=[];if(c){if(!i){f=[gP];const t=KP(c);t&&(f=QP(t)),SP(e)&&(f=f.map((e=>aP(e))))}n=n.replace(r,"")}return[...p,lP(YP(n)),...f]}const a=KP(n);let l=function(e){return KP(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(n),c=function(e){return KP(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(n);if((o||s)&&u&&BP(e,["Block","ElementNode","Template"]))return"";u&&a?(l=Math.min(a,2),c=0):(wP(e,["BlockStatement","ElementNode"])&&(c=Math.max(c,1)),kP(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)));let p="",f="";return 0===c&&wP(e,["MustacheStatement"])&&(f=" "),0===l&&kP(e,["MustacheStatement"])&&(p=" "),o&&(l=0,p=""),s&&(c=0,f=""),n=n.replace(/^[\t\n\f\r ]+/g,p).replace(/[\t\n\f\r ]+$/,f),[...QP(l),lP(YP(n)),...QP(c)]}case"MustacheCommentStatement":{const e=CP(r),n=vP(r),i="~"===t.originalText.charAt(e+2),u="~"===t.originalText.charAt(n-3),o=r.value.includes("}}")?"--":"";return["{{",i?"~":"","!",o,r.value,o,u?"~":"","}}"]}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){const{quote:n,regex:r}=ZP(t,e);return[n,e.replace(r,`\\${n}`),n]}(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:QN};var oO={languages:[Ud({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:uO},parsers:{get glimmer(){return require("./parser-glimmer").parsers.glimmer}}};var sO={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};var aO={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{join:lO,hardline:cO,line:pO,softline:fO,group:dO,indent:hO,ifBreak:gO}}=_i,{isNextLineEmpty:mO,isNonEmptyArray:yO}=ti,{insertPragma:DO}=sO,{locStart:EO,locEnd:bO}=aO;function CO(e,t,n){if(0===n.directives.length)return"";const r=lO(pO,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?dO([pO,r]):[" ",dO(hO([fO,r]))]}function vO(e,t,n){const r=e.getValue().length;return e.map(((e,i)=>{const u=n();return mO(t.originalText,e.getValue(),bO)&&i<r-1?[u,cO]:u}))}function AO(e,t,n){const r=e.getNode(),i=[],{interfaces:u}=r,o=e.map((e=>n(e)),"interfaces");for(let e=0;e<u.length;e++){const n=u[e];i.push(o[e]);const r=u[e+1];if(r){const e=t.originalText.slice(n.loc.end,r.loc.start),u=e.includes("#"),o=e.replace(/#.*/g,"").trim();i.push(","===o?",":" &",u?pO:" ")}}return i}function FO(){}FO.ignoredProperties=new Set(["loc","comments"]);var xO={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":{const r=[];return e.each(((e,i,u)=>{r.push(n()),i!==u.length-1&&(r.push(cO),mO(t.originalText,e.getValue(),bO)&&r.push(cO))}),"definitions"),[...r,cO]}case"OperationDefinition":{const i="{"!==t.originalText[EO(r)],u=Boolean(r.name);return[i?r.operation:"",i&&u?[" ",n("name")]:"",i&&!u&&yO(r.variableDefinitions)?" ":"",yO(r.variableDefinitions)?dO(["(",hO([fO,lO([gO("",", "),fO],e.map(n,"variableDefinitions"))]),fO,")"]):"",CO(e,n,r),r.selectionSet&&(i||u)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),yO(r.variableDefinitions)?dO(["(",hO([fO,lO([gO("",", "),fO],e.map(n,"variableDefinitions"))]),fO,")"]):""," on ",n("typeCondition"),CO(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"selections"))]),cO,"}"];case"Field":return dO([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?dO(["(",hO([fO,lO([gO("",", "),fO],e.call((e=>vO(e,t,n)),"arguments"))]),fO,")"]):"",CO(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',cO,lO(cO,r.value.replace(/"""/g,"\\$&").split("\n")),cO,'"""']:['"',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 dO(["[",hO([fO,lO([gO("",", "),fO],e.map(n,"values"))]),fO,"]"]);case"ObjectValue":return dO(["{",t.bracketSpacing&&r.fields.length>0?" ":"",hO([fO,lO([gO("",", "),fO],e.map(n,"fields"))]),fO,gO("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?dO(["(",hO([fO,lO([gO("",", "),fO],e.call((e=>vO(e,t,n)),"arguments"))]),fO,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",CO(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?cO:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...AO(e,t,n)]:"",CO(e,n,r),r.fields.length>0?[" {",hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"fields"))]),cO,"}"]:""];case"FieldDefinition":return[n("description"),r.description?cO:"",n("name"),r.arguments.length>0?dO(["(",hO([fO,lO([gO("",", "),fO],e.call((e=>vO(e,t,n)),"arguments"))]),fO,")"]):"",": ",n("type"),CO(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?cO:"","directive ","@",n("name"),r.arguments.length>0?dO(["(",hO([fO,lO([gO("",", "),fO],e.call((e=>vO(e,t,n)),"arguments"))]),fO,")"]):"",r.repeatable?" repeatable":""," on ",lO(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?cO:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),CO(e,n,r),r.values.length>0?[" {",hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"values"))]),cO,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?cO:"",n("name"),CO(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?cO:pO:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",CO(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?cO:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),CO(e,n,r),r.fields.length>0?[" {",hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"fields"))]),cO,"}"]:""];case"SchemaDefinition":return["schema",CO(e,n,r)," {",r.operationTypes.length>0?hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"operationTypes"))]):"",cO,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?cO:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...AO(e,t,n)]:"",CO(e,n,r),r.fields.length>0?[" {",hO([cO,lO(cO,e.call((e=>vO(e,t,n)),"fields"))]),cO,"}"]:""];case"FragmentSpread":return["...",n("name"),CO(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",CO(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return dO([n("description"),r.description?cO:"",dO(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),CO(e,n,r),r.types.length>0?[" =",gO(""," "),hO([gO([pO," "]),lO([pO,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?cO:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),CO(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:FO,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:DO,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}},SO={bracketSpacing:jB.bracketSpacing};var wO={languages:[Ud({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:SO,printers:{graphql:xO},parsers:{get graphql(){return require("./parser-graphql").parsers.graphql}}};var TO={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:BO}=ti,{locStart:kO,locEnd:NO}=TO,{cjkPattern:PO,kPattern:OO,punctuationPattern:IO}={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]"},jO=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],LO=[...jO,"tableCell","paragraph","heading"],_O=new RegExp(OO),MO=new RegExp(IO);function RO(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var $O={mapAst:function(e,t){return function e(n,r,i){const u=Object.assign({},t(n,r,i));return u.children&&(u.children=u.children.map(((t,n)=>e(t,n,[u,...i])))),u}(e,null,[])},splitText:function(e,t){const n="non-cjk",r="cj-letter",i="cjk-punctuation",u=[],o=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${PO})\n(${PO})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(const[e,t]of o.entries()){if(e%2==1){u.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===o.length-1)&&""===t)continue;const a=t.split(new RegExp(`(${PO})`));for(const[e,t]of a.entries())(0!==e&&e!==a.length-1||""!==t)&&(e%2!=0?s(MO.test(t)?{type:"word",value:t,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:_O.test(t)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==t&&s({type:"word",value:t,kind:n,hasLeadingPunctuation:MO.test(t[0]),hasTrailingPunctuation:MO.test(BO(t))}))}return u;function s(e){const t=BO(u);var o,s;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?u.push({type:"whitespace",value:" "}):(o=n,s=i,t.kind===o&&e.kind===s||t.kind===s&&e.kind===o||[t.value,e.value].some((e=>/\u3000/.test(e)))||u.push({type:"whitespace",value:""}))),u.push(e)}},punctuationPattern:IO,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:RO,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(RO(e.children[0],t.originalText).numberText),r=Number(RO(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(RO(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:jO,INLINE_NODE_WRAPPER_TYPES:LO,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&kO(e)===kO(t)&&NO(e)===NO(t)}};const{inferParserByLanguage:VO,getMaxContinuousCount:qO}=ti,{builders:{hardline:WO,markAsRoot:UO},utils:{replaceNewlinesWithLiterallines:zO}}=_i,{getFencedCodeBlockValue:HO}=$O;var GO=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=VO(i.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",u=t.repeat(Math.max(3,qO(i.value,t)+1)),o=n(HO(i,r.originalText),{parser:e},{stripTrailingHardline:!0});return UO([u,i.lang,i.meta?" "+i.meta:"",WO,zO(o),WO,u])}}switch(i.type){case"front-matter":return KB(i,n);case"importExport":return[n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),WO];case"jsx":return n(`<$>${i.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const JO=["format","prettier"];function XO(e){const t=`@(${JO.join("|")})`,n=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),r=e.match(n);return r&&0===r.index}var YO={startWithPragma:XO,hasPragma:e=>XO(tk(e).content.trimStart()),insertPragma:e=>{const t=tk(e),n=`\x3c!-- @${JO[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${n}\n\n${t.content}`:`${n}\n\n${t.content}`}};const{getOrderedListItemInfo:KO,mapAst:QO,splitText:ZO}=$O,eI=/^.$/us;function tI(e,t,n){return QO(e,(e=>{if(!e.children)return e;const r=e.children.reduce(((e,r)=>{const i=Be(e);return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e}),[]);return Object.assign(Object.assign({},e),{},{children:r})}))}var nI=function(e,t){return e=function(e){return tI(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return QO(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return QO(e,((e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:ZO(i,t)}}))}(e=function(e,t){return QO(e,((e,t,n)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<n.length;t++){const r=n[t];if("list"===r.type&&!r.isAligned)return e.isAligned=!1,e}e.isAligned=r(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function r(e){if(!e.ordered)return!0;const[r,i]=e.children;if(KO(r,t.originalText).leadingSpaces.length>1)return!0;const u=n(r);if(-1===u)return!1;if(1===e.children.length)return u%t.tabWidth==0;if(u!==n(i))return!1;if(u%t.tabWidth==0)return!0;return KO(i,t.originalText).leadingSpaces.length>1}}(e=function(e,t){return QO(e,((e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e<r.length;e++){const t=r[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return QO(e,(e=>"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return tI(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e,t){return QO(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&eI.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t))),t),t),t)))};const{isFrontMatterNode:rI}=ti,{startWithPragma:iI}=YO,uI=new Set(["position","raw"]);function oI(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||rI(n.children[0])&&n.children[1]===e)&&"html"===e.type&&iI(e.value)?null:void 0)}oI.ignoredProperties=uI;var sI=oI;const{getLast:aI,getMinNotPresentContinuousCount:lI,getMaxContinuousCount:cI,getStringWidth:pI,isNonEmptyArray:fI}=ti,{builders:{breakParent:dI,join:hI,line:gI,literalline:mI,markAsRoot:yI,hardline:DI,softline:EI,ifBreak:bI,fill:CI,align:vI,indent:AI,group:FI,hardlineWithoutBreakParent:xI},utils:{normalizeDoc:SI,replaceEndOfLineWith:wI},printer:{printDocToString:TI}}=_i,{insertPragma:BI}=YO,{locStart:kI,locEnd:NI}=TO,{getFencedCodeBlockValue:PI,hasGitDiffFriendlyOrderedList:OI,splitText:II,punctuationPattern:jI,INLINE_NODE_TYPES:LI,INLINE_NODE_WRAPPER_TYPES:_I,isAutolink:MI}=$O,RI=new Set(["importExport"]),$I=["heading","tableCell","link","wikiLink"],VI=new Set(["listItem","definition","footnoteDefinition"]);function qI(e,t,n,r){const i=e.getValue(),u=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[u,JI(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return vI(" ".repeat(u.length),n());const o=" ".repeat(function(e,t,n){return e<t?t:e>n?n:e}(t.tabWidth-r.length,0,3));return[o,vI(o,n())]}})]}function WI(e,t){return function(e,t,n){let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,(t=>t.ordered===e.ordered))}function UI(e,t){const n=Array.isArray(t)?t:[t];let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function zI(e,t){const n=UI(e,t);return-1===n?null:e.getParentNode(n)}function HI(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return DI;const r="always"===n.proseWrap&&!zI(e,$I);return""!==t?r?gI:" ":r?EI:""}function GI(e,t,n){const r=[];let i=null;const{children:u}=e.getValue();for(const[e,t]of u.entries())switch(YI(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return JI(e,t,n,{processor:(e,i)=>{if(r.length>0){const e=r[0];if(i===e.start.index)return[u[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),u[e.end.index].value];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return r.shift(),!1}return n()}})}function JI(e,t,n,r={}){const{postprocessor:i}=r,u=r.processor||(()=>n()),o=e.getValue(),s=[];let a;return e.each(((e,n)=>{const r=e.getValue(),i=u(e,n);if(!1!==i){const e={parts:s,prevNode:a,parentNode:o,options:t};(function(e,t){const n=0===t.parts.length,r=LI.includes(e.type),i="html"===e.type&&_I.includes(t.parentNode.type);return!n&&!r&&!i})(r,e)&&(s.push(DI),a&&RI.has(a.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&VI.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,u="next"===YI(t.prevNode),o="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||u||o||s)}(r,e)||KI(r,e))&&s.push(DI),KI(r,e)&&s.push(DI)),s.push(i),a=r}}),"children"),i?i(s):s}function XI(e){let t=e;for(;fI(t.children);)t=aI(t.children);return t}function YI(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 KI(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function QI(e,t=[]){const n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ZI(e,t,n=!0){if(!e)return"";if(n)return" "+ZI(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;const r=e.split("'").length-1,i=e.split('"').length-1,u=r>i?'"':i>r||t.singleQuote?"'":'"';return`${u}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${u})`,"g"),"\\$1")}${u}`}var ej={preprocess:nI,print:function(e,t,n){const r=e.getValue();if(function(e){const t=zI(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return II(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((n=>"word"===n.type?n.value:""===n.value?"":HI(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[SI(GI(e,t,n)),RI.has(XI(r).type)?"":DI];case"paragraph":return JI(e,t,n,{postprocessor:CI});case"sentence":return JI(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${jI})(_+)`,`(_+)(${jI}|$)`].join("|"),"g"),((e,t,n,r,i)=>(n?`${t}${n}`:`${r}${i}`).replace(/_/g,"\\_")));const n=(e,t,n)=>"sentence"===e.type&&0===n,i=(e,t,n)=>MI(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,((e,t,n)=>"emphasis"===e.type&&0===n),i))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),u=n.children[i+1],o=u&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(u.value)?"never":t.proseWrap;return HI(e,r.value,{proseWrap:o})}case"emphasis":{let i;if(MI(r.children[0]))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),u=t.children[n-1],o=t.children[n+1];i=u&&"sentence"===u.type&&u.children.length>0&&"word"===aI(u.children).type&&!aI(u.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||zI(e,"emphasis")?"*":"_"}return[i,JI(e,t,n),i]}case"strong":return["**",JI(e,t,n),"**"];case"delete":return["~~",JI(e,t,n),"~~"];case"inlineCode":{const e=lI(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return[t,n,r.value,n,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:";return["<",r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url,">"]}case"[":return["[",JI(e,t,n),"](",QI(r.url,")"),ZI(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",QI(r.url,")"),ZI(r.title,t),")"];case"blockquote":return["> ",vI("> ",JI(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",JI(e,t,n)];case"code":{if(r.isIndented){const e=" ".repeat(4);return vI(e,[e,...wI(r.value,DI)])}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,cI(r.value,e)+1));return[n,r.lang||"",r.meta?" "+r.meta:"",DI,...wI(PI(r,t.originalText),DI),DI,n]}case"html":{const t=e.getParentNode(),n="root"===t.type&&aI(t.children)===r?r.value.trimEnd():r.value,i=/^<!--.*-->$/s.test(n);return wI(n,i?DI:yI(mI))}case"list":{const i=WI(r,e.getParentNode()),u=OI(r,t);return JI(e,t,n,{processor:(e,o)=>{const s=function(){const e=r.ordered?(0===o?r.start:u?1:r.start+o)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[s,qI(e,t,n,s)]:[s,vI(" ".repeat(s.length),qI(e,t,n,s))]}})}case"thematicBreak":{const t=UI(e,"list");if(-1===t)return"---";return WI(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",JI(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":switch(r.referenceType){case"full":return["![",r.alt||"","][",r.identifier,"]"];default:return["![",r.alt,"]","collapsed"===r.referenceType?"[]":""]}case"definition":{const e="always"===t.proseWrap?gI:" ";return FI(["[",r.identifier,"]:",AI([e,QI(r.url),null===r.title?"":[e,ZI(r.title,t,!1)]])])}case"footnote":return["[^",JI(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],u=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",u?JI(e,t,n):FI([vI(" ".repeat(4),JI(e,t,n,{processor:(e,t)=>0===t?FI([EI,n()]):n()})),i&&"footnoteDefinition"===i.type?EI:""])]}case"table":return function(e,t,n){const r=e.getValue(),i=[],u=e.map((e=>e.map(((e,r)=>{const u=TI(n(),t).formatted,o=pI(u);return i[r]=Math.max(i[r]||3,o),{text:u,width:o}}),"children")),"children"),o=a(!1);if("never"!==t.proseWrap)return[dI,o];const s=a(!0);return[dI,FI(bI(s,o))];function a(e){const t=[c(u[0],e),l(e)];return u.length>1&&t.push(hI(xI,u.slice(1).map((t=>c(t,e))))),hI(xI,t)}function l(e){return`| ${i.map(((t,n)=>{const i=r.align[n],u="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${u}`})).join(" | ")} |`}function c(e,t){return`| ${e.map((({text:e,width:n},u)=>{if(t)return e;const o=i[u]-n,s=r.align[u];let a=0;"right"===s?a=o:"center"===s&&(a=Math.floor(o/2));const l=o-a;return`${" ".repeat(a)}${e}${" ".repeat(l)}`})).join(" | ")} |`}}(e,t,n);case"tableCell":return JI(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",yI(mI)]:["\\",DI];case"liquidNode":return wI(r.value,DI);case"importExport":return[r.value,DI];case"jsx":return r.value;case"math":return["$$",DI,r.value?[...wI(r.value,DI),DI]:"","$$"];case"inlineMath":return t.originalText.slice(kI(r),NI(r));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(r.type)}`)}},embed:GO,massageAstNode:sI,hasPrettierIgnore:function(e){const t=Number(e.getName());return 0!==t&&"next"===YI(e.getParentNode().children[t-1])},insertPragma:BI},tj={proseWrap:jB.proseWrap,singleQuote:jB.singleQuote},nj={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};var rj={languages:[Ud(nj,(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),Ud(nj,(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],options:tj,printers:{mdast:ej},parsers:{get remark(){return require("./parser-markdown").parsers.remark},get markdown(){return require("./parser-markdown").parsers.remark},get mdx(){return require("./parser-markdown").parsers.mdx}}};const{isFrontMatterNode:ij}=ti,uj=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function oj(e,t){return"text"===e.type||"comment"===e.type||ij(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}oj.ignoredProperties=uj;var sj=oj,aj={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:lj,isFrontMatterNode:cj}=ti,{CSS_DISPLAY_TAGS:pj,CSS_DISPLAY_DEFAULT:fj,CSS_WHITE_SPACE_TAGS:dj,CSS_WHITE_SPACE_DEFAULT:hj}={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"},gj=bj(["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"]),mj=function(e,t){const n=Object.create(null);for(const[r,i]of Object.entries(e))n[r]=t(i,r);return n}(aj,bj),yj=new Set(["\t","\n","\f","\r"," "]),Dj=e=>e.replace(/[\t\n\f\r ]+$/,""),Ej=e=>e.match(/^[\t\n\f\r ]*/)[0];function bj(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function Cj(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||("ieConditionalComment"===e.type&&!e.complete||(!(!Oj(e)||!e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type)))||!(!Rj(e,t)||Aj(e)||"interpolation"===e.type)))}function vj(e){if("attribute"===e.type)return!1;if(!e.parent)return!1;if("number"!=typeof e.index||0===e.index)return!1;return function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function Aj(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Ij(e)&&("script"===e.name||"style"===e.name))}function Fj(e){return jj(e).startsWith("pre")}function xj(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 Sj(e){return kj(e)||"element"===e.type&&"br"===e.fullName||wj(e)}function wj(e){return Tj(e)&&Bj(e)}function Tj(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 Bj(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 kj(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Nj(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 Pj(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Oj(e){return jj(e).startsWith("pre")}function Ij(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function jj(e){return"element"===e.type&&(!e.namespace||Ij(e))&&dj[e.name]||hj}const Lj=new Set(["template","style","script"]);function _j(e,t){return Mj(e,t)&&!Lj.has(e.fullName)}function Mj(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function Rj(e,t){return Mj(e,t)&&(_j(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var $j={HTML_ELEMENT_ATTRIBUTES:mj,HTML_TAGS:gj,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(Dj(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(Dj(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!Aj(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 i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=Number.POSITIVE_INFINITY;for(const n of e.split("\n")){if(0===n.length)continue;if(!yj.has(n[0]))return 0;const e=Ej(n).length;n.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e)){return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")},forceBreakChildren:xj,forceBreakContent:function(e){return xj(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&Tj(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Bj(e.lastChild))},forceNextEmptyLine:function(e){return cj(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){const t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||Ij(e))&&pj[e.name]||fj}},getNodeCssStyleWhiteSpace:jj,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:vj,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&Rj(e,t)?Nj(e)||!("src"in e.attrMap)&&lj(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?Nj(e):"babel"},isVueCustomBlock:_j,isVueNonHtmlBlock:Rj,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(!Mj(n,t))return!1;const r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return!(t=e.cssDisplay,Pj(t)||"inline-block"===t||Aj(e));var t},isIndentationSensitiveNode:Fj,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){if(cj(e))return!1;if(("text"===e.type||"interpolation"===e.type)&&e.prev&&("text"===e.prev.type||"interpolation"===e.prev.type))return!0;if(!e.parent||"none"===e.parent.cssDisplay)return!1;if(Oj(e.parent))return!0;if(!e.prev&&("root"===e.parent.type||Oj(e)&&e.parent||Aj(e.parent)||_j(e.parent,t)||(n=e.parent.cssDisplay,Pj(n)||"inline-block"===n)))return!1;var n;if(e.prev&&!function(e){return!Pj(e)}(e.prev.cssDisplay))return!1;return!0}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:Oj,isScriptLikeTag:Aj,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!cj(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Oj(e.parent)||!(!e.next&&("root"===e.parent.type||Oj(e)&&e.parent||Aj(e.parent)||_j(e.parent,t)||(n=e.parent.cssDisplay,Pj(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!Pj(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return Aj(e)||"interpolation"===e.type||Fj(e)},isUnknownNamespace:Ij,preferHardlineAsLeadingSpaces:function(e){return kj(e)||e.prev&&Sj(e.prev)||wj(e)},preferHardlineAsTrailingSpaces:Sj,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(vj(e)||Cj(e.parent,t))},shouldPreserveContent:Cj,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}},Vj=i((function(e,t){function n(e){return t.$0<=e&&e<=t.$9}
37
+ /**
38
+ * @license
39
+ * Copyright Google Inc. All Rights Reserved.
40
+ *
41
+ * Use of this source code is governed by an MIT-style license that can be
42
+ * found in the LICENSE file at https://angular.io/license
43
+ */
44
+ Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}}));
45
+ /**
46
+ * @license
47
+ * Copyright Google Inc. All Rights Reserved.
48
+ *
49
+ * Use of this source code is governed by an MIT-style license that can be
50
+ * found in the LICENSE file at https://angular.io/license
51
+ */
52
+ class qj{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}var Wj=qj;var Uj=class{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?`.${n.join(".")}`:""}`;let i=this.cache.get(r);return i||(i=new qj(e,t,n),this.cache.set(r,i)),i}},zj=Object.defineProperty({StaticSymbol:Wj,StaticSymbolCache:Uj},"__esModule",{value:!0});
53
+ /**
54
+ * @license
55
+ * Copyright Google Inc. All Rights Reserved.
56
+ *
57
+ * Use of this source code is governed by an MIT-style license that can be
58
+ * found in the LICENSE file at https://angular.io/license
59
+ */
60
+ const Hj=/-+([a-z0-9])/g;var Gj=function(e){return e.replace(Hj,((...e)=>e[1].toUpperCase()))};var Jj=function(e,t){return Yj(e,":",t)};var Xj=function(e,t){return Yj(e,".",t)};function Yj(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function Kj(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===cL}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}var Qj=Kj;var Zj=function(e){return null!=e};var eL=function(e){return void 0===e?null:e};var tL=class{visitArray(e,t){return e.map((e=>Kj(e,this,t)))}visitStringMap(e,t){const n={};return Object.keys(e).forEach((r=>{n[r]=Kj(e[r],this,t)})),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},nL={assertSync:e=>{if(hL(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>hL(e)?e.then(t):t(e),all:e=>e.some(hL)?Promise.all(e):e};var rL=function(e){throw new Error(`Internal Error: ${e}`)};var iL=function(e,t){const n=Error(e);return n[uL]=!0,t&&(n[oL]=t),n};const uL="ngSyntaxError",oL="ngParseErrors";var sL=function(e){return e[uL]};var aL=function(e){return e[oL]||[]};var lL=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const cL=Object.getPrototypeOf({});var pL=function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t};var fL=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`${t.overriddenName}`;if(t.name)return`${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)};var dL=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function hL(e){return!!e&&"function"==typeof e.then}var gL=hL;var mL=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const yL="undefined"!=typeof window&&window,DL="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var EL=void 0!==n&&n||yL||DL,bL=Object.defineProperty({dashCaseToCamelCase:Gj,splitAtColon:Jj,splitAtPeriod:Xj,visitValue:Qj,isDefined:Zj,noUndefined:eL,ValueTransformer:tL,SyncAsync:nL,error:rL,syntaxError:iL,isSyntaxError:sL,getParseErrors:aL,escapeRegExp:lL,utf8Encode:pL,stringify:fL,resolveForwardRef:dL,isPromise:gL,Version:mL,global:EL},"__esModule",{value:!0}),CL=i((function(e,t){
61
+ /**
62
+ * @license
63
+ * Copyright Google Inc. All Rights Reserved.
64
+ *
65
+ * Use of this source code is governed by an MIT-style license that can be
66
+ * found in the LICENSE file at https://angular.io/license
67
+ */
68
+ Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let i=0;function u(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof zj.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=bL.stringify(t);return n.indexOf("(")>=0?(n="anonymous_"+i++,t.__anonymousType=n):n=r(n),n}var o;t.identifierName=u,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof zj.StaticSymbol?t.filePath:`./${bL.stringify(t)}`},t.viewClassName=function(e,t){return`View_${u({reference:e})}_${t}`},t.rendererTypeName=function(e){return`RenderType_${u({reference:e})}`},t.hostViewClassName=function(e){return`HostView_${u({reference:e})}`},t.componentFactoryName=function(e){return`${u({reference:e})}NgFactory`},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(o=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):u(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=a(t),this.styleUrls=a(n)}};t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:i,styleUrls:u,externalStylesheets:o,animations:s,ngContentSelectors:c,interpolation:p,isInline:f,preserveWhitespaces:d}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=a(i),this.styleUrls=a(u),this.externalStylesheets=a(o),this.animations=s?l(s):[],this.ngContentSelectors=c||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class s{static create({isHost:e,type:t,isComponent:r,selector:i,exportAs:u,changeDetection:o,inputs:a,outputs:l,host:c,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:g,entryComponents:m,template:y,componentViewType:D,rendererType:E,componentFactory:b}){const C={},v={},A={};null!=c&&Object.keys(c).forEach((e=>{const t=c[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));const F={};null!=a&&a.forEach((e=>{const t=bL.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));const x={};return null!=l&&l.forEach((e=>{const t=bL.splitAtColon(e,[e,e]);x[t[0]]=t[1]})),new s({isHost:e,type:t,isComponent:!!r,selector:i,exportAs:u,changeDetection:o,inputs:F,outputs:x,hostListeners:C,hostProperties:v,hostAttributes:A,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:g,entryComponents:m,template:y,componentViewType:D,rendererType:E,componentFactory:b})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:u,inputs:o,outputs:s,hostListeners:l,hostProperties:c,hostAttributes:p,providers:f,viewProviders:d,queries:h,guards:g,viewQueries:m,entryComponents:y,template:D,componentViewType:E,rendererType:b,componentFactory:C}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=i,this.changeDetection=u,this.inputs=o,this.outputs=s,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=a(f),this.viewProviders=a(d),this.queries=a(h),this.guards=g,this.viewQueries=a(m),this.entryComponents=a(y),this.template=D,this.componentViewType=E,this.rendererType=b,this.componentFactory=C}toSummary(){return{summaryKind:o.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}t.CompileDirectiveMetadata=s;t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:o.Pipe,type:this.type,name:this.name,pure:this.pure}}};t.CompileShallowModuleMetadata=class{};t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:i,exportedPipes:u,entryComponents:o,bootstrapComponents:s,importedModules:l,exportedModules:c,schemas:p,transitiveModule:f,id:d}){this.type=e||null,this.declaredDirectives=a(n),this.exportedDirectives=a(r),this.declaredPipes=a(i),this.exportedPipes=a(u),this.providers=a(t),this.entryComponents=a(o),this.bootstrapComponents=a(s),this.importedModules=a(l),this.exportedModules=a(c),this.schemas=a(p),this.id=d||null,this.transitiveModule=f||null}toSummary(){const e=this.transitiveModule;return{summaryKind:o.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function a(e){return e||[]}t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function l(e){return e.reduce(((e,t)=>{const n=Array.isArray(t)?l(t):t;return e.concat(n)}),[])}function c(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:i,deps:u,multi:o}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=i||null,this.dependencies=u||null,this.multi=!!o}},t.flatten=l,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof zj.StaticSymbol?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${u(e)}/${u(t.type)}.html`:n.templateUrl,t.type.reference instanceof zj.StaticSymbol?r:c(r)},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g);return c(`css/${t}${n[n.length-1]}.ngstyle.js`)},t.ngModuleJitUrl=function(e){return c(`${u(e.type)}/module.ngfactory.js`)},t.templateJitUrl=function(e,t){return c(`${u(e)}/${u(t.type)}.ngfactory.js`)}})),vL=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});
69
+ /**
70
+ * @license
71
+ * Copyright Google Inc. All Rights Reserved.
72
+ *
73
+ * Use of this source code is governed by an MIT-style license that can be
74
+ * found in the LICENSE file at https://angular.io/license
75
+ */
76
+ class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,u=this.line,o=this.col;for(;i>0&&e<0;){i--,e++;if(t.charCodeAt(i)==Vj.$LF){u--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(Vj.$LF));o=e>0?i-e:i}else o--}for(;i<r&&e>0;){const n=t.charCodeAt(i);i++,e--,n==Vj.$LF?(u++,o=0):o++}return new n(this.file,i,u,o)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,u=0,o=0;for(;u<e&&r>0&&(r--,u++,"\n"!=n[r]||++o!=t););for(u=0,o=0;u<e&&i<n.length-1&&(i++,u++,"\n"!=n[i]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}}t.ParseLocation=n;class r{constructor(e,t){this.content=e,this.url=t}}t.ParseSourceFile=r;class i{constructor(e,t,n=null){this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var u;t.ParseSourceSpan=i,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new i(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(u=t.ParseErrorLevel||(t.ParseErrorLevel={}));t.ParseError=class{constructor(e,t,n=u.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${u[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},t.typeSourceSpan=function(e,t){const u=CL.identifierModuleUrl(t),o=null!=u?`in ${e} ${CL.identifierName(t)} in ${u}`:`in ${e} ${CL.identifierName(t)}`,s=new r("",o);return new i(new n(s,-1,-1,-1),new n(s,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,u){const o=new r("",`in ${e} ${t} in ${u}`);return new i(new n(o,-1,-1,-1),new n(o,-1,-1,-1))}}));const{ParseSourceSpan:AL}=vL,{htmlTrim:FL,getLeadingAndTrailingHtmlWhitespace:xL,hasHtmlWhitespace:SL,canHaveInterpolation:wL,getNodeCssStyleDisplay:TL,isDanglingSpaceSensitiveNode:BL,isIndentationSensitiveNode:kL,isLeadingSpaceSensitiveNode:NL,isTrailingSpaceSensitiveNode:PL,isWhitespaceSensitiveNode:OL}=$j,IL=[function(e){return e.map((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e}))},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const i=e.children[r];if(!n[r+1])if(n[r]){const e=i.prev,n=i.firstChild,r=new AL(e.sourceSpan.start,n.sourceSpan.end),u=new AL(r.start,i.sourceSpan.end);t.push(i.clone({condition:e.condition,sourceSpan:u,startSourceSpan:r,children:i.children.slice(1)}))}else t.push(i)}return e.clone({children:t})}}return e}))},function(e){return function(e,t,n){return e.map((e=>{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i<e.children.length;i++){const u=e.children[i];if("text"!==u.type&&!r[i]){t.push(u);continue}const o="text"===u.type?u:u.clone({type:"text",value:n(u)});if(0===t.length||"text"!==Be(t).type){t.push(o);continue}const s=t.pop();t.push(s.clone({value:s.value+o.value,sourceSpan:new AL(s.sourceSpan.start,o.sourceSpan.end)}))}return e.clone({children:t})}}return e}))}(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))},function(e,t){if("html"===t.parser)return e;const n=/{{(.+?)}}/gs;return e.map((e=>{if(!wL(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,i=null;const u=r.value.split(n);for(let n=0;n<u.length;n++,e=i){const r=u[n];n%2!=0?(i=e.moveBy(r.length+4),t.push({type:"interpolation",sourceSpan:new AL(e,i),children:0===r.length?[]:[{type:"text",value:r,sourceSpan:new AL(e.moveBy(2),i.moveBy(-2))}]})):(i=e.moveBy(r.length),r.length>0&&t.push({type:"text",value:r,sourceSpan:new AL(e,i)}))}}return e.clone({children:t})}))},function(e){return e.map((e=>{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===FL(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});const t=OL(e),n=kL(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:n,children:e.children.flatMap((e=>{if("text"!==e.type||t)return e;const n=[],{leadingWhitespace:r,text:i,trailingWhitespace:u}=xL(e.value);return r&&n.push(jL),i&&n.push({type:"text",value:i,sourceSpan:new AL(e.sourceSpan.start.moveBy(r.length),e.sourceSpan.end.moveBy(-u.length))}),u&&n.push(jL),n})).map(((e,t,n)=>{if(e!==jL)return Object.assign(Object.assign({},e),{},{hasLeadingSpaces:n[t-1]===jL,hasTrailingSpaces:n[t+1]===jL})})).filter(Boolean)})}))},function(e,t){return e.map((e=>Object.assign(e,{cssDisplay:TL(e,t)})))},function(e){return e.map((e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})))},function(e,t){return e.map((e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})))},function(e,t){return e.map((e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:BL(e)}):e.clone({children:e.children.map((e=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:NL(e,t),isTrailingSpaceSensitive:PL(e,t)}))).map(((e,t,n)=>Object.assign(Object.assign({},e),{},{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})))}):e))},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!SL(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map((e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r<e.children.length;r++){const i=e.children[r];if(n[r]){const n=t.pop(),u=e.children[++r],{isTrailingSpaceSensitive:o,hasTrailingSpaces:s}=u;t.push(n.clone({value:n.value+`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+u.value,sourceSpan:new AL(n.sourceSpan.start,u.sourceSpan.end),isTrailingSpaceSensitive:o,hasTrailingSpaces:s}))}else t.push(i)}return e.clone({children:t})}}return e}))}];const jL={type:"whitespace"};var LL=function(e,t){for(const n of IL)e=n(e,t);return e};var _L={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};var ML={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{builders:{group:RL}}=_i;var $L={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:i}=function(e){const t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const u={};u.for=i[3].trim();const o=i[1].trim().replace(r,""),s=o.match(n);s?(u.alias=o.replace(n,""),u.iterator1=s[1].trim(),s[2]&&(u.iterator2=s[2].trim())):u.alias=o;return{left:`${[u.alias,u.iterator1,u.iterator2].filter(Boolean).join(",")}`,operator:i[2],right:u.for}}(e);return[RL(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}},VL=i((function(e){var t,r;t=n,r=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var u,o,s,a,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,g=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,D=[];;){if(i(f),y>=c)return D;u=i(d),o=[],","===u.slice(-1)?(u=u.replace(h,""),b()):E()}function E(){for(i(p),s="",a="in descriptor";;){if(l=e.charAt(y),"in descriptor"===a)if(r(l))s&&(o.push(s),s="",a="after descriptor");else{if(","===l)return y+=1,s&&o.push(s),void b();if("("===l)s+=l,a="in parens";else{if(""===l)return s&&o.push(s),void b();s+=l}}else if("in parens"===a)if(")"===l)s+=l,a="in descriptor";else{if(""===l)return o.push(s),void b();s+=l}else if("after descriptor"===a)if(r(l));else{if(""===l)return void b();a="in descriptor",y-=1}y+=1}}function b(){var t,r,i,s,a,l,c,p,f,d=!1,h={};for(s=0;s<o.length;s++)l=(a=o[s])[a.length-1],c=a.substring(0,a.length-1),p=parseInt(c,10),f=parseFloat(c),g.test(c)&&"w"===l?((t||r)&&(d=!0),0===p?d=!0:t=p):m.test(c)&&"x"===l?((t||r||i)&&(d=!0),f<0?d=!0:r=f):g.test(c)&&"h"===l?((i||r)&&(d=!0),0===p?d=!0:i=p):d=!0;d?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(h.url=u,t&&(h.w=t),r&&(h.d=r),i&&(h.h=i),D.push(h))}}},e.exports?e.exports=r():t.parseSrcset=r()}));const{builders:{group:qL,ifBreak:WL,indent:UL,join:zL,line:HL,softline:GL}}=_i;const JL=[":","__","--","_","-"];function XL(e){const t=e.search(/[^_-]/);if(-1!==t)for(const n of JL){const r=e.indexOf(n,t);if(-1!==r)return e.slice(0,r)}return e}var YL={printImgSrcset:function(e){const t=VL(e,{logger:{error(e){throw new Error(e)}}}),n=t.some((({w:e})=>e)),r=t.some((({h:e})=>e));if(n+r+t.some((({d:e})=>e))>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",u=n?"w":r?"h":"x",o=e=>Math.max(...e),s=t.map((e=>e.url)),a=o(s.map((e=>e.length))),l=t.map((e=>e[i])).map((e=>e?e.toString():"")),c=l.map((e=>{const t=e.indexOf(".");return-1===t?e.length:t})),p=o(c);return zL([",",HL],s.map(((e,t)=>{const n=[e],r=l[t];if(r){const i=a-e.length+1,o=p-c[t],s=" ".repeat(i+o);n.push(WL(s," "),r+u)}return n})))},printClassNames:function(e){const t=e.trim().split(/\s+/),n=[];let r;for(let e=0;e<t.length;e++){const i=XL(t[e]);i!==r&&i!==t[e-1]&&n.push([]),Be(n).push(t[e]),r=i}return[UL([GL,zL(HL,n.map((e=>qL(zL(HL,e)))))]),GL]}};const{builders:{breakParent:KL,dedentToRoot:QL,fill:ZL,group:e_,hardline:t_,ifBreak:n_,indentIfBreak:r_,indent:i_,join:u_,line:o_,literalline:s_,softline:a_},utils:{mapDoc:l_,cleanDoc:c_,getDocParts:p_,isConcat:f_,replaceEndOfLineWith:d_}}=_i,{isNonEmptyArray:h_}=ti,{htmlTrimPreserveIndentation:g_,splitByHtmlWhitespace:m_,countChars:y_,countParents:D_,dedentString:E_,forceBreakChildren:b_,forceBreakContent:C_,forceNextEmptyLine:v_,getLastDescendant:A_,getPrettierIgnoreAttributeCommentData:F_,hasPrettierIgnore:x_,inferScriptParser:S_,isVueCustomBlock:w_,isVueNonHtmlBlock:T_,isVueSlotAttribute:B_,isVueSfcBindingsAttribute:k_,isScriptLikeTag:N_,isTextLikeNode:P_,preferHardlineAsLeadingSpaces:O_,shouldNotPrintClosingTag:I_,shouldPreserveContent:j_,unescapeQuoteEntities:L_,isPreLikeNode:__}=$j,{insertPragma:M_}=_L,{locStart:R_,locEnd:$_}=ML,{printVueFor:V_,printVueBindings:q_,isVueEventBindingExpression:W_}=$L,{printImgSrcset:U_,printClassNames:z_}=YL;function H_(e,t,n){const r=e.getValue();if(b_(r))return[KL,...e.map((e=>{const t=e.getValue(),n=t.prev?o(t.prev,t):"";return[n?[n,v_(t.prev)?t_:""]:"",u(e)]}),"children")];const i=r.children.map((()=>Symbol("")));return e.map(((e,t)=>{const n=e.getValue();if(P_(n)){if(n.prev&&P_(n.prev)){const t=o(n.prev,n);if(t)return v_(n.prev)?[t_,t_,u(e)]:[t,u(e)]}return u(e)}const r=[],s=[],a=[],l=[],c=n.prev?o(n.prev,n):"",p=n.next?o(n,n.next):"";return c&&(v_(n.prev)?r.push(t_,t_):c===t_?r.push(t_):P_(n.prev)?s.push(c):s.push(n_("",a_,{groupId:i[t-1]}))),p&&(v_(n)?P_(n.next)&&l.push(t_,t_):p===t_?P_(n.next)&&l.push(t_):a.push(p)),[...r,e_([...s,e_([u(e),...a],{id:i[t]})]),...l]}),"children");function u(e){const r=e.getValue();return x_(r)?[oM(r,t),...d_(t.originalText.slice(R_(r)+(r.prev&&tM(r.prev)?lM(r).length:0),$_(r)-(r.next&&rM(r.next)?fM(r,t).length:0)),s_),aM(r,t)]:n()}function o(e,t){return P_(e)&&P_(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?O_(t)?t_:o_:"":O_(t)?t_:a_:tM(e)&&(x_(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&rM(t)?"":!t.isLeadingSpaceSensitive||O_(t)||rM(t)&&e.lastChild&&uM(e.lastChild)&&e.lastChild.lastChild&&uM(e.lastChild.lastChild)?t_:t.hasLeadingSpaces?o_:a_}}function G_(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&nM(e.firstChild)&&(n-=cM(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&uM(e.lastChild)?r+=pM(e,t).length:iM(e)&&(r-=fM(e.lastChild,t).length),t.originalText.slice(n,r)}function J_(e,t,n){const r=e.getValue();if(!h_(r.attrs))return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&F_(r.prev.value),u="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,o=e.map((e=>{const r=e.getValue();return u(r)?d_(t.originalText.slice(R_(r),$_(r)),s_):n()}),"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[i_([s?" ":o_,u_(o_,o)])];return r.firstChild&&nM(r.firstChild)||r.isSelfClosing&&iM(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(r.isSelfClosing?o_:a_),a}function X_(e,t,n){const r=e.getValue();return[Y_(r,t),J_(e,t,n),r.isSelfClosing?"":K_(r)]}function Y_(e,t){return e.prev&&tM(e.prev)?"":[oM(e,t),lM(e)]}function K_(e){return e.firstChild&&nM(e.firstChild)?"":cM(e)}function Q_(e,t){return[e.isSelfClosing?"":Z_(e,t),eM(e,t)]}function Z_(e,t){return e.lastChild&&uM(e.lastChild)?"":[sM(e,t),pM(e,t)]}function eM(e,t){return(e.next?rM(e.next):iM(e.parent))?"":[fM(e,t),aM(e,t)]}function tM(e){return e.next&&!P_(e.next)&&P_(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function nM(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function rM(e){return e.prev&&"docType"!==e.prev.type&&!P_(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function iM(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!P_(A_(e.lastChild))&&!__(e)}function uM(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&P_(A_(e))}function oM(e,t){return nM(e)?cM(e.parent):rM(e)?fM(e.prev,t):""}function sM(e,t){return iM(e)?fM(e.lastChild,t):""}function aM(e,t){return uM(e)?pM(e.parent,t):tM(e)?lM(e.next):""}function lM(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function cM(e){switch(pf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function pM(e,t){if(pf(!e.isSelfClosing),I_(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function fM(e,t){if(I_(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 dM(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?d_(t,s_):d_(E_(g_(t)),t_):p_(u_(o_,m_(t)))}var hM={preprocess:LL,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return d_(r.raw,s_);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[e_(H_(e,t,n)),t_];case"element":case"ieConditionalComment":{if(j_(r,t))return[oM(r,t),e_(X_(e,t,n)),...d_(G_(r,t),s_),...Q_(r,t),aM(r,t)];const u=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id");return[e_([e_(X_(e,t,n),{id:o}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?o_:"":[C_(r)?KL:"",(i=[u?n_(a_,"",{groupId:o}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?o_:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?QL(a_):a_,H_(e,t,n)],u?r_(i,{groupId:o}):!N_(r)&&!w_(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?i_(i):i),(r.next?rM(r.next):iM(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":u?n_(a_,"",{groupId:o}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?o_:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*D_(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(r.lastChild.value)?"":a_]]),Q_(r,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[Y_(r),eM(r)];case"interpolation":return[Y_(r,t),...e.map(n,"children"),eM(r,t)];case"text":{if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return[...d_(n,s_),t?t_:""]}const e=c_([oM(r,t),...dM(r),aM(r,t)]);return f_(e)||"fill"===e.type?ZL(p_(e)):e}case"docType":return[e_([Y_(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),eM(r,t)];case"comment":return[oM(r,t),...d_(t.originalText.slice(R_(r),$_(r)),s_),aM(r,t)];case"attribute":{if(null===r.value)return r.rawName;const e=L_(r.value),t=y_(e,"'")<y_(e,'"')?"'":'"';return[r.rawName,"=",t,...d_('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;"),s_),t]}default:throw new Error(`Unexpected node type ${r.type}`)}var i},insertPragma:M_,massageAstNode:sj,embed:function(e,t,n,r){const i=e.getValue();switch(i.type){case"element":if(N_(i)||"interpolation"===i.type)return;if(!i.isSelfClosing&&T_(i,r)){const u=S_(i,r);if(!u)return;const o=G_(i,r);let s=/^\s*$/.test(o),a="";return s||(a=n(g_(o),{parser:u,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=""===a),[oM(i,r),e_(X_(e,r,t)),s?"":t_,a,s?"":t_,Q_(i,r),aM(i,r)]}break;case"text":if(N_(i.parent)){const e=S_(i.parent);if(e){const t="markdown"===e?E_(i.value.replace(/^[^\S\n]*?\n/,"")):i.value,u={parser:e,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===e){let e="script";const{attrMap:t}=i.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),u.__babelSourceType=e}return[KL,oM(i,r),n(t,u,{stripTrailingHardline:!0}),aM(i,r)]}}else if("interpolation"===i.parent.type){const e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===r.parser?e.parser="__vue_expression":e.parser="__js_expression",[i_([o_,n(i.value,e,{stripTrailingHardline:!0})]),i.parent.next&&rM(i.parent.next)?" ":o_]}break;case"attribute":{if(!i.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value];if("lwc"===r.parser){if(/^{.*}$/s.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return[i.rawName,"=",i.value]}const e=function(e,t,n){const r=t=>new RegExp(t.join("|")).test(e.fullName),i=()=>L_(e.value);let u=!1;const o=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(u=!0)},s=e=>e_(e),a=(e,t=!0)=>e_([i_([a_,e]),t?a_:""]),l=e=>u?s(e):a(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:o,__embeddedInHtml:!0},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(U_(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return z_(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return a(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return V_(i(),c);if(B_(e)||k_(e,n))return q_(i(),c);const t=["^:","^v-bind:"],u=["^v-"];if(r(["^@","^v-on:"])){const e=i();return l(c(e,{parser:W_(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(i(),{parser:"__vue_expression"}));if(r(u))return l(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),n=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],o=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(i(),{parser:"__ng_action"}));if(r(u))return l(t(i(),{parser:"__ng_binding"}));if(r(o)){const t=i().trim();return a(ZL(dM(e,t)),!t.includes("@@"))}if(r(n))return l(t(i(),{parser:"__ng_directive"}));const s=/{{(.+?)}}/gs,p=i();if(s.test(p)){const e=[];for(const[n,r]of p.split(s).entries())if(n%2==0)e.push(d_(r,s_));else try{e.push(e_(["{{",i_([o_,t(r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o_,"}}"]))}catch{e.push("{{",d_(r,s_),"}}")}return e_(e)}}return null}(i,((e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),r);if(e)return[i.rawName,'="',e_(l_(e,(e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e))),'"'];break}case"front-matter":return KB(i,n)}}};const gM="HTML";var mM={htmlWhitespaceSensitivity:{since:"1.15.0",category:gM,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:gM,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},yM={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},DM={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391};var EM={languages:[Ud(yM,(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),Ud(yM,(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),Ud(yM,(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),Ud(DM,(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],printers:{html:hM},options:mM,parsers:{get html(){return require("./parser-html").parsers.html},get vue(){return require("./parser-html").parsers.vue},get angular(){return require("./parser-html").parsers.angular},get lwc(){return require("./parser-html").parsers.lwc}}};var bM={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${e}`}};var CM={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};var vM=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))};const{getLast:AM,isNonEmptyArray:FM}=ti;function xM(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function SM(e){return"prettier-ignore"===e.value.trim()}function wM(e){return e&&FM(e.leadingComments)}function TM(e){return e&&FM(e.middleComments)}function BM(e){return e&&e.indicatorComment}function kM(e){return e&&e.trailingComment}function NM(e){return e&&FM(e.endComments)}function PM(e){const t=[];let n;for(const r of e.split(/( +)/))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var OM={getLast:AM,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;i<r;i++){const r=e.stack[i];xM(r)&&t(r)&&n++}return n},isNode:xM,isEmptyNode:function(e){return!FM(e.children)&&!function(e){return wM(e)||TM(e)||BM(e)||kM(e)||NM(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,n,r){return n("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((r=>e(r,n,t)))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;i<r;i++){const e=t[i];if("\n"===e&&n++,1===n&&/\S/.test(e))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}const t=e.stack.length;for(let n=1;n<t;n++){const t=e.stack[n],r=e.stack[n-1];if(Array.isArray(r)&&"number"==typeof t&&t!==r.length-1)return!1}return!0},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){const i=e.position.start.line===e.position.end.line?"":r.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n(.*)$/s)[1],u=null===e.indent?(e=>e?e[1].length:Number.POSITIVE_INFINITY)(i.match(/^( *)\S/m)):e.indent-1+t,o=i.split("\n").map((e=>e.slice(u)));return"preserve"===r.proseWrap||"blockLiteral"===e.type?s(o.map((e=>0===e.length?[]:[e]))):s(o.map((e=>0===e.length?[]:PM(e))).reduce(((e,t,n)=>0!==n&&o[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(AM(e))?[...e.slice(0,-1),[...AM(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(AM(e))?[...e.slice(0,-1),AM(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===r.proseWrap?[e.join(" ")]:e)));function s(t){if("keep"===e.chomping)return 0===AM(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map(((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?r.map((e=>0===e.length?[]:[e])):r.map((e=>0===e.length?[]:PM(e))).reduce(((t,n,i)=>0!==i&&r[i-1].length>0&&n.length>0&&("quoteDouble"!==e||!AM(AM(t)).endsWith("\\"))?[...t.slice(0,-1),[...AM(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return FM(t.children)?e(AM(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return NM(t.head)&&SM(AM(t.head.endComments))}return wM(t)&&SM(AM(t.leadingComments))},hasLeadingComments:wM,hasMiddleComments:TM,hasIndicatorComment:BM,hasTrailingComment:kM,hasEndComments:NM};const{defineShortcut:IM,mapNode:jM}=OM;function LM(e){switch(e.type){case"document":IM(e,"head",(()=>e.children[0])),IM(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":IM(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":IM(e,"key",(()=>e.children[0])),IM(e,"value",(()=>e.children[1]))}return e}var _M=function(e){return jM(e,LM)};const{builders:{softline:MM,align:RM}}=_i,{hasEndComments:$M,isNextLineEmpty:VM,isNode:qM}=OM,WM=new WeakMap;function UM(e){return $M(e)&&!qM(e,["documentHead","documentBody","flowMapping","flowSequence"])}var zM={alignWithSpaces:function(e,t){return RM(" ".repeat(e),t)},shouldPrintEndComments:UM,printNextEmptyLine:function(e,t){const n=e.getValue(),r=e.stack[0];let i;return WM.has(r)?i=WM.get(r):(i=new Set,WM.set(r,i)),i.has(n.position.end.line)||(i.add(n.position.end.line),!VM(n,t)||UM(e.getParentNode()))?"":MM}};const{builders:{ifBreak:HM,line:GM,softline:JM,hardline:XM,join:YM}}=_i,{isEmptyNode:KM,getLast:QM,hasEndComments:ZM}=OM,{printNextEmptyLine:eR,alignWithSpaces:tR}=zM;function nR(e,t,n){const r=e.getValue(),i="flowMapping"===r.type,u=i?"{":"[",o=i?"}":"]";let s=JM;i&&r.children.length>0&&n.bracketSpacing&&(s=GM);const a=QM(r.children),l=a&&"flowMappingItem"===a.type&&KM(a.key)&&KM(a.value);return[u,tR(n.tabWidth,[s,rR(e,t,n),"none"===n.trailingComma?"":HM(","),ZM(r)?[XM,YM(XM,e.map(t,"endComments"))]:""]),l?"":s,o]}function rR(e,t,n){const r=e.getValue();return e.map(((e,i)=>[t(),i===r.children.length-1?"":[",",GM,r.children[i].position.start.line!==r.children[i+1].position.start.line?eR(e,n.originalText):""]]),"children")}var iR={printFlowMapping:nR,printFlowSequence:nR};const{builders:{conditionalGroup:uR,group:oR,hardline:sR,ifBreak:aR,join:lR,line:cR}}=_i,{hasLeadingComments:pR,hasMiddleComments:fR,hasTrailingComment:dR,hasEndComments:hR,isNode:gR,isEmptyNode:mR,isInlineNode:yR}=OM,{alignWithSpaces:DR}=zM;function ER(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var bR=function(e,t,n,r,i){const{key:u,value:o}=e,s=mR(u),a=mR(o);if(s&&a)return": ";const l=r("key"),c=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?l:"mappingItem"!==e.type||!ER(u.content,i)||dR(u.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",DR(2,l)]:[l,c,":"];const p=r("value");if(s)return[": ",DR(2,p)];if(pR(o)||!yR(u.content))return["? ",DR(2,l),sR,lR("",n.map(r,"value","leadingComments").map((e=>[e,sR]))),": ",DR(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(u.content)&&!pR(u.content)&&!fR(u.content)&&!dR(u.content)&&!hR(u)&&!pR(o.content)&&!fR(o.content)&&!hR(o)&&ER(o.content,i))return[l,c,": ",p];const f=Symbol("mappingKey"),d=oR([aR("? "),oR(DR(2,l),{id:f})]),h=[sR,": ",DR(2,p)],g=[c,":"];pR(o.content)||hR(o)&&o.content&&!gR(o.content,["mapping","sequence"])||"mapping"===t.type&&dR(u.content)&&yR(o.content)||gR(o.content,["mapping","sequence"])&&null===o.content.tag&&null===o.content.anchor?g.push(sR):o.content&&g.push(cR),g.push(p);const m=DR(i.tabWidth,g);return!ER(u.content,i)||pR(u.content)||fR(u.content)||hR(u)?uR([[d,aR(h,m,{groupId:f})]]):uR([[l,m]])};const{builders:{dedent:CR,dedentToRoot:vR,fill:AR,hardline:FR,join:xR,line:SR,literalline:wR,markAsRoot:TR},utils:{getDocParts:BR}}=_i,{getAncestorCount:kR,getBlockValueLineContents:NR,hasIndicatorComment:PR,isLastDescendantNode:OR,isNode:IR}=OM,{alignWithSpaces:jR}=zM;var LR=function(e,t,n){const r=e.getValue(),i=kR(e,(e=>IR(e,["sequence","mapping"]))),u=OR(e),o=["blockFolded"===r.type?">":"|"];null!==r.indent&&o.push(r.indent.toString()),"clip"!==r.chomping&&o.push("keep"===r.chomping?"+":"-"),PR(r)&&o.push(" ",t("indicatorComment"));const s=NR(r,{parentIndent:i,isLastDescendant:u,options:n}),a=[];for(const[e,t]of s.entries())0===e&&a.push(FR),a.push(AR(BR(xR(SR,t)))),e!==s.length-1?a.push(0===t.length?FR:TR(wR)):"keep"===r.chomping&&u&&a.push(vR(0===t.length?FR:wR));return null===r.indent?o.push(CR(jR(n.tabWidth,a))):o.push(vR(jR(r.indent-1+i,a))),o};const{builders:{breakParent:_R,fill:MR,group:RR,hardline:$R,join:VR,line:qR,lineSuffix:WR,literalline:UR},utils:{getDocParts:zR,replaceEndOfLineWith:HR}}=_i,{isPreviousLineEmpty:GR}=ti,{insertPragma:JR,isPragma:XR}=bM,{locStart:YR}=CM,{getFlowScalarLineContents:KR,getLastDescendantNode:QR,hasLeadingComments:ZR,hasMiddleComments:e$,hasTrailingComment:t$,hasEndComments:n$,hasPrettierIgnore:r$,isLastDescendantNode:i$,isNode:u$,isInlineNode:o$}=OM,{alignWithSpaces:s$,printNextEmptyLine:a$,shouldPrintEndComments:l$}=zM,{printFlowMapping:c$,printFlowSequence:p$}=iR;function f$(e,t){return t$(e)||t&&(t.head.children.length>0||n$(t.head))}function d$(e,t,n){const r=KR(e,t,n);return VR($R,r.map((e=>MR(zR(VR(qR,e))))))}var h$={preprocess:_M,embed:vM,print:function(e,t,n){const r=e.getValue(),i=[];"mappingValue"!==r.type&&ZR(r)&&i.push([VR($R,e.map(n,"leadingComments")),$R]);const{tag:u,anchor:o}=r;u&&i.push(n("tag")),u&&o&&i.push(" "),o&&i.push(n("anchor"));let s="";u$(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!i$(e)&&(s=a$(e,t.originalText)),(u||o)&&(u$(r,["sequence","mapping"])&&!e$(r)?i.push($R):i.push(" ")),e$(r)&&i.push([1===r.middleComments.length?"":$R,VR($R,e.map(n,"middleComments")),$R]);const a=e.getParentNode();return r$(e)?i.push(HR(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),UR)):i.push(RR(function(e,t,n,r,i){switch(e.type){case"root":{const{children:t}=e,r=[];n.each(((e,n)=>{const u=t[n],o=t[n+1];0!==n&&r.push($R),r.push(i()),f$(u,o)?(r.push($R,"..."),t$(u)&&r.push(" ",i("trailingComment"))):o&&!t$(o.head)&&r.push($R,"---")}),"children");const u=QR(e);return u$(u,["blockLiteral","blockFolded"])&&"keep"===u.chomping||r.push($R),r}case"document":{const u=[];return"head"===function(e,t,n,r){if(n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(YR(e),YR(e)+4))||e.head.children.length>0||n$(e.head)||t$(e.head))return"head";if(f$(e,t))return!1;return!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&u.push(i("head")),t$(e.head)?u.push(["---"," ",i(["head","trailingComment"])]):u.push("---")),function(e){return e.body.children.length>0||n$(e.body)}(e)&&u.push(i("body")),VR($R,u)}case"documentHead":return VR($R,[...n.map(i,"children"),...n.map(i,"endComments")]);case"documentBody":{const{children:t,endComments:r}=e;let u="";if(t.length>0&&r.length>0){const t=QR(e);u$(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(u=[$R,$R]):u=$R}return[VR($R,n.map(i,"children")),u,VR($R,n.map(i,"endComments"))]}case"directive":return["%",VR(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return d$(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const u="quoteDouble"===e.type?n:t;return[u,d$(e.type,i,r),u]}if(i.includes(n))return[t,d$(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t];if(i.includes(t))return[n,d$(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n];const u=r.singleQuote?t:n;return[u,d$(e.type,i,r),u]}case"blockFolded":case"blockLiteral":return LR(n,i,r);case"mapping":case"sequence":return VR($R,n.map(i,"children"));case"sequenceItem":return["- ",s$(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return bR(e,t,n,i,r);case"flowMapping":return c$(n,i,r);case"flowSequence":return p$(n,i,r);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(r,a,e,t,n))),t$(r)&&!u$(r,["document","documentHead"])&&i.push(WR(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&o$(r)?"":_R,n("trailingComment")])),l$(r)&&i.push(s$("sequenceItem"===r.type?2:0,[$R,VR($R,e.map((e=>[GR(t.originalText,e.getValue(),YR)?$R:"",n()]),"endComments"))])),i.push(s),i},massageAstNode:function(e,t){if(u$(t))switch(delete t.position,t.type){case"comment":if(XR(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:JR},g$={bracketSpacing:jB.bracketSpacing,singleQuote:jB.singleQuote,proseWrap:jB.proseWrap};var m$=[UB,XN,oO,wO,rj,EM,{languages:[Ud({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc"]})))],printers:{yaml:h$},options:g$,parsers:{get yaml(){return require("./parser-yaml").parsers.yaml}}}];const y$=["parsers"],{version:D$}=t,{getSupportInfo:E$}=Lr,b$=m$.map((t=>e(t,y$)));function C$(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign(Object.assign({},r),{},{plugins:[...b$,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const v$=C$(Dd.formatWithCursor);return{formatWithCursor:v$,format:(e,t)=>v$(e,t).formatted,check(e,t){const{formatted:n}=v$(e,t);return n===e},doc:_i,getSupportInfo:C$(E$,0),version:D$,util:qd,__debug:{parse:C$(Dd.parse),formatAST:C$(Dd.formatAST),formatDoc:C$(Dd.formatDoc),printToDoc:C$(Dd.printToDoc),printDocToString:C$(Dd.printDocToString)}}}));