├── .prettierignore ├── dist ├── package.json ├── 458.index.js ├── 653.index.js ├── 692.index.js └── 331.index.js ├── .prettierrc.json ├── .vscode ├── extensions.json └── settings.json ├── .gitignore ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── action.yml ├── package.json ├── index.js ├── LICENSE ├── README.md ├── yarn.lock └── CODE_OF_CONDUCT.md /.prettierignore: -------------------------------------------------------------------------------- 1 | # Output 2 | dist/ 3 | -------------------------------------------------------------------------------- /dist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "proseWrap": "always" 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Node.js 2 | /node_modules/ 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | 7 | # Misc 8 | .DS_Store 9 | .AppleDouble 10 | .LSOverride 11 | logs 12 | *.log 13 | -------------------------------------------------------------------------------- /dist/458.index.js: -------------------------------------------------------------------------------- 1 | export const id = 458; 2 | export const ids = [458]; 3 | export const modules = { 4 | 5 | /***/ 3458: 6 | /***/ ((module) => { 7 | 8 | module.exports = eval("require")("benchmark"); 9 | 10 | 11 | /***/ }) 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: npm 4 | directory: / 5 | schedule: 6 | interval: weekly 7 | - package-ecosystem: github-actions 8 | directory: / 9 | schedule: 10 | interval: weekly 11 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: actionsx/prettier 2 | description: 🔨 Native, blazingly-fast Prettier CLI on Github Actions 3 | branding: 4 | icon: align-justify 5 | color: red 6 | inputs: 7 | args: 8 | description: Prettier CLI arguments 9 | required: true 10 | runs: 11 | using: node16 12 | main: dist/index.js 13 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | // Code style 3 | "files.trimTrailingWhitespace": true, 4 | "files.trimFinalNewlines": true, 5 | "files.insertFinalNewline": true, 6 | "editor.defaultFormatter": "esbenp.prettier-vscode", 7 | "editor.formatOnSave": true, 8 | 9 | // Misc 10 | "files.exclude": { 11 | "node_modules/": true, 12 | "yarn.lock": true, 13 | "dist/": true 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@actionsx/prettier", 3 | "version": "0.0.0", 4 | "type": "module", 5 | "scripts": { 6 | "build": "ncc build index.js", 7 | "check": "prettier --check .", 8 | "format": "prettier --write ." 9 | }, 10 | "dependencies": { 11 | "@actions/core": "^1.10.0", 12 | "prettier": "^3.0.0", 13 | "shell-quote": "^1.7.3" 14 | }, 15 | "devDependencies": { 16 | "@vercel/ncc": "^0.36.1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core"; 2 | import { parse } from "shell-quote"; 3 | // bin/prettier can't be used, because ncc can't resolve dependencies 4 | import { run as runPrettier } from "prettier/internal/cli.mjs"; 5 | 6 | function run() { 7 | const args = core.getInput("args"); 8 | if (typeof args !== "string") { 9 | throw new Error("args must be a string."); 10 | } 11 | 12 | runPrettier(parse(args)); 13 | } 14 | 15 | try { 16 | run(); 17 | } catch (err) { 18 | core.setFailed(err.message); 19 | } 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020-2021 Minh-Phuc Tran 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: [master] 8 | 9 | env: 10 | NODE_VERSION: 16 11 | 12 | jobs: 13 | test: 14 | name: Test 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: Checkout 18 | uses: actions/checkout@v3 19 | - name: prettier --version 20 | uses: ./ 21 | with: 22 | args: --version 23 | - name: prettier --help 24 | uses: ./ 25 | with: 26 | args: --help 27 | - name: prettier --check . 28 | uses: ./ 29 | with: 30 | args: --check . 31 | - name: prettier --write . 32 | uses: ./ 33 | with: 34 | args: --write . 35 | verify-output: 36 | name: Verify output 37 | runs-on: ubuntu-latest 38 | steps: 39 | - name: Checkout 40 | uses: actions/checkout@v3 41 | - name: Setup Node.js ${{ env.NODE_VERSION }} 42 | uses: actions/setup-node@v3 43 | with: 44 | node-version: ${{ env.NODE_VERSION }} 45 | cache: yarn 46 | - run: yarn install --frozen-lockfile 47 | - name: Rebuild output 48 | run: yarn build -o dist-ci 49 | - name: Verify output 50 | run: diff -qr dist dist-ci 51 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🔨 actionsx/prettier 2 | 3 | [![Checks status][checks status]][checks url] 4 | [![Dependabot status][dependabot status]][dependabot url] 5 | [![Code style][code style]][code style url] 6 | [![License][license badge]][license url] 7 | 8 | 🔥 Native, blazingly-fast `prettier` CLI on Github Actions, allows you to run 9 | every `prettier` CLI command on Github Actions without having to install Node.js 10 | or any dependency in advance. 11 | 12 | > Average completion time: 5-8s - 7x faster than self-implemented workflow (with 13 | > cache enabled). 14 | 15 | ## Usage 16 | 17 | ```yml 18 | - uses: actions/checkout@v2 # Check out the repository first. 19 | - uses: actionsx/prettier@v2 20 | with: 21 | # prettier CLI arguments. 22 | args: --check . 23 | ``` 24 | 25 | ## License 26 | 27 | This project is licensed under the [MIT License][license url]. 28 | 29 | 30 | 31 | [checks status]: 32 | https://img.shields.io/github/checks-status/actionsx/prettier/master?logo=Github 33 | [dependabot status]: 34 | https://img.shields.io/badge/dependabot-enabled-025e8c?logo=Dependabot 35 | [license badge]: https://img.shields.io/github/license/actionsx/prettier 36 | [code style]: 37 | https://img.shields.io/badge/code%20style-prettier-F7B93E?logo=Prettier 38 | [checks url]: 39 | https://github.com/actionsx/prettier/actions?query=workflow%3ACI+branch%3Amaster 40 | [dependabot url]: /.github/dependabot.yml 41 | [code style url]: /.prettierrc.json 42 | [license url]: /LICENSE 43 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@actions/core@^1.10.0": 6 | version "1.10.0" 7 | resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.10.0.tgz#44551c3c71163949a2f06e94d9ca2157a0cfac4f" 8 | integrity sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug== 9 | dependencies: 10 | "@actions/http-client" "^2.0.1" 11 | uuid "^8.3.2" 12 | 13 | "@actions/http-client@^2.0.1": 14 | version "2.0.1" 15 | resolved "https://registry.yarnpkg.com/@actions/http-client/-/http-client-2.0.1.tgz#873f4ca98fe32f6839462a6f046332677322f99c" 16 | integrity sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw== 17 | dependencies: 18 | tunnel "^0.0.6" 19 | 20 | "@vercel/ncc@^0.36.1": 21 | version "0.36.1" 22 | resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.36.1.tgz#d4c01fdbbe909d128d1bf11c7f8b5431654c5b95" 23 | integrity sha512-S4cL7Taa9yb5qbv+6wLgiKVZ03Qfkc4jGRuiUQMQ8HGBD5pcNRnHeYM33zBvJE4/zJGjJJ8GScB+WmTsn9mORw== 24 | 25 | prettier@^3.0.0: 26 | version "3.0.0" 27 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae" 28 | integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g== 29 | 30 | shell-quote@^1.7.3: 31 | version "1.7.3" 32 | resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.3.tgz#aa40edac170445b9a431e17bb62c0b881b9c4123" 33 | integrity sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw== 34 | 35 | tunnel@^0.0.6: 36 | version "0.0.6" 37 | resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c" 38 | integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg== 39 | 40 | uuid@^8.3.2: 41 | version "8.3.2" 42 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" 43 | integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== 44 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and 9 | expression, level of experience, education, socio-economic status, nationality, 10 | personal appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | - Using welcoming and inclusive language 18 | - Being respectful of differing viewpoints and experiences 19 | - Gracefully accepting constructive criticism 20 | - Focusing on what is best for the community 21 | - Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | - The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | - Trolling, insulting/derogatory comments, and personal or political attacks 28 | - Public or private harassment 29 | - Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | - Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or reject 41 | comments, commits, code, wiki edits, issues, and other contributions that are 42 | not aligned to this Code of Conduct, or to ban temporarily or permanently any 43 | contributor for other behaviors that they deem inappropriate, threatening, 44 | offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by opening an issue or contacting one or more of the project 59 | maintainers. All complaints will be reviewed and investigated and will result in 60 | a response that is deemed necessary and appropriate to the circumstances. The 61 | project team is obligated to maintain confidentiality with regard to the 62 | reporter of an incident. Further details of specific enforcement policies may be 63 | posted separately. 64 | 65 | Project maintainers who do not follow or enforce the Code of Conduct in good 66 | faith may face temporary or permanent repercussions as determined by other 67 | members of the project's leadership. 68 | 69 | ## Attribution 70 | 71 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 72 | version 1.4, available at 73 | https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 74 | 75 | [homepage]: https://www.contributor-covenant.org 76 | 77 | For answers to common questions about this code of conduct, see 78 | https://www.contributor-covenant.org/faq 79 | -------------------------------------------------------------------------------- /dist/653.index.js: -------------------------------------------------------------------------------- 1 | export const id = 653; 2 | export const ids = [653]; 3 | export const modules = { 4 | 5 | /***/ 5129: 6 | /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7 | 8 | __webpack_require__.r(__webpack_exports__); 9 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 10 | /* harmony export */ "default": () => (/* binding */ fs), 11 | /* harmony export */ "parsers": () => (/* binding */ Ie) 12 | /* harmony export */ }); 13 | var Kt=Object.defineProperty;var Ze=(s,e)=>{for(var t in e)Kt(s,t,{get:e[t],enumerable:!0})};var ze={};Ze(ze,{parsers:()=>Ie});var Ie={};Ze(Ie,{__ng_action:()=>Ir,__ng_binding:()=>Rr,__ng_directive:()=>Lr,__ng_interpolation:()=>Pr});var me=` 14 | `,Je="\r",Ye=function(){function s(e){this.length=e.length;for(var t=[0],r=0;rthis.length)return null;for(var t=0,r=this.offsets;r[t+1]<=e;)t++;var n=e-r[t];return{line:t,column:n}},s.prototype.indexForLocation=function(e){var t=e.line,r=e.column;return t<0||t>=this.offsets.length||r<0||r>this.lengthOfLine(t)?null:this.offsets[t]+r},s.prototype.lengthOfLine=function(e){var t=this.offsets[e],r=e===this.offsets.length-1?this.length:this.offsets[e+1];return r-t},s}();var le=class{text;locator;constructor(e){this.text=e,this.locator=new Pe(this.text)}},Pe=class{_linesAndColumns;constructor(e){this._linesAndColumns=new Ye(e)}locationForIndex(e){let{line:t,column:r}=this._linesAndColumns.locationForIndex(e);return{line:t+1,column:r,index:e}}};var G=class{constructor(e,t,r,n){this.input=t,this.errLocation=r,this.ctxLocation=n,this.message=`Parser Error: ${e} ${r} [${t}] in ${n}`}},P=class{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new I(e+this.start,e+this.end)}},S=class{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},D=class extends S{constructor(e,t,r){super(e,t),this.nameSpan=r}},E=class extends S{visit(e,t=null){}},L=class extends S{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},Se=class extends L{visit(e,t=null){var r;return(r=e.visitThisReceiver)==null?void 0:r.call(e,this,t)}},V=class extends S{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitChain(this,t)}},W=class extends S{constructor(e,t,r,n,i){super(e,t),this.condition=r,this.trueExp=n,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}},B=class extends D{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}},Q=class extends D{constructor(e,t,r,n,i,a){super(e,t,r),this.receiver=n,this.name=i,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},H=class extends D{constructor(e,t,r,n,i){super(e,t,r),this.receiver=n,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},j=class extends S{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e,t=null){return e.visitKeyedRead(this,t)}},z=class extends S{constructor(e,t,r,n){super(e,t),this.receiver=r,this.key=n}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},q=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.key=n,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}},X=class extends D{constructor(e,t,r,n,i,a){super(e,t,a),this.exp=r,this.name=n,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}},A=class extends S{constructor(e,t,r){super(e,t),this.value=r}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},Z=class extends S{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitLiteralArray(this,t)}},J=class extends S{constructor(e,t,r,n){super(e,t),this.keys=r,this.values=n}visit(e,t=null){return e.visitLiteralMap(this,t)}},we=class extends S{constructor(e,t,r,n){super(e,t),this.strings=r,this.expressions=n}visit(e,t=null){return e.visitInterpolation(this,t)}},$=class extends S{constructor(e,t,r,n,i){super(e,t),this.operation=r,this.left=n,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}},K=class s extends ${static createMinus(e,t,r){return new s(e,t,"-",r,"-",new A(e,t,0),r)}static createPlus(e,t,r){return new s(e,t,"+",r,"-",r,new A(e,t,0))}constructor(e,t,r,n,i,a,h){super(e,t,i,a,h),this.operator=r,this.expr=n,this.left=null,this.right=null,this.operation=null}visit(e,t=null){return e.visitUnary!==void 0?e.visitUnary(this,t):e.visitBinary(this,t)}},Y=class extends S{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitPrefixNot(this,t)}},ee=class extends S{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitNonNullAssert(this,t)}},te=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitCall(this,t)}},re=class extends S{constructor(e,t,r,n,i){super(e,t),this.receiver=r,this.args=n,this.argumentSpan=i}visit(e,t=null){return e.visitSafeCall(this,t)}},I=class{constructor(e,t){this.start=e,this.end=t}},R=class extends S{constructor(e,t,r,n,i){super(new P(0,t===null?0:t.length),new I(n,t===null?n:n+t.length)),this.ast=e,this.source=t,this.location=r,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},T=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},se=class{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}},ye=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitAll(e,t){for(let r of e)this.visit(r,t)}};var et;(function(s){s[s.DEFAULT=0]="DEFAULT",s[s.LITERAL_ATTR=1]="LITERAL_ATTR",s[s.ANIMATION=2]="ANIMATION"})(et||(et={}));function tt(s){return s>=9&&s<=32||s==160}function b(s){return 48<=s&&s<=57}function rt(s){return s>=97&&s<=122||s>=65&&s<=90}function Le(s){return s===39||s===34||s===96}var d;(function(s){s[s.Character=0]="Character",s[s.Identifier=1]="Identifier",s[s.PrivateIdentifier=2]="PrivateIdentifier",s[s.Keyword=3]="Keyword",s[s.String=4]="String",s[s.Operator=5]="Operator",s[s.Number=6]="Number",s[s.Error=7]="Error"})(d||(d={}));var ur=["var","let","as","null","undefined","true","false","if","else","this"],xe=class{tokenize(e){let t=new Ke(e),r=[],n=t.scanToken();for(;n!=null;)r.push(n),n=t.scanToken();return r}},N=class{constructor(e,t,r,n,i){this.index=e,this.end=t,this.type=r,this.numValue=n,this.strValue=i}isCharacter(e){return this.type==d.Character&&this.numValue==e}isNumber(){return this.type==d.Number}isString(){return this.type==d.String}isOperator(e){return this.type==d.Operator&&this.strValue==e}isIdentifier(){return this.type==d.Identifier}isPrivateIdentifier(){return this.type==d.PrivateIdentifier}isKeyword(){return this.type==d.Keyword}isKeywordLet(){return this.type==d.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==d.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==d.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==d.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==d.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==d.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==d.Keyword&&this.strValue=="this"}isError(){return this.type==d.Error}toNumber(){return this.type==d.Number?this.numValue:-1}toString(){switch(this.type){case d.Character:case d.Identifier:case d.Keyword:case d.Operator:case d.PrivateIdentifier:case d.String:case d.Error:return this.strValue;case d.Number:return this.numValue.toString();default:return null}}};function ot(s,e,t){return new N(s,e,d.Character,t,String.fromCharCode(t))}function lr(s,e,t){return new N(s,e,d.Identifier,0,t)}function xr(s,e,t){return new N(s,e,d.PrivateIdentifier,0,t)}function fr(s,e,t){return new N(s,e,d.Keyword,0,t)}function Be(s,e,t){return new N(s,e,d.Operator,0,t)}function dr(s,e,t){return new N(s,e,d.String,0,t)}function vr(s,e,t){return new N(s,e,d.Number,t,"")}function gr(s,e,t){return new N(s,e,d.Error,0,t)}var Ce=new N(-1,-1,d.Character,0,""),Ke=class{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,r=this.peek,n=this.index;for(;r<=32;)if(++n>=t){r=0;break}else r=e.charCodeAt(n);if(this.peek=r,this.index=n,n>=t)return null;if(ct(r))return this.scanIdentifier();if(b(r))return this.scanNumber(n);let i=n;switch(r){case 46:return this.advance(),b(this.peek)?this.scanNumber(i):ot(i,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,r);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(r));case 63:return this.scanQuestion(i);case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(r),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(r),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;tt(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(r)}]`,0)}scanCharacter(e,t){return this.advance(),ot(e,this.index,t)}scanOperator(e,t){return this.advance(),Be(e,this.index,t)}scanComplexOperator(e,t,r,n,i,a){this.advance();let h=t;return this.peek==r&&(this.advance(),h+=n),i!=null&&this.peek==i&&(this.advance(),h+=a),Be(e,this.index,h)}scanIdentifier(){let e=this.index;for(this.advance();ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return ur.indexOf(t)>-1?fr(e,this.index,t):lr(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!ct(this.peek))return this.error("Invalid character [#]",-1);for(;ht(this.peek);)this.advance();let t=this.input.substring(e,this.index);return xr(e,this.index,t)}scanNumber(e){let t=this.index===e,r=!1;for(this.advance();;){if(!b(this.peek))if(this.peek===95){if(!b(this.input.charCodeAt(this.index-1))||!b(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(this.peek===46)t=!1;else if(mr(this.peek)){if(this.advance(),Sr(this.peek)&&this.advance(),!b(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let n=this.input.substring(e,this.index);r&&(n=n.replace(/_/g,""));let i=t?yr(n):parseFloat(n);return vr(e,this.index,i)}scanString(){let e=this.index,t=this.peek;this.advance();let r="",n=this.index,i=this.input;for(;this.peek!=t;)if(this.peek==92){r+=i.substring(n,this.index);let h;if(this.advance(),this.peek==117){let v=i.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(v))h=parseInt(v,16);else return this.error(`Invalid unicode escape [\\u${v}]`,0);for(let f=0;f<5;f++)this.advance()}else h=wr(this.peek),this.advance();r+=String.fromCharCode(h),n=this.index}else{if(this.peek==0)return this.error("Unterminated quote",0);this.advance()}let a=i.substring(n,this.index);return this.advance(),dr(e,this.index,r+a)}scanQuestion(e){this.advance();let t="?";return(this.peek===63||this.peek===46)&&(t+=this.peek===46?".":"?",this.advance()),Be(e,this.index,t)}error(e,t){let r=this.index+t;return gr(r,this.index,`Lexer Error: ${e} at column ${r} in expression [${this.input}]`)}};function ct(s){return 97<=s&&s<=122||65<=s&&s<=90||s==95||s==36}function ht(s){return rt(s)||b(s)||s==95||s==36}function mr(s){return s==101||s==69}function Sr(s){return s==45||s==43}function wr(s){switch(s){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return s}}function yr(s){let e=parseInt(s);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+s);return e}var Er=(/* unused pure expression or super */ null && ([/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]));function xt(s,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${s}' to be an array, [start, end].`);if(e!=null){let t=e[0],r=e[1];Er.forEach(n=>{if(n.test(t)||n.test(r))throw new Error(`['${t}', '${r}'] contains unusable interpolation symbol.`)})}}var _e=class s{static fromArray(e){return e?(xt("interpolation",e),new s(e[0],e[1])):F}constructor(e,t){this.start=e,this.end=t}},F=new _e("{{","}}");var Me=class{constructor(e,t,r){this.strings=e,this.expressions=t,this.offsets=r}},Fe=class{constructor(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r}},ve=class{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,t,r,n,i=F){this._checkNoInterpolation(e,r,i);let a=this._stripComments(e),h=this._lexer.tokenize(a),v=1;t&&(v|=2);let f=new U(e,r,n,h,v,this.errors,0).parseChain();return new R(f,e,r,n,this.errors)}parseBinding(e,t,r,n=F){let i=this._parseBindingAst(e,t,r,n);return new R(i,e,t,r,this.errors)}checkSimpleExpression(e){let t=new Ue;return e.visit(t),t.errors}parseSimpleBinding(e,t,r,n=F){let i=this._parseBindingAst(e,t,r,n),a=this.checkSimpleExpression(i);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,e,t),new R(i,e,t,r,this.errors)}_reportError(e,t,r,n){this.errors.push(new G(e,t,r,n))}_parseBindingAst(e,t,r,n){this._checkNoInterpolation(e,t,n);let i=this._stripComments(e),a=this._lexer.tokenize(i);return new U(e,t,r,a,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,r,n,i){let a=this._lexer.tokenize(t);return new U(t,r,i,a,0,this.errors,0).parseTemplateBindings({source:e,span:new I(n,n+e.length)})}parseInterpolation(e,t,r,n,i=F){let{strings:a,expressions:h,offsets:v}=this.splitInterpolation(e,t,n,i);if(h.length===0)return null;let f=[];for(let w=0;ww.text),f,e,t,r)}parseInterpolationExpression(e,t,r){let n=this._stripComments(e),i=this._lexer.tokenize(n),a=new U(e,t,r,i,0,this.errors,0).parseChain(),h=["",""];return this.createInterpolationAst(h,[a],e,t,r)}createInterpolationAst(e,t,r,n,i){let a=new P(0,r.length),h=new we(a,a.toAbsolute(i),e,t);return new R(h,r,n,i,this.errors)}splitInterpolation(e,t,r,n=F){let i=[],a=[],h=[],v=r?Ar(r):null,f=0,w=!1,k=!1,{start:C,end:y}=n;for(;f-1)break;i>-1&&a>-1&&this._reportError(`Got interpolation (${r}${n}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,r){for(let n of this._forEachUnquotedChar(e,r)){if(e.startsWith(t,n))return n;if(e.startsWith("//",n))return e.indexOf(t,n)}return-1}*_forEachUnquotedChar(e,t){let r=null,n=0;for(let i=t;i=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let r=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(r=t),e>r){let n=r;r=e,e=n}return new P(e,r)}sourceSpan(e,t){let r=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,t){this.context|=e;let r=t();return this.context^=e,r}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ce?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();let n=this.parseAdditive();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==d.Operator;){let r=this.next.strValue;switch(r){case"+":case"-":this.advance();let n=this.parseMultiplicative();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==d.Operator;){let r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();let n=this.parsePrefix();t=new $(this.span(e),this.sourceSpan(e),r,t,n);continue}break}return t}parsePrefix(){if(this.next.type==d.Operator){let e=this.inputIndex,t=this.next.strValue,r;switch(t){case"+":return this.advance(),r=this.parsePrefix(),K.createPlus(this.span(e),this.sourceSpan(e),r);case"-":return this.advance(),r=this.parsePrefix(),K.createMinus(this.span(e),this.sourceSpan(e),r);case"!":return this.advance(),r=this.parsePrefix(),new Y(this.span(e),this.sourceSpan(e),r)}}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(40)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new ee(this.span(e),this.sourceSpan(e),t);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;let t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}else{if(this.next.isKeywordNull())return this.advance(),new A(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new A(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new A(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new A(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Se(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;let t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Z(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new L(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else if(this.next.isString()){let t=this.next.toString();return this.advance(),new A(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new E(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new E(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new E(this.span(e),this.sourceSpan(e)))}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){let e=[],t=[],r=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{let n=this.inputIndex,i=this.next.isString(),a=this.expectIdentifierOrKeywordOrString();if(e.push({key:a,quoted:i}),i)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{let h=this.span(n),v=this.sourceSpan(n);t.push(new B(h,v,v,new L(h,v),a))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(125));this.rbracesExpected--,this.expectCharacter(125)}return new J(this.span(r),this.sourceSpan(r),e,t)}parseAccessMember(e,t,r){let n=this.inputIndex,i=this.withContext(he.Writable,()=>{let v=this.expectIdentifierOrKeyword()??"";return v.length===0&&this.error("Expected identifier for property access",e.span.end),v}),a=this.sourceSpan(n),h;if(r)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),h=new E(this.span(t),this.sourceSpan(t))):h=new H(this.span(t),this.sourceSpan(t),a,e,i);else if(this.consumeOptionalAssignment()){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new E(this.span(t),this.sourceSpan(t));let v=this.parseConditional();h=new Q(this.span(t),this.sourceSpan(t),a,e,i,v)}else h=new B(this.span(t),this.sourceSpan(t),a,e,i);return h}parseCall(e,t,r){let n=this.inputIndex;this.rparensExpected++;let i=this.parseCallArguments(),a=this.span(n,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;let h=this.span(t),v=this.sourceSpan(t);return r?new re(h,v,e,i,a):new te(h,v,e,i,a)}consumeOptionalAssignment(){return this.parseFlags&2&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1,r=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new I(r,r+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index{this.rbracketsExpected++;let n=this.parsePipe();if(n instanceof E&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("="))if(r)this.error("The '?.' operator cannot be used in the assignment");else{let i=this.parseConditional();return new q(this.span(t),this.sourceSpan(t),e,n,i)}else return r?new z(this.span(t),this.sourceSpan(t),e,n):new j(this.span(t),this.sourceSpan(t),e,n);return new E(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(58);let r=this.getDirectiveBoundTarget(),n=this.currentAbsoluteOffset,i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),n=this.currentAbsoluteOffset);let a=new I(e.span.start,n);return t.push(new se(a,e,r)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Ce||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:r}=e.span,n=this.input.substring(t,r);return new R(e,n,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let r=new I(e.span.start,this.currentAbsoluteOffset);return new T(r,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let n=new I(e,this.currentAbsoluteOffset);return new T(n,t,r)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=null){this.errors.push(new G(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),eh+v.length,0);r+=a,t+=a}e.set(r,t),n++}return e}var dt="angular-estree-parser",De="NgEstreeParser",Ge=0,Ve=[dt,Ge];function vt(){return new ve(new xe)}function We(s,e){let t=vt(),{astInput:r,comments:n}=Cr(s,t),{ast:i,errors:a}=e(r,t);return yt(a),{ast:i,comments:n}}function gt(s){return We(s,(e,t)=>t.parseBinding(e,...Ve))}function mt(s){return We(s,(e,t)=>t.parseAction(e,!1,...Ve))}function St(s){return We(s,(e,t)=>{let r=t.parseInterpolationExpression(e,...Ve);return r.ast=r.ast.expressions[0],r})}function wt(s){let e=vt(),{templateBindings:t,errors:r}=e.parseTemplateBindings(De,s,dt,Ge,Ge);return yt(r),t}function yt(s){if(s.length!==0){let[{message:e}]=s;throw new SyntaxError(e.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function Cr(s,e){let t=e._commentStart(s);return t===null?{astInput:s,comments:[]}:{astInput:s.slice(0,t),comments:[{type:"Comment",value:s.slice(t+2),sourceSpan:{start:t,end:s.length}}]}}function Et(s){return s instanceof K?"Unary":s instanceof $?"Binary":s instanceof X?"BindingPipe":s instanceof te?"Call":s instanceof V?"Chain":s instanceof W?"Conditional":s instanceof E?"EmptyExpr":s instanceof L?"ImplicitReceiver":s instanceof j?"KeyedRead":s instanceof z?"SafeKeyedRead":s instanceof q?"KeyedWrite":s instanceof Z?"LiteralArray":s instanceof J?"LiteralMap":s instanceof A?"LiteralPrimitive":s instanceof ee?"NonNullAssert":s instanceof Y?"PrefixNot":s instanceof B?"PropertyRead":s instanceof Q?"PropertyWrite":s instanceof re?"SafeCall":s instanceof H?"SafePropertyRead":s.type}function ft({start:s,end:e},t){let r=s,n=e;for(;n!==r&&/\s/.test(t[n-1]);)n--;for(;r!==n&&/\s/.test(t[r]);)r++;return{start:r,end:n}}function Or({start:s,end:e},t){let r=s,n=e;for(;n!==t.length&&/\s/.test(t[n]);)n++;for(;r!==0&&/\s/.test(t[r-1]);)r--;return{start:r,end:n}}function Nr(s,e){return e[s.start-1]==="("&&e[s.end]===")"?{start:s.start-1,end:s.end+1}:s}function At(s,e,t){let r=0,n={start:s.start,end:s.end};for(;;){let i=Or(n,e),a=Nr(i,e);if(i.start===a.start&&i.end===a.end)break;n.start=a.start,n.end=a.end,r++}return{hasParens:(t?r-1:r)!==0,outerSpan:ft(t?{start:n.start+1,end:n.end-1}:n,e),innerSpan:ft(s,e)}}function $t(s,e,t){let r=e;for(;!s.test(t[r]);)if(--r<0)throw new Error(`Cannot find front char ${s} from index ${e} in ${JSON.stringify(t)}`);return r}function Oe(s,e,t){let r=e;for(;!s.test(t[r]);)if(++r>=t.length)throw new Error(`Cannot find back char ${s} from index ${e} in ${JSON.stringify(t)}`);return r}function Ct(s){return s.slice(0,1).toLowerCase()+s.slice(1)}function Ot(s){return s.length===0?void 0:s[s.length-1]}var pe=(s,e,t=!1)=>{let r=Et(s);switch(r){case"Unary":{let{operator:c,expr:o}=s,x=n(o);return a("UnaryExpression",{prefix:!0,argument:x,operator:c},s.sourceSpan,{hasParentParens:t})}case"Binary":{let{left:c,operation:o,right:x}=s,p=n(c),u=n(x);return a(o==="&&"||o==="||"||o==="??"?"LogicalExpression":"BinaryExpression",{left:p,right:u,operator:o},{start:y(p),end:m(u)},{hasParentParens:t})}case"BindingPipe":{let{exp:c,name:o,args:x}=s,p=n(c),u=f(/\S/,f(/\|/,m(p))+1),g=a("Identifier",{name:o},{start:u,end:u+o.length}),l=x.map(n);return a("NGPipeExpression",{left:p,right:g,arguments:l},{start:y(p),end:m(l.length===0?g:Ot(l))},{hasParentParens:t})}case"Chain":{let{expressions:c}=s;return a("NGChainedExpression",{expressions:c.map(n)},s.sourceSpan,{hasParentParens:t})}case"Comment":{let{value:c}=s;return a("CommentLine",{value:c},s.sourceSpan,{processSpan:!1})}case"Conditional":{let{condition:c,trueExp:o,falseExp:x}=s,p=n(c),u=n(o),g=n(x);return a("ConditionalExpression",{test:p,consequent:u,alternate:g},{start:y(p),end:m(g)},{hasParentParens:t})}case"EmptyExpr":return a("NGEmptyExpression",{},s.sourceSpan,{hasParentParens:t});case"ImplicitReceiver":return a("ThisExpression",{},s.sourceSpan,{hasParentParens:t});case"KeyedRead":case"SafeKeyedRead":{let c=r==="SafeKeyedRead",{key:o}=s,x=Object.prototype.hasOwnProperty.call(s,"receiver")?s.receiver:s.obj,p=n(o);return h(x,p,{computed:!0,optional:c},{end:s.sourceSpan.end,hasParentParens:t})}case"LiteralArray":{let{expressions:c}=s;return a("ArrayExpression",{elements:c.map(n)},s.sourceSpan,{hasParentParens:t})}case"LiteralMap":{let{keys:c,values:o}=s,x=o.map(u=>n(u)),p=c.map(({key:u,quoted:g},l)=>{let O=x[l],ue=y(O),qe=m(O),Re=f(/\S/,l===0?s.sourceSpan.start+1:f(/,/,m(x[l-1]))+1),bt=ue===Re?qe:v(/\S/,v(/:/,ue-1)-1)+1,Xe={start:Re,end:bt},ge=g?a("StringLiteral",{value:u},Xe):a("Identifier",{name:u},Xe),Bt=ge.end=c.sourceSpan.end||/^\s+$/.test(e.text.slice(c.sourceSpan.start,c.sourceSpan.end))}function k(c){return(c.type==="OptionalCallExpression"||c.type==="OptionalMemberExpression")&&!C(c)}function C(c){return c.extra&&c.extra.parenthesized}function y(c){return C(c)?c.extra.parenStart:c.start}function m(c){return C(c)?c.extra.parenEnd:c.end}};function Ne(s,e,t=!1,r=!1){if(!t){let{start:h,end:v}=s;return{start:h,end:v,loc:{start:e.locator.locationForIndex(h),end:e.locator.locationForIndex(v)}}}let{outerSpan:n,innerSpan:i,hasParens:a}=At(s,e.text,r);return{start:i.start,end:i.end,loc:{start:e.locator.locationForIndex(i.start),end:e.locator.locationForIndex(i.end)},...a&&{extra:{parenthesized:!0,parenStart:n.start,parenEnd:n.end}}}}function Nt(s,e){s.forEach(y);let[t]=s,{key:r}=t,n=e.text.slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?s.slice(1):s,i=[],a=null;for(let o=0;o({...O,...Ne({start:O.start,end:ue},e)}),g=O=>({...u(O,p.end),alias:p}),l=i.pop();if(l.type==="NGMicrosyntaxExpression")i.push(g(l));else if(l.type==="NGMicrosyntaxKeyedExpression"){let O=g(l.expression);i.push(u({...l,expression:O},O.end))}else throw new Error(`Unexpected type ${l.type}`)}else i.push(h(x,o));a=x}return f("NGMicrosyntax",{body:i},i.length===0?s[0].sourceSpan:{start:i[0].start,end:i[i.length-1].end});function h(o,x){if(k(o)){let{key:p,value:u}=o;return u?x===0?f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan):f("NGMicrosyntaxKeyedExpression",{key:f("NGMicrosyntaxKey",{name:w(p.source)},p.span),expression:f("NGMicrosyntaxExpression",{expression:v(u.ast),alias:null},u.sourceSpan)},{start:p.span.start,end:u.sourceSpan.end}):f("NGMicrosyntaxKey",{name:w(p.source)},p.span)}else{let{key:p,sourceSpan:u}=o;if(/^let\s$/.test(e.text.slice(u.start,u.start+4))){let{value:l}=o;return f("NGMicrosyntaxLet",{key:f("NGMicrosyntaxKey",{name:p.source},p.span),value:l?f("NGMicrosyntaxKey",{name:l.source},l.span):null},{start:u.start,end:l?l.span.end:p.span.end})}else{let l=c(o);return f("NGMicrosyntaxAs",{key:f("NGMicrosyntaxKey",{name:l.source},l.span),alias:f("NGMicrosyntaxKey",{name:p.source},p.span)},{start:l.span.start,end:p.span.end})}}}function v(o){return pe(o,e)}function f(o,x,p,u=!0){return{type:o,...Ne(p,e,u),...x}}function w(o){return Ct(o.slice(r.source.length))}function k(o){return o instanceof se}function C(o){return o instanceof T}function y(o){m(o.key.span),C(o)&&o.value&&m(o.value.span)}function m(o){if(e.text[o.start]!=='"'&&e.text[o.start]!=="'")return;let x=e.text[o.start],p=!1;for(let u=o.start+1;upe(h,n),a=i(t);return a.comments=r.map(h=>i(h)),a}function kt(s){return Qe(s,gt)}function It(s){return Qe(s,St)}function He(s){return Qe(s,mt)}function Rt(s){return Nt(wt(s),new le(s))}function kr(s){return Array.isArray(s)&&s.length>0}var Pt=kr;function je(s){var r;let e=s.range?s.range[0]:s.start,t=((r=s.declaration)==null?void 0:r.decorators)??s.decorators;return Pt(t)?Math.min(je(t[0]),e):e}function Lt(s){return s.range?s.range[1]:s.end}function ke(s){return{astFormat:"estree",parse(e){let t=s(e);return{type:"NGRoot",node:s===He&&t.type!=="NGChainedExpression"?{...t,type:"NGChainedExpression",expressions:[t]}:t}},locStart:je,locEnd:Lt}}var Ir=ke(He),Rr=ke(kt),Pr=ke(It),Lr=ke(Rt);var fs=ze; 15 | 16 | 17 | /***/ }) 18 | 19 | }; 20 | -------------------------------------------------------------------------------- /dist/692.index.js: -------------------------------------------------------------------------------- 1 | export const id = 692; 2 | export const ids = [692]; 3 | export const modules = { 4 | 5 | /***/ 4692: 6 | /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7 | 8 | __webpack_require__.r(__webpack_exports__); 9 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 10 | /* harmony export */ "default": () => (/* binding */ pr), 11 | /* harmony export */ "languages": () => (/* binding */ Ke), 12 | /* harmony export */ "options": () => (/* binding */ et), 13 | /* harmony export */ "parsers": () => (/* binding */ ie), 14 | /* harmony export */ "printers": () => (/* binding */ rn) 15 | /* harmony export */ }); 16 | var tt=Object.defineProperty;var Ne=(e,t)=>{for(var n in t)tt(e,n,{get:t[n],enumerable:!0})};var Te={};Ne(Te,{languages:()=>Ke,options:()=>et,parsers:()=>ie,printers:()=>rn});var nt=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=nt;var se="indent";var oe="group";var ae="if-break";var P="line";var ce="break-parent";var xe=()=>{},b=xe,ue=xe;function x(e){return b(e),{type:se,contents:e}}function y(e,t={}){return b(e),ue(t.expandedStates,!0),{type:oe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function O(e,t="",n={}){return b(e),t!==""&&b(t),{type:ae,breakContents:e,flatContents:t,groupId:n.groupId}}var mt={type:ce};var Et={type:P,hard:!0};var k={type:P},p={type:P,soft:!0},f=[Et,mt];function E(e,t){b(e),ue(t);let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,a=n;for(;a>=0&&a0}var le=It;var pe=class extends Error{name="UnexpectedNodeError";constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},Ae=pe;function ke(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function Ce(e){return`# @format 21 | 22 | `+e}function J(e){return e.kind==="Comment"?e.start:e.loc.start}function X(e){return e.kind==="Comment"?e.end:e.loc.end}var F=null;function w(e){if(F!==null&&typeof F.property){let t=F;return F=w.prototype=null,t}return F=w.prototype=e??Object.create(null),new w}var Ot=10;for(let e=0;e<=Ot;e++)w();function fe(e){return w(e)}function Dt(e,t="type"){fe(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var Se=Dt;var q=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},V=class{constructor(t,n,r,i,s,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Q={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Xn=new Set(Object.keys(Q));var C;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(C||(C={}));var gt=Se(Q,"kind"),ve=gt;function At(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(k):i.push(f),i}var g=At;function kt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(f,A(e,t,n,"definitions")),f];case"OperationDefinition":{let i=t.originalText[J(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&le(r.variableDefinitions)?" ":"",be(e,n),_(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),be(e,n)," on ",n("typeCondition"),_(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",x([f,E(f,A(e,t,n,"selections"))]),f,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",_(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""','\\"""').split(` 23 | `);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(f,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/g,"\\$&"),` 24 | `,"\\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 y(["[",x([p,E([O("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,x([p,E([O("",", "),p],e.map(n,"fields"))]),p,O("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(g(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...vt(e,t,n)),s.push(_(e,n,r)),r.fields.length>0&&s.push([" {",x([f,E(f,A(e,t,n,"fields"))]),f,"}"]),s}case"FieldDefinition":return[g(e,t,n),n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),_(e,n,r)];case"DirectiveDefinition":return[g(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",x([p,E([O("",", "),p],A(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[g(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),_(e,n,r),r.values.length>0?[" {",x([f,E(f,A(e,t,n,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[g(e,t,n),n("name"),_(e,n,r)];case"InputValueDefinition":return[g(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",_(e,n,r)];case"SchemaExtension":return["extend schema",_(e,n,r),...r.operationTypes.length>0?[" {",x([f,E(f,A(e,t,n,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[g(e,t,n),"schema",_(e,n,r)," {",r.operationTypes.length>0?x([f,E(f,A(e,t,n,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),_(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",_(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([g(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),_(e,n,r),r.types.length>0?[" =",O(""," "),x([O([k," "]),E([k,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[g(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),_(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Ae(r,"Graphql","kind")}}function _(e,t,n){if(n.directives.length===0)return"";let r=E(k,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([k,r]):[" ",y(x([p,r]))]}function A(e,t,n,r){return e.map(({isLast:i,node:s})=>{let a=n();return!i&&ge(t.originalText,X(s))?[a,f]:a},r)}function Ct(e){return e.kind!=="Comment"}function St(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function vt(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,a=e.map(n,"interfaces");for(let u=0;ur.value.trim()==="prettier-ignore")}var Lt={print:kt,massageAstNode:Le,hasPrettierIgnore:bt,insertPragma:Ce,printComment:St,canAttachComment:Ct,getVisitorKeys:ve},Re=Lt;var ie={};Ne(ie,{graphql:()=>tn});function Pe(e){return typeof e=="object"&&e!==null}function Fe(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}var Rt=/\r\n|[\n\r]/g;function B(e,t){let n=0,r=1;for(let i of e.body.matchAll(Rt)){if(typeof i.index=="number"||Fe(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ve(e){return he(e.source,B(e.source,e.start))}function he(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=t.line===1?n:0,l=t.column+u,T=`${e.name}:${a}:${l} 26 | `,h=r.split(/\r\n|[\n\r]/g),D=h[i];if(D.length>120){let I=Math.floor(l/80),re=l%80,N=[];for(let v=0;v["|",v]),["|","^".padStart(re)],["|",N[I+1]]])}return T+we([[`${a-1} |`,h[i-1]],[`${a} |`,D],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function we(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` 27 | `)}function Pt(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var W=class e extends Error{constructor(t,...n){var r,i,s;let{nodes:a,source:u,positions:l,path:T,originalError:h,extensions:D}=Pt(n);super(t),this.name="GraphQLError",this.path=T??void 0,this.originalError=h??void 0,this.nodes=Be(Array.isArray(a)?a:a?[a]:void 0);let I=Be((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=u??(I==null||(i=I[0])===null||i===void 0?void 0:i.source),this.positions=l??(I==null?void 0:I.map(N=>N.start)),this.locations=l&&u?l.map(N=>B(u,N)):I==null?void 0:I.map(N=>B(N.source,N.start));let re=Pe(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(s=D??re)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` 28 | 29 | `+Ve(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` 30 | 31 | `+he(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Be(e){return e===void 0||e.length===0?void 0:e}function d(e,t,n){return new W(`Syntax Error: ${n}`,{source:e,positions:[t]})}var H;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(H||(H={}));var c;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(c||(c={}));function Ue(e){return e===9||e===32}function L(e){return e>=48&&e<=57}function Me(e){return e>=97&&e<=122||e>=65&&e<=90}function de(e){return Me(e)||e===95}function Ye(e){return Me(e)||L(e)||e===95}function je(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;au===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Ft(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return Je(e.charCodeAt(t))&&Xe(e.charCodeAt(t+1))}function Je(e){return e>=55296&&e<=56319}function Xe(e){return e>=56320&&e<=57343}function S(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return o.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){let s=e.line,a=1+n-e.lineStart;return new V(t,n,r,s,a,i)}function wt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function jt(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 32 | `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Gt(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,a=s,u="",l=[];for(;s2?"["+Wt(e)+"]":"{ "+n.map(([i,s])=>i+": "+te(s,t)).join(", ")+" }"}function Qt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Wt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var qe=globalThis.process&&globalThis.process.env.NODE_ENV==="production"?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;let i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){let a=ee(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. 34 | 35 | Ensure that there is only one instance of "graphql" in the node_modules 36 | directory. If different versions of "graphql" are the dependencies of other 37 | relied on modules, use "resolutions" to ensure only one version is installed. 38 | 39 | https://yarnpkg.com/en/docs/selective-version-resolutions 40 | 41 | Duplicate "graphql" modules cannot be used at the same time since different 42 | versions may have different capabilities and behavior. The data from one 43 | version used in the function from another could produce confusing and 44 | spurious results.`)}}return!1};var M=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Z(!1,`Body must be a string. Received: ${ee(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Qe(e){return qe(e,M)}function We(e,t){return new Ee(e,t).parseDocument()}var Ee=class{constructor(t,n={}){let r=Qe(t)?t:new M(t);this._lexer=new z(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(o.NAME);return this.node(t,{kind:c.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===o.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:c.OPERATION_DEFINITION,operation:C.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(o.NAME)&&(r=this.parseName()),this.node(t,{kind:c.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(o.NAME);switch(t.value){case"query":return C.QUERY;case"mutation":return C.MUTATION;case"subscription":return C.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(t,{kind:c.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(o.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:c.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,n,o.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(o.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(o.NAME)?this.node(t,{kind:c.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:c.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:c.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case o.BRACKET_L:return this.parseList(t);case o.BRACE_L:return this.parseObject(t);case o.INT:return this.advanceLexer(),this.node(n,{kind:c.INT,value:n.value});case o.FLOAT:return this.advanceLexer(),this.node(n,{kind:c.FLOAT,value:n.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:c.BOOLEAN,value:!0});case"false":return this.node(n,{kind:c.BOOLEAN,value:!1});case"null":return this.node(n,{kind:c.NULL});default:return this.node(n,{kind:c.ENUM,value:n.value})}case o.DOLLAR:if(t)if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let r=this._lexer.token.value;throw d(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:c.STRING,value:t.value,block:t.kind===o.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:c.LIST,values:this.any(o.BRACKET_L,n,o.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:c.OBJECT,fields:this.any(o.BRACE_L,n,o.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(n,{kind:c.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(o.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(o.AT),this.node(n,{kind:c.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),n=this.node(t,{kind:c.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:c.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:c.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(t,{kind:c.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(t,{kind:c.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:c.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:c.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference(),s;this.expectOptionalToken(o.EQUALS)&&(s=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:c.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:c.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:c.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:c.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:c.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw d(this._lexer.source,this._lexer.token.start,`${ne(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===o.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:c.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:c.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:c.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:c.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(H,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new q(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw d(this._lexer.source,n.start,`Expected ${He(t)}, found ${ne(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===o.NAME&&n.value===t)this.advanceLexer();else throw d(this._lexer.source,n.start,`Expected "${t}", found ${ne(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===o.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return d(this._lexer.source,n.start,`Unexpected ${ne(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw d(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ne(e){let t=e.value;return He(e.kind)+(t!=null?` "${t}"`:"")}function He(e){return $e(e)?`"${e}"`:e}function Ht(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var ze=Ht;function zt(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push(i);return t}var Kt={allowLegacyFragmentVariables:!0};function Zt(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return ze(t,{loc:{start:n},cause:e})}return e}function en(e){let t;try{t=We(e,Kt)}catch(n){throw Zt(n)}return t.comments=zt(t),t}var tn={parse:en,astFormat:"graphql",hasPragma:ke,locStart:J,locEnd:X};var Ke=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];var Ze={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var nn={bracketSpacing:Ze.bracketSpacing},et=nn;var rn={graphql:Re};var pr=Te; 45 | 46 | 47 | /***/ }) 48 | 49 | }; 50 | -------------------------------------------------------------------------------- /dist/331.index.js: -------------------------------------------------------------------------------- 1 | export const id = 331; 2 | export const ids = [331]; 3 | export const modules = { 4 | 5 | /***/ 7331: 6 | /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7 | 8 | __webpack_require__.r(__webpack_exports__); 9 | /* harmony export */ __webpack_require__.d(__webpack_exports__, { 10 | /* harmony export */ "default": () => (/* binding */ $n), 11 | /* harmony export */ "parsers": () => (/* binding */ Z2) 12 | /* harmony export */ }); 13 | var Nu=Object.create;var G2=Object.defineProperty;var Vu=Object.getOwnPropertyDescriptor;var Ru=Object.getOwnPropertyNames;var Ou=Object.getPrototypeOf,Uu=Object.prototype.hasOwnProperty;var Mu=(e,u)=>()=>(u||e((u={exports:{}}).exports,u),u.exports),Se=(e,u)=>{for(var n in u)G2(e,n,{get:u[n],enumerable:!0})},Ju=(e,u,n,i)=>{if(u&&typeof u=="object"||typeof u=="function")for(let t of Ru(u))!Uu.call(e,t)&&t!==n&&G2(e,t,{get:()=>u[t],enumerable:!(i=Vu(u,t))||i.enumerable});return e};var ju=(e,u,n)=>(n=e!=null?Nu(Ou(e)):{},Ju(u||!e||!e.__esModule?G2(n,"default",{value:e,enumerable:!0}):n,e));var Cu=Mu(a2=>{"use strict";Object.defineProperty(a2,"__esModule",{value:!0});a2.extract=A0;a2.parse=P0;a2.parseWithComments=Au;a2.print=E0;a2.strip=C0;var y0=/\*\/$/,k0=/^\/\*\*?/,Du=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h0=/(^|\s+)\/\/([^\r\n]*)/g,yu=/^(\r?\n)+/,D0=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ku=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,b0=/(\r?\n|^) *\* ?/g,bu=[];function A0(e){let u=e.match(Du);return u?u[0].trimLeft():""}function C0(e){let u=e.match(Du);return u&&u[0]?e.substring(u[0].length):e}function P0(e){return Au(e).pragmas}function Au(e){let u=` 14 | `;e=e.replace(k0,"").replace(y0,"").replace(b0,"$1");let n="";for(;n!==e;)n=e,e=e.replace(D0,`${u}$1 $2${u}`);e=e.replace(yu,"").trimRight();let i=Object.create(null),t=e.replace(ku,"").replace(yu,"").trimRight(),o;for(;o=ku.exec(e);){let l=o[2].replace(h0,"");typeof i[o[1]]=="string"||Array.isArray(i[o[1]])?i[o[1]]=bu.concat(i[o[1]],l):i[o[1]]=l}return{comments:t,pragmas:i}}function E0({comments:e="",pragmas:u={}}){let n=` 15 | `,i="/**",t=" *",o=" */",l=Object.keys(u),f=l.map(a=>hu(a,u[a])).reduce((a,g)=>a.concat(g),[]).map(a=>`${t} ${a}${n}`).join("");if(!e){if(l.length===0)return"";if(l.length===1&&!Array.isArray(u[l[0]])){let a=u[l[0]];return`${i} ${hu(l[0],a)[0]}${o}`}}let c=e.split(n).map(a=>`${t} ${a}`).join(n)+n;return i+n+(e?c:"")+(e&&l.length?t+n:"")+f+o}function hu(e,u){return bu.concat(u).map(n=>`@${e} ${n}`.trim())}});var we={};Se(we,{parsers:()=>Z2});var Z2={};Se(Z2,{meriyah:()=>H0});var Xu={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",146:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",93:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",120:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A setter cannot be a generator",42:"A computed property name must be followed by a colon or paren",131:"Object literal keys that are strings or numbers must be a method or have a colon",44:"Found `* async x(){}` but this should be `async * x(){}`",43:"Getters and setters can not be generators",45:"'%0' can not be generator method",46:"No line break is allowed after '=>'",47:"The left-hand side of the arrow can only be destructed through assignment",48:"The binding declaration is not destructible",49:"Async arrow can not be followed by new expression",50:"Classes may not have a static property named 'prototype'",51:"Class constructor may not be a %0",52:"Duplicate constructor method in class",53:"Invalid increment/decrement operand",54:"Invalid use of `new` keyword on an increment/decrement expression",55:"`=>` is an invalid assignment target",56:"Rest element may not have a trailing comma",57:"Missing initializer in %0 declaration",58:"'for-%0' loop head declarations can not have an initializer",59:"Invalid left-hand side in for-%0 loop: Must have a single binding",60:"Invalid shorthand property initializer",61:"Property name __proto__ appears more than once in object literal",62:"Let is disallowed as a lexically bound name",63:"Invalid use of '%0' inside new expression",64:"Illegal 'use strict' directive in function with non-simple parameter list",65:'Identifier "let" disallowed as left-hand side expression in strict mode',66:"Illegal continue statement",67:"Illegal break statement",68:"Cannot have `let[...]` as a var name in strict mode",69:"Invalid destructuring assignment target",70:"Rest parameter may not have a default initializer",71:"The rest argument must the be last parameter",72:"Invalid rest argument",74:"In strict mode code, functions can only be declared at top level or inside a block",75:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",76:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",77:"Class declaration can't appear in single-statement context",78:"Invalid left-hand side in for-%0",79:"Invalid assignment in for-%0",80:"for await (... of ...) is only valid in async functions and async generators",81:"The first token after the template expression should be a continuation of the template",83:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",82:"`let \n [` is a restricted production at the start of a statement",84:"Catch clause requires exactly one parameter, not more (and no trailing comma)",85:"Catch clause parameter does not support default values",86:"Missing catch or finally after try",87:"More than one default clause in switch statement",88:"Illegal newline after throw",89:"Strict mode code may not include a with statement",90:"Illegal return statement",91:"The left hand side of the for-header binding declaration is not destructible",92:"new.target only allowed within functions",94:"'#' not followed by identifier",100:"Invalid keyword",99:"Can not use 'let' as a class name",98:"'A lexical declaration can't define a 'let' binding",97:"Can not use `let` as variable name in strict mode",95:"'%0' may not be used as an identifier in this context",96:"Await is only valid in async functions",101:"The %0 keyword can only be used with the module goal",102:"Unicode codepoint must not be greater than 0x10FFFF",103:"%0 source must be string",104:"Only a identifier can be used to indicate alias",105:"Only '*' or '{...}' can be imported after default",106:"Trailing decorator may be followed by method",107:"Decorators can't be used with a constructor",109:"HTML comments are only allowed with web compatibility (Annex B)",110:"The identifier 'let' must not be in expression position in strict mode",111:"Cannot assign to `eval` and `arguments` in strict mode",112:"The left-hand side of a for-of loop may not start with 'let'",113:"Block body arrows can not be immediately invoked without a group",114:"Block body arrows can not be immediately accessed without a group",115:"Unexpected strict mode reserved word",116:"Unexpected eval or arguments in strict mode",117:"Decorators must not be followed by a semicolon",118:"Calling delete on expression not allowed in strict mode",119:"Pattern can not have a tail",121:"Can not have a `yield` expression on the left side of a ternary",122:"An arrow function can not have a postfix update operator",123:"Invalid object literal key character after generator star",124:"Private fields can not be deleted",126:"Classes may not have a field called constructor",125:"Classes may not have a private element named constructor",127:"A class field initializer may not contain arguments",128:"Generators can only be declared at the top level or inside a block",129:"Async methods are a restricted production and cannot have a newline following it",130:"Unexpected character after object literal property name",132:"Invalid key token",133:"Label '%0' has already been declared",134:"continue statement must be nested within an iteration statement",135:"Undefined label '%0'",136:"Trailing comma is disallowed inside import(...) arguments",137:"import() requires exactly one argument",138:"Cannot use new with import(...)",139:"... is not allowed in import()",140:"Expected '=>'",141:"Duplicate binding '%0'",142:"Cannot export a duplicate name '%0'",145:"Duplicate %0 for-binding",143:"Exported binding '%0' needs to refer to a top-level declared variable",144:"Unexpected private field",148:"Numeric separators are not allowed at the end of numeric literals",147:"Only one underscore is allowed as numeric separator",149:"JSX value should be either an expression or a quoted JSX text",150:"Expected corresponding JSX closing tag for %0",151:"Adjacent JSX elements must be wrapped in an enclosing tag",152:"JSX attributes must only be assigned a non-empty 'expression'",153:"'%0' has already been declared",154:"'%0' shadowed a catch clause binding",155:"Dot property must be an identifier",156:"Encountered invalid input after spread/rest argument",157:"Catch without try",158:"Finally without try",159:"Expected corresponding closing tag for JSX fragment",160:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",161:"Invalid tagged template on optional chain",162:"Invalid optional chain from super property",163:"Invalid optional chain from new expression",164:'Cannot use "import.meta" outside a module',165:"Leading decorators must be attached to a class declaration"},k2=class extends SyntaxError{constructor(u,n,i,t,...o){let l="["+n+":"+i+"]: "+Xu[t].replace(/%(\d+)/g,(f,c)=>o[c]);super(`${l}`),this.index=u,this.line=n,this.column=i,this.description=l,this.loc={line:n,column:i}}};function d(e,u,...n){throw new k2(e.index,e.line,e.column,u,...n)}function z2(e){throw new k2(e.index,e.line,e.column,e.type,e.params)}function h2(e,u,n,i,...t){throw new k2(e,u,n,i,...t)}function D2(e,u,n,i){throw new k2(e,u,n,i)}var E2=((e,u)=>{let n=new Uint32Array(104448),i=0,t=0;for(;i<3540;){let o=e[i++];if(o<0)t-=o;else{let l=e[i++];o&2&&(l=u[l]),o&1?n.fill(l,t,t+=e[i++]):n[t++]=l}}return n})([-1,2,24,2,25,2,5,-1,0,77595648,3,44,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,131,2,6,2,56,-1,2,37,0,4294443263,2,1,3,0,3,0,4294901711,2,39,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,2,194,2,3,0,3825204735,0,123747807,0,65487,0,4294828015,0,4092591615,0,1080049119,0,458703,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,66,0,4284449919,0,851904,2,4,2,11,0,67076095,-1,2,67,0,1073741743,0,4093591391,-1,0,50331649,0,3265266687,2,32,0,4294844415,0,4278190047,2,18,2,129,-1,3,0,2,2,21,2,0,2,9,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,10,0,261632,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,2088959,2,27,2,8,0,909311,3,0,2,0,814743551,2,41,0,67057664,3,0,2,2,40,2,0,2,28,2,0,2,29,2,7,0,268374015,2,26,2,49,2,0,2,76,0,134153215,-1,2,6,2,0,2,7,0,2684354559,0,67044351,0,3221160064,0,1,-1,3,0,2,2,42,0,1046528,3,0,3,2,8,2,0,2,51,0,4294960127,2,9,2,38,2,10,0,4294377472,2,11,3,0,7,0,4227858431,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-1,2,124,0,1048577,2,82,2,13,-1,2,13,0,131042,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,1046559,2,0,2,14,2,0,0,2147516671,2,20,3,86,2,2,0,-16,2,87,0,524222462,2,4,2,0,0,4269801471,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,2,121,2,0,0,3220242431,3,0,3,2,19,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,2,0,0,4351,2,0,2,8,3,0,2,0,67043391,0,3909091327,2,0,2,22,2,8,2,18,3,0,2,0,67076097,2,7,2,0,2,20,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,97,2,98,2,15,2,21,3,0,3,0,67057663,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,3774349439,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,2,23,0,1638399,2,172,2,105,3,0,3,2,18,2,24,2,25,2,5,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-3,2,150,-4,2,18,2,0,2,35,0,1,2,0,2,62,2,28,2,11,2,9,2,0,2,110,-1,3,0,4,2,9,2,21,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277137519,0,2269118463,-1,3,18,2,-1,2,32,2,36,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,46,-10,2,0,0,203775,-2,2,18,2,43,2,35,-2,2,17,2,117,2,20,3,0,2,2,36,0,2147549120,2,0,2,11,2,17,2,135,2,0,2,37,2,52,0,5242879,3,0,2,0,402644511,-1,2,120,0,1090519039,-2,2,122,2,38,2,0,0,67045375,2,39,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,40,2,41,-1,2,10,2,42,-6,2,0,2,11,-3,3,0,2,0,2147484671,2,125,0,4190109695,2,50,-2,2,126,0,4244635647,0,27,2,0,2,7,2,43,2,0,2,63,-1,2,0,2,40,-8,2,54,2,44,0,67043329,2,127,2,45,0,8388351,-2,2,128,0,3028287487,2,46,2,130,0,33259519,2,41,-9,2,20,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,2,41,-2,2,17,2,49,2,0,2,20,2,50,2,132,2,23,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,0,1677656575,-166,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,0,4294954999,2,0,-16,2,0,2,88,2,0,0,2105343,0,4160749584,0,65534,-42,0,4194303871,0,2011,-6,2,0,0,1073684479,0,17407,-11,2,0,2,31,-40,3,0,6,0,8323103,-1,3,0,2,2,42,-37,2,55,2,144,2,145,2,146,2,147,2,148,-105,2,24,-32,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-22381,3,0,7,2,23,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,33,-1,2,17,2,61,-1,2,0,2,56,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,23,2,62,3,0,2,0,131135,2,95,0,70256639,0,71303167,0,272,2,40,2,56,-1,2,37,2,30,-1,2,96,2,63,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,65,2,64,0,33554435,2,123,2,65,2,151,0,131075,0,3594373096,0,67094296,2,64,-1,0,4294828e3,0,603979263,2,160,0,3,0,4294828001,0,602930687,2,183,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,66,2,36,-1,2,4,0,917503,2,36,-1,2,67,0,537788335,0,4026531935,-1,0,1,-1,2,32,2,68,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,14,2,15,3,0,10,2,69,2,0,2,70,2,71,2,72,2,0,2,73,2,0,2,11,-1,2,23,3,0,2,2,12,2,4,3,0,18,2,74,2,5,3,0,2,2,75,0,253951,3,19,2,0,122879,2,0,2,8,0,276824064,-2,3,0,2,2,40,2,0,0,4294903295,2,0,2,29,2,7,-1,2,17,2,49,2,0,2,76,2,41,-1,2,20,2,0,2,27,-2,0,128,-2,2,77,2,8,0,4064,-1,2,119,0,4227907585,2,0,2,118,2,0,2,48,2,173,2,9,2,38,2,10,-1,0,74440192,3,0,6,-2,3,0,8,2,12,2,0,2,78,2,9,2,0,2,79,2,80,2,81,-3,2,82,2,13,-3,2,83,2,84,2,85,2,0,2,33,-83,2,0,2,53,2,7,3,0,4,0,817183,2,0,2,14,2,0,0,33023,2,20,3,86,2,-17,2,87,0,524157950,2,4,2,0,2,88,2,4,2,0,2,15,2,77,2,16,3,0,2,2,47,2,0,-1,2,17,-16,3,0,206,-2,3,0,655,2,18,3,0,36,2,68,-1,2,17,2,9,3,0,8,2,89,0,3072,2,0,0,2147516415,2,9,3,0,2,2,23,2,90,2,91,3,0,2,2,92,2,0,2,93,2,94,0,4294965179,0,7,2,0,2,8,2,91,2,8,-1,0,1761345536,2,95,0,4294901823,2,36,2,18,2,96,2,34,2,166,0,2080440287,2,0,2,33,2,143,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,97,2,98,2,15,2,21,3,0,3,0,7,3,0,349,2,99,2,100,2,6,-264,3,0,11,2,22,3,0,2,2,31,-1,0,2700607615,2,101,2,102,3,0,2,2,19,2,103,3,0,10,2,9,2,17,2,0,2,45,2,0,2,30,2,104,-3,2,105,3,0,3,2,18,-1,3,5,2,2,26,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,27,-8,2,18,2,0,2,35,-1,2,0,2,62,2,28,2,29,2,9,2,0,2,110,-1,3,0,4,2,9,2,17,2,111,2,6,2,0,2,112,2,0,2,48,-4,3,0,9,2,20,2,29,2,30,-4,2,113,2,114,2,29,2,20,2,7,-2,2,115,2,29,2,31,-2,2,0,2,116,-2,0,4277075969,2,29,-1,3,18,2,-1,2,32,2,117,2,0,3,29,2,2,34,2,19,-3,3,0,2,2,33,-1,2,0,2,34,2,0,2,34,2,0,2,48,-10,2,0,0,197631,-2,2,18,2,43,2,118,-2,2,17,2,117,2,20,2,119,2,51,-2,2,119,2,23,2,17,2,33,2,119,2,36,0,4294901904,0,4718591,2,119,2,34,0,335544350,-1,2,120,2,121,-2,2,122,2,38,2,7,-1,2,123,2,65,0,3758161920,0,3,-4,2,0,2,27,0,2147485568,0,3,2,0,2,23,0,176,-5,2,0,2,47,2,186,-1,2,0,2,23,2,197,-1,2,0,0,16779263,-2,2,11,-7,2,0,2,121,-3,3,0,2,2,124,2,125,0,2147549183,0,2,-2,2,126,2,35,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,-1,2,0,2,40,-8,2,54,2,47,0,1,2,127,2,23,-3,2,128,2,35,2,129,2,130,0,16778239,-10,2,34,-5,2,64,-2,3,0,28,2,31,-3,3,0,3,2,47,3,0,6,2,48,-85,3,0,33,2,47,-126,3,0,18,2,36,-269,3,0,17,2,40,2,7,-3,2,17,2,131,2,0,2,23,2,48,2,132,2,23,-21,3,0,2,-4,3,0,2,0,67583,-1,2,103,-2,0,11,3,0,191,2,51,3,0,38,2,29,-1,2,33,-279,3,0,8,2,7,-1,2,133,2,52,3,0,11,2,6,-72,3,0,3,2,134,2,135,-187,3,0,2,2,37,2,0,2,136,2,137,2,55,2,0,2,138,2,139,2,140,3,0,10,2,141,2,142,2,15,3,37,2,3,53,2,3,54,2,2,143,-73,2,0,0,1065361407,0,16384,-11,2,0,2,121,-40,3,0,6,2,117,-1,3,0,2,0,2063,-37,2,55,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,9,-1,3,0,129,2,27,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-47,3,0,154,2,56,-28517,2,0,0,1,-1,2,124,2,0,0,8193,-21,2,193,0,10255,0,4,-11,2,64,2,171,-1,0,71680,-1,2,161,0,4292900864,0,805306431,-5,2,150,-1,2,157,-1,0,6144,-2,2,127,-1,2,154,-1,0,2147532800,2,151,2,165,2,0,2,164,0,524032,0,4,-4,2,190,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,152,0,4294886464,0,33292336,0,417809,2,152,0,1327482464,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,153,0,469762560,0,4171219488,0,8323120,2,153,0,202375680,0,3214918176,0,4294508592,2,153,-1,0,983584,0,48,0,58720273,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,177,2,0,0,2089,0,3221225552,0,201375904,2,0,-2,0,256,0,122880,0,16777216,2,150,0,4160757760,2,0,-6,2,167,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,154,2,159,2,178,-2,2,162,-20,0,3758096385,-2,2,155,0,4292878336,2,90,2,169,0,4294057984,-2,2,163,2,156,2,175,-2,2,155,-1,2,182,-1,2,170,2,124,0,4026593280,0,14,0,4292919296,-1,2,158,0,939588608,-1,0,805306368,-1,2,124,0,1610612736,2,156,2,157,2,4,2,0,-2,2,158,2,159,-3,0,267386880,-1,2,160,0,7168,-1,0,65024,2,154,2,161,2,179,-7,2,168,-8,2,162,-1,0,1426112704,2,163,-1,2,164,0,271581216,0,2149777408,2,23,2,161,2,124,0,851967,2,180,-1,2,23,2,181,-4,2,158,-20,2,195,2,165,-56,0,3145728,2,185,-4,2,166,2,124,-4,0,32505856,-1,2,167,-1,0,2147385088,2,90,1,2155905152,2,-3,2,103,2,0,2,168,-2,2,169,-6,2,170,0,4026597375,0,1,-1,0,1,-1,2,171,-3,2,117,2,64,-2,2,166,-2,2,176,2,124,-878,2,159,-36,2,172,-1,2,201,-10,2,188,-5,2,174,-6,0,4294965251,2,27,-1,2,173,-1,2,174,-2,0,4227874752,-3,0,2146435072,2,159,-2,0,1006649344,2,124,-1,2,90,0,201375744,-3,0,134217720,2,90,0,4286677377,0,32896,-1,2,158,-3,2,175,-349,2,176,0,1920,2,177,3,0,264,-11,2,157,-2,2,178,2,0,0,520617856,0,2692743168,0,36,-3,0,524284,-11,2,23,-1,2,187,-1,2,184,0,3221291007,2,178,-1,2,202,0,2158720,-3,2,159,0,1,-4,2,124,0,3808625411,0,3489628288,2,200,0,1207959680,0,3221274624,2,0,-3,2,179,0,120,0,7340032,-2,2,180,2,4,2,23,2,163,3,0,4,2,159,-1,2,181,2,177,-1,0,8176,2,182,2,179,2,183,-1,0,4290773232,2,0,-4,2,163,2,189,0,15728640,2,177,-1,2,161,-1,0,4294934512,3,0,4,-9,2,90,2,170,2,184,3,0,4,0,704,0,1849688064,2,185,-1,2,124,0,4294901887,2,0,0,130547712,0,1879048192,2,199,3,0,2,-1,2,186,2,187,-1,0,17829776,0,2025848832,0,4261477888,-2,2,0,-1,0,4286580608,-1,0,29360128,2,192,0,16252928,0,3791388672,2,38,3,0,2,-2,2,196,2,0,-1,2,103,-1,0,66584576,-1,2,191,3,0,9,2,124,-1,0,4294755328,3,0,2,-1,2,161,2,178,3,0,2,2,23,2,188,2,90,-2,0,245760,0,2147418112,-1,2,150,2,203,0,4227923456,-1,2,164,2,161,2,90,-3,0,4292870145,0,262144,2,124,3,0,2,0,1073758848,2,189,-1,0,4227921920,2,190,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,268435456,2,91,-2,2,191,3,0,5,-1,2,192,2,163,2,0,-2,0,4227923936,2,62,-1,2,155,2,95,2,0,2,154,2,158,3,0,6,-1,2,177,3,0,3,-2,0,2146959360,0,9440640,0,104857600,0,4227923840,3,0,2,0,768,2,193,2,77,-2,2,161,-2,2,119,-1,2,155,3,0,8,0,512,0,8388608,2,194,2,172,2,187,0,4286578944,3,0,2,0,1152,0,1266679808,2,191,0,576,0,4261707776,2,95,3,0,9,2,155,3,0,5,2,16,-1,0,2147221504,-28,2,178,3,0,3,-3,0,4292902912,-6,2,96,3,0,85,-33,0,4294934528,3,0,126,-18,2,195,3,0,269,-17,2,155,2,124,2,198,3,0,2,2,23,0,4290822144,-2,0,67174336,0,520093700,2,17,3,0,21,-2,2,179,3,0,3,-2,0,30720,-1,0,32512,3,0,2,0,4294770656,-191,2,174,-38,2,170,2,0,2,196,3,0,279,-8,2,124,2,0,0,4294508543,0,65295,-11,2,177,3,0,72,-3,0,3758159872,0,201391616,3,0,155,-7,2,170,-1,0,384,-1,0,133693440,-3,2,196,-2,2,26,3,0,4,2,169,-2,2,90,2,155,3,0,4,-2,2,164,-1,2,150,0,335552923,2,197,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,0,12288,-21,0,134213632,0,4294901761,3,0,42,0,100663424,0,4294965284,3,0,6,-1,0,3221282816,2,198,3,0,11,-1,2,199,3,0,40,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,35,-1,2,94,3,0,2,0,1,2,163,3,0,6,2,197,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,45,3,0,8,-1,2,158,-2,2,169,0,98304,0,65537,2,170,-5,0,4294950912,2,0,2,118,0,65528,2,177,0,4294770176,2,26,3,0,4,-30,2,174,0,3758153728,-3,2,169,-2,2,155,2,188,2,158,-1,2,191,-1,2,161,0,4294754304,3,0,2,-3,0,33554432,-2,2,200,-3,2,169,0,4175478784,2,201,0,4286643712,0,4286644216,2,0,-4,2,202,-1,2,165,0,4227923967,3,0,32,-1334,2,163,2,0,-129,2,94,-6,2,163,-180,2,203,-233,2,4,3,0,96,-16,2,163,3,0,47,-154,2,165,3,0,22381,-7,2,17,3,0,6128],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4160749567,4294901759,4294901760,536870911,262143,8388607,4294902783,4294918143,65535,67043328,2281701374,4294967232,2097151,4294903807,4194303,255,67108863,4294967039,511,524287,131071,127,4292870143,4294902271,4294549487,33554431,1023,67047423,4294901888,4286578687,4294770687,67043583,32767,15,2047999,67043343,16777215,4294902e3,4294934527,4294966783,4294967279,2047,262083,20511,4290772991,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,4294967264,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,2044,4292870144,4294966272,4294967280,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4294966591,2445279231,3670015,3238002687,31,63,4294967288,4294705151,4095,3221208447,4294549472,2147483648,4285526655,4294966527,4294705152,4294966143,64,4294966719,16383,3774873592,458752,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4087,184024726,2862017156,1593309078,268434431,268434414,4294901763,536870912,2952790016,202506752,139264,402653184,4261412864,4227922944,49152,61440,3758096384,117440512,65280,3233808384,3221225472,2097152,4294965248,32768,57152,67108864,4293918720,4290772992,25165824,57344,4227915776,4278190080,4227907584,65520,4026531840,4227858432,4160749568,3758129152,4294836224,63488,1073741824,4294967040,4194304,251658240,196608,4294963200,64512,417808,4227923712,12582912,50331648,65472,4294967168,4294966784,16,4294917120,2080374784,4096,65408,524288,65532]);function h(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function zu(e,u){if((u&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:(u=e.currentChar=65536+((u&1023)<<10)+(n&1023),E2[(u>>>5)+0]>>>u&31&1||d(e,18,G(u)),e.index++,e.column++,1)}function ie(e,u){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,u&4||(e.column=0,e.line++)}function c2(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function Hu(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function G(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(e&1023)}function H(e){return e<65?e-48:e-65+10&15}function Ku(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var L=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],$u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ve=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function x2(e){return e<=127?$u[e]:E2[(e>>>5)+34816]>>>e&31&1}function U2(e){return e<=127?Ve[e]:E2[(e>>>5)+0]>>>e&31&1||e===8204||e===8205}var Re=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function ru(e){let u=e.source;e.currentChar===35&&u.charCodeAt(e.index+1)===33&&(h(e),h(e),te(e,u,0,4,e.tokenPos,e.linePos,e.colPos))}function ve(e,u,n,i,t,o,l,f){return i&2048&&d(e,0),te(e,u,n,t,o,l,f)}function te(e,u,n,i,t,o,l){let{index:f}=e;for(e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column;e.index=e.source.length)return d(e,32)}let t=e.index-1,o=0,l=e.currentChar,{index:f}=e;for(;U2(l);){switch(l){case 103:o&2&&d(e,34,"g"),o|=2;break;case 105:o&1&&d(e,34,"i"),o|=1;break;case 109:o&4&&d(e,34,"m"),o|=4;break;case 117:o&16&&d(e,34,"u"),o|=16;break;case 121:o&8&&d(e,34,"y"),o|=8;break;case 115:o&32&&d(e,34,"s"),o|=32;break;case 100:o&64&&d(e,34,"d"),o|=64;break;default:d(e,33)}l=h(e)}let c=e.source.slice(f,e.index),a=e.source.slice(n,t);return e.tokenRegExp={pattern:a,flags:c},u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=Yu(e,a,c),65540}function Yu(e,u,n){try{return new RegExp(u,n)}catch{try{return new RegExp(u,n.replace("d","")),null}catch{d(e,32)}}}function Qu(e,u,n){let{index:i}=e,t="",o=h(e),l=e.index;for(;!(L[o]&8);){if(o===n)return t+=e.source.slice(l,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=t,134283267;if((o&8)===8&&o===92){if(t+=e.source.slice(l,e.index),o=h(e),o<127||o===8232||o===8233){let f=Oe(e,u,o);f>=0?t+=G(f):Ue(e,f,0)}else t+=G(o);l=e.index+1}e.index>=e.end&&d(e,14),o=h(e)}d(e,14)}function Oe(e,u,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:t}else{if(!(L[i]&64))return-4;let t=e.source.charCodeAt(e.index+1);if(!(L[t]&64))return-4;let o=e.source.charCodeAt(e.index+2);if(!(L[o]&64))return-4;let l=e.source.charCodeAt(e.index+3);return L[l]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),H(i)<<12|H(t)<<8|H(o)<<4|H(l)):-4}}case 56:case 57:if(!(u&256))return-3;default:return n}}function Ue(e,u,n){switch(u){case-1:return;case-2:d(e,n?2:1);case-3:d(e,13);case-4:d(e,6);case-5:d(e,102)}}function Me(e,u){let{index:n}=e,i=67174409,t="",o=h(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){h(e),i=67174408;break}else if((o&8)===8&&o===92)if(o=h(e),o>126)t+=G(o);else{let l=Oe(e,u|1024,o);if(l>=0)t+=G(l);else if(l!==-1&&u&65536){t=void 0,o=Zu(e,o),o<0&&(i=67174408);break}else Ue(e,l,1)}else e.index=e.end&&d(e,15),o=h(e)}return h(e),e.tokenValue=t,e.tokenRaw=e.source.slice(n+1,e.index-(i===67174409?1:2)),i}function Zu(e,u){for(;u!==96;){switch(u){case 36:{let n=e.index+1;if(n=e.end&&d(e,15),u=h(e)}return u}function Gu(e,u){return e.index>=e.end&&d(e,0),e.index--,e.column--,Me(e,u)}function Be(e,u,n){let i=e.currentChar,t=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)t="."+I2(e,i),i=e.currentChar,i===110&&d(e,11);else{if(i===48)if(i=h(e),(i|32)===120){for(n=136,i=h(e);L[i]&4160;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*16+H(i),f++,i=h(e)}(f===0||!c)&&d(e,f===0?19:148)}else if((i|32)===111){for(n=132,i=h(e);L[i]&4128;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*8+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if((i|32)===98){for(n=130,i=h(e);L[i]&4224;){if(i===95){c||d(e,147),c=0,i=h(e);continue}c=1,t=t*2+(i-48),f++,i=h(e)}(f===0||!c)&&d(e,f===0?0:148)}else if(L[i]&32)for(u&1024&&d(e,1),n=1;L[i]&16;){if(L[i]&512){n=32,l=0;break}t=t*8+(i-48),i=h(e)}else L[i]&512?(u&1024&&d(e,1),e.flags|=64,n=32):i===95&&d(e,0);if(n&48){if(l){for(;o>=0&&L[i]&4112;){if(i===95){i=h(e),(i===95||n&32)&&D2(e.index,e.line,e.index+1,147),c=1;continue}c=0,t=10*t+(i-48),i=h(e),--o}if(c&&D2(e.index,e.line,e.index+1,148),o>=0&&!x2(i)&&i!==46)return e.tokenValue=t,u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}t+=I2(e,i),i=e.currentChar,i===46&&(h(e)===95&&d(e,0),n=64,t+="."+I2(e,e.currentChar),i=e.currentChar)}}let a=e.index,g=0;if(i===110&&n&128)g=1,i=h(e);else if((i|32)===101){i=h(e),L[i]&256&&(i=h(e));let{index:m}=e;L[i]&16||d(e,10),t+=e.source.substring(a,m)+I2(e,i),i=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],Je=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function Te(e,u,n){for(;Ve[h(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),e.currentChar!==92&&e.currentChar<=126?Je[e.tokenValue]||208897:oe(e,u,0,n)}function xu(e,u){let n=je(e);return U2(n)||d(e,4),e.tokenValue=G(n),oe(e,u,1,L[n]&4)}function oe(e,u,n,i){let t=e.index;for(;e.index=2&&o<=11){let l=Je[e.tokenValue];return l===void 0?208897:n?l===209008?u&4196352?121:l:u&1024?l===36972||(l&36864)===36864?122:(l&20480)===20480?u&1073741824&&!(u&8192)?l:121:143483:u&1073741824&&!(u&8192)&&(l&20480)===20480?l:l===241773?u&1073741824?143483:u&2097152?121:l:l===209007?143483:(l&36864)===36864?l:121:l}return 208897}function pu(e){return x2(h(e))||d(e,94),131}function je(e){return e.source.charCodeAt(e.index+1)!==117&&d(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),e1(e)}function e1(e){let u=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;L[h(e)]&64;)u=u<<4|H(e.currentChar),u>1114111&&D2(l,e.line,e.index+1,102);return e.currentChar!==125&&D2(l,e.line,e.index-1,6),h(e),u}L[n]&64||d(e,6);let i=e.source.charCodeAt(e.index+1);L[i]&64||d(e,6);let t=e.source.charCodeAt(e.index+2);L[t]&64||d(e,6);let o=e.source.charCodeAt(e.index+3);return L[o]&64||d(e,6),u=H(n)<<12|H(i)<<8|H(t)<<4|H(o),e.currentChar=e.source.charCodeAt(e.index+=4),u}var Xe=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function b(e,u){if(e.flags=(e.flags|1)^1,e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=ze(e,u,0),e.onToken&&e.token!==1048576){let n={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(Ku(e.token),e.tokenPos,e.index,n)}}function ze(e,u,n){let i=e.index===0,t=e.source,o=e.index,l=e.line,f=e.column;for(;e.index=e.end)return 8457014;let s=e.currentChar;return s===61?(h(e),4194340):s!==42?8457014:h(e)!==61?8457273:(h(e),4194337)}case 8455497:return h(e)!==61?8455497:(h(e),4194343);case 25233970:{h(e);let s=e.currentChar;return s===43?(h(e),33619995):s===61?(h(e),4194338):25233970}case 25233971:{h(e);let s=e.currentChar;if(s===45){if(h(e),(n&1||i)&&e.currentChar===62){u&256||d(e,109),h(e),n=ve(e,t,n,u,3,o,l,f),o=e.tokenPos,l=e.linePos,f=e.colPos;continue}return 33619996}return s===61?(h(e),4194339):25233971}case 8457016:{if(h(e),e.index=48&&m<=57)return Be(e,u,80);if(m===46){let s=e.index+1;if(s=48&&s<=57)))return h(e),67108991}return 22}}}else{if((c^8232)<=1){n=n&-5|1,c2(e);continue}if((c&64512)===55296||E2[(c>>>5)+34816]>>>c&31&1)return(c&64512)===56320&&(c=(c&1023)<<10|c&1023|65536,E2[(c>>>5)+0]>>>c&31&1||d(e,18,G(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",oe(e,u,0,0);if(Hu(c)){h(e);continue}d(e,18,G(c))}}return 1048576}function u1(e,u){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=L[e.currentChar]&8192?n1(e,u):ze(e,u,0),e.token}function n1(e,u){let n=e.currentChar,i=h(e),t=e.index;for(;i!==n;)e.index>=e.end&&d(e,14),i=h(e);return i!==n&&d(e,14),e.tokenValue=e.source.slice(t,e.index),h(e),u&512&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283267}function d2(e,u){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(Xe[e.source.charCodeAt(e.index)]){case 8456258:{h(e),e.currentChar===47?(h(e),e.token=25):e.token=8456258;break}case 2162700:{h(e),e.token=2162700;break}default:{let i=0;for(;e.index1&&t&32&&e.token&262144&&d(e,59,U[e.token&255]),l}function qe(e,u,n,i,t){let{token:o,tokenPos:l,linePos:f,colPos:c}=e,a=null,g=cu(e,u,n,i,t,l,f,c);return e.token===1077936157?(b(e,u|32768),a=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),(t&32||!(o&2097152))&&(e.token===274549||e.token===8738868&&(o&2097152||!(i&4)||u&1024))&&h2(l,e.line,e.index-3,58,e.token===274549?"of":"in")):(i&16||(o&2097152)>0)&&(e.token&262144)!==262144&&d(e,57,i&16?"const":"destructuring"),y(e,u,l,f,c,{type:"VariableDeclarator",id:g,init:a})}function q1(e,u,n,i,t,o,l){b(e,u);let f=((u&4194304)>0||(u&2048)>0&&(u&8192)>0)&&q(e,u,209008);P(e,u|32768,67174411),n&&(n=J(n,1));let c=null,a=null,g=0,m=null,s=e.token===86090||e.token===241739||e.token===86092,k,{token:C,tokenPos:A,linePos:E,colPos:w}=e;if(s?C===241739?(m=I(e,u,0),e.token&2240512?(e.token===8738868?u&1024&&d(e,65):m=y(e,u,A,E,w,{type:"VariableDeclaration",kind:"let",declarations:y2(e,u|134217728,n,8,32)}),e.assignable=1):u&1024?d(e,65):(s=!1,e.assignable=1,m=N(e,u,m,0,0,A,E,w),e.token===274549&&d(e,112))):(b(e,u),m=y(e,u,A,E,w,C===86090?{type:"VariableDeclaration",kind:"var",declarations:y2(e,u|134217728,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:y2(e,u|134217728,n,16,32)}),e.assignable=1):C===1074790417?f&&d(e,80):(C&2097152)===2097152?(m=C===2162700?_(e,u,void 0,1,0,0,2,32,A,E,w):W(e,u,void 0,1,0,0,2,32,A,E,w),g=e.destructible,u&256&&g&64&&d(e,61),e.assignable=g&16?2:1,m=N(e,u|134217728,m,0,0,e.tokenPos,e.linePos,e.colPos)):m=r(e,u|134217728,1,0,1,A,E,w),(e.token&262144)===262144){if(e.token===274549){e.assignable&2&&d(e,78,f?"await":"of"),Z(e,m),b(e,u|32768),k=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let S=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForOfStatement",left:m,right:k,body:S,await:f})}e.assignable&2&&d(e,78,"in"),Z(e,m),b(e,u|32768),f&&d(e,80),k=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos),P(e,u|32768,16);let M=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForInStatement",body:M,left:m,right:k})}f&&d(e,80),s||(g&8&&e.token!==1077936157&&d(e,78,"loop"),m=O(e,u|134217728,0,0,A,E,w,m)),e.token===18&&(m=u2(e,u,0,e.tokenPos,e.linePos,e.colPos,m)),P(e,u|32768,1074790417),e.token!==1074790417&&(c=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,1074790417),e.token!==16&&(a=j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),P(e,u|32768,16);let B=P2(e,u,n,i);return y(e,u,t,o,l,{type:"ForStatement",init:m,test:c,update:a,body:B})}function Qe(e,u,n){return fe(u,e.token)||d(e,115),(e.token&537079808)===537079808&&d(e,116),n&&t2(e,u,n,e.tokenValue,8,0),I(e,u,0)}function L1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u);let l=null,{tokenPos:f,linePos:c,colPos:a}=e,g=[];if(e.token===134283267)l=X(e,u);else{if(e.token&143360){let m=Qe(e,u,n);if(g=[y(e,u,f,c,a,{type:"ImportDefaultSpecifier",local:m})],q(e,u,18))switch(e.token){case 8457014:g.push(Le(e,u,n));break;case 2162700:Ie(e,u,n,g);break;default:d(e,105)}}else switch(e.token){case 8457014:g=[Le(e,u,n)];break;case 2162700:Ie(e,u,n,g);break;case 67174411:return Ge(e,u,i,t,o);case 67108877:return Ze(e,u,i,t,o);default:d(e,28,U[e.token&255])}l=I1(e,u)}return z(e,u|32768),y(e,u,i,t,o,{type:"ImportDeclaration",specifiers:g,source:l})}function Le(e,u,n){let{tokenPos:i,linePos:t,colPos:o}=e;return b(e,u),P(e,u,77934),(e.token&134217728)===134217728&&h2(i,e.line,e.index,28,U[e.token&255]),y(e,u,i,t,o,{type:"ImportNamespaceSpecifier",local:Qe(e,u,n)})}function I1(e,u){return q(e,u,12404),e.token!==134283267&&d(e,103,"Import"),X(e,u)}function Ie(e,u,n,i){for(b(e,u);e.token&143360;){let{token:t,tokenValue:o,tokenPos:l,linePos:f,colPos:c}=e,a=I(e,u,0),g;q(e,u,77934)?((e.token&134217728)===134217728||e.token===18?d(e,104):M2(e,u,16,e.token,0),o=e.tokenValue,g=I(e,u,0)):(M2(e,u,16,t,0),g=a),n&&t2(e,u,n,o,8,0),i.push(y(e,u,l,f,c,{type:"ImportSpecifier",local:g,imported:a})),e.token!==1074790415&&P(e,u,18)}return P(e,u,1074790415),i}function Ze(e,u,n,i,t){let o=pe(e,u,y(e,u,n,i,t,{type:"Identifier",name:"import"}),n,i,t);return o=N(e,u,o,0,0,n,i,t),o=O(e,u,0,0,n,i,t,o),b2(e,u,o,n,i,t)}function Ge(e,u,n,i,t){let o=eu(e,u,0,n,i,t);return o=N(e,u,o,0,0,n,i,t),e.token===18&&(o=u2(e,u,0,n,i,t,o)),b2(e,u,o,n,i,t)}function N1(e,u,n){let i=e.tokenPos,t=e.linePos,o=e.colPos;b(e,u|32768);let l=[],f=null,c=null,a;if(q(e,u|32768,20563)){switch(e.token){case 86106:{f=i2(e,u,n,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break}case 133:case 86096:f=ne(e,u,n,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:let{tokenPos:g,linePos:m,colPos:s}=e;f=I(e,u,0);let{flags:k}=e;k&1||(e.token===86106?f=i2(e,u,n,4,1,1,1,g,m,s):e.token===67174411?(f=ke(e,u,f,1,1,0,k,g,m,s),f=N(e,u,f,0,0,g,m,s),f=O(e,u,0,0,g,m,s,f)):e.token&143360&&(n&&(n=H2(e,u,e.tokenValue)),f=I(e,u,0),f=B2(e,u,n,[f],1,g,m,s)));break;default:f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos),z(e,u|32768)}return n&&l2(e,"default"),y(e,u,i,t,o,{type:"ExportDefaultDeclaration",declaration:f})}switch(e.token){case 8457014:{b(e,u);let k=null;return q(e,u,77934)&&(n&&l2(e,e.tokenValue),k=I(e,u,0)),P(e,u,12404),e.token!==134283267&&d(e,103,"Export"),c=X(e,u),z(e,u|32768),y(e,u,i,t,o,{type:"ExportAllDeclaration",source:c,exported:k})}case 2162700:{b(e,u);let k=[],C=[];for(;e.token&143360;){let{tokenPos:A,tokenValue:E,linePos:w,colPos:B}=e,M=I(e,u,0),S;e.token===77934?(b(e,u),(e.token&134217728)===134217728&&d(e,104),n&&(k.push(e.tokenValue),C.push(E)),S=I(e,u,0)):(n&&(k.push(e.tokenValue),C.push(e.tokenValue)),S=M),l.push(y(e,u,A,w,B,{type:"ExportSpecifier",local:M,exported:S})),e.token!==1074790415&&P(e,u,18)}if(P(e,u,1074790415),q(e,u,12404))e.token!==134283267&&d(e,103,"Export"),c=X(e,u);else if(n){let A=0,E=k.length;for(;A0)&8738868,g,m;for(e.assignable=2;e.token&8454144&&(g=e.token,m=g&3840,(g&524288&&f&268435456||f&524288&&g&268435456)&&d(e,160),!(m+((g===8457273)<<8)-((a===g)<<12)<=l));)b(e,u|32768),c=y(e,u,i,t,o,{type:g&524288||g&268435456?"LogicalExpression":"BinaryExpression",left:c,right:n2(e,u,n,e.tokenPos,e.linePos,e.colPos,m,g,r(e,u,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:U[g&255]});return e.token===1077936157&&d(e,24),c}function V1(e,u,n,i,t,o,l){n||d(e,0);let f=e.token;b(e,u|32768);let c=r(e,u,0,l,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),u&1024&&f===16863278&&(c.type==="Identifier"?d(e,118):i1(c)&&d(e,124)),e.assignable=2,y(e,u,i,t,o,{type:"UnaryExpression",operator:U[f&255],argument:c,prefix:!0})}function R1(e,u,n,i,t,o,l,f,c,a){let{token:g}=e,m=I(e,u,o),{flags:s}=e;if(!(s&1)){if(e.token===86106)return nu(e,u,1,n,f,c,a);if((e.token&143360)===143360)return i||d(e,0),ou(e,u,t,f,c,a)}return!l&&e.token===67174411?ke(e,u,m,t,1,0,s,f,c,a):e.token===10?(ce(e,u,g,1),l&&d(e,49),$2(e,u,e.tokenValue,m,l,t,0,f,c,a)):m}function O1(e,u,n,i,t,o,l){if(n&&(e.destructible|=256),u&2097152){b(e,u|32768),u&8388608&&d(e,30),i||d(e,24),e.token===22&&d(e,121);let f=null,c=!1;return e.flags&1||(c=q(e,u|32768,8457014),(e.token&77824||c)&&(f=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,y(e,u,t,o,l,{type:"YieldExpression",argument:f,delegate:c})}return u&1024&&d(e,95,"yield"),ye(e,u,t,o,l)}function U1(e,u,n,i,t,o,l){if(i&&(e.destructible|=128),u&4194304||u&2048&&u&8192){n&&d(e,0),u&8388608&&h2(e.index,e.line,e.index,29),b(e,u|32768);let f=r(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.token===8457273&&d(e,31),e.assignable=2,y(e,u,t,o,l,{type:"AwaitExpression",argument:f})}return u&2048&&d(e,96),ye(e,u,t,o,l)}function K2(e,u,n,i,t,o){let{tokenPos:l,linePos:f,colPos:c}=e;P(e,u|32768,2162700);let a=[],g=u;if(e.token!==1074790415){for(;e.token===134283267;){let{index:m,tokenPos:s,tokenValue:k,token:C}=e,A=X(e,u);He(e,m,s,k)&&(u|=1024,e.flags&128&&h2(e.index,e.line,e.tokenPos,64),e.flags&64&&h2(e.index,e.line,e.tokenPos,8)),a.push(se(e,u,A,C,s,e.linePos,e.colPos))}u&1024&&(t&&((t&537079808)===537079808&&d(e,116),(t&36864)===36864&&d(e,38)),e.flags&512&&d(e,116),e.flags&256&&d(e,115)),u&64&&n&&o!==void 0&&!(g&1024)&&!(u&8192)&&z2(o)}for(e.flags=(e.flags|512|256|64)^832,e.destructible=(e.destructible|256)^256;e.token!==1074790415;)a.push(S2(e,u,n,4,{}));return P(e,i&24?u|32768:u,1074790415),e.flags&=-193,e.token===1077936157&&d(e,24),y(e,u,l,f,c,{type:"BlockStatement",body:a})}function M1(e,u,n,i,t){switch(b(e,u),e.token){case 67108991:d(e,162);case 67174411:{u&524288||d(e,26),u&16384&&d(e,27),e.assignable=2;break}case 69271571:case 67108877:{u&262144||d(e,27),u&16384&&d(e,27),e.assignable=1;break}default:d(e,28,"super")}return y(e,u,n,i,t,{type:"Super"})}function r(e,u,n,i,t,o,l,f){let c=K(e,u,2,0,n,0,i,t,o,l,f);return N(e,u,c,i,0,o,l,f)}function J1(e,u,n,i,t,o){e.assignable&2&&d(e,53);let{token:l}=e;return b(e,u),e.assignable=2,y(e,u,i,t,o,{type:"UpdateExpression",argument:n,operator:U[l&255],prefix:!1})}function N(e,u,n,i,t,o,l,f){if((e.token&33619968)===33619968&&!(e.flags&1))n=J1(e,u,n,o,l,f);else if((e.token&67108864)===67108864){switch(u=(u|134217728)^134217728,e.token){case 67108877:{b(e,(u|1073741824|8192)^8192),e.assignable=1;let c=xe(e,u);n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!1,property:c});break}case 69271571:{let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048),b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e,s=j(e,u,i,1,a,g,m);P(e,u,20),e.assignable=1,n=y(e,u,o,l,f,{type:"MemberExpression",object:n,computed:!0,property:s}),c&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,n;let c=!1;(e.flags&2048)===2048&&(c=!0,e.flags=(e.flags|2048)^2048);let a=ge(e,u,i);e.assignable=2,n=y(e,u,o,l,f,{type:"CallExpression",callee:n,arguments:a}),c&&(e.flags|=2048);break}case 67108991:{b(e,(u|1073741824|8192)^8192),e.flags|=2048,e.assignable=2,n=j1(e,u,n,o,l,f);break}default:(e.flags&2048)===2048&&d(e,161),e.assignable=2,n=y(e,u,o,l,f,{type:"TaggedTemplateExpression",tag:n,quasi:e.token===67174408?me(e,u|65536):ae(e,u,e.tokenPos,e.linePos,e.colPos)})}n=N(e,u,n,0,1,o,l,f)}return t===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,n=y(e,u,o,l,f,{type:"ChainExpression",expression:n})),n}function j1(e,u,n,i,t,o){let l=!1,f;if((e.token===69271571||e.token===67174411)&&(e.flags&2048)===2048&&(l=!0,e.flags=(e.flags|2048)^2048),e.token===69271571){b(e,u|32768);let{tokenPos:c,linePos:a,colPos:g}=e,m=j(e,u,0,1,c,a,g);P(e,u,20),e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!0,optional:!0,property:m})}else if(e.token===67174411){let c=ge(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"CallExpression",callee:n,arguments:c,optional:!0})}else{e.token&143360||d(e,155);let c=I(e,u,0);e.assignable=2,f=y(e,u,i,t,o,{type:"MemberExpression",object:n,computed:!1,optional:!0,property:c})}return l&&(e.flags|=2048),f}function xe(e,u){return!(e.token&143360)&&e.token!==131&&d(e,155),u&1&&e.token===131?X2(e,u,e.tokenPos,e.linePos,e.colPos):I(e,u,0)}function X1(e,u,n,i,t,o,l){n&&d(e,54),i||d(e,0);let{token:f}=e;b(e,u|32768);let c=r(e,u,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable&2&&d(e,53),e.assignable=2,y(e,u,t,o,l,{type:"UpdateExpression",argument:c,operator:U[f&255],prefix:!0})}function K(e,u,n,i,t,o,l,f,c,a,g){if((e.token&143360)===143360){switch(e.token){case 209008:return U1(e,u,i,l,c,a,g);case 241773:return O1(e,u,l,t,c,a,g);case 209007:return R1(e,u,l,f,t,o,i,c,a,g)}let{token:m,tokenValue:s}=e,k=I(e,u|65536,o);return e.token===10?(f||d(e,0),ce(e,u,m,1),$2(e,u,s,k,i,t,0,c,a,g)):(u&16384&&m===537079928&&d(e,127),m===241739&&(u&1024&&d(e,110),n&24&&d(e,98)),e.assignable=u&1024&&(m&537079808)===537079808?2:1,k)}if((e.token&134217728)===134217728)return X(e,u);switch(e.token){case 33619995:case 33619996:return X1(e,u,i,f,c,a,g);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return V1(e,u,f,c,a,g,l);case 86106:return nu(e,u,0,l,c,a,g);case 2162700:return W1(e,u,t?0:1,l,c,a,g);case 69271571:return r1(e,u,t?0:1,l,c,a,g);case 67174411:return Y1(e,u,t,1,0,c,a,g);case 86021:case 86022:case 86023:return K1(e,u,c,a,g);case 86113:return $1(e,u);case 65540:return G1(e,u,c,a,g);case 133:case 86096:return x1(e,u,l,c,a,g);case 86111:return M1(e,u,c,a,g);case 67174409:return ae(e,u,c,a,g);case 67174408:return me(e,u);case 86109:return Q1(e,u,l,c,a,g);case 134283389:return uu(e,u,c,a,g);case 131:return X2(e,u,c,a,g);case 86108:return z1(e,u,i,l,c,a,g);case 8456258:if(u&16)return De(e,u,1,c,a,g);default:if(fe(u,e.token))return ye(e,u,c,a,g);d(e,28,U[e.token&255])}}function z1(e,u,n,i,t,o,l){let f=I(e,u,0);return e.token===67108877?pe(e,u,f,t,o,l):(n&&d(e,138),f=eu(e,u,i,t,o,l),e.assignable=2,N(e,u,f,i,0,t,o,l))}function pe(e,u,n,i,t,o){return u&2048||d(e,164),b(e,u),e.token!==143495&&e.tokenValue!=="meta"&&d(e,28,U[e.token&255]),e.assignable=2,y(e,u,i,t,o,{type:"MetaProperty",meta:n,property:I(e,u,0)})}function eu(e,u,n,i,t,o){P(e,u|32768,67174411),e.token===14&&d(e,139);let l=R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,16),y(e,u,i,t,o,{type:"ImportExpression",source:l})}function uu(e,u,n,i,t){let{tokenRaw:o,tokenValue:l}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:l,bigint:o.slice(0,-1)})}function ae(e,u,n,i,t){e.assignable=2;let{tokenValue:o,tokenRaw:l,tokenPos:f,linePos:c,colPos:a}=e;P(e,u,67174409);let g=[R2(e,u,o,l,f,c,a,!0)];return y(e,u,n,i,t,{type:"TemplateLiteral",expressions:[],quasis:g})}function me(e,u){u=(u|134217728)^134217728;let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;P(e,u|32768,67174408);let f=[R2(e,u,n,i,t,o,l,!1)],c=[j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)];for(e.token!==1074790415&&d(e,81);(e.token=Gu(e,u))!==67174409;){let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u|32768,67174408),f.push(R2(e,u,a,g,m,s,k,!1)),c.push(j(e,u,0,1,e.tokenPos,e.linePos,e.colPos)),e.token!==1074790415&&d(e,81)}{let{tokenValue:a,tokenRaw:g,tokenPos:m,linePos:s,colPos:k}=e;P(e,u,67174409),f.push(R2(e,u,a,g,m,s,k,!0))}return y(e,u,t,o,l,{type:"TemplateLiteral",expressions:c,quasis:f})}function R2(e,u,n,i,t,o,l,f){let c=y(e,u,t,o,l,{type:"TemplateElement",value:{cooked:n,raw:i},tail:f}),a=f?1:2;return u&2&&(c.start+=1,c.range[0]+=1,c.end-=a,c.range[1]-=a),u&4&&(c.loc.start.column+=1,c.loc.end.column-=a),c}function H1(e,u,n,i,t){u=(u|134217728)^134217728,P(e,u|32768,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,y(e,u,n,i,t,{type:"SpreadElement",argument:o})}function ge(e,u,n){b(e,u|32768);let i=[];if(e.token===16)return b(e,u),i;for(;e.token!==16&&(e.token===14?i.push(H1(e,u,e.tokenPos,e.linePos,e.colPos)):i.push(R(e,u,1,0,n,e.tokenPos,e.linePos,e.colPos)),!(e.token!==18||(b(e,u|32768),e.token===16))););return P(e,u,16),i}function I(e,u,n){let{tokenValue:i,tokenPos:t,linePos:o,colPos:l}=e;return b(e,u),y(e,u,t,o,l,u&268435456?{type:"Identifier",name:i,pattern:n===1}:{type:"Identifier",name:i})}function X(e,u){let{tokenValue:n,tokenRaw:i,tokenPos:t,linePos:o,colPos:l}=e;return e.token===134283389?uu(e,u,t,o,l):(b(e,u),e.assignable=2,y(e,u,t,o,l,u&512?{type:"Literal",value:n,raw:i}:{type:"Literal",value:n}))}function K1(e,u,n,i,t){let o=U[e.token&255],l=e.token===86023?null:o==="true";return b(e,u),e.assignable=2,y(e,u,n,i,t,u&512?{type:"Literal",value:l,raw:o}:{type:"Literal",value:l})}function $1(e,u){let{tokenPos:n,linePos:i,colPos:t}=e;return b(e,u),e.assignable=2,y(e,u,n,i,t,{type:"ThisExpression"})}function i2(e,u,n,i,t,o,l,f,c,a){b(e,u|32768);let g=t?le(e,u,8457014):0,m=null,s,k=n?s2():void 0;if(e.token===67174411)o&1||d(e,37,"Function");else{let E=i&4&&(!(u&8192)||!(u&2048))?4:64;Ke(e,u|(u&3072)<<11,e.token),n&&(E&4?We(e,u,n,e.tokenValue,E):t2(e,u,n,e.tokenValue,E,i),k=J(k,256),o&&o&2&&l2(e,e.tokenValue)),s=e.token,e.token&143360?m=I(e,u,0):d(e,28,U[e.token&255])}u=(u|32243712)^32243712|67108864|l*2+g<<21|(g?0:1073741824),n&&(k=J(k,512));let C=tu(e,u|8388608,k,0,1),A=K2(e,(u|8192|4096|131072)^143360,n?J(k,128):k,8,s,n?k.scopeError:void 0);return y(e,u,f,c,a,{type:"FunctionDeclaration",id:m,params:C,body:A,async:l===1,generator:g===1})}function nu(e,u,n,i,t,o,l){b(e,u|32768);let f=le(e,u,8457014),c=n*2+f<<21,a=null,g,m=u&64?s2():void 0;(e.token&176128)>0&&(Ke(e,(u|32243712)^32243712|c,e.token),m&&(m=J(m,256)),g=e.token,a=I(e,u,0)),u=(u|32243712)^32243712|67108864|c|(f?0:1073741824),m&&(m=J(m,512));let s=tu(e,u|8388608,m,i,1),k=K2(e,u&-134377473,m&&J(m,128),0,g,void 0);return e.assignable=2,y(e,u,t,o,l,{type:"FunctionExpression",id:a,params:s,body:k,async:n===1,generator:f===1})}function r1(e,u,n,i,t,o,l){let f=W(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function W(e,u,n,i,t,o,l,f,c,a,g){b(e,u|32768);let m=[],s=0;for(u=(u|134217728)^134217728;e.token!==20;)if(q(e,u|32768,18))m.push(null);else{let C,{token:A,tokenPos:E,linePos:w,colPos:B,tokenValue:M}=e;if(A&143360)if(C=K(e,u,l,0,1,0,t,1,E,w,B),e.token===1077936157){e.assignable&2&&d(e,24),b(e,u|32768),n&&e2(e,u,n,M,l,f);let S=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);C=y(e,u,E,w,B,o?{type:"AssignmentPattern",left:C,right:S}:{type:"AssignmentExpression",operator:"=",left:C,right:S}),s|=e.destructible&256?256:0|e.destructible&128?128:0}else e.token===18||e.token===20?(e.assignable&2?s|=16:n&&e2(e,u,n,M,l,f),s|=e.destructible&256?256:0|e.destructible&128?128:0):(s|=l&1?32:l&2?0:16,C=N(e,u,C,t,0,E,w,B),e.token!==18&&e.token!==20?(e.token!==1077936157&&(s|=16),C=O(e,u,t,o,E,w,B,C)):e.token!==1077936157&&(s|=e.assignable&2?16:32));else A&2097152?(C=e.token===2162700?_(e,u,n,0,t,o,l,f,E,w,B):W(e,u,n,0,t,o,l,f,E,w,B),s|=e.destructible,e.assignable=e.destructible&16?2:1,e.token===18||e.token===20?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(C=N(e,u,C,t,0,E,w,B),s=e.assignable&2?16:0,e.token!==18&&e.token!==20?C=O(e,u,t,o,E,w,B,C):e.token!==1077936157&&(s|=e.assignable&2?16:32))):A===14?(C=A2(e,u,n,20,l,f,0,t,o,E,w,B),s|=e.destructible,e.token!==18&&e.token!==20&&d(e,28,U[e.token&255])):(C=r(e,u,1,0,1,E,w,B),e.token!==18&&e.token!==20?(C=O(e,u,t,o,E,w,B,C),!(l&3)&&A===67174411&&(s|=16)):e.assignable&2?s|=16:A===67174411&&(s|=e.assignable&1&&l&3?32:16));if(m.push(C),q(e,u|32768,18)){if(e.token===20)break}else break}P(e,u,20);let k=y(e,u,c,a,g,{type:o?"ArrayPattern":"ArrayExpression",elements:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,k):(e.destructible=s,k)}function iu(e,u,n,i,t,o,l,f,c){e.token!==1077936157&&d(e,24),b(e,u|32768),n&16&&d(e,24),t||Z(e,c);let{tokenPos:a,linePos:g,colPos:m}=e,s=R(e,u,1,1,i,a,g,m);return e.destructible=(n|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),y(e,u,o,l,f,t?{type:"AssignmentPattern",left:c,right:s}:{type:"AssignmentExpression",left:c,operator:"=",right:s})}function A2(e,u,n,i,t,o,l,f,c,a,g,m){b(e,u|32768);let s=null,k=0,{token:C,tokenValue:A,tokenPos:E,linePos:w,colPos:B}=e;if(C&143360)e.assignable=1,s=K(e,u,t,0,1,0,f,1,E,w,B),C=e.token,s=N(e,u,s,f,0,E,w,B),e.token!==18&&e.token!==i&&(e.assignable&2&&e.token===1077936157&&d(e,69),k|=16,s=O(e,u,f,c,E,w,B,s)),e.assignable&2?k|=16:C===i||C===18?n&&e2(e,u,n,A,t,o):k|=32,k|=e.destructible&128?128:0;else if(C===i)d(e,39);else if(C&2097152)s=e.token===2162700?_(e,u,n,1,f,c,t,o,E,w,B):W(e,u,n,1,f,c,t,o,E,w,B),C=e.token,C!==1077936157&&C!==i&&C!==18?(e.destructible&8&&d(e,69),s=N(e,u,s,f,0,E,w,B),k|=e.assignable&2?16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(k|=16),s=O(e,u,f,c,E,w,B,s)):((e.token&8454144)===8454144&&(s=n2(e,u,1,E,w,B,4,C,s)),q(e,u|32768,22)&&(s=f2(e,u,s,E,w,B)),k|=e.assignable&2?16:32)):k|=i===1074790415&&C!==1077936157?16:e.destructible;else{k|=32,s=r(e,u,1,f,1,e.tokenPos,e.linePos,e.colPos);let{token:M,tokenPos:S,linePos:V,colPos:D}=e;return M===1077936157&&M!==i&&M!==18?(e.assignable&2&&d(e,24),s=O(e,u,f,c,S,V,D,s),k|=16):(M===18?k|=16:M!==i&&(s=O(e,u,f,c,S,V,D,s)),k|=e.assignable&1?32:16),e.destructible=k,e.token!==i&&e.token!==18&&d(e,156),y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}if(e.token!==i)if(t&1&&(k|=l?16:32),q(e,u|32768,1077936157)){k&16&&d(e,24),Z(e,s);let M=R(e,u,1,1,f,e.tokenPos,e.linePos,e.colPos);s=y(e,u,E,w,B,c?{type:"AssignmentPattern",left:s,right:M}:{type:"AssignmentExpression",left:s,operator:"=",right:M}),k=16}else k|=16;return e.destructible=k,y(e,u,a,g,m,{type:c?"RestElement":"SpreadElement",argument:s})}function Q(e,u,n,i,t,o,l){let f=n&64?14680064:31981568;u=(u|f)^f|(n&88)<<18|100925440;let c=u&64?J(s2(),512):void 0,a=_1(e,u|8388608,c,n,1,i);c&&(c=J(c,128));let g=K2(e,u&-134230017,c,0,void 0,void 0);return y(e,u,t,o,l,{type:"FunctionExpression",params:a,body:g,async:(n&16)>0,generator:(n&8)>0,id:null})}function W1(e,u,n,i,t,o,l){let f=_(e,u,void 0,n,i,0,2,0,t,o,l);return u&256&&e.destructible&64&&d(e,61),e.destructible&8&&d(e,60),f}function _(e,u,n,i,t,o,l,f,c,a,g){b(e,u);let m=[],s=0,k=0;for(u=(u|134217728)^134217728;e.token!==1074790415;){let{token:A,tokenValue:E,linePos:w,colPos:B,tokenPos:M}=e;if(A===14)m.push(A2(e,u,n,1074790415,l,f,0,t,o,M,w,B));else{let S=0,V=null,D,Y=e.token;if(e.token&143360||e.token===121)if(V=I(e,u,0),e.token===18||e.token===1074790415||e.token===1077936157)if(S|=4,u&1024&&(A&537079808)===537079808?s|=16:M2(e,u,l,A,0),n&&e2(e,u,n,E,l,f),q(e,u|32768,1077936157)){s|=8;let v=R(e,u,1,1,t,e.tokenPos,e.linePos,e.colPos);s|=e.destructible&256?256:0|e.destructible&128?128:0,D=y(e,u,M,w,B,{type:"AssignmentPattern",left:u&-2147483648?Object.assign({},V):V,right:v})}else s|=(A===209008?128:0)|(A===121?16:0),D=u&-2147483648?Object.assign({},V):V;else if(q(e,u|32768,21)){let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){let o2=e.token,m2=e.tokenValue;s|=Y===121?16:0,D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?(s|=e.destructible&128?128:0,e.assignable&2?s|=16:n&&(o2&143360)===143360&&e2(e,u,n,m2,l,f)):s|=e.assignable&1?32:16:(e.token&4194304)===4194304?(e.assignable&2?s|=16:x!==1077936157?s|=32:n&&e2(e,u,n,m2,l,f),D=O(e,u,t,o,v,F,T,D)):(s|=16,(e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,x,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):e.destructible&8?d(e,69):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=N2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,t,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,e.token!==18&&A!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===69271571?(s|=16,A===209007&&(S|=16),S|=(A===12402?256:A===12403?512:1)|2,V=g2(e,u,t),s|=e.assignable,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token&143360?(s|=16,A===121&&d(e,93),A===209007&&(e.flags&1&&d(e,129),S|=16),V=I(e,u,0),S|=A===12402?256:A===12403?512:1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===67174411?(s|=16,S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):e.token===8457014?(s|=16,A===12402?d(e,40):A===12403?d(e,41):A===143483&&d(e,93),b(e,u),S|=9|(A===209007?16:0),e.token&143360?V=I(e,u,0):(e.token&134217728)===134217728?V=X(e,u):e.token===69271571?(S|=2,V=g2(e,u,t),s|=e.assignable):d(e,28,U[e.token&255]),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):(e.token&134217728)===134217728?(A===209007&&(S|=16),S|=A===12402?256:A===12403?512:1,s|=16,V=X(e,u),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,130);else if((e.token&134217728)===134217728)if(V=X(e,u),e.token===21){P(e,u|32768,21);let{tokenPos:v,linePos:F,colPos:T}=e;if(E==="__proto__"&&k++,e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:o2,tokenValue:m2}=e;D=N(e,u,D,t,0,v,F,T),e.token===18||e.token===1074790415?o2===1077936157||o2===1074790415||o2===18?e.assignable&2?s|=16:n&&e2(e,u,n,m2,l,f):s|=e.assignable&1?32:16:e.token===1077936157?(e.assignable&2&&(s|=16),D=O(e,u,t,o,v,F,T,D)):(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(e.destructible&8)!==8&&(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?16:0,(e.token&4194304)===4194304?D=N2(e,u,t,o,v,F,T,D):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos),s=e.assignable|16):d(e,131);else if(e.token===69271571)if(V=g2(e,u,t),s|=e.destructible&256?256:0,S|=2,e.token===21){b(e,u|32768);let{tokenPos:v,linePos:F,colPos:T,tokenValue:o2,token:m2}=e;if(e.token&143360){D=K(e,u,l,0,1,0,t,1,v,F,T);let{token:x}=e;D=N(e,u,D,t,0,v,F,T),(e.token&4194304)===4194304?(s|=e.assignable&2?16:x===1077936157?0:32,D=N2(e,u,t,o,v,F,T,D)):e.token===18||e.token===1074790415?x===1077936157||x===1074790415||x===18?e.assignable&2?s|=16:n&&(m2&143360)===143360&&e2(e,u,n,o2,l,f):s|=e.assignable&1?32:16:(s|=16,D=O(e,u,t,o,v,F,T,D))}else(e.token&2097152)===2097152?(D=e.token===69271571?W(e,u,n,0,t,o,l,f,v,F,T):_(e,u,n,0,t,o,l,f,v,F,T),s=e.destructible,e.assignable=s&16?2:1,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):s&8?d(e,60):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&2?s|16:0,(e.token&4194304)===4194304?(e.token!==1077936157&&(s|=16),D=N2(e,u,t,o,v,F,T,D)):((e.token&8454144)===8454144&&(D=n2(e,u,1,v,F,T,4,A,D)),q(e,u|32768,22)&&(D=f2(e,u,D,v,F,T)),s|=e.assignable&2?16:32))):(D=r(e,u,1,0,1,v,F,T),s|=e.assignable&1?32:16,e.token===18||e.token===1074790415?e.assignable&2&&(s|=16):(D=N(e,u,D,t,0,v,F,T),s=e.assignable&1?0:16,e.token!==18&&e.token!==1074790415&&(e.token!==1077936157&&(s|=16),D=O(e,u,t,o,v,F,T,D))))}else e.token===67174411?(S|=1,D=Q(e,u,S,t,e.tokenPos,w,B),s=16):d(e,42);else if(A===8457014)if(P(e,u|32768,8457014),S|=8,e.token&143360){let{token:v,line:F,index:T}=e;V=I(e,u,0),S|=1,e.token===67174411?(s|=16,D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):h2(T,F,T,v===209007?44:v===12402||e.token===12403?43:45,U[v&255])}else(e.token&134217728)===134217728?(s|=16,V=X(e,u),S|=1,D=Q(e,u,S,t,M,w,B)):e.token===69271571?(s|=16,S|=3,V=g2(e,u,t),D=Q(e,u,S,t,e.tokenPos,e.linePos,e.colPos)):d(e,123);else d(e,28,U[A&255]);s|=e.destructible&128?128:0,e.destructible=s,m.push(y(e,u,M,w,B,{type:"Property",key:V,value:D,kind:S&768?S&512?"set":"get":"init",computed:(S&2)>0,method:(S&1)>0,shorthand:(S&4)>0}))}if(s|=e.destructible,e.token!==18)break;b(e,u)}P(e,u,1074790415),k>1&&(s|=64);let C=y(e,u,c,a,g,{type:o?"ObjectPattern":"ObjectExpression",properties:m});return!i&&e.token&4194304?iu(e,u,s,t,o,c,a,g,C):(e.destructible=s,C)}function _1(e,u,n,i,t,o){P(e,u,67174411);let l=[];if(e.flags=(e.flags|128)^128,e.token===16)return i&512&&d(e,35,"Setter","one",""),b(e,u),l;i&256&&d(e,35,"Getter","no","s"),i&512&&e.token===14&&d(e,36),u=(u|134217728)^134217728;let f=0,c=0;for(;e.token!==18;){let a=null,{tokenPos:g,linePos:m,colPos:s}=e;if(e.token&143360?(u&1024||((e.token&36864)===36864&&(e.flags|=256),(e.token&537079808)===537079808&&(e.flags|=512)),a=he(e,u,n,i|1,0,g,m,s)):(e.token===2162700?a=_(e,u,n,1,o,1,t,0,g,m,s):e.token===69271571?a=W(e,u,n,1,o,1,t,0,g,m,s):e.token===14&&(a=A2(e,u,n,16,t,0,0,o,1,g,m,s)),c=1,e.destructible&48&&d(e,48)),e.token===1077936157){b(e,u|32768),c=1;let k=R(e,u,1,1,0,e.tokenPos,e.linePos,e.colPos);a=y(e,u,g,m,s,{type:"AssignmentPattern",left:a,right:k})}if(f++,l.push(a),!q(e,u,18)||e.token===16)break}return i&512&&f!==1&&d(e,35,"Setter","one",""),n&&n.scopeError!==void 0&&z2(n.scopeError),c&&(e.flags|=128),P(e,u,16),l}function g2(e,u,n){b(e,u|32768);let i=R(e,(u|134217728)^134217728,1,0,n,e.tokenPos,e.linePos,e.colPos);return P(e,u,20),i}function Y1(e,u,n,i,t,o,l,f){e.flags=(e.flags|128)^128;let{tokenPos:c,linePos:a,colPos:g}=e;b(e,u|32768|1073741824);let m=u&64?J(s2(),1024):void 0;if(u=(u|134217728)^134217728,q(e,u,16))return j2(e,u,m,[],n,0,o,l,f);let s=0;e.destructible&=-385;let k,C=[],A=0,E=0,{tokenPos:w,linePos:B,colPos:M}=e;for(e.assignable=1;e.token!==16;){let{token:S,tokenPos:V,linePos:D,colPos:Y}=e;if(S&143360)m&&t2(e,u,m,e.tokenValue,1,0),k=K(e,u,i,0,1,0,1,1,V,D,Y),e.token===16||e.token===18?e.assignable&2?(s|=16,E=1):((S&537079808)===537079808||(S&36864)===36864)&&(E=1):(e.token===1077936157?E=1:s|=16,k=N(e,u,k,1,0,V,D,Y),e.token!==16&&e.token!==18&&(k=O(e,u,1,0,V,D,Y,k)));else if((S&2097152)===2097152)k=S===2162700?_(e,u|1073741824,m,0,1,0,i,t,V,D,Y):W(e,u|1073741824,m,0,1,0,i,t,V,D,Y),s|=e.destructible,E=1,e.assignable=2,e.token!==16&&e.token!==18&&(s&8&&d(e,119),k=N(e,u,k,0,0,V,D,Y),s|=16,e.token!==16&&e.token!==18&&(k=O(e,u,0,0,V,D,Y,k)));else if(S===14){k=A2(e,u,m,16,i,t,0,1,0,V,D,Y),e.destructible&16&&d(e,72),E=1,A&&(e.token===16||e.token===18)&&C.push(k),s|=8;break}else{if(s|=16,k=R(e,u,1,0,1,V,D,Y),A&&(e.token===16||e.token===18)&&C.push(k),e.token===18&&(A||(A=1,C=[k])),A){for(;q(e,u|32768,18);)C.push(R(e,u,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})}return P(e,u,16),e.destructible=s,k}if(A&&(e.token===16||e.token===18)&&C.push(k),!q(e,u|32768,18))break;if(A||(A=1,C=[k]),e.token===16){s|=8;break}}return A&&(e.assignable=2,k=y(e,u,w,B,M,{type:"SequenceExpression",expressions:C})),P(e,u,16),s&16&&s&8&&d(e,146),s|=e.destructible&256?256:0|e.destructible&128?128:0,e.token===10?(s&48&&d(e,47),u&4196352&&s&128&&d(e,29),u&2098176&&s&256&&d(e,30),E&&(e.flags|=128),j2(e,u,m,A?C:[k],n,0,o,l,f)):(s&8&&d(e,140),e.destructible=(e.destructible|256)^256|s,u&128?y(e,u,c,a,g,{type:"ParenthesizedExpression",expression:k}):k)}function ye(e,u,n,i,t){let{tokenValue:o}=e,l=I(e,u,0);if(e.assignable=1,e.token===10){let f;return u&64&&(f=H2(e,u,o)),e.flags=(e.flags|128)^128,B2(e,u,f,[l],0,n,i,t)}return l}function $2(e,u,n,i,t,o,l,f,c,a){o||d(e,55),t&&d(e,49),e.flags&=-129;let g=u&64?H2(e,u,n):void 0;return B2(e,u,g,[i],l,f,c,a)}function j2(e,u,n,i,t,o,l,f,c){t||d(e,55);for(let a=0;a0&&e.tokenValue==="constructor"&&d(e,107),e.token===1074790415&&d(e,106),q(e,u,1074790417)){k>0&&d(e,117);continue}m.push(fu(e,u,i,n,t,s,0,l,e.tokenPos,e.linePos,e.colPos))}return P(e,o&8?u|32768:u,1074790415),e.flags=e.flags&-33|g,y(e,u,f,c,a,{type:"ClassBody",body:m})}function fu(e,u,n,i,t,o,l,f,c,a,g){let m=l?32:0,s=null,{token:k,tokenPos:C,linePos:A,colPos:E}=e;if(k&176128)switch(s=I(e,u,0),k){case 36972:if(!l&&e.token!==67174411&&(e.token&1048576)!==1048576&&e.token!==1077936157)return fu(e,u,n,i,t,o,1,f,c,a,g);break;case 209007:if(e.token!==67174411&&!(e.flags&1)){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=16|(le(e,u,8457014)?8:0)}break;case 12402:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=256}break;case 12403:if(e.token!==67174411){if(u&1&&(e.token&1073741824)===1073741824)return V2(e,u,s,m,o,C,A,E);m|=512}break}else if(k===69271571)m|=2,s=g2(e,i,f);else if((k&134217728)===134217728)s=X(e,u);else if(k===8457014)m|=8,b(e,u);else if(u&1&&e.token===131)m|=4096,s=X2(e,u|16384,C,A,E);else if(u&1&&(e.token&1073741824)===1073741824)m|=128;else{if(l&&k===2162700)return B1(e,u,n,C,A,E);k===122?(s=I(e,u,0),e.token!==67174411&&d(e,28,U[e.token&255])):d(e,28,U[e.token&255])}if(m&792&&(e.token&143360?s=I(e,u,0):(e.token&134217728)===134217728?s=X(e,u):e.token===69271571?(m|=2,s=g2(e,u,0)):e.token===122?s=I(e,u,0):u&1&&e.token===131?(m|=4096,s=X2(e,u,C,A,E)):d(e,132)),m&2||(e.tokenValue==="constructor"?((e.token&1073741824)===1073741824?d(e,126):!(m&32)&&e.token===67174411&&(m&920?d(e,51,"accessor"):u&524288||(e.flags&32?d(e,52):e.flags|=32)),m|=64):!(m&4096)&&m&824&&e.tokenValue==="prototype"&&d(e,50)),u&1&&e.token!==67174411)return V2(e,u,s,m,o,C,A,E);let w=Q(e,u,m,f,e.tokenPos,e.linePos,e.colPos);return y(e,u,c,a,g,u&1?{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,decorators:o,value:w}:{type:"MethodDefinition",kind:!(m&32)&&m&64?"constructor":m&256?"get":m&512?"set":"method",static:(m&32)>0,computed:(m&2)>0,key:s,value:w})}function X2(e,u,n,i,t){b(e,u);let{tokenValue:o}=e;return o==="constructor"&&d(e,125),b(e,u),y(e,u,n,i,t,{type:"PrivateIdentifier",name:o})}function V2(e,u,n,i,t,o,l,f){let c=null;if(i&8&&d(e,0),e.token===1077936157){b(e,u|32768);let{tokenPos:a,linePos:g,colPos:m}=e;e.token===537079928&&d(e,116),c=K(e,u|16384,2,0,1,0,0,1,a,g,m),(e.token&1073741824)!==1073741824&&(c=N(e,u|16384,c,0,0,a,g,m),c=O(e,u|16384,0,0,a,g,m,c),e.token===18&&(c=u2(e,u,0,o,l,f,c)))}return y(e,u,o,l,f,{type:"PropertyDefinition",key:n,value:c,static:(i&32)>0,computed:(i&2)>0,decorators:t})}function cu(e,u,n,i,t,o,l,f){if(e.token&143360)return he(e,u,n,i,t,o,l,f);(e.token&2097152)!==2097152&&d(e,28,U[e.token&255]);let c=e.token===69271571?W(e,u,n,1,0,1,i,t,o,l,f):_(e,u,n,1,0,1,i,t,o,l,f);return e.destructible&16&&d(e,48),e.destructible&32&&d(e,48),c}function he(e,u,n,i,t,o,l,f){let{tokenValue:c,token:a}=e;return u&1024&&((a&537079808)===537079808?d(e,116):(a&36864)===36864&&d(e,115)),(a&20480)===20480&&d(e,100),u&2099200&&a===241773&&d(e,30),a===241739&&i&24&&d(e,98),u&4196352&&a===209008&&d(e,96),b(e,u),n&&e2(e,u,n,c,i,t),y(e,u,o,l,f,{type:"Identifier",name:c})}function De(e,u,n,i,t,o){if(b(e,u),e.token===8456259)return y(e,u,i,t,o,{type:"JSXFragment",openingFragment:e0(e,u,i,t,o),children:Ne(e,u),closingFragment:n0(e,u,n,e.tokenPos,e.linePos,e.colPos)});let l=null,f=[],c=o0(e,u,n,i,t,o);if(!c.selfClosing){f=Ne(e,u),l=u0(e,u,n,e.tokenPos,e.linePos,e.colPos);let a=J2(l.name);J2(c.name)!==a&&d(e,150,a)}return y(e,u,i,t,o,{type:"JSXElement",children:f,openingElement:c,closingElement:l})}function e0(e,u,n,i,t){return d2(e,u),y(e,u,n,i,t,{type:"JSXOpeningFragment"})}function u0(e,u,n,i,t,o){P(e,u,25);let l=du(e,u,e.tokenPos,e.linePos,e.colPos);return n?P(e,u,8456259):e.token=d2(e,u),y(e,u,i,t,o,{type:"JSXClosingElement",name:l})}function n0(e,u,n,i,t,o){return P(e,u,25),P(e,u,8456259),y(e,u,i,t,o,{type:"JSXClosingFragment"})}function Ne(e,u){let n=[];for(;e.token!==25;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,d2(e,u),n.push(i0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function i0(e,u,n,i,t){if(e.token===138)return t0(e,u,n,i,t);if(e.token===2162700)return au(e,u,0,0,n,i,t);if(e.token===8456258)return De(e,u,0,n,i,t);d(e,0)}function t0(e,u,n,i,t){d2(e,u);let o={type:"JSXText",value:e.tokenValue};return u&512&&(o.raw=e.tokenRaw),y(e,u,n,i,t,o)}function o0(e,u,n,i,t,o){(e.token&143360)!==143360&&(e.token&4096)!==4096&&d(e,0);let l=du(e,u,e.tokenPos,e.linePos,e.colPos),f=f0(e,u),c=e.token===8457016;return e.token===8456259?d2(e,u):(P(e,u,8457016),n?P(e,u,8456259):d2(e,u)),y(e,u,i,t,o,{type:"JSXOpeningElement",name:l,attributes:f,selfClosing:c})}function du(e,u,n,i,t){p2(e);let o=W2(e,u,n,i,t);if(e.token===21)return su(e,u,o,n,i,t);for(;q(e,u,67108877);)p2(e),o=l0(e,u,o,n,i,t);return o}function l0(e,u,n,i,t,o){let l=W2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXMemberExpression",object:n,property:l})}function f0(e,u){let n=[];for(;e.token!==8457016&&e.token!==8456259&&e.token!==1048576;)n.push(d0(e,u,e.tokenPos,e.linePos,e.colPos));return n}function c0(e,u,n,i,t){b(e,u),P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadAttribute",argument:o})}function d0(e,u,n,i,t){if(e.token===2162700)return c0(e,u,n,i,t);p2(e);let o=null,l=W2(e,u,n,i,t);if(e.token===21&&(l=su(e,u,l,n,i,t)),e.token===1077936157){let f=u1(e,u),{tokenPos:c,linePos:a,colPos:g}=e;switch(f){case 134283267:o=X(e,u);break;case 8456258:o=De(e,u,1,c,a,g);break;case 2162700:o=au(e,u,1,1,c,a,g);break;default:d(e,149)}}return y(e,u,n,i,t,{type:"JSXAttribute",value:o,name:l})}function su(e,u,n,i,t,o){P(e,u,21);let l=W2(e,u,e.tokenPos,e.linePos,e.colPos);return y(e,u,i,t,o,{type:"JSXNamespacedName",namespace:n,name:l})}function au(e,u,n,i,t,o,l){b(e,u|32768);let{tokenPos:f,linePos:c,colPos:a}=e;if(e.token===14)return s0(e,u,t,o,l);let g=null;return e.token===1074790415?(i&&d(e,152),g=a0(e,u,e.startPos,e.startLine,e.startColumn)):g=R(e,u,1,0,0,f,c,a),n?P(e,u,1074790415):d2(e,u),y(e,u,t,o,l,{type:"JSXExpressionContainer",expression:g})}function s0(e,u,n,i,t){P(e,u,14);let o=R(e,u,1,0,0,e.tokenPos,e.linePos,e.colPos);return P(e,u,1074790415),y(e,u,n,i,t,{type:"JSXSpreadChild",expression:o})}function a0(e,u,n,i,t){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,y(e,u,n,i,t,{type:"JSXEmptyExpression"})}function W2(e,u,n,i,t){let{tokenValue:o}=e;return b(e,u),y(e,u,n,i,t,{type:"JSXIdentifier",name:o})}function mu(e,u){return d1(e,u,0)}function m0(e,u){let n=new SyntaxError(e+" ("+u.loc.start.line+":"+u.loc.start.column+")");return Object.assign(n,u)}var _2=m0;function g0(e){let u=[];for(let n of e)try{return n()}catch(i){u.push(i)}throw Object.assign(new Error("All combinations failed"),{errors:u})}var gu=g0;var C2=ju(Cu(),1);function w0(e){if(!e.startsWith("#!"))return"";let u=e.indexOf(` 16 | `);return u===-1?e:e.slice(0,u)}var Pu=w0;function S0(e){let u=Pu(e);u&&(e=e.slice(u.length+1));let n=(0,C2.extract)(e),{pragmas:i,comments:t}=(0,C2.parseWithComments)(n);return{shebang:u,text:e,pragmas:i,comments:t}}function Eu(e){let{pragmas:u}=S0(e);return Object.prototype.hasOwnProperty.call(u,"prettier")||Object.prototype.hasOwnProperty.call(u,"format")}function v0(e){return Array.isArray(e)&&e.length>0}var T2=v0;function $(e){var i;let u=e.range?e.range[0]:e.start,n=((i=e.declaration)==null?void 0:i.decorators)??e.decorators;return T2(n)?Math.min($(n[0]),u):u}function p(e){return e.range?e.range[1]:e.end}function B0(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:Eu,locStart:$,locEnd:p,...e}}var wu=B0;var T0=(e,u,n)=>{if(!(e&&u==null))return Array.isArray(u)||typeof u=="string"?u[n<0?u.length+n:n]:u.at(n)},be=T0;function F0(e){return e=new Set(e),u=>e.has(u==null?void 0:u.type)}var Su=F0;var q0=Su(["Block","CommentBlock","MultiLine"]),F2=q0;function L0(e){return F2(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var vu=L0;function I0(e){let u=`*${e.value}*`.split(` 17 | `);return u.length>1&&u.every(n=>n.trimStart()[0]==="*")}var Ae=I0;var q2=null;function L2(e){if(q2!==null&&typeof q2.property){let u=q2;return q2=L2.prototype=null,u}return q2=L2.prototype=e??Object.create(null),new L2}var N0=10;for(let e=0;e<=N0;e++)L2();function Ce(e){return L2(e)}function V0(e,u="type"){Ce(e);function n(i){let t=i[u],o=e[t];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${t}'.`),{node:i});return o}return n}var Bu=V0;var Tu={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var R0=Bu(Tu),Fu=R0;function Pe(e,u){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let i=0;i{var f;(f=l.leadingComments)!=null&&f.some(vu)&&o.add($(l))}),e=Y2(e,l=>{if(l.type==="ParenthesizedExpression"){let{expression:f}=l;if(f.type==="TypeCastExpression")return f.range=l.range,f;let c=$(l);if(!o.has(c))return f.extra={...f.extra,parenthesized:!0},f}})}if(e=Y2(e,o=>{switch(o.type){case"LogicalExpression":if(qu(o))return Ee(o);break;case"VariableDeclaration":{let l=be(!1,o.declarations,-1);l!=null&&l.init&&t(o,l);break}case"TSParenthesizedType":return o.typeAnnotation;case"TSTypeParameter":if(typeof o.name=="string"){let l=$(o);o.name={type:"Identifier",name:o.name,range:[l,l+o.name.length]}}break;case"ObjectExpression":if(n==="typescript"){let l=o.properties.find(f=>f.type==="Property"&&f.value.type==="TSEmptyBodyFunctionExpression");l&&Q2(l.value,"Unexpected token.")}break;case"TSInterfaceDeclaration":T2(o.implements)&&Q2(o.implements[0],"Interface declaration cannot have 'implements' clause.");break;case"TSPropertySignature":o.initializer&&Q2(o.initializer,"An interface property cannot have an initializer.");break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:l}=o;if(n==="meriyah"&&(l==null?void 0:l.type)==="Identifier"){let f=i.slice($(l),p(l));(f.startsWith('"')||f.startsWith("'"))&&(o.exported={...o.exported,type:"Literal",value:o.exported.name,raw:f})}break}case"TSUnionType":case"TSIntersectionType":if(o.types.length===1)return o.types[0];break}}),T2(e.comments)){let o=be(!1,e.comments,-1);for(let l=e.comments.length-2;l>=0;l--){let f=e.comments[l];p(f)===$(o)&&F2(f)&&F2(o)&&Ae(f)&&Ae(o)&&(e.comments.splice(l+1,1),f.value+="*//*"+o.value,f.range=[$(f),p(o)]),o=f}}return e.type==="Program"&&(e.range=[0,i.length]),e;function t(o,l){i[p(l)]!==";"&&(o.range=[$(o),p(l)])}}function qu(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Ee(e){return qu(e)?Ee({type:"LogicalExpression",operator:e.operator,left:Ee({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[$(e.left),p(e.right.left)]}),right:e.right.right,range:[$(e),p(e)]}):e}var Lu=U0;function M0(e){let{filepath:u}=e;if(u){if(u=u.toLowerCase(),u.endsWith(".cjs"))return"script";if(u.endsWith(".mjs"))return"module"}}var Iu=M0;var J0={next:!0,ranges:!0,webcompat:!0,loc:!0,raw:!0,directives:!0,globalReturn:!0,impliedStrict:!1,preserveParens:!1,lexical:!1,identifierPattern:!1,jsx:!0,specDeviation:!0,uniqueKeyInPattern:!1};function j0(e,u){let n=[],i=[],t=mu(e,{...J0,module:u==="module",onComment:n,onToken:i});return t.comments=n,t.tokens=i,t}function X0(e){var o;let{message:u,line:n,column:i}=e,t=(o=u.match(/^\[(?\d+):(?\d+)]: (?.*)$/))==null?void 0:o.groups;return t&&(u=t.message,typeof n!="number"&&(n=Number(t.line),i=Number(t.column))),typeof n!="number"?e:_2(u,{loc:{start:{line:n,column:i}},cause:e})}function z0(e,u={}){let n=Iu(u),i=(n?[n]:["module","script"]).map(o=>()=>j0(e,o)),t;try{t=gu(i)}catch({errors:[o]}){throw X0(o)}return Lu(t,{parser:"meriyah",text:e})}var H0=wu(z0);var $n=we; 18 | 19 | 20 | /***/ }) 21 | 22 | }; 23 | --------------------------------------------------------------------------------